From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.


Showing results for 
Search instead for 
Did you mean: 

dynamically launch selected VI on cFP target

Go to solution

I am running LabVIEW 2011SP1 on a Win7 machine. My applicatoin uses cFP to monitor temperatures, and control 6 heaters (PID feedback) during heating and soak segments of a profile. Cooling segments are passive, no control aspects, I need only monitor temperatures until some setpoint is reached, then another segment of heating and soaking. I have the heating segment coded, passing setpoints via networked shared variables to the cFP controller (cFP2200). My thinking is to write a second VI to monitor thte passive cooling phases, but then I need to be able to toggle back and forth between two VIs on the target. Is this the correct approach (and if so how do I do it)? Or would it be better to make one huge VI to handle both scenarios?





Lawrence M. David Jr.
Certified LabVIEW Architect
cell: 516.819.9711
0 Kudos
Message 1 of 3
Accepted by topic author lmd2

Do you have to toggle between them or would you be able to run them in parallel with each other? 


Based on what you described, I would suggest writing a main VI to control the VI you've already written along with the new passive monitoring VI as subVI's. 


Applications Engineer
National Instruments
CLD Certified
0 Kudos
Message 2 of 3
Thanks, got a similar suggestion from someone and wrote a shell that uses a state machine for monitor / control. Thanks for the response
Lawrence M. David Jr.
Certified LabVIEW Architect
cell: 516.819.9711
0 Kudos
Message 3 of 3