Using the monitoring/control function library – ADLINK PXIS-2508 User Manual

Page 45

Advertising
background image

Remote Management

35

Using the Monitoring/Control Function Library

You can use the monitoring/control function library to create a cus-
tomized program that would monitor and control the PXIS-2508/
2558T. Refer to the data structure and function library below.

Data Structure

In the library, a data structure is defined to describe the chassis
status.

typedef struct tagChassisStatus

{

BYTE

PowerStatus

//Fan status and RPM

BYTE

Fan1Status;

BYTE

Fan2Status;

BYTE

Fan3Status;

BYTE

Fan4Status;

BYTE

Fan5Status;

BYTE

Fan6Status;

float

Fan1RPM;

float

Fan2RPM;

float

Fan3RPM;

float

Fan4RPM;

float

Fan5RPM;

float

Fan6RPM;

//Temperature sensor status and reading in

degree centigrade

BYTE

Temp1Status;

BYTE

Temp2Status;

float

Temp1Reading;

float

Temp2Reading;

//DC status and reading

BYTE

DC1Status;

BYTE

DC2Status;

BYTE

DC3Status;

BYTE

DC4Status;

float

DC1Reading;

float

DC2Reading;

float

DC3Reading;

float

DC4Reading;

Advertising