Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Solenoid Valve Control with conditions

Hi everyone,

 

I have a NI USB-6501 and am needing to control 5 solenoid valves with specific conditions.  I have already hooked up the hardware and am now trying to work on the software.  I have seen several examples online on how to control but not exactly what I need.  I have attached my VI just so you guys can see what I am working with.

 

-I need to have the valves in a specific position open/close when the program starts.

-I then need the valves to open/close when I hit a certain value for my permeate side pressure transducer (labeled permeate PT).  I have already added a trigger pressure value to my condition terminal in my while loop to stop the program when it is met but I will probably change this to a case structure so I can position the valves in the right configuration.

 

So basically I need the valves to react with my trigger pressure value that I will input and the actual permeate PT value.

 

Any help will be greatly appreciated.

 

Thank you,

 

Feras 

0 Kudos
Message 1 of 2
(3,393 Views)

Sorry guys I forgot to attach the file.  🙂

 

Here it is.

0 Kudos
Message 2 of 2
(3,385 Views)