beautypg.com

Hm_getmonitorlevel – Rockwell Automation 2711P Software Development Kit User Manual User Manual

Page 62

background image

Publication 2711P-UM005A-EN-P - March 2007

62 PanelView Plus CE-Specific Extensions to the WinCE API

Remarks:

This function returns a bit wise Or’d combination of all monitored
parameters that are currently in the warning state. Note that this
function does not latch any previous warning states that may have
previously triggered warning notification events. Therefore, if a
monitored parameter enters a warning state and triggers a notification
event, it is possible that the parameter has left the warning state
before an application calls this function.

Portability:

The function prototype is the same as the RAC6182. However, the
MONITOR _ID parameters are different between the platforms.

Requirements:

hm_GetMonitorLevel

This function gets the current value of a specific monitored parameter.

BOOL hm_GetMonitorLevel (DWORD dwMonitorID, DOUBLE
*plfCurrentValue);

Parameters:

dwMonitorID

A value from Table .

plfCurrentValue

Pointer to an application-allocated DOUBLE that returns the current
value for the parameter specified by dwMonitorID.

Return Values:

Returns TRUE if the function is successful; otherwise returns FALSE on
failure.

Runs On

Version

Defined In

Link To

PanelView Plus CE

RAC6182

All

HardwareMonitorAPI.h

HardwareMonitor.lib