xPCI-3009 API
|
Functions | |
_INT_ | i_PCI3009_DigitalOutputWriteAll (DWORD_ dw_BoardHandle, BYTE_ b_WriteValue) |
_INT_ | i_PCI3009_DigitalOutputReadAll (DWORD_ dw_BoardHandle, PBYTE_ pb_State) |
_INT_ i_PCI3009_DigitalOutputWriteAll | ( | DWORD_ | dw_BoardHandle, |
BYTE_ | b_WriteValue | ||
) |
Write the selected value to the digital outputs
[in] | dw_BoardHandle | : Handle of board PCI-3009 |
[out] | b_WriteValue | : D0: Digital output 0 state. 0 -> Set to low (0V) 1 -> Set to high (24V) D1: Digital output 1 state. 0 -> Set to low (0V) 1 -> Set to high (24V) D2: Digital output 2 state. 0 -> Set to low (0V) 1 -> Set to high (24V) D3: Digital output 3 state. 0 -> Set to low (0V) 1 -> Set to high (24V) |
_INT_ i_PCI3009_DigitalOutputReadAll | ( | DWORD_ | dw_BoardHandle, |
PBYTE_ | pb_State | ||
) |
Read all digital output channels
[in] | dw_BoardHandle | : Handle of board PCI-3009 |
[out] | pb_State | : D0: Digital output 0 state D1: Digital output 1 state D2: Digital output 2 state D3: Digital output 3 state |