07-09-2012 10:48 AM
In my subvi, I am trying to get the main vi's menu's reference, so that I can modify the main vi's menu with vi such as Set Menu Item Info. How do I get the reference in a subvi? Is there a property I can use?
Solved! Go to Solution.
07-09-2012 11:50 AM
Some quick searching around leads me to believe that this isn't available. You can get the path to the main VI's menu, but not a reference to the menu itself. If knowing the path to the .rtm file doesn't help, can you put the main VI's menu reference into a global (ahem) that you can read from the sub VI?
07-09-2012 11:58 AM
Any reason not to simply pass the menu reference from the main VI to the subVI?
07-09-2012 12:59 PM
Darin - No reason. I had no idea what I was thinking. Thanks for pointing that out.