int32 DAQmxStartTask (TaskHandle taskHandle);
Transitions the task from
the committed state to
the running state, which begins measurement or generation. Using this
function is required for some applications and optional for
If you do not use this function, a measurement task
starts automatically when a read operation begins. The
autoStart parameter of the NI-DAQmx Write
functions determines if a generation task starts automatically when
you use an NI-DAQmx Write function.
If you do not call DAQmxStartTask and DAQmxStopTask when you call NI-DAQmx Read
functions or NI-DAQmx Write functions multiple times, such as in a
loop, the task starts and stops repeatedly. Starting and stopping a
task repeatedly reduces the performance of the application.
||The task to start.
||The error code returned by the function in the
event of an error or warning. A value of 0 indicates success. A
positive value indicates a warning. A negative value indicates an