xPCI-1032 API
|
Functions | |
_INT_ | i_PCI1032_Read1DigitalInput (HANDLE h_DeviceHandle, BYTE b_Channel, PBYTE pb_Value) |
_INT_ | i_PCI1032_Read8DigitalInputs (HANDLE h_DeviceHandle, BYTE b_Port, PBYTE pb_Value) |
_INT_ | i_PCI1032_Read16DigitalInputs (HANDLE h_DeviceHandle, BYTE b_Port, PWORD pw_Value) |
_INT_ | i_PCI1032_Read32DigitalInputs (HANDLE h_DeviceHandle, PDWORD pdw_Value) |
_INT_ i_PCI1032_Read1DigitalInput | ( | HANDLE | h_DeviceHandle, |
BYTE | b_Channel, | ||
PBYTE | pb_Value | ||
) |
Read 1 digital inputs of the board xPCI-1032
[in] | h_DeviceHandle | Handle of the board |
[in] | b_Channel | The index of the channel to read (0 to 31) |
[out] | pb_Value | Status of the digital input |
0 | : No Error |
-1 | : The channel index is wrong |
-2 | : Error while calling IOCTL function (wrong handle ?) |
_INT_ i_PCI1032_Read8DigitalInputs | ( | HANDLE | h_DeviceHandle, |
BYTE | b_Port, | ||
PBYTE | pb_Value | ||
) |
Read 8 digital inputs of the board xPCI-1032
[in] | h_DeviceHandle | Handle of the board |
[in] | b_Port | Port to read ( 0: channels 0-7, 1: channels 8-15, 2: channels 16-23, 3: channels 24-31) |
[out] | pb_Value | Status of the digital inputs |
0 | : No Error |
-1 | : The port index is wrong |
-2 | : Error while calling IOCTL function (wrong handle ?) |
_INT_ i_PCI1032_Read16DigitalInputs | ( | HANDLE | h_DeviceHandle, |
BYTE | b_Port, | ||
PWORD | pw_Value | ||
) |
Read 16 digital inputs of the board xPCI-1032
[in] | h_DeviceHandle | Handle of the board |
[in] | b_Port | Port to read ( 0: channels 0-15, 1: channels 15-31) |
[out] | pw_Value | Status of the digital inputs |
0 | : No Error |
-1 | : Error while calling IOCTL function (wrong handle ?) |
_INT_ i_PCI1032_Read32DigitalInputs | ( | HANDLE | h_DeviceHandle, |
PDWORD | pdw_Value | ||
) |
Read 32 digital inputs of the board xPCI-1032
[in] | h_DeviceHandle | Handle of the board |
[out] | pdw_Value | Status of the digital inputs |
0 | : No Error |
-1 | : Error while calling IOCTL function (wrong handle ?) |