DAQmx Clear Task VI
- Updated2025-07-28
- 2 minute(s) read
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.

Inputs/Outputs
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.
error in
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
error out
—
error out contains error information. This output provides standard error out functionality. |
task in
—
error in
—
error out
—