User`s guide

38 C/C++ Library
5.3 _9111_Initial
@ Description
This function is used to initialize PCI_9111. Every PCI_9111 card has to
be initialized by this function before calling other functions.
@ Syntax
C/C++ (DOS)
U16 _9111_Initial (U16 *existCards, PCI_INFO *info)
C/C++ (Windows 95)
U16 W_9111_Initial (U16 *existCards, PCI_INFO *info)
Visual Basic (Windows 95)
W_9111_Initial (existCards As Integer, info As PCI_INFO) As
Integer
@ Argument
existCards: number of existing PCI-9111 cards
pciInfo: relative information of the PCI-9111 cards
@ Return Code
ERR_NoError ERR_BoardNoInit
ERR_PCIBiosNotExist
5.4 _9111_DO
@ Description
This function is used to write data to digital output port. There are 16
digital output channels on PCI_9111.
@ Syntax
C/C++ (DOS)
U16 _9111_DO (U16 cardNo, U16 DOData)
C/C++ (Windows 95)
U16 W_9111_DO (U16 cardNo, U16 DOData)
Visual Basic (Windows 95)
W_9111_DO (ByVal cardNo As Integer, ByVal DOData As Integer)
As Integer
@ Argument
cardNo: The card number of PCI-9111 card initialized
DOData: The value will be written to digital output port
@ Return Code
ERR_NoError