Method Abort
- Assembly
- NationalInstruments.SemiconductorTestLibrary.Extensions.dll
Abort(DAQmxTasksBundle)
Aborts execution of the task, immediately terminating any currently active operation, such as a read or a write.
public static void Abort(this DAQmxTasksBundle tasksBundle)
Parameters
tasksBundle
DAQmxTasksBundleThe DAQmxTasksBundle object.
Remarks
This is a low-level driver control method that is not recommended for general use. Aborting a task puts the task into an unstable but recoverable state. To recover the task, use Start(DAQmxTasksBundle), to restart the task or use Stop(DAQmxTasksBundle) to reset the task without starting it.
Exceptions
- DaqException
The underling driver session returned an error.