Standard software
Return value:
0: No error
-1: The handle parameter of the board is wrong
-2: The input number is not between 1 and 16
-3: Digital output memory OFF.
First use the function "i_APCI1500_SetOutputMemoryOn"
5)
i_APCI1500_Set8DigitalOutputOn (...)
Syntax:
<Return value> = i_APCI1500_Set8DigitalOutputOn
Parameters:
BYTE
b_BoardHandle
BYTE
b_Port
BYTE
b_Value
Task:
Sets one or several output channels of a port. Setting an output channel means
setting to high.
If you have switched off the digital output memory (OFF), the input channels are
set to "0".
Example:
Switching on the digital output memory (ON)
see function "i_APCI1500_SetOutputMemoryOn (...)
b_Port
b_Value = 55 Hex
The output channels 1, 3, 5, 7 are set. The other output channels hold their state.
Switching off the digital output memory (OFF)
see function "i_APCI1500_SetOutputMemoryOff (...)
b_Port
b_Value = 55 Hex
The output channels 1, 3, 5, 7 are set. The other output channels are reset.
Return value:
0: No error
-1: The handle parameter of the board is wrong
-2: The port number is not 1 or 2
72
(BYTE b_BoardHandle,
BYTE b_Port,
BYTE b_Value)
Handle of the board xPCI-1500
Number of the output port (1 or 2)
Output value (0 to 255)
= 1
= 1
APCI-/CPCI-1500
Need help?
Do you have a question about the APCI-1500 and is the answer not in the manual?
Questions and answers