quanser.hardware.task.close End of trail navigation bar

Table of Contents

quanser.hardware.hil.task_close_all

Deletes all tasks associated with the board.

Syntax

err = board.task_close_all
    

Description

Deletes all tasks associated with the board. Any tasks that were running will be stopped.

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

% Delete all tasks.
board.task_close_all;
    

See Also

 

navigation bar