Technical description Chapter 9
APCI-/CPCI-1500
79
Task:
Sets the output channel which has been passed with
b_Channel
.
Setting an output channel means setting an output channel on high.
Switching on the digital output memory
(ON)
see function "i_APCI1500_SetOutputMemoryOn (...)
b_Channel=
1
The output channel 1 is set. The others output channels hold their state.
Switching off the digital output memory
(OFF)
see function "i_APCI1500_SetOutputMemoryOff (...)
b_Channel=
1
The output channel 1 is set. The others output channels are reset.
If you have switched off the digital output memory (OFF), all the others input
channels are set to "0".
Return value:
0: No error
-1: Handle parameter of the board is wrong
-2: Input number is not between 1 and 16
4) i_APCI1500_Set1DigitalOutputOff (...)
Syntax :
<Return value> = i_APCI1500_Set1DigitalOutputOff
(BYTE
b_BoardHandle,
BYTE
b_Channel)
Parameters:
BYTE
b_BoardHandle
Handle of the
xPCI-1500
BYTE
b_Channel
Number of the output channel you want to
reset (1 to 16)
Task:
Resets the output channel you have passed with
b_Channel
. Resetting an output
channel means setting to low.
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 input number is not between 1 and 16
-3: Digital output memory OFF.
First use the function "i_APCI1500_SetOutputMemoryOn"