How Can I Reset to Zero My Analog Output Value After I Stopped My Application?

Updated Nov 7, 2019

Reported In


  • LabVIEW


  • NI-DAQmx

Issue Details

When I stop my analog output task, it keeps the last value and I need to reset that value to zero. How can I do that?



You can implement a code similar to the next in order to do this:

This should be after your write task ends, after the DAQmx Stop and the content of what you wire into the DAQmx depends on your specific application, but the structure should be the same.