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

/images/reference/en-XX/help/370469AP-01/civrn.gif

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.

/images/reference/en-XX/help/370469AP-01/cerrcodeclst.gif

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

/images/reference/en-XX/help/370469AP-01/ierrcodeclst.gif

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

WAS THIS ARTICLE HELPFUL?

Not Helpful