LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Running VIs In Parralel

Running Parallel VIs

Hi

I hope I find you well. 

I need some help with organising my VIs to form an automatic gas sensing system. I have developed  some VIs to do relay switching, Gas flow measurements and Electrical resistance measurements. I have the following VIs Developed:

1) Carrier gas relay control VI ( switches on electronic Valve for Carrier gas)

2) Carrier gas Mass Flow Controller (MFC) VI ( Measures carrier gas gas flow rate)

3) Keithley VI (measures electrical resistance)

4) Target gas relay control (switches on electronic valve for Target gas)

5)Target gas MFC ( measures target gas flow rate.

General Description of process

The carrier gas relay control VI must run at the same time as carrier gas MFC VI as well as the Keithley VI. These 3 VIs must run for a programmable time, after this time has elapsed the Target gas relay control VI and the Target gas MFC must come in and run whilst the previous VIs continue to run.

I'm asking for advice as to how I can achieve the above description.

 

Thank you in advance

 

 

0 Kudos
Message 1 of 5
(1,230 Views)

There's no quick answer to this question.

 

The program needs to step up quite a bit.

 

The program needs an architecture.

 

This means you need an architecture, and ideally you'd understand this architecture, and architectures in general.

 

That's quite a learning curve... If you're up to the journey we can point you into directions (there are plenty of choices and ways to get there).

 

On the up side, there's a lot to learn 👩‍🎓👨‍🎓.

0 Kudos
Message 2 of 5
(1,213 Views)

Thank You for your timeous response.

I'm up to the journey the earlier I start the better so please kindly point me in the directions and the various options I have to achieve this I don't have much time left.

0 Kudos
Message 3 of 5
(1,209 Views)

marambire@2020 wrote:

Thank You for your timeous response.

I'm up to the journey the earlier I start the better


Good...

 


marambire@2020 wrote:

so please kindly point me in the directions and the various options I have to achieve this


I hope you did the online courses? That won't help much with architecture, but it is a prerequisite.

 

From the limited info I have, it seems you could do a multiple slaves, 1 master architecture. So each VI could get a message channel wire in, and a main loop can send each module messages. The main loop could be a state machine of some kind.

 


marambire@2020 wrote:

I don't have much time left.


That's a problem...

 

Even if you hacked this together it would require hacking skills and detailed information about the project. And time too.

0 Kudos
Message 4 of 5
(1,194 Views)

Here would be a good spot to start: LabVIEW Wiki: Architectures and Frameworks 


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 5
(1,191 Views)