HIL Watchdog Is Expired HIL Watchdog Start navigation bar

Table of Contents >Quanser Rapid Control Prototyping Toolkit >VI and Function Reference >VIs - By Category >VI Categories >Hardware VIs and Functions >General VIs >Watchdog >

HIL Watchdog Reload

HIL Watchdog Reload

Owning Palette:HIL/Core/Watchdog

Requirements:Quanser Rapid Control Prototyping Toolkit, LabVIEW 2020 or newer


Description

Reloads the watchdog timer. If the watchdog had already expired then it does not clear the expiration state. The watchdog must be cleared in order to begin writing to the outputs again.


Required Inputs All required inputs must be wired. They appear in bold text in the context help window for the VI.
board in

board in is a reference to a HIL Board instance that represents the open HIL board. This input must be wired to a valid HIL Board signal, as generated by a HIL Initialize VI.


Outputs

board out

board out is a copy of the HIL Board instance passed to the board in input.

expired

expired is a boolean scalar that is true if the watchdog has expired and false otherwise.

error out error out contains error information. If the error in cluster indicated an error, the error out cluster contains the same information. Otherwise, error out describes the error status of this VI.
status icon status is TRUE if an error occurred. If status is TRUE, the VI does not perform any operations.
code icon code is the error code number identifying an error. A value of 0 means no error, a negative value means a fatal error, and a positive value is a warning. Refer to the Quanser Error Codes for a code description.
source icon source identifies where an error occurred. The source string is usually the name of the VI that produced the error.


Details

The HIL Watchdog Reload VI reloads the watchdog timer so that it restarts counting. This VI is typically called in a control loop to ensure that the watchdog never expires unless an iteration of the loop takes longer than expected to execute or the application crashes unexpectedly. It is a safety feature used to shut down hardware in the event of software failure.


Feedthrough Behaviour

All input/output pairs of this function have direct feedthrough behaviour.


Examples

There are currently no examples


See Also

  • HIL Watchdog Clear

    Clears the watchdog state of a HIL board.

  • HIL Watchdog Start

    Starts the watchdog timer. If the watchdog timer is allowed to expire then it resets all the outputs of the data acquistion cards to the programmed expiration states.


    Targets

    Target

    Supported

    Comments

    RCP Windows (64-bit) Target

    Yes

    Fully supported.

     

    navigation bar