User`s guide

52 C/C++ Library
5.3 _9111_Initial
@ Description
This function is used to initialize the PCI_9111. Every PCI_9111 card
must be initialized by this function before other function calls are
permitted.
@ 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: information about 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 the digital output port. There are 16
digital output channels on the 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 the PCI-9111 card initialized
DOData: The value written to the digital output port
@ Return Code
ERR_NoError