01-27-2022 03:21 AM
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
01-27-2022 04:40 AM
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 👩🎓👨🎓.
01-27-2022 04:53 AM
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.
01-27-2022 05:52 AM - edited 01-27-2022 05:53 AM
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.
01-27-2022 05:56 AM
Here would be a good spot to start: LabVIEW Wiki: Architectures and Frameworks