Method WaitUntilDone
- Assembly
- NationalInstruments.SemiconductorTestLibrary.Extensions.dll
WaitUntilDone(DAQmxTasksBundle)
Waits for the measurement or generation to complete, regardless of the amount of time needed, and returns whether the execution is complete.
public static void WaitUntilDone(this DAQmxTasksBundle tasksBundle)
Parameters
tasksBundle
DAQmxTasksBundleThe DAQmxTasksBundle object.
Remarks
NationalInstruments.DAQmx.Task.WaitUntilDone waits for the task to finish acquiring or generating the number of samples per channel specified on the NationalInstruments.DAQmx.Timing class. NationalInstruments.DAQmx.Task.WaitUntilDone does not wait for pending asynchronous operations to complete. Use the methods and properties on System.IAsyncResult to verify that asynchronous reads and writes are complete.
Exceptions
- DaqException
The underling driver session returned an error.