This example has two loops. The top loop represents your Real-Time Code by making the User LED on the cRIO blink, this also allows you to visually see when the cRIO Reboots itself. (You can also use Console Out to see when the cRIO reboots).
The Bottom Loop is the Watchdog Loop. While the Unresponsible Program button is un-pressed the watchdog is "wacked" each iteration of the loop. When the case structure becomes true, the watchdog timer times out after 1 second. When the watchdog times out it executes it's timeout actions, which in this case, is to reset the hardware. This setting can be seen on the "Expiration Actions".
LabVIEW Full Development System 2012 (or compatible)
LabVIEW Real-Time Module 2012 (or compatible)
Steps to Implement or Execute Code
Download and open the attached ZIP-file
Open the VI inside the LabVIEW project and follow the instructions on the Front Panel
Additional Information or References
**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text ‘NIVerified’. Read here for more information about the new Example Guidelines and Community Platform.**