Transitions the task to the running state, which begins the measurement or generation.

Syntax

Namespace: NationalInstruments.DAQmx

public void Start()

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.

Exceptions

TypeDescription
NationalInstruments.DAQmx.DaqException

The NI-DAQmx driver returned an error.

See Also