Version 2.2 - 0514
21
6.3.3
Further Functions
Note: These functions are covered by the functions: SetDeviceStatus and GetDeviceStatus.
6.3.3.1
SetIOStatus
int SetIOStatus( [in] int DevIdx, [in] int IOMask)
SetIOStatus sets the status for all Outputs.
Parameters
DevIdx
Index to the desire device currently available in the system. The first index is 1.
IOMask
Specifies the lights status mask of all the Outputs. The value 1 at a given
position in the mask indicates that the Output is set to ON status. The
value 0 indicates the OFF status. This parameter can be a combination
of the following Output port indexes. The value range is between 0-31.
Macro Value
Description
OFF
0
No port enable
O1
1
Output #1 enable
O2
2
Output #2 enable
O3
4
Output #3 enable
O4
8
Output #4 enable
O5
16
Output #5 enable
Return Value
1 if successful, otherwise the return value is -1.
6.3.3.2
SetSingleIO
int SetSingleIO( [in] int DevIdx, [in] int IOIdx, [in] int Status)
SetSinlgeIO sets the status of a single Output.
Parameters
DevIdx
Index to the desire device currently available in the system. The first index is 1.
IOIdx
Sets the status of a single Output. This value range is between 1 and 5.
Summary of Contents for KombiSIGN 71
Page 2: ......