LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Loading a different RT Menu using VI server

Hello,
 
        Using LV 7.1 can I select what Run-Time menu I would like to run a VI with. For example I would like to have two RTM files. Depending on the situation I would like to lauch the VI with either one or the other Menu. If this is not directly possible before running the VI, is it perhaps possible to send a flag and then do once the VI is running.
      
0 Kudos
Message 1 of 5
(3,524 Views)

I don't know if you can change the menu in the way you want, but you can create the menu on your own.

Search the examples library for the keyword menus. Then you should find Dynamic Insert Demo.vi. This vi shows you how you can create a menu on your own.

You can react on menu selections the same way as you do with the menus created by rtm-files, which means that the event-structure can handle that to.

Hope this helps.

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 2 of 5
(3,514 Views)


AstroMed Glen wrote:
 
        Using LV 7.1 can I select what Run-Time menu I would like to run a VI with. ...      


The Run-Time Menu Path property may be of use to you.
=====================================================
Fading out. " ... J. Arthur Rank on gong."
Message 3 of 5
(3,499 Views)
Thank you for both your responses. I think the path property is exactly what I am looking for!!
0 Kudos
Message 4 of 5
(3,491 Views)
Ah - never saw this property, although I often use VI properties.
 
You can keep your eyes open, but often enough you lose sight of something. Smiley Wink
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 5 of 5
(3,473 Views)