Configure the digital I/O operating. You must calling this function be for you call any other function witch
access of digital I/O.
- Parameters
-
[in] | dw_BoardHandle | : Handle of board PCI-3009 |
[in] | b_ChannelAMode | : Channel A mode selection 0 : Channel used for digital input 0 : Channel used for digital output |
[in] | b_ChannelBMode | : Channel B mode selection 0 : Channel used for digital input 0 : Channel used for digital output |
- Returns
- 0: No error
-1: The handle parameter of the board is wrong
-2: The module is not a digital I/O module
-3: Bi-directional channel A configuration error
-4: Bi-directional channel B configuration error