Table of Contents
quanser.hardware.task.stop
Stops the specified task.
err = task.stop
Stops the specified task.
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.
task
Task instance returned by one of the quanser.hardware.hil.task_create functions.
err
A negative error code or zero on success.
% Start the task using SYSTEM_CLOCK_1 at 1 kHz. Put no limit on the number of samples. task.start(-1, 1000, -1); ... % Stop the task task.stop; task.close;
See Also
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.