18
Pos1, Pos2, Pos3, Pos4, Pos5
Sets port 1, 2, 3, 4 and 5 to OFF, ON, Blinking mode 1 or Blinking mode 2, depending
on value.
Macro
Value As Char Value in ASCII
Description
OFF
0
0x30
Port off
ON
1
0x31
Port on
Blinking mode 1 2
0x32
Blinking mode 1
Blinking mode 2 3
0x33
Blinking mode 2
Don’t Care
X
0x58
No change on that port
Return Value
1 if successful, otherwise the return value is -1.
6.3.2.3
GetDeviceStatus
int GetDeviceStatus ( [in] int DevIdx, [out] char * Pos1, [out] char * Pos2, [out] char * Pos3,
[out] char * Pos4, [out] char * Pos5)
GetDeviceStatus gets the status for all outputs.
Parameters
DevIdx
Index to the desire device currently available in the system. The first index is 1.
Pos1, Pos2, Pos3, Pos4, Pos5
Pointer to a variable that will contain the status of the output.
Macro
Value As Char Value in ASCII
Description
OFF
0
0x30
Port off
ON
1
0x31
Port on
Blinking mode 1 2
0x32
Blinking mode 1
Blinking mode 2 3
0x33
Blinking mode 2
Return Value
1 if successful, otherwise the return value is -1.
Summary of Contents for KombiSIGN 71
Page 2: ......