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

Updated Nov 7, 2019

Reported In

Software

  • LabVIEW

Driver

  • 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?

 

Solution

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 Task.vi and the content of what you wire into the DAQmx Write.vi depends on your specific application, but the structure should be the same.