Setfanalarm – ADLINK PXIS-2719A User Manual

Page 57

Advertising
background image

Monitoring/Control Functions

47

PXIs-2719A

Parameters

com:

An initialized COM port.

temp:

Target temperature (from 25 to 70°C)

Return Value

TRUE if the function succeeded, FALSE if failed.

Example

BOOL ret;

int temp = 50;

ret= SetTargetTemp(hCom,temp);

SetFanAlarm

Description

Sets chassis fan speed threshold, fan speeds under which will
trigger the alarm.

Syntax

BOOL SetFanAlarm(HANDLE hCom ,int speed)

Parameters

com:

An initialized COM port.

speed:

Fan speed threshold (in rpm, multiples of 100, such as
500, 600, 700…, range 0 to 10000)

Return Value

TRUE if the function succeeded, FALSE if failed.

Example

BOOL ret;

int

speed = 1000;

Advertising