VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Watchdog Alarm Example

I am looking for an example Watchdog Timer alarm to stop my test when/if my PC is disconnected from the RT controller [PXI or cRIO] in VeriStand 2019 R3.  For example, what does the "Watchdog Timer" system channel do, when the PC is disconnected, if I enable "Filter Watchdog Errors"?  Does it go from 0 to 1?  It's not clear to me in the Help Manual.  

 

Previously, I used the Workspace .vi suggested by Inertia, here:  https://forums.ni.com/t5/NI-VeriStand/Configure-Watchdog-in-Veristand/td-p/2717405?profile.language=...

 

Last Modified: December 13, 2019

You can modify the timing watchdog that stops the execution of the VeriStand Engine if too much time elapses when you deploy a project to a real-time target.

The timing watchdog is controlled by the Watchdog Timer Loop. This loop executes at a rate of 10 Hz and at a lower priority than the other loops in the VeriStand Engine.

The Watchdog Timer Loop executes and resets the Watchdog Timer system channel every 500 milliseconds. When the Primary Control Loop executes, it evaluates whether the Watchdog Timer system channel reports a time greater than 1 second. If it does, VeriStand throws an error and stops execution of the VeriStand Engine.

To enable or disable watchdog functionality, complete the following steps:

  1. Open System Explorer.
  2. Select Controller from the configuration tree to display the Controller Configuration page.
  3. Select Other Settings»Filter Watchdog Errors.
When you enable this option, VeriStand will filter errors reported by the timing watchdog. You can then monitor and respond to the Watchdog Timer system channel with custom alarms and procedures.
 

https://www.ni.com/documentation/en/veristand/19.2/manual/configure-watchdog-timer/

 

0 Kudos
Message 1 of 1
(1,074 Views)