How to replace a VI's default menu with a custom menu?

After making some changes to my application, my custom Run-Time Menu for some VI have been replaced with the Default Run-Time Menu. I still have the *.rtm files.

The path the custom menu is saved in the VI relative to itself. If you move the VI, saving to an .llb or building an executable moves it since the path changes, the VI can no longer find its menu.
You can dynamically build a path the menu by getting the current VI�s path and checking to see if it has an .llb or .exe in it. If it does, start stripping the path until you get to a folder, then add the menu filename so you have the correct, absolute path to the menu file. Then drop a property node set to the �VI� server class and set the property to �Run-Time Menu Path�. Connect the path you built to this and the VI will always be able to find its menu.
If this isn�t the problem, the menu file must have been corrupted and will need to be rebuilt.
Ed
Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

Similar Messages

  • How to replace a character in a string with blank space.

    Hi,
    How to replace a character in a string with blank space.
    Note:
    I have to change string  CL_DS_1===========CM01 to CL_DS_1               CM01.
    i.e) I have to replace '=' with ' '.
    I have already tried with <b>REPLACE ALL OCCURRENCES OF '=' IN temp_fill_string WITH ' '</b>
    Its not working.

    Hi,
    Try with this..
    call method textedit- >replace_all
      exporting
        case_sensitive_mode = case_sensitive_mode
        replace_string = replace_string
        search_string = search_string
        whole_word_mode = whole_word_mode
      changing
        counter = counter
      exceptions
        error_cntl_call_method = 1
        invalid_parameter = 2.
    <b>Parameters</b>      <b> Description</b>    <b> Possible values</b>
    case_sensitive_mode    Upper-/lowercase       false Do not observe (default value)
                                                                       true  Observe
    replace_string                Text to replace the 
                                         occurrences of
                                         SEARCH_STRING
    search_string                 Text to be replaced
    whole_word_mode          Only replace whole words   false Find whole words and                                                                               
    parts of words (default                                                                               
    value)
                                                                               true  Only find whole words
    counter                         Return value specifying how
                                        many times the search string
                                        was replaced
    Regards,
      Jayaram...

  • HT3275 does anyone have step by step instructions for how to replace .sparsebundle to make time capsule with time machine work again.   i accidently deleted it  thank you

    does anyone have step by step instructions for how to replace .sparsebundle to make time capsule with time machine work again.   i accidently deleted it  thank you

    Error message Pop-up reads:
    Time Machine could not complete the backup
    The backup disk image "/Volumes/Data-1/myname.sparsebundle" could not be accessed (error - 1)

  • Spry Vertical Navigation menu with secondary flyout menu not showing

    I'm using Windows and CS3. I have a vertical spry menu with one of the items opening to a secondary vertical menu. The menu is positioned left and I want the flyout menu to open so it can be seen on top of the central content column. I have a background color on the central div and when I hover over the item on the menu bar, you can't see the secondary menu opening. But I know it is there as I have removed the central div and when previewed in the browser (IE) it works fine. But when I replace the central div, the secondary menu is hidden again. I don't want to play around too much as I know Javascript is involved and I can easily ruin those elements which are now working. I hope someone can suggest something reasonably straight forward to assist.
    The code is the standard stuff - I have only modified colours basicall with one or two other tweaks to fit the space:
    ul.MenuBarVertical
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    cursor: default;
    width: 200px;
    background-color: #979c9c;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    border-bottom-width: 1px;
    border-bottom-color: #FFFFFF;
    ul.MenuBarActive
    z-index: 1000;
    ul.MenuBarVertical li
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    position: relative;
    text-align: left;
    cursor: pointer;
    width: 200px;
    color: #343642;
    ul.MenuBarVertical ul
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    position: absolute;
    z-index: 1020;
    cursor: default;
    width: 200px;
    left: -1000em;
    top: 0;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 100%;
    ul.MenuBarVertical ul.MenuBarSubmenuVisible
    left: 0;
    ul.MenuBarVertical ul li
    width: 200px;
    ul.MenuBarVertical ul
    ul.MenuBarVertical a
    display: block;
    cursor: pointer;
    background-color: #979c9c;
    color: #343642;
    text-decoration: none;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus
    background-color: #343642;
    color: #fff;
    ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical a.MenuBarItemSubmenuHover, ul.MenuBarVertical a.MenuBarSubmenuVisible
    background-color: #343642;
    color: #fff;
    ul.MenuBarVertical a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarRight.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    ul.MenuBarVertical a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarRightHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    ul.MenuBarVertical iframe
    position: absolute;
    z-index: 1010;
    filter:alpha(opacity:0.1);
    @media screen, projection
    ul.MenuBarVertical li.MenuBarItemIE
      display: inline;
      f\loat: left;
      background: #FFF;
    Thanks.

    Frank,
    The code that you have shown us re SpryMenuBarVertical.css is correct so that we can assume that the problem lies elsewhere.
    Because you have not shown the rest of the code, we can only make assumptions which may or may not help. From the above screen shot, I see that you are using AP's (Absolute Positioned) elements. This is a NO NO!!!
    Have a look at the following wich achieves the same, but without AP's. Just copy and paste in a new document and view in any browser.
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <style>
        margin: 0;
        padding: 0;
    html {
        height: 100%;
        background: #FFC;
    body {
        width: 960px;
        margin: auto;
        background: #060;
    h1, h2, h3, p {
        margin: 0 20px;
    #header {
        height: 95px;
        background: #060;
    #sidebarL {
        width: 160px;
        float: left;
        color: #CCC;
    #content {
        width: 800px;
        float: left;
        background: #FFF;
    #sidebarR {
        width: 200px;
        float: right;
        background: #FF3;
    #footer {
        height: 50px;
        background: #060;
        color: #CCC;
        clear: both;
    </style>
    </head>
    <body>
    <div id="header"><h1>This is my Header</h1></div>
    <div id="sidebarL">
      <h3>This is my sidebar</h3>
      <p>This is where our menu goes</p>
    </div>
    <div id="content">
      <div id="sidebarR">
          <h3>This is my other sidebar</h3>
        <p>Sed do eiusmod tempor incididunt ullamco laboris nisi velit esse cillum dolore. Duis aute irure dolor sunt in culpa lorem ipsum dolor sit amet. Qui officia deserunt consectetur adipisicing elit, ut enim ad minim veniam.</p>
      </div>
        <h2>This is the content</h2>
      <p>Velit esse cillum dolore eu fugiat nulla pariatur. Lorem ipsum dolor sit amet, ullamco laboris nisi sed do eiusmod tempor incididunt. Ut labore et dolore magna aliqua. Sunt in culpa in reprehenderit in voluptate ut aliquip ex ea commodo consequat.</p>
      <p>Duis aute irure dolor quis nostrud exercitation lorem ipsum dolor sit amet. Ullamco laboris nisi consectetur adipisicing elit, qui officia deserunt. Ut labore et dolore magna aliqua. Quis nostrud exercitation. Velit esse cillum dolore ut aliquip ex ea commodo consequat.</p>
      <p>Consectetur adipisicing elit, sed do eiusmod tempor incididunt ut enim ad minim veniam. Eu fugiat nulla pariatur. Duis aute irure dolor sunt in culpa lorem ipsum dolor sit amet. Cupidatat non proident, excepteur sint occaecat velit esse cillum dolore.</p>
    </div>
    <div id="footer"><p>and lastly here is my footer</p></div>
    </body>
    </html>
    Gramps

  • Canvas event handling with a custom menu

    Hey guys!
    OK, first off i have been trucking along quite nicely on this midlet but i think i have hit a fork in the road.
    I designed a custom menu that extends Canvas.
    I keep track of what is selected (there are 4 items) as an int value (0-3).
    When the midlet first starts, I have it go to the menu canvas.
    Now the problem I have is that I cannot figure out a way to signal the midlet to load another screen (a form Displayable) when the 'FIRE' button is pushed. (Note: the up and down buttons work fine)
    What is a good aproach to signal to the main class midlet that I want to load the corresponding screen??
    I have tried boolean with accsesor methods, and cannot get that way to work.
    If there is a a good link you guys have handy please pass it along also!
    Thanks,
    Nick
    www.2002registry.com

    Can't you just do the following:
    if (action == FIRE)
    display.setCurrent(your_new_screen);
    do_what_ever();

  • How to replace audio on a music video with final cut pro x

    How do I replace low quality audio on a music video to a higher better quality audio with final cut pro x?
    I have the new audio on cd which I can rip and replace the original audio.
    Some audio and music videos are not of same length, In cases like this how do I sync video to the newly replaced audio?
    Is there any tutorial, link or where to look for this in the manual?
    Any help will be very much appreciated.
    Thank you in advance.

    Providing you don't need the video synced or cut to a beat, all you need to do is place your music in the primary storyline
    Connect your video above.
    While your video is connected, hit CMD+R on your keyboard and stretch the video to the length of the music
    If you were to cut the video to a beat, simply add markers on your music track, then connect and trim clips to your markers.

  • How do I go back to default  Open With application in /Library/Mail/cache

    Help! I was trying to find a mailbox that got deleted. In looking at /Library/Cache/Mail/ to see if the mailbox was there, I tried to open a cache. There was no application to open the document, so I clicked Mail Document, or something--I don't even know what I clicked. The cache did not open, but all the caches in the group now say Mail Document, and Open With: Mail. I am afraid I screwed up some important files in my computer. How do I get the files back to their original settings?

    There seems to be no way to make it say <none> again, if you set it to something. First, it may be fine with it set to something, since you would normally never double-click on those files. But you may be able to change it back to the "default" setting by using a System Preferences extension called RCDefaultApp.
    http://www.versiontracker.com/dyn/moreinfo/macosx/22977&mode=info
    This installs as a new pane in System Preferences. It has an Extensions tab. If cache shows up as one of the extensions, try setting it to <default> or, if that doesn't work, <disable>.

  • How to replace a rowman letter a filed with space

    Hi All,
    please let me know. how can i repalce a rowman letter in a field.
    In one of the HR field  ( for job descriptiuon ) i have to replace the rowman letter with space.
    example:  Sr Develoiper I.   i have to replace I with  space.
    Regards,
    kishan

    Try with this,
    *-reverse string
        CALL FUNCTION 'STRING_REVERSE'
          EXPORTING
            string  = maktx
            lang    = 'E'
          IMPORTING
            rstring = temp_str.
    But I have a doubt, for Roman char, which are anywhere in String, this will work.
    If you have limited Numbers - like may be I, II, III or may be upto X.
    Write REPLACE statement no. of times.  (Generally not suggested, but for Roman letter fetch I don't find other option)
    REPLACE ALL OCCURRENCES OF 'I' IN maktx WITH ' '
                 REPLACEMENT COUNT cnt .
      IF cnt > 0.

  • How to replace blank values in DATE field with 00000000

    Hi
    I have a DSO with Date field in which there are blank values. I want to replace the blank values in the DSO for date field with 00000000. Because of this blank values in the DSO the report is giving an ORA error.
    How do we replace the blank values in the DSO for historical data and also the new loads?
    Please advise.
    Thank you.
    Regards,
    Pavan.

    Hi Suman,
    I'm trying to run a query built on a DSO. The DSO has a field 'Start Date'. This Start Date InfoObject has a reference Char as 0DATE.
    This Start Field has blank values due to which I'm getting the ORA-01722 error. I came across many threads with same topic of discussion. As mentioned in one of the Threads I have written a program to update 'Start Date' with 00000000. The code wriiten is "UPDATE /BIC/AZ_MONINV00 SET /BIC/ZSTR_DTE = '00000000' where /BIC/ZSTR_DTE = ' '.
    Now when I see the data in the active data table of DSO the blank value is replaced with '00000000'.
    But If I right click on the DSO click on display data the 'Start Date' field is blank. And now the Query also gets executed without any error. But in the output of the query the 'Start Date' Field has "#" values.
    Can anyone suggest on how to remove these "#" values in the report?

  • How to replace adobe photoshop 7 without disc with similar on 2nd computor

    I am not  very good with technology so pleease treat me as a total beginner. I have used adobe photoshop 7 on my old desktop pc for many years. I am now changing to a new laptop and have become aware I cannot have adobe 7 anymore.  What is the closest replacement that I can get for free as a licensed adobe user?  I dont have the disc anymore.  I dont want to have to re learn lots of stuff. I dont do anything too complicated anymore but know my way around my lovely old adobe 7  and use it a lot..  CS2 was suggested by the advisor from Adobe but I dont want to download it if is vastly different from what I know.

    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • How to replace the string of column value with other column value in same table

      
    I have a temp table  which contains 
    Id  Name CTC   Address                      Content
    1    Ross  $200   6th block                  Dear #Name your  CTC  is #CTC and your address is  #address
    2   Jhon   $300   1oth cross                 Dear #Name your  CTC  is #CTC and your address is  #address
    Now i want to  select content    so that it should get  replace with  the respective  columns  and final output should come like this 
     Dear Ross your  CTC  is 200 and your address is    6th block  
      Dear Jhon your  CTC  is 300 and your address is   10th cross  
    Kindly suggest

    I think RSingh suggestion is ok ... what do you mean by another way? ...maybe something more generic?
    maybe build a table whith the list of col you need to "replace" and dinamically build the replace query ...
    declare @colList table(colName varchar(100))
    insert into @colList
    select 'name'
    union all select 'ctc'
    union all select 'address'
    declare @cmd varchar(2000)
    select @cmd='select '+ (select 'replace(' from @colList for xml path('') +' content '+
    (select ',''#'+ colName +''', '+ colName +')' from @colList for xml path(''))
    +' from YOURTABLENAME '
    exec (@cmd)
    or your request was different ?

  • [SOLVED] How to replace the source in a pkgbuild with a git repo?

    I am trying to build csound (present in AUR: https://aur.archlinux.org/packages.php?ID=779), but compilation  fails, as noted in the comments. One of the commenters says that he has successfully built the package by pulling the sources from the git repo.
    How can I do that? I know how to use git. What I don't know is
    (1) how to use git from within  a PKGBUILD file,
    or
    (2) how to instruct the PKGBUILD file to use the locally pulled git repo
    Cheers,
    Stefano
    Last edited by stefano (2012-10-06 15:11:14)

    Try csound-git https://aur.archlinux.org/packages.php?ID=48830 but see the comments - problems again.
    You can see how to deal with git in the PKGBUILD.
    Another way is to instal binary package from an unofficial user repository. archaudio-preview has csound 5.14.2-1.
    https://wiki.archlinux.org/index.php/Un … positories
    [archaudio-preview]
    # unverified PKGBUILDs AND/OR untested packages
    Server = http://repos.archaudio.org/$repo/$arch
    Last edited by karol (2012-10-06 14:48:29)

  • How to replace forms runtime mdi window icon with my own icon

    hi,
    I have an application developed with oracle 9i forms but my problem is that I want to replace the forms runtime mdi window icon with my own icon.
    please any help will be highly appreciated.
    thanks.

    If using seperateFrame=TRUE then you can do
    if WEBUTIL_SEPARATEFRAME.IsSeparateFrame then
    WEBUTIL_SEPARATEFRAME.SetIcon('my_logo.gif');
    end if;
    Regards,
    Werner

  • Need help on how to replace existing Status Profile on IO with a new one

    Hi there, I have created a new status profile SV00001 assigned it to my order types and everything is OK for newly created internal orders. But I would also like the old internal orders which currently have status profile 0000002 to be assgned to this new status profile. Any idea on the best way to achieve this? Thanks!

    Hi,
    It is not possible to change the profile once any status value has been activated. Changing the profile could introduce inconsistent status settings as the new profile would not necessarly contain the status values of the older profile. There would then be a mismatch between active/deactivated status values and what status values were defined in the new profile.
    It is just not possible to allow change for that reason.
    -Paul

  • Horizontal menu with horizontal sub menu using image rollovers or similar

    Hello,
    I am brand new to web design and working on my first site.  What I lack in skills, I have in free time to learn right now : ) Please let me know if there is a tutorial or other resource that describes what I am trying to do...I've been searching for days and just can't find what I'm after.
    The design concept is a menu of main categories that apear to be floating over an object.  When you hover over one, it looks like it gets pressed down in space resulting in the next line populating with subcategories to be selected.  If you click on the main elements, you would be directed to that page - Services for instance.  If you just hovered over a main category, you would be presented with a list of sub-categories that behave in the same fashion.  If you then clicked on one of the sub-categories, you would be taken to that specific page.
    Here's a sequence of images that show what I'm after.
    I built all this in Illustrator as described in a Lynda.com tutorial.  I then exported slices to dreamweaver and started building content.  Each of the categories and sub categories is a separate slice with images built for the rollovers.  I was able to build the main categories and get them to visually sink upon using an imageswap...now I'm stuck on how to get the second line to behave as I described.
    This is a fun learning experience.  Let me know if there is a better way to achieve the design.  I just stared investigating SSIs as well and see the value in having this menu in just one place, referenced into all my subsequent pages.  I have successfully embeded an SSI footer with rollovers on my page, but this menu problem is really tough for me.
    I really appreciate any pointers.
    Thanks,
    Jeff Prince

    I tried building a Spry Horizontal menu to get what I want, but I had no success there.  Any tips for that?
    On a separate note...I do not know if it is proper to use a 'tabbed panel' for my menu project, but it seems to work fine.  I have built both the top (main category) and bottom (sub category) lines of my menu using spry with .png image rollovers.
    Now I just need to find out how to make the main category button rollover stay 'down' while browsing the subcategories.  I would also like to get the subcategories to populate upon mouseover of the main category, without requiring a selection.  Now that would be slick : )  In my example above, the 'services' title should be depressed while in that submenu and look like 'landscape design'.
    One minor problem is the space created between my subcategory images.  I can't find the .css or .js that is creating that space.  I've really trimmed down all the .css and do not know where else to hunt.
    Thanks for any advice,
    Jeff

Maybe you are looking for