Setfanspeedauto, Settargettemp – ADLINK PXIS-2719A User Manual

Page 56

Advertising
background image

46

Monitoring/Control Functions

Return Value

TRUE if the function succeeded, FALSE if failed.

Example

BOOL ret;

ret= SetFanSpeedMax (hCom);

SetFanSpeedAuto

Description

Sets fan speed to Auto mode (automatically adjusting fan
speed according to internal temperature)

Syntax

BOOL SetFanSpeedAuto (HANDLE hCom)

Parameter

com:

An initialized COM port.

Return Value

TRUE if the function succeeded, FALSE if failed.

Example

BOOL ret;

ret= SetFanSpeedAuto (hCom);

SetTargetTemp

Description

Sets a Chassis target temperature that fan speed will automati-
cally adjust to meet.

Syntax

BOOL SetTargetTemp(HANDLE hCom ,int temp)

Advertising