LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to use two instances of same sub VIs to control a 3 way valve?

Solved!
Go to solution

I am trying to send 0-10 V signal to two 3-way valve to control volume flow and temperature.

girish_jadhav_0-1579274778453.png

When the AnalogOutput VI is set to true, it sends the signal to value through channel 5 to control volume flow; and when the AnalogOutput VI is set to false, it sends the signal through channel 4 to control tempertaure.

 

The problem is: when the AnalogOutput VI receives the visa reference of the Keysight switch unit, it is contantly oscillating between true and false and not sending the control signal to the valve.

 

How can I resolve this?

 

PS: I have attached two subVIs that controls volume flow and temperature for reference.

Download All
0 Kudos
Message 1 of 2
(1,916 Views)
Solution
Accepted by topic author girish_jadhav

My guess is that your calling VI is alternately calling your 2 subVIs so quickly that the switch unit cannot keep up.  You need to slow down the loop in the caller.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 2 of 2
(1,882 Views)