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
tasksBundleDAQmxTasksBundle-
The NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx.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 NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx.TaskControl.Start(NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx.DAQmxTasksBundle), to restart the task or use NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx.TaskControl.Stop(NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx.DAQmxTasksBundle) to reset the task without starting it.
Exceptions
- DaqException
-
The underling driver session returned an error.