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.


icon

Inputs/Outputs

  • cgenclassrntag.png task in

    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.

  • cerrcodeclst.png error in

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

  • ierrcodeclst.png error out

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