In LV6.1, can I get the run-time menu refnum of a VI from the VI Path?

Actually, for any version of LabVIEW, can I get the run-time menu refnum from the VI Path (or the VI reference)?
Thanks!
Enrique
www.vartortech.com

I just thought of a workaround...you could have a Menu Bar Ref indicator on your main VI front panel.  When your VI runs, you could have the Current VI's Menubar function wire the refnum into that indicator.  Then, in your subVI that has the VI reference, you could use VI Server to read the value of that indicator, then cast the value into a refnum wire, then you'd have access to the menubar reference in the subVI without having to pass it in to a subVI terminal.  Would that work?
Oh, another simpler idea would be to simply wire the Menubar reference into a global, and read that global in the subVI.
-D
Darren Nattinger, CLA
LabVIEW Artisan and Nugget Penman

Similar Messages

  • Changing the run-time menu programatically

    Hi All
    I am developing an application which will be a bilingual. when i click french button on GUI, all display messages changes to french. When i click on English, all captions and messages come in Engilsh. I am using property node to change the captions of controls and graphs for different languages. and using a global variable to pass the language information between different windows(Sub VIs). Now the problem is, i have to change the Run-Time Menu also. Not getting how to do this. Can anyone help me about this. Is it possible to make this?
    Thanks
    Anil

    Hi Anil,
    It looks like you are on the right track by using Property Nodes.  You can use the string input of the property node to select the appropriate message to display (language), along with a Boolean selector (ie: TRUE = English, FALSE = French (or vice-versa) ).
    You could also use a Property Node for the language selection.
    JLV

  • For the first time i want to sync music from the itunes on my desktop to my iPod touch 5th gen. it kept taking forever to back up! is backing up needed? all i wanna do is sync the music

    for the first time i want to sync music from the itunes on my desktop to my iPod touch 5th gen. it kept taking forever to back up! is backing up needed? all i wanna do is sync the music and the back up is taking way too long....
    i have not yet until now tried to sync music to this ipod touch it always syncs music on to my ipod classic..please please help me! im dying to have music on this ipod touch...

    It depends how much you have to backup..
    You could also have a problem.
    Is any progress showing?
    How long as it been backing up?
    Any other text in the status bar in addition to saying backing up?

  • Can i get engraving on a refurbished model that i buy from the online apple store?

    I am going to buy a refurbished ipod touch from the online apple store. Can i get engraving on it even though it is refurbished?

    Call Apple and ask them:
    1-800-MY-APPLE

  • Why is it, after all the years with this service, my wife can't get service, send a text without a long delay from the high school she works at 4 miles away??? The phone works great in the middle of corn fields but in the dead center of town, at the high

    I have been with Verizon since they started in Peoria, IL and yet to this day I don't understand why when my wife goes to work at a high school, dead in the middle of town, she has no service, can't send a text without a huge delay and can't receive phone calls?  I can be out of Peoria in the middle of a corn field and I get calls without a problem, yet but within the city no service at Peoria High School or very limited.  This causes the phone to drop from LTE and then eats the battery.

    Service isn't guaranteed inside of buildings especially buildings filled with steel, concrete and electrical wiring. High School buildings definitely have all three.

  • Where can I get support for my iphone 5 if I'm from the Philippines?

    I just had my iphone 5 for 4 months and now the sleep/wake button is not responding. I have to adjust the lock screen to 1 minute and press the home key to wake it. Had a chat with Damon who is a tech support from apple and when I was about to ask what can they do about it he disconnected. Can anyone help me with this problem? Any suggestions/feedbacks will be very much appreciated.

    Philippines
    1-800-1441-0234
    www.apple.com/ph/support/
    Contacting Apple for support and service - Support - Apple

  • I keep getting a run time error when trying to update to the current software.

    It says that the connection has timed out? I have tried a renaming the file but that does not work either? any help?

    Some possibilities:
    You are on a network that blocks streaming content or otherwise won't let you access it
    You have restrictions set to block some content (Settings App, General, Resrrictions).

  • I moved my iphone from my parents account to another account on a different computer and i still have some of the music that i dont want from the other account, how can i get it off of my phone without deleting it from the other itunes account?

    Please Help

    What type of "account" are you referring to?  An iCloud account doesn't contain music, an iTunes account does.

  • Project explorer doesn't show callers for .rtm (run time menu) files (is this a confirmed bug?)

    Maybe I was to quick to report this as a bug... I was unable to find anything related to it at my normal sources of information. Does someone has exeperience with it?
    I have a work-around and this is included  in the description :
    http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=6776 (message 25)
    ** Original post **
    When a library (.lvlib) that contains a file with a run-time-menu (.rtm) file is removed from the project, but there is still a file that uses this .rtm file, both the .lvlib and all of it's vis and the .rtm file are displayed in the project Dependencies.
    For the Vi's the callers can be found by 'Find->calllers'. For the .rtm file this always results in 'No items found' but the .rtm file remains in the Dependencies (as it should since it is still used).
    Finding the .rtm file can be hard since it is only loaded at run-time and not at edit time(?). If someone encounters this issue, a working method:
    - rename the rtm file (so it cannot be found)
    - open the vis that you suspect are using this file AND try to edit the run-time menu. When this vi uses the run-time menu a warning will appear (cannot load rtm file, using default menu instead)
    Kind regards,
    Mark

    Dear Mr. Beuvink,
    thank you for your reply. It seems that a while back this problem has been reported to our R&D group. The request (CAR) has ID; 41579. There is the following statement in this CAR: the caller vi is in memory or not. When a caller vi is in memory, rtm files will currently never report the vi as a caller. This confirms the behavior you are seeing.
    I'm sorry to say I don't have a solution at this moment, at this moment they are busy fixing this problem. You can look this up in future release notes by searching on the CAR ID I mentioned.
    If you haven any questions, please don't hesitate to contact me.
    Best regards,
    Martijn S
    Applications Engineer
    NI Netherlands

  • How can I delete a "Run Time Air" from my mac book pro

    how can I get rid of the "Run Time Air" on my Macbook Pro

    Welcome to the Apple Support Communities
    If you use Snow Leopard, open iTunes, go to iTunes Store in the iTunes sidebar and log out

  • Path where to install the run time engine (on Linux)

    I have a cluster of Linux computers where I would like to run compiled LABview (8.20 at the moment) applications build
    with the application builder.
    Therefore I would like to install the LABview run time engine on a NFS mount file system seen from each computer.  But
    the installation procedure of the run time engine does not propose to
    choise the installation directory, but force the installation
    in  /usr/local/lib.
    I try to workaround this problem and have copied the /usr/local/lib/LABview.8.2 directory to my NFS filesystem and
    made the 'necessary' links.
    Unfortunatly it doesn't run and  fails because  the
    liblvrt.so.8.2 library  can not access patched versions of the
    libOSMesa.so.4
    and libGL.so.1 librairies but uses the standard ones in /usr/X11R6/lib.
    Even by setting my LD_LIBRARY_PATH correctly to access the patched librairies versions it does not run because the
    liblvrt8.2 library seems to be  linked with the following
    'rpath'   (given by the command 'strings liblvrt.so.8.2 |
    grep patchlib')
    $ORIGIN/LabVIEW-8.2/patchlib:$ORIGIN/patchlib:/usr/X11R6/lib:/usr/lib:$ORIGIN:$ORIGIN/LabVIEW-8.2/linux:$ORIGIN/linux:$ORIGIN/resource
    which prevents to access the patched librairies versions if the $ORIGIN is not set. Therefore I tried to set $ORIGIN as an
    environment variable but it doesn't change anything.
    Therefore my question is: Did somebody have already had this type of problem,  what is $ORIGIN and how I can set it ?
    Thanks in advance.

    Sir,
    Please could tell me the distribution you use ?
    Cordially,
    Pierre R...
    Certified LabVIEW Developer

  • Business Rule err The following value is not valid for the run time prompt.

    Hyperion Planning v 9.3.3
    I have created a new BR with 2 local variables (created at the time of the BR), Variables are set as run time prompts. They are created as "Member" (not Members). The BR basically does a calc dim on dense and Agg on Sparce other than the prompt on Entity and Version dimensions. The entity variable has a limit on level 0 of the dimension. The Version variable limits to the input (Submit and Sandboxes)
    The BR is associated in Planning with an input web form. Entity and Version are in the page. Is set to Run on Save and Use members on form.
    If the run time prompts Hide boxes are checked, an empty Prompt pops up with only a Submit button. Click the button and an error comes up: "The following value is not valid for the run time prompt it was entered for:. But it does not indicate what member - just ends in the :.
    The BR will run sucessfully only if the Run-time prompt is not hidden - "Hide" in the BR is unchecked. So the syntax and logic of the BR is correct and security should not be an issue.
    The client wants no prompt. In production we have similar situations in which the BR works with the Web Forms without a prompt.
    What am I doing wrong - I have tried restarting the Planning service and the EAS service.

    My preferred method of doing this is:
    1. In business rule, do not hide the run-time prompts. This makes it easy to validate the business rule as you are building it. I only use Global Variables.
    2. On the form, have business rule set to run on save, use members on data form and hide prompt.
    Check that in the business rule, for the variables (Run-Time prompts), that they are all in use. If not, delete them from the business rule. Are all your variables global? Are some local and some global? This could be the issue.
    Deanna

  • Switching between different run-time menu programati​cally

    Hi All
     I am planning to build a Bilingual program…….am just doing trial and errors in changing all captions and run-time menu s programmatically with a single button click……….Here my logic is working fine for all captions and graphs also…………..but I could not change the run-time menu……….i am unable to switch between different run-time menus……………
    Here I am sending the program am working on………..please have a look on this, and suggest me something………….hope my problem get resolved.
    Thanks
    Anil Punnam
    Attachments:
    Caption_program.ZIP ‏31 KB

    Hi Anil,
    I'm guessing you're using 7.1?  When I first ran your program in 8.0, it worked perfectly and switched back and forth perfectly.  However, I tried it in 7.1 and saw some bad behavior.  The customer run time menu was not updated in the menu bar.  It looks to me like the run time menu is changing, but the front panel is not updating.  After pressing one of your front panel buttons to change the run-time menu back and forth, if you click on the file menu it should update, although this can lead to some funny looking menus since "affiche" is longer than "file" and you can still see the remnants of the old menu.  Try this and let me know if this is indeed the behavior you are seeing (check out the attached pic).  I thinkt hat R&D already had a report on this, and that is why it is fixed in 8.0.
    Megan B.
    National Instruments
    Attachments:
    RTM.JPG ‏34 KB

  • "open vi reference" with run time menue

    Hello,
    I met some problems with "open vi reference" in labview.i can't parallel run this vi with the run time menue.i can't load the any vi then the run time menue has activation.(the "open vi reference" can run after the run time menue release.). it's means  labview is serial running for this both function.but now i want to parallel running in the program.so would you give the some idear?

    Now I see what you are talking about.  What you are trying to do is expected behavior.  If you click on the menu while any state is running that doesn't lock the front panel, then the menu will halt the VI execution until you choose a menu item.
    You should check the option in the event to "Lock front panel until event case for this event completes"  Then you will not be able to click on the system menu until tthe VI is launched and running.  If you wire a True like I suggested before, then you will fall out of the case pretty quickly in non-hoghlight mode, and the user most likely will not notice.  If the VI you are trying to open is quite large, it will take a little bit of time for LV to load the VI into memory.
    In highlight-mode, you just have to wait for the event to process before you select the menu.
    Message Edited by Matthew Kelton on 12-03-2007 10:56 PM
    Attachments:
    edit events.png ‏27 KB

  • Help for run-time menu localization

    I would like to dynamically change the run-time menu according to the predefined language setting. For example, if the setting (may be set up in a txt file) is German, then when the application is running, it automaticall display a german menu. if the setting is spanish, the menu will change to spanish display. Any help will be appreciated.

    The attached VI can dynamically change the run-time menu and short-cut menu based on language.
    帖子被ttrr在07-24-2006 09:12 PM时编辑过了
    Attachments:
    Multi Language Menu.zip ‏13 KB

Maybe you are looking for

  • File renaming in Sender file adapter usins OS command

    Hi Guys , Can anyone explain on how to use the rename command in Sender file adapter using OS command parameter. Thanks, KC.

  • Output Device prints 3 copies of each print out

    Hi Frnds, We are facing a problem with the output device. When we try to print anything from SAP to an out put device, it gives us 3 copies of same printout. We tried with smartforms, sap scripts and even a normal print request from the anywhere in S

  • INTERGRATION of ASSETS INTO ERP HCM

    Implemented the asset management solution in SAP FI. There's a tab on transaction AS01 -TIME DEPENDENT which caters for an employee number to be loaded. I need to have that intergrated to HCM to reflect against ITY 0040 9objects on loan). Kindly assi

  • MCSI , Info structures

    Hi there, I want to read data from info structures like S920, S943, S948 etc. but i have too few key fields as parameter and each of these tables aproximately contains 20 million lines. As a result, it takes a lot of time for my 'SELECT' sentence to

  • OIM 10g Connector

    Hi, I have OIM 10g installed in my home PC. I want to do a hands-on with any one of the available OOTB connector. Please suggest any connector where i can deploy the target also in my PC. For example, if i am going to use AD connector , will i be abl