Technical description Chapter 9
APCI-/CPCI-1500
81
6) i_APCI1500_Set8DigitalOutputOff (...)
Syntax:
<Return value> = i_APCI1500_Set8DigitalOutputOff (BYTE b_BoardHandle,
BYTE b_Port,
BYTE b_Value)
Parameters:
BYTE
b_BoardHandle
Handle of the
xPCI-1500
BYTE
b_Port
Number of the output port (1 or 2)
BYTE
b_Value
Output value (0 to 255)
Task:
Resets one or several output channels of one port. Resetting means setting to high.
Example:
b_Value = 55 Hex
The output channels 1, 3, 5, 7 are reset.
IMPORTANT!
You can use this function only if the digital output memory is ON.
See function i_APCI1500_SetOutputMemoryOn (..).
Return value:
0: No error
-1: The handle parameter of the board is wrong
-2: The port number is not 1 or 2
-3: The digital output memory is OFF. Please first use the function
i_APCI1500_SetOutputMemoryOn
7) v_APCI1500_Set16DigitalOutputOn (...)
Syntax:
<Return value> = v_APCI1500_Set16DigitalOutputOn
(BYTE
b_BoardHandle,
LONG
l_Value)
Parameters:
BYTE
b_BoardHandle
Handle of the
xPCI-1500
LONG
l_Value
Output value (0 to 65535)
Task:
Sets one or several output channels of board
xPCI-1500