LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hello, requesting ideas/help for a top level vi.

Solved!
Go to solution

Hello, excuse my rookieness lol.  I just acquired my CLAD certification and began to get my feet wet. 

With all of your combined experience I was wondering what you would think is the best(read simplest) way to create a vi that is a simple drop down menu to launch other vi's that have already be created. 

I have 6 test procedures that are completed by a experienced Developer and I would like to be able to call on any of those through a master vi.  I know this is a boring n00b question but any help or suggestions would be greatly appreciated.

0 Kudos
Message 1 of 6
(3,283 Views)
Solution
Accepted by hpowel01

I assume you mean you can use these other VIs as subVIs in the launcher VI.

 

Are you okay with them just showing up as a popup? Do you want multiple to be launchable at a time? Do you need information out of the VIs after they've completed?

 

If you don't care about what the subVIs do after they've launched you can do a Call and Forget using the VI reference. If you want to wait until the VI finishes, you can call it like any subVI and this means the launcher will be stuck on that subVI call until you're done.

 

As far as the interface goes, you could just do something simple with an event structure and a selection option:

Launch.png

 

Cheers


--------,       Unofficial Forum Rules and Guidelines                                           ,--------

          '---   >The shortest distance between two nodes is a straight wire>   ---'


Message 2 of 6
(3,268 Views)

Thank you so much.  I'm still learning the correct way to say everything so that my thoughts make sense.  English is not my first langauge lol.  This will work perfectly for what I'm looking to do!

0 Kudos
Message 3 of 6
(3,259 Views)

No problem, if you run in to any issues with the Launcher, feel free to reply to this thread again.

Cheers


--------,       Unofficial Forum Rules and Guidelines                                           ,--------

          '---   >The shortest distance between two nodes is a straight wire>   ---'


0 Kudos
Message 4 of 6
(3,250 Views)

sorry to keep bugging you but I do have a little confusion.   I don't understand what in this launcher template actually lets me selcet the VI of choice on the Front Panel?

 

If you have time to continue helping.  It is greatly appricated.

-Heath

0 Kudos
Message 5 of 6
(3,197 Views)

That blue "enum" in the snippet above is basically an enumerated list of whatever you want. Right-click the front panel, go to "Ring & Enum" and put an Enum on the front panel. You can right click the Enum to edit the items that show in the drop-down. Each of these items is enumerated with 0, 1, 2, 3, ... and you use the selection to choose the VI.

Cheers


--------,       Unofficial Forum Rules and Guidelines                                           ,--------

          '---   >The shortest distance between two nodes is a straight wire>   ---'


Message 6 of 6
(3,192 Views)