Tasks End of trail navigation bar

Table of Contents > QUARC > User's Guide > QUARC External Interfaces > C Functions > Hardware > HIL API > Function Reference > Functions - By Category > Function Categories

Watchdog

The watchdog functions are used to control a watchdog timer on the card. Watchdog timers are typically used to reset the data acquisition card in the event of a software failure. The watchdog timer is typically programmed with a specific timeout interval but is reset every sampling instant so that it never expires. However, if the software fails, then the watchdog is not reset and it expires. Upon expiration, the watchdog timer resets the outputs on the card.

Once the watchdog has expired, it puts the card in "watchdog mode" so that further I/O is not allowed until the watchdog mode is cleared. This, if the software attempts to write to the outputs of the card after the watchdog expires, the write will not succeed until the software has dealt with the fault condition and cleared the watchdog mode.

The watchdog functions are:

 

navigation bar