I'm trying to make it so that when the VI I have encounters an error, the analog output goes to zero volts, or no output, rather than the last value when the error occurred.
All you have to do is wire your error cluster to the selector of a case statement and inside the case statement, place a DAQmx write with a 0 value. Pass in the task you originally created or use another DAQ Assistant.