NI-DAQmx .NET Framework 4.5 API Reference

Task.Done Event

  • Updated2023-02-21
  • 1 minute(s) read
Task.Done Event
Occurs when the task completes.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.45.49302

Syntax

public event TaskDoneEventHandler Done
Public Event Done As TaskDoneEventHandler

Value

Type: NationalInstruments.DAQmxTaskDoneEventHandler

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

This event occurs whether the task completed successfully or stopped prematurely due to an error. If the task stops due to a call to Stop or Control(TaskAction), this event does not occur.
Note Note
For more information about events in NI-DAQmx, refer to Events.

See Also

Log in to get a better experience