xPCI-1500 API
|
Functions | |
_INT_ | i_APCI1500_Set1DigitalOutputOn (BYTE_ b_BoardHandle, BYTE_ b_Channel) |
_INT_ | i_APCI1500_Set1DigitalOutputOff (BYTE_ b_BoardHandle, BYTE_ b_Channel) |
_INT_ | i_APCI1500_Set8DigitalOutputOn (BYTE_ b_BoardHandle, BYTE_ b_Port, BYTE_ b_Value) |
_INT_ | i_APCI1500_Set8DigitalOutputOff (BYTE_ b_BoardHandle, BYTE_ b_Port, BYTE_ b_Value) |
_INT_ | i_APCI1500_Set16DigitalOutputOn (BYTE_ b_BoardHandle, LONG_ l_Value) |
_INT_ | i_APCI1500_Set16DigitalOutputOff (BYTE_ b_BoardHandle, LONG_ l_Value) |
_INT_ | i_APCI1500_ResetOutputsAfterClose (BYTE_ b_BoardHandle) |
_INT_ i_APCI1500_Set1DigitalOutputOn | ( | BYTE_ | b_BoardHandle, |
BYTE_ | b_Channel | ||
) |
Permits to set a digital output of the board APCI-1500 to ON (high state)
[in] | b_BoardHandle | Handle of the board |
[in] | b_Channel | Digital output channel to set (1 to 16) |
0 | : No Error |
-1 | : The handle 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_Set1DigitalOutputOff | ( | BYTE_ | b_BoardHandle, |
BYTE_ | b_Channel | ||
) |
Permits to reset a digital output of the board APCI-1500
Digital output memory must be enabled
[in] | b_BoardHandle | Handle of the board |
[in] | b_Channel | Digital output channel to reset (1 to 16) |
0 | : No Error |
-1 | : The handle parameter of the board is wrong |
-2 | : Channel number is not between 1 to 16 |
-3 | : Output memory is not on |
-102 | : Error while calling IOCTL function (wrong handle ?) |
_INT_ i_APCI1500_Set8DigitalOutputOn | ( | BYTE_ | b_BoardHandle, |
BYTE_ | b_Port, | ||
BYTE_ | b_Value | ||
) |
Sets a digital output port (8 bits) of the board APCI-1500 to 1 (high state)
[in] | b_BoardHandle | Handle of the board |
[in] | b_Port | Port to set (1 or 2) |
[in] | b_Value | Mask of channels to set on the port (0x0 to 0xFF) |
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_Set8DigitalOutputOff | ( | BYTE_ | b_BoardHandle, |
BYTE_ | b_Port, | ||
BYTE_ | b_Value | ||
) |
Resets a digital output port (8 bits) of the board APCI-1500
Digital output memory must be enabled
[in] | b_BoardHandle | Handle of the board |
[in] | b_Port | Port to set ( PCI1500_PORT_0 : channels 0-7, PCI1500_PORT_1 : channels 8-15) |
[in] | b_Value | Mask of channels to reset on the port ( 0x0 to 0xFF) |
0 | : No Error |
-1 | : The handle parameter of the board is wrong |
-2 | : Port number is not 1 or 2 |
-3 | : Output memory is not on |
-102 | : Error while calling IOCTL function (wrong handle ?) |
_INT_ i_APCI1500_Set16DigitalOutputOn | ( | BYTE_ | b_BoardHandle, |
LONG_ | l_Value | ||
) |
Sets several digital outputs of the board APCI-1500
[in] | b_BoardHandle | Handle of the board |
[in] | l_Value | Digital output mask value to set (0x0 to 0xFFFF) |
0 | : No Error |
-1 | : The handle parameter of the board is wrong |
-101 | : Error while calling IOCTL function (wrong handle ?) |
_INT_ i_APCI1500_Set16DigitalOutputOff | ( | BYTE_ | b_BoardHandle, |
LONG_ | l_Value | ||
) |
Resets several digital outputs of the board APCI-1500
Digital output memory must be enabled
[in] | b_BoardHandle | Handle of the board |
[in] | l_Value | Digital output mask value to reset (0x0 to 0xFFFF) |
0 | : No Error |
-1 | : The handle parameter of the board is wrong |
-2 | : Output memory is not on |
-101 | : Error while calling IOCTL function (wrong handle ?) |
_INT_ i_APCI1500_ResetOutputsAfterClose | ( | BYTE_ | b_BoardHandle | ) |
This funktion enable the reset from all outputs after a close from program
[in] | b_BoardHandle | Handle of the board |
0 | : No Error |
-1 | : The handle parameter of the board is wrong |