Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 9481: how to reset the Digital Output to "open circuit" after stopping labview run?

Solved!
Go to solution

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.

printscreen.jpg

0 Kudos
Message 1 of 2
(4,765 Views)
Solution
Accepted by akhakimova@nu.edu.kz

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.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(4,753 Views)