Standard software
PA 1500
Task:
Sets the output which has been passed with
b_Channel
.
Setting an output means setting an output on high.
Switching on the digital output memory (ON)
see function "i_PA1500_SetOutputMemoryOn (...)
b_Channel=
1
The output 1 is set. The others outputs hold their state.
Switching off the digital output memory (OFF)
see function "i_PA1500_SetOutputMemoryOff (...)
b_Channel=
1
The output 1 is set. The others outputs are reset.
If you have switched off the digital output memory (OFF), all others inputs
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_PA1500_Set1DigitalOutputOff (...)
Syntax :
<Return value> = i_PA1500_Set1DigitalOutputOff
(BYTE b_BoardHandle,
BYTE b_Channel)
Parameters:
BYTE
b_BoardHandle
Handle of the
PA 1500
BYTE
b_Channel
Number of the output you want to reset
(1 to 16)
Task:
Resets the output you have passed with
b_Channel
. Resetting an output
means setting on low.
i
IMPORTANT!
You can use this function only if the digital output memory is ON. See
function i_PA1500_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_PA1500_SetDigitalOutputMemoryOn"
66