Hi, I'm developing an application where I need to send a square signal to an instrument via a DAQ device. I've successfully sent it, but when I stop the program, the DAQ will send me a DC signal other than zero, which can damage my instrument. I need the DAQ to send zero volts when stopping the program.
I've tried with case structures (sending zero if the STOP button is pressed) but the program end too quickly and doesn't allow it to send the command to the DAQ. I've also tried adding some retarders (mait ms) but that hasn't helped either. I've tried using Event structures, but with the same result.
Is there a way (maybe by configuring the DAQ) to achieve a zero output when stopping the program?
Thanks, hope someone can help.