DAQmx Clear Task (VI)

DAQmx - Data Acquisition VIs and Functions

Edition Date: January 2019

Part Number: 370469AP-01

»View Product Info
Download Help (Windows Only)
Owning Palette: DAQmx - Data Acquisition VIs and Functions
Installed With: NI-DAQmx

Clears the task. Before clearing, this VI aborts the task, if necessary, and releases any resources the task reserved. You cannot use a task after you clear it unless you recreate the task.

If you use the DAQmx Create Task VI or the DAQmx Create Virtual Channel VI within a loop, use this VI within the loop after you are finished with the task to avoid allocating unnecessary memory. Refer to Task Creation and Destruction for more information about when to use this VI.

DAQmx Clear Task


task in is the name of the task to clear. Unlike the task/channels in input on some VIs, you cannot wire a virtual channel to this input.


error in describes error conditions that occur before this node runs. This input provides standard error in functionality.


error out contains error information. This output provides standard error out functionality.


Not Helpful