quanser.hardware.hil.watchdog_clear End of trail navigation bar

Table of Contents

quanser.hardware.hil.watchdog_stop

Stops the watchdog timer.

Syntax

err = board.watchdog_stop
    

Description

Stops the watchdog timer. The timer will no longer be active and will no longer reset the board. This function must be called to stop the watchdog timer if watchdog_start has been called.

If no err output is provided then it throws an exception if an error occurs. In generated code it prints the error message. Use hil_get_error_message to get the message associated with an error code.

Parameters

board

The board instance returned by the quanser.hardware.hil.open function.

Outputs

err

A negative error code or zero on success.

Examples

% Stops the watchdog timer
board.watchdog_stop;
    

See Also

 

navigation bar