xPCI-1500 API
|
Functions | |
_INT_ | i_APCI1500_Read1DigitalInput (BYTE_ b_BoardHandle, BYTE b_Channel, PBYTE_ pb_ChannelValue) |
_INT_ | i_APCI1500_Read8DigitalInput (BYTE_ b_BoardHandle, BYTE_ b_Port, PBYTE pb_PortValue) |
_INT_ | i_APCI1500_Read16DigitalInput (BYTE_ b_BoardHandle, PLONG_ pl_InputValue) |
_INT_ i_APCI1500_Read1DigitalInput | ( | BYTE_ | b_BoardHandle, |
BYTE | b_Channel, | ||
PBYTE_ | pb_ChannelValue | ||
) |
Read 1 digital inputs of the board APCI-1500
[in] | b_BoardHandle | Handle of the board |
[in] | b_Channel | The index of the channel to read (0 to 15) |
[out] | pb_ChannelValue | Status of the digital input |
0 | : No Error |
-1 | : The b_BoardHandle parameter of the board is wrong |
-2 | : Channel number is not between 1 and 16 |
-102 | : Error while calling IOCTL function (wrong handle ?) |
_INT_ i_APCI1500_Read8DigitalInput | ( | BYTE_ | b_BoardHandle, |
BYTE_ | b_Port, | ||
PBYTE | pb_PortValue | ||
) |
Read 8 digital inputs of the board APCI-1500
[in] | b_BoardHandle | Handle of the board |
[in] | b_Port | Port to read (1 or 2) |
[out] | pb_PortValue | Status of the digital inputs (0 to 255) |
0 | : No Error |
-1 | : The handle parameter of the board is wrong |
-2 | : Port number is not 1 or 2 |
-102 | : Error while calling IOCTL function (wrong handle ?) |
_INT_ i_APCI1500_Read16DigitalInput | ( | BYTE_ | b_BoardHandle, |
PLONG_ | pl_InputValue | ||
) |
Read 16 digital inputs of the board APCI-1500
[in] | b_BoardHandle | Handle of the board |
[out] | pl_InputValue | Status of the digital inputs |
0 | : No Error |
-1 | : The handle parameter of the board is wrong |
-101 | : Error while calling IOCTL function (wrong handle ?) |