LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

programming vavle sequence

I am trying to do somehting which I thought would be very simple, but I can't seem figure out how to do this: I want to control a number a valves using predefined sequences, but with some timings in those sequences controlled by inputs from the front panel. For now I am using the USB-6009 digital outs to turn a series of reed relays on/off which in turn control my valves. I want something like a sequence consisting of 5 valves states (e.g. A-E), with each state defined as 8 valves open or closed. My sequence will look something like:

 

(A(x seconds), B(y seconds) ) z times, C(5 seconds), D(10 seconds), E = final state

 

The parameters x,y & z will be entered form the front panel.

 

During the sequence I will also be collecting data from the analogue inputs.

 

Is my question understandable?

Can someone direct to resources (tutorials, etc.) that will help me do this?

 

I have already downloaded some VI's which are allowing to collect data and control valves states manually, but it is not clear to me how to get what I need quickly.

 

Thank you for your help
0 Kudos
Message 1 of 2
(2,410 Views)

Look at the many examples which come with LabVIEW and many postings on the Forum about "State Machines."

 

Lynn

0 Kudos
Message 2 of 2
(2,409 Views)