Getthreshold, Getmcuversion – ADLINK PXIS-2719A User Manual

Page 53

Advertising
background image

Monitoring/Control Functions

43

PXIs-2719A

GetThreshold

Description

Acquires chassis fan speed, temperature, and voltage thresh-
old settings and stores the results in a ChassisSetting struc-
ture.

Syntax

WD_AD_Auto_Calibration_ALL (ByVal CardNumber

As Integer) As Integer

Parameters

hCom:

The initialized COM port.

Status:

ChassisSetting data structure that stores the chassis
status in which TargetTemp, ThresholdTemp, Threshold-
Fan, Threshold5V_H, Threshold5V_L, Threshold3V3_H,
Threshold3V3_L, Threshold12V_H, Threshold12V_L,
ThresholdN12V_H, ThresholdN12V_L will be updated

Return Value

TRUE if the function succeeded, FALSE if failed.

Example

ChassisSettingsetting; BOOLret;

ret= GetThreshold(hCom, &setting);

GetMCUVersion

Description

Acquires the MCU code version number and stores the result
in a ChassisStatus structure.

Syntax

BOOL GetMCUVersion(HANDLE hCom, MCUVersion *

Version)

Advertising