quanser.hardware.monitor.stop quanser.hardware.monitor.close navigation bar

Table of Contents

quanser.hardware.hil.monitor_stop_all

Stops all monitors associated with the board.

Syntax

err = board.monitor_stop_all
    

Description

Stops all monitors associated with the board. Stopping a monitor does not delete it. Use the monitor_close_all function to free the resources associated with all the monitor. A monitor that has been stopped, but not deleted, may be restarted using the quanser.hardware.monitor.start function

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_handle

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

Outputs

err

A negative error code or zero on success.

Examples

board.monitor_stop_all;  % Stop all monitors
board.monitor_close_all; % Delete all monitors
    

See Also

 

navigation bar