Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Question about timing an on/off signal for Mass Flow controllers

Hi, Labview community.

 

Over the summer, I had constructed a LabVIEW VI to control our Cole-Parmer Mass Flow Controllers to regulate the amount of gas entering our system.  We have two mass flow controllers supplying our plasma jet, one feeding Helium and one feeding Oxygen. 

 

I now have a new problem.  We run a Helium and= Oxygen plasma jet.  The Helium is the primary gas flowing.  I now want to be able to pulse the oxygen supply to the jet, meaning, let's say I want 5 seconds of oxygen flowing into the system (oxygen ON) followed by 5 seconds of oxygen not flowing into the system (oxygen OFF).  I want this to repeat in a cyclical fashion of 5 seconds ON, 5 seconds OFF, 5 seconds ON, 5 seconds OFF, etc. 

 

How do I encode for such a system?  I looked through my LabVIEW textbook as well as online, but could find no relevant answers.

 

Thanks in advance for any help provided.  

0 Kudos
Message 1 of 2
(2,929 Views)

 

Hi

so you need a while loop that switches in one case of a case statement

switch oxigen 5 sec on and then off

(so you need the code to switch it on and wait 5 seconds and switch it on again.)

In the other half of the case you only wait 5 sec.

keep this while running as long as you need.

 

good luck

greetings from the Netherlands
Message 2 of 2
(2,912 Views)