User guide

Monitoring/Control Functions 51
PXIs-2719A
SetN12VAlarm
Description
Sets the chassis DC -12V threshold, beyond which the DC
-12V voltage triggers the alarm.
Syntax
BOOL SetN12VAlarm(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= SetN12VAlarm(hCom, high, low);
CloseCOM
Description
Closes the initialized COM port.
Syntax
BOOL CloseCOM(HANDLE hCom)