Task.Start Method
- Updated2023-02-21
- 1 minute(s) read
TaskStart Method
Transitions the task to the running state, which begins the measurement or generation.
Namespace: NationalInstruments.DAQmx
Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302
Syntax
public void Start()
Public Sub Start
Exceptions
Exception | Condition |
---|---|
DaqException | The NI-DAQmx driver returned an error. |
Remarks
If you do not use this method, a measurement task starts automatically when you call a read method. How you set the write method autoStart parameter determines if calling the write method automatically starts a generation task. If you do not use Start and Stop when you use a read or write method multiple times, the task starts and stops repeatedly, which reduces the performance of the application. Refer to When Should You Use the Start Function for more information.