After generating a waveform on the AO of my 6221 board, I stop the task with the DAQmx Stop.vi. This leaves the output of the AO at whatever value it happened to be when it was stopped. However, I want the output to go to zero when I am not using the board anymore. To accomplish this, I put in a DAQmx Write.vi with a waveform that is at zero, started it with DAQmx Start.vi, and finally ran DAQmx Stop.vi again. While this second waveform runs, the output is at zero. However, when it stops, the output gets shifted to a non-zero output. How can I reset the output?
Thanks