NI-DAQmx .NET Framework 4.0 API Reference

Content Type
Programming Language
Current manual
Table of Contents

Task.Start Method

Task.Start Method

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

ExceptionCondition
DaqExceptionThe 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.

See Also

Was this information helpful?