quanser.hardware.task.stop quanser.hardware.task.close navigation bar

Table of Contents

quanser.hardware.hil.task_stop_all

Stops all tasks associated with the board.

Syntax

err = board.task_stop_all
    

Description

Stops all tasks associated with the board.

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

% Stop all tasks.
board.task_stop_all;

% Delete all tasks.
board.task_close_all;
    

See Also

 

navigation bar