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
pciInfo: | relative information of the | |
@ 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 |
DOData: | The value will be written to digital output port |
@Return Code
ERR_NoError
38 ∙ C/C++ Library