beautypg.com

Shutdown and re-boot functions, Hm_rebootboard, Shutdown and re-boot functions hm_rebootboard – Rockwell Automation 2711P Software Development Kit User Manual User Manual

Page 66

background image

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

66 PanelView Plus CE-Specific Extensions to the WinCE API

The monitor level specified in lfUpperWarningLevel and
lfLowerWarningLevele varies depending on the type of parameter
being monitored.

See Hardware Monitor Parameters for type/units.

The upper warning level for MONITOR_ID_BATTERY_VOLTAGE is
always MONITOR_WARNING_LEVEL_UNDEFINED.

The lower warning level for MONITOR_ID_CPU_TEMPERATURE is
always MONITOR_WARNING_LEVEL_UNDEFINED.

Portability:

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

Requirements:

Shutdown and Re-Boot Functions

These functions permit an application to boot the system and
determine how the system was last shutdown.

hm_RebootBoard

This function reboots the system.

BOOL hm_RebootBoard (void);

Return Values:

Returns FALSE on failure. Function will not return on success, because
the board will reset immediately.

Runs On

Version

Defined In

Link To

PanelView Plus CE

RAC6182

All

HardwareMonitorAPI.h

HardwareMonitor.lib