User`s guide
78 •Function Library
6.3 Initialization
@ Name
_8134_Initial – Software Initialization for PCI-8134
_8134_Close – Software release resources of PCI-8134
_8134_Set_Config – Configure PCI-8134 according to Motion Creator
W_8134_Get_IRQ_Channel – Get the PCI-8134 card’s IRQ number
W_8134_Get_ Base_Addr – Get the PCI-8134 card’s base address
@ Description
_8134_Initial:
This function is used to initialize PCI-8134 card. Every PCI-8134 card
has to be initialized by this function before calling other functions.
_8134_Close:
This function is used to close PCI-8134 card and release the PCI-
8134 related resources, which should be called at the end of an
application.
_8134_Set_Config:
This function is used to configure PCI-8134 card. All the I/O
configurations and some operating modes appeared on “Axis
Configuration Window” of Motion Creator will be set to PCI-8134. Click
“Save Configuration” button on the “Axis Configuration Window” if you
want to use this function in the application program. Click “Save
Configuration” button will save all the configurations to a file call
“8134.cfg”. This file will appear in the “WINDOWS\SYSTEM\” directory.
W_8134_Get_IRQ_Channel :
This function is used to get the PCI-8134 card’s IRQ number. (This
function just suport Window 95 and Window NT platform only).
W_8134_Get_Base_Addr :
This function is used to get the PCI-8134 card’s base address. (This
function just suport Window 95 and Window NT platform only).
@ Syntax
C/C++ (DOS)
U16 _8134_Initial (U16 *existCards, PCI_INFO *info)
U16 _8134_Close(U16 cardNo)
U16 _8134_Set_Config(char* filename)
C/C++ (Windows 95/NT)
U16 W_8134_Initial(U16 *existCards, PCI_INFO
*pciInfo) (Windows 95 Only)
U16 W_8134_Initial(U16 cardNo)(Windows NT Only)
U16 W_8134_Close(U16 cardNo)(Windows NT Only)
U16 W_8134_Set_Config(char *fileName)
void W_8134_Get_IRQ_Channel(U16 cardNo, U16
*irq_no )