Watchdog Whack VI

LabVIEW 2017 Real-Time Module Help

Edition Date: March 2017

Part Number: 370622R-01

»View Product Info
Download Help (Windows Only)

Owning Palette: RT Watchdog VIs

Requires: Real-Time Module

Resets the watchdog counter to the value you specify using either the Watchdog Configure VI or the Watchdog Set Attribute VI.

Details  Example

watchdogID in specifies a watchdog object.
reset watchdog after expire? determines whether a whack after the watchdog timer has expired resets the watchdog timer. The default value is FALSE, which specifies that the watchdog timer remains expired after the first expiration.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
watchdogID out has the same value as watchdogID in.
watchdog status is the current status of the watchdog timer. The watchdog status output can return the following values:

disabledIndicates that the watchdog object is disabled.
expiredIndicates that the watchdog object has expired.
runningIndicates that the watchdog object is running normally.
error out contains error information. This output provides standard error out functionality.

Watchdog Whack Details

If the countdown of the watchdog timer has not yet started, this VI starts the countdown. If the watchdog object is running or disabled, this VI restarts the countdown of the watchdog timer. If the watchdog object is expired, this VI restarts the countdown of the watchdog timer only if you set reset watchdog after expire? to TRUE.

Example

Refer to the Watchdog - RT Engine.lvproj in the labview\examples\Real-Time Module\NI Watchdog directory for an example of using the Watchdog Whack VI.

WAS THIS ARTICLE HELPFUL?

Not Helpful