User guide

Monitoring/Control Functions 37
PXIs-2719A
4 Monitoring/Control Functions
The monitoring/control function library can be used to create a
customized program for monitoring and controlling the PXIS-
2719A. The data structure and function library follow.
4.1 Data Structure
In the function library, 3 data structures are defined, as follows.
4.1.1 ChassisStatus
Includes Power, Fan Status, Temperature Status, and Power Sta-
tus:
typedef struct tagChassisStatus
{
BYTEPowerStatus;//Power On/Off status
//Fan status and speed in RPM
BYTEFan1Status;//Fan#1 status
BYTEFan2Status;//Fan#2 status
BYTEFan3Status;//Fan#3 status
intFan1RPM;//Fan#1 speed in RPM
intFan2RPM;//Fan#2 speed in RPM
intFan3RPM;//Fan#3 speed in RPM
//Temperature sensor status and reading in degree cen-
tigrade
BYTETemp1Status;//Temperature sensor#1 status
BYTETemp2Status;//Temperature sensor#2 status
BYTETemp3Status;//Temperature sensor#3 status
BYTETemp4Status;//Temperature sensor#4 status
BYTETemp5Status;//Temperature sensor#5 status
BYTETemp6Status;//Temperature sensor#6 status
BYTETemp7Status;//Temperature sensor#7 status
BYTETemp8Status;//Temperature sensor#8 status
floatTemp1Reading;//Temperature sensor#1 reading (°C)
floatTemp2Reading;//Temperature sensor#2 reading (°C)
floatTemp3Reading;//Temperature sensor#3 reading (°C)