Run-time menus and save with control

I created a custom shortcut menu (on an XY graph) and saved it by selecting "save with control". This worked fine while I was running LabVIEW but did not work in the executable version that I created. The label of my XY graph was something like "X/Y GRAPH". I guessed that LabVIEW was trying to save my shortcut menu by using the string "X/Y GRAPH" and that the "/" was causing the problem. I changed the label to "XY GRAPH" and everything now works fine.  Does this count as a bug? Do widget labels need to use legal filename characters if I am going to create custom shortcut menus?

Hi Oyester,
I have reproduced your situation and this does not count as a bug--the slash counts as a special character and the filenames have to be alphanumeric. I hope that answers your question.
Ipshita C.
National Instruments
Applications Engineer

Similar Messages

  • Shortcut run-time menus and ActiveX

    I'm working on a Labview video player with four instances of VLC embedded in it, as ActiveX controls.  After some help from the forum, it runs very well, but I would like to implement custom right-click menu's for the ActiveX windows.  Currently, nothing happens when the user right-clicks on the ActiveX control.  I've tried enabling the shortcut menu, editing the menu, etc, and nothing worked.  I've tried overlaying another transparent control over top of the ActiveX window, but the ActiveX control seems to want to be on top no matter what I do.  Any ideas?
    Running LV 8.6.1f

    i tried the same with windows media player since i dont have VLC.. Did you use the shortcut menu activation property? see the attched vi
    Regards
    Guru (CLA)
    Attachments:
    1.vi ‏10 KB

  • Check marks on custom run-time menus

    Is there a simple way to add a check mark for currently selected item on custom run-time menus?  
    The only method I have found is to fire off of the "Shortcut Menu Activation?" event, grab the menu reference, and basically recreate the shortcut menu with the proper check marks based on boolean values.  This method just seems ... cumbersome for something that should (in theory) be fairly common. I can't help but think there is a better solution.
    Thanks!
    Solved!
    Go to Solution.

    Hi Bown,
    you can assign custom menus with the menu editor to your controls/VIs. They will be saved as rtm file.
    Using the known tag names of such custom menus you can set the checkmark for your tags without rebuilding the menu on activation each time…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Preserving run time menus

    The problem is that applications do not preserve custom run time menus applied to graphs or controls once the executable is run on another machine, or an installation is built and installed on another machine. I have tried advice from this board about saving .rtm to alternate llb's, to the same destination/support, opening from within development vi and saving to the same path as development vi.
    Surely the concept that you want to define a custom menu for a control and have your customer see this one when he installs is not a foreign concept within Labview. How can this be done?

    Here's how the two workarounds would play out in this situation:
    In the first workaround, you'd have to open the run-time menu editor for each control individually and choose to save the run-time menu to the control instead of the file. I don't think this is a very risky procedure, but it would be tedious. One thing to keep in mind is that in order to get the prompt to save the menu to the control or to a file, you'll need to make some small change to the menu. For instance, you could press the add button to add a temporary item and then the delete button to delete it. Then when you close the menu you'll see the option to save the menu to a control. I suppose this step is the only real risk in the process
    In the second workaround, you'd have to create 3 or 4 new event structure cases, one for each of the different run-time menus you want to display. Then you'd have to register each separate event for all the controls that correspond to that particular menu. This seems a little more risky, because the new code might induce bugs into your system, or you might forget to register the event for a control, or register the wrong event for a control.
    Jarrod S.
    National Instruments

  • Run-Time Menu and Event Structure~~HELP~~

    Hi, brothers,
    I'm new user for LabVIEW. Use the version of LabVIEW is 8.6
    One problem describe as below:
    Can Run-Time Menu and Event Structure exist simultaneously?
    Without Event Structure, Run-Time Menu works well, but Run-Time Menu works abnormally.after adding Event Structure,
    How do I modify the problem?
    Thank you for your help.
    Attached is the program.
    Attachments:
    PC_Adjustment.zip ‏44 KB

    Yes they can coexist, but not how you did it.
    Every iteration of the while loop you wait for an event in the event structure, and you look if the user has selected anything from the menu.
    To get this working you should add an event for <this VI>\Menu Selection (User):
    Ton
    PS you should add a stop button, the only way you can stop the VI is hitting the 'emergency stop' button, with hardware connected (like you have) this is not the adviced routine
    Message Edited by TonP on 09-26-2008 07:34 AM
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!
    Attachments:
    Main_BD.png ‏5 KB

  • Custom run-time menus within dynamically called sub-VIs?

    How do you use custom run-time menus within sub-VIs that have been dynamically called? I'm using Labview 6.02.

    Since you say within subVIs, I am assuming that you have the subVIs open their front panels when called. Each subVI must have the RTM defined when the subVI is created. You can use the same RTM for each one (use the open function in the menu editor).
    If necessary, you can dynamically add and remove menu items using the Application Control->Menu functions. I have some subVIs that add items to the main RTM when they are loaded and remove the items when they finish.
    Rob

  • Is there a way to create a PDF form that ANYONE can fill out and SAVE with their content?

    Is there a way to create a PDF form that ANYONE can fill out and SAVE with their content? By anyone, I mean someone who can download and use the free Adobe Reader, on either a Mac or PC. I have Acrobat Pro, and would like to be able to create forms that can not only be filled out and printed, but saved and emailed, which is not an option with the forms I have created to date. They can be filled out, but not saved, with Adobe Reader.
    TIA,
    Nancy

    To do what Dave indicated you need to do, it depends on what version of Acrobat you have:
    Acrobat 8: Advanced > Enable Usage Rights in Adobe Reader
    Acrobat 9: Advanced > Extend Features in Adobe Reader
    Acrobat 10: File > Save As > Reader Extended PDF > Enable Additional Features
    Acrobat 11: File > Save as Other > Reader Extended PDF > Enable More Tools (includes form fill-in & save)
    I wonder what it will be next time?

  • LabVIEW Run Time Engine and ActiveX Automation Server

    Hi,
    I have a question related to LabVIEW Run Time Engine and ActiveX Automation Server:
    We have a tool developed in LabVIEW and TestStand. End user interface is a LabVIEW GUI (it's an executable) which executes TestStand sequences. Some TestStand sequences call lower level LabVIEW VIs.
    Everything works fine with LabVIEW installed, but I was wondering if I could run this tool on deployment machine with only LabVIEW run time engine installed. We are using LabVIEW 6.1 and with only the run time engine installed, I get the error message: "Unable to launch the 'LabVIEW.Application' ActiveX automation server ". 
    BTW, we are planning to upgrade the versions soon.
    Is it possible to make things work only with the run time engine?
    Thank you.

    Thanks for the response, Brian.
    I did upgrade to LabVIEW 8.0 and TestStand 3.5. Everything works fine on the development computer where LabVIEW and TestStand is installed. On the target computer in the lab, I installed LV RTE 8.0 and TestStand 3.5, and now when a VI is called in a sequence file, I get the following:
    RunState.PreviousStep.Result.Error.Code  -18002 
    RunState.PreviousStep.Result.Error.Msg  "LabVIEW: The VI is not executable"
    So, the executable opens and works fine (which means that the LV RTE is installed properly), but when a sequence calls a low level VI, it does not make it through.
    comments/suggestions are appreciated. Thanks.

  • Aim to process all files in folders on desktop to run through photoshop and save in multiple locations

    Aim to process all files in folders on desktop to run through photoshop and save in multiple locations
    Part one:-
    Gather information from desktop to get brand names and week numbers from the folders
    Excluding folders on desktop beginning with "2" or "Hot"
    Not sure about the list of folders
    but I have got this bit to work with
    set folderPath to "Hal 9000:Users:matthew:Desktop:DIVA_WK30_PSD" --<<this would be gained from the items on the desktop
    set {oldTID, my text item delimiters} to {my text item delimiters, ":"}
    set folderName to last text item of folderPath
    set my text item delimiters to "_WK"
    set FolderEndName to last text item of folderName
    set brandName to first text item of folderName
    set my text item delimiters to "_PSD"
    set weekNumber to first text item of FolderEndName
    set my text item delimiters to oldTID
    After running this I have enough information to create folders in multiple locations, (i need to know where they are so that photoshop can later save them in those multiple locations
    So I need the following folders created
    Locally
    Hal 9000:Users:matthew:Pictures:2011-2012:"WK" + weekNumber
    Hal 9000:Users:matthew:Pictures:2011-2012:"WK" + weekNumber: brandName
    Hal 9000:Users:matthew:Pictures:2011-2012:"WK" + weekNumber: brandName: brandName + "_WK" + weekNumber + "_LR" --(Set path for Later)PathA
    Hal 9000:Users:matthew:Pictures:2011-2012:"WK" + weekNumber: brandName: brandName + "_WK" + weekNumber + "_HR"--(Set path for Later)PathB
    Network
    Volumes:GEN:Brands:Zoom:Brands - Zoom:Upload Photos:2012:"Week" + weekNumber
    Volumes:GEN:Brands:Zoom:Brands - Zoom:Upload Photos:2012:"Week" + weekNumber:brandName + "_WK" + weekNumber + "_LR"  --(Set path for Later)PathC
    Volumes:GEN:Website_Images --(no need to create folder just set path)PathD
    FTP (Still as a normal Volume) So like another Network
    Volumes:impulse:"Week" + weekNumber
    Volumes:impulse:"Week" + weekNumber:Brand
    Volumes:impulse:"Week" + weekNumber:Brand:brandName + "_WK" + weekNumber + "_LR"  --(Set path for Later)PathE
    Volumes:impulse:"Week" + weekNumber:Brand:brandName + "_WK" + weekNumber + "_HR"  --(Set path for Later)PathF
    I like to think that is end of Part 1
    Part 2
    Take the images  (PSD's) from those folders relevant to the Brand then possibly run more applescript that opens flattens and then saves it in the locations above.
    For example….
    An image in folder DIVA_WK30_PSD will then run an applescript in Photoshop, lets call it DivaProcessImages within this we then save to PathA, PathB, PathC, PathD, PathE, PathF the folder path of C should therefore look like this
    Volumes:GEN:Brands:Zoom:Brands - Zoom:Upload Photos:2012:Week30:DIVA_WK30_LR and of course save the image as original filename.
    Then from the next folder
    An image in folder Free_WK30_PSD will then run an applescript in Photoshop, lets call it FreeProcessImages within this we then save to PathA, PathB, PathC, PathD, PathE, PathF the folder path of C should therefore look like this
    Volumes:GEN:Brands:Zoom:Brands - Zoom:Upload Photos:2012:Week30:Free_WK30_LR and of course save the image as original filename.
    The photoshop applescript i'm hoping will be easier as it should be a clearer step by step process without any if's and but's
    Now for the coffee!!

    Hi,
    MattJayC wrote:
    Now to the other part, where each folder was created (and those that already existed) how do I set them as varibles?
    For example,
    set localBrandFolder_High_Res to my getFolderPath(brandName & "_WK" & weekNumber & "_HR", localBrandFolder)
    This line was used to create more than one folder as it ran though the folders on the desktop. The next part is I will need to reference them to save files to them.
    You can use a records
    Examples
    if you want the path of localBrandFolder_High_Res  of "Diva", if "Diva" is the second folder of the Desktop
    You get the path with this : localBrandFolder_High_Res of record 2 of myRecords
    if you want the path of localWeekFolder  in the first folder of the Desktop
    You get the path with this : localWeekFolder of record 1 of myRecords
    Here is the script
    set myRecords to {}
    set dtF to paragraphs of (do shell script "ls -F ~/Desktop | grep '/' | cut -d'/' -f1")
    repeat with i from 1 to number of items in dtF
        set this_item to item i of dtF
        if this_item does not start with "2_" and this_item does not start with "Hot" then
            try
                set folderPath to this_item
                set {oldTID, my text item delimiters} to {my text item delimiters, ":"}
                set folderName to last text item of folderPath
                set my text item delimiters to "_WK"
                set FolderEndName to last text item of folderName
                set brandName to first text item of folderName
                set my text item delimiters to "_PSD"
                set weekNumber to first text item of FolderEndName
                set my text item delimiters to oldTID
            end try
            try
                set this_local_folder to "Hal 9000:Users:matthew:Pictures:2011-2012"
                set var1 to my getFolderPath("WK" & weekNumber, this_local_folder)
                set var2 to my getFolderPath(brandName, var1)
                set var3 to my getFolderPath(brandName & "_WK" & weekNumber & "_LR", var2)
                set var4 to my getFolderPath(brandName & "_WK" & weekNumber & "_HR", var2)
                --set up names to destination folders and create over Netwrok including an already exisiting folder
                set this_Network_folder to "DCKGEN:Brands:Zoom:Brand - Zoom:Upload Photos:2012:"
                set var5 to my getFolderPath("WK" & weekNumber, this_Network_folder)
                set var6 to my getFolderPath(brandName, var5)
                set var7 to my getFolderPath(brandName & "_WK" & weekNumber & "_LR", var6)
                set website_images to "DCKGEN:Website_Images:"
                --set up names to destination folders and create over Netwrok for FTP collection (based on a mounted drive)
                set this_ftp_folder to "Impulse:"
                set var8 to my getFolderPath("Week" & weekNumber, this_ftp_folder)
                set var9 to my getFolderPath(brandName, var8)
                set var10 to my getFolderPath(brandName & "_WK" & weekNumber & "_LR", var9)
                set var11 to my getFolderPath(brandName & "_WK" & weekNumber & "_HR", var9)
                set end of myRecords to ¬
      {localWeekFolder:var1, localBrandFolder:var2, localBrandFolder_Low_Res:var3, localBrandFolder_High_Res:var4, networkWeekFolder:var5, networkBrandFolder:var6, networkBrandFolder_Low_Res:var7, ftpWeekFolder:var8, ftpBrandFolder:var9, ftpBrandFolder_Low_Res:var10, ftpBrandFolder_High_Res:var11}
            end try
        end if
    end repeat
    localBrandFolder_High_Res of record 2 of myRecords -- get full path of localBrandFolder_High_Res in the second folder of Desktop
    on getFolderPath(tName, folderPath)
        tell application "Finder" to tell folder folderPath
            if not (exists folder tName) then
                return (make new folder at it with properties {name:tName}) as string
            else
                return (folder tName) as string
            end if
        end tell
    end getFolderPath

  • Uninstall LabVIEW but leave run-time engine and DAQmx

    Hoping there is an easier way to do this, basicall we are developing software on a customers computer that we buy and will eventually ship to them. However we can't ship them LabVIEW so we make an executable and just keep the run time, DAQmx and MAX. Is there anyway to do this easier than uninstalling LabVIEW and reinstalling everything else?
    Windows 7
    LV2013

    Under Windows, try going to Control Panel | Programs and Features and find National Instruments Software. You might be able to select all except the run-time, DAQmx and MAX, then select uninstall. If not, then perhaps consider just making a full installer for your LabVIEW executable solution, this will clearly install only the necessary components for your code to work (if it's LabVIEW 2013).
    Thoric (CLA, CLED, CTD and LabVIEW Champion)

  • Run Time Hours and Active Hours

    Hello all,
    I've been trying to work up some reports regarding use of certain applications and I don't quite understand how ZAM actually generates the information for Run Time Hours and Active Hours of say Microsoft Access. Or what these options really mean.
    Also, with a PC that may have mulitple users (all with their own user accounts), does it take a cumulative count of 'usage' of applications or is it based on a per user basis. And if it is per user, does that mean it will only report on the user that happened to be logged in on the PC when it was 'scanned' for the week?
    Any help would be greatly appreciated.
    Thanks
    JH

    Originally Posted by jehegarty
    Hello all,
    I've been trying to work up some reports regarding use of certain applications and I don't quite understand how ZAM actually generates the information for Run Time Hours and Active Hours of say Microsoft Access. Or what these options really mean.
    Also, with a PC that may have mulitple users (all with their own user accounts), does it take a cumulative count of 'usage' of applications or is it based on a per user basis. And if it is per user, does that mean it will only report on the user that happened to be logged in on the PC when it was 'scanned' for the week?
    Any help would be greatly appreciated.
    Thanks
    JH

  • Fill-in PDF forms and save with no error messages. How?

    I've saved a Reader Extended PDF enabling form fill-in and save, but users report error saying, "WITHOUT THE OWNER PASSWORD YOU DO NOT HAVE PERMISSION TO SAVE THIS DOCUMENT." What do I need to do enable them to fill-in and save with no errors?

    BTW, most users of this form (which was created in Adobe Acrobat v. XI on a Mac w/iOS version 10.7.5) have no problem with it. Only certain users (on Macs) have this "password required" error show up. How do I make it workable for everyone, including these Mac users?

  • Can I store iphoto pictures in time capsule and use with pad

    Can I store iphoto pictures in time capsule and use with pad

    We can tell you that it is possible to store separate images on the Time Capsule drive. If however, you are asking if you can access separate images from your Time Machine backups on the Time Capsule, this is not possible.
    How you get the images that your want from iPhoto on your Mac to the Time Capsule drive is a question for the iPhoto experts. It will likely involve "exporting" the files that you want and then moving them using the Finder to the Time Capsule drive.
    How you access those images on the Time Capsule from an iPad is a question for the Using iPad experts.

  • Old Time Rock and Roll with AE and Element 3D

    Heres some Old Time Rock and Roll with Element 3D. View at 1080P and full frame to really rock out Element is a truly remarkable plugin that takes some playing with to get comfortable with.
    http://www.youtube.com/watch?v=q_QMcgpB21Y …
    (Please stop deleting this post. It relates to using Element in AE.  As a MVP for Adobe I think its valid to share and answer any questions that relate to using this plugin. If you disagree lets talk with Todd K. about this so it can be resolved in a reasonable manner. Thank you.}

    As a participant in many Adobe forums I find that different folks tend to frequent them.
    My thought was the After Effects forum was particularly appropriate since lots of folks are just beginning to put Element to serious use.  The Video Lounge is another totally different group of friends that I just enjoy sharing, getting feedback and starting dialogs with. And in the Premiere forum it touches upon use of dynamic link and just how solid it is today.
    I see it as just targeting different groups of users. If there are no over riding legal concerns, I would hope to be able to communicate with all the various folks I have been in contact with for the last several years in this manner.

  • How do I unlock my external hard drives one has photos on them one is trying to run time machine and is not able to complete a basck up.

    How do I unlock my external hard drives one has photos on them one is trying to run time machine and is not able to complete a basck up.

    VK said for locked HDs and volumes at http://discussions.apple.com/thread.jspa?threadID=2329689
    sudo chflags 0 /volumes/*
    sudo chmod a+rx /volumes/*

Maybe you are looking for

  • Accounting document while VF01 for credit card payments

    Hi Friends, While creating billing document for credit card payments, system creates accounting document as under. One FI document for all the below line items. Dr. Customer Cr. Revenue Cr. Customer Dr. Card receivable. Instead is it possible to gene

  • Why is File.renameTo(...) so instable?

    Hello, I got an average success ratio of 5:1 under WinXP. Looking into the sources didn't help me any further. I saw in the ANT-code that there a COPY operation is immediately launched as a workaround if the renameTo(...) fails. But it's such a basic

  • Why does my iTunes freezes while trying to sync my iPod Touch?

    When I try to sync my 2nd Gen. iPod Touch, it freezes partly. It froze when a pop up from iTunes saying it's 'Adding Files' and below it, it says 'Processing: 20100314211421.m4a'. I'm pretty sure I know that I didn't download this file. And when I tr

  • MRP Vs Aspen Tech MIMI

    Hi Team, My client is using Aspen Tech MIMI for their business. I don't know about the planning software. Anyone has any idea about this third party planning software and comparison of it with the MRP? Thanks for your help. Krishna

  • Photoshop Cc / Bridge

    J'aimerais savoir Bridge est inclus dans Photoshop Cc ? Merci