User guide

50 Monitoring/Control Functions
Return Value
TRUE if the function succeeded, FALSE if failed.
Example
BOOL ret;
float high = 0.15;
float low = 0.15;
ret= Set3V3Alarm(hCom, high, low);
Set12VAlarm
Description
Sets the chassis DC 12V threshold, beyond which the DC 12V
voltage triggers the alarm.
Syntax
BOOL Set12VAlarm(HANDLE hCom ,float H, float
L)
Parameters
com:
An initialized COM port.
H:
DC 12V alarm upper threshold (voltage, range 0 to 2.4)
L:
DC 12V alarm lower threshold (voltage, range 0 to 2.4)
Return Value
TRUE if the function succeeded, FALSE if failed.
Example
BOOL ret;
float high = 0.6;
float low = 0.6;
ret= Set12VAlarm(hCom, high, low);