03-29-2015 12:57 PM
Hello.
I have a labview project i am working on but i cant figure this pary out. Its not that i dont know how to do it, its just i dont know in which way i should do it.
I have 1 input and 5 outputs. Each output can be turned off and on. what i want to say simply is:
If output1b = true
input = output1I
but at the same time i need it to check output 2,3,4 and 5 and see if they are true or false.
If output1b and 0utput3b and output5b = true
output1I = ouput1b/3
but as well as that i need it to also say
if output1 = false, but output5 = true
(send all data to next checkpoint)
I am attatching an image of some pipes and valves for better reference.
basically if 3 valves are open it needs the split the input into 3 and send 1/3 down each pipe while skipping the closed valves.
I know this is really complicated and normally i can figure it out pretty easy, but in this case there just seems too may ifs and ors for my brain to process correctly.
Can someone please show me an example on how to do this, i just need the first part to get me going.
Thanks
Solved! Go to Solution.
03-29-2015 02:08 PM
k i got a little of it working.
Now i just need it so it devides the number passing through Valve1 by the number of other pumps active.
03-29-2015 02:20 PM
Ok with a lot of testing i finally got this working with a lot of true/false cases. Solution attatched. (you may need to create some controls for it because i have a seperate VI for a control panel)
03-29-2015 02:28 PM