11-17-2014 03:07 AM
Hi guys,
I am trying to control water circulation pumps with relay NI9481 based on some temperature differences. It works fine but I also want to stop pumps operating when I press stop button on the front panel. Now if I press stop when the LED indicator on the relay is ON it stays on and I have to use MAX to turn it off. How can I set the switch to open the circuit automatically at the end of run? Thanks.
Solved! Go to Solution.
11-17-2014 06:39 AM
Right before you stop and clear your task (still outside of your loop), just use a DAQmx Write to write all FALSE to your DIO. That will turn everything off and then you clear your task.