beautypg.com

Rockwell Automation 2711P Software Development Kit User Manual User Manual

Page 38

background image

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

38 PanelView Plus CE-Specific Extensions to the WinCE API

dwTimeout

Timeout in milliseconds. This parameter must be one of the following
values:

dwTimeoutAction

Determines what action is taken when a timeout occurs. This
parameter must be one of the following values:

Software Watchdog Timeout Values

Value

Description

WATCHDOG_KICK (Value = 0)

Tags (restarts) the watchdog indicating that the
process is active.

50 – 5000 milliseconds

The watchdog timeout in milliseconds. Once the
watchdog is activated, the caller must tag the
watchdog monitor before a timeout occurs.

WATCHDOG_DISABLE

(Value = MAXDWORD)

Stops the instance of the software watchdog that
corresponds to the Watchdog Tag ID.

Software Watchdog Timeout Actions

Value

Description

WATCHDOG_SYSRESET

Reset the system.

WATCHDOG_APP_STOP

Stop the process. The system will continue to operate.

WATCHDOG_TIMEOUT_PROMPT This is an attribute of the actions:

WATCHDOG_SYSRESET, or WATCHDOG_APP_STOP.

When OR’d with one of these flags, a prompt will be
displayed on the user screen. The prompt must be
acknowledged before the action proceeds.