How to handle main vi short cut menu event in subvi

I am making a thin GUI with a subVI to handle all the events including top VI UI events. I can get most of the events working but not with the short cut menu events. What I did was to pass the top VI control reference to a subVI and then registered for dynamic event. The event refnum is then passed on to another subVI next to it with the actual event structure where the top VI control's short cut event was handled. (using two separate subVIs definitely helped clean up the code, and I don't suspect it is the problem as other events worked fine in this structure)
After not able to get it to work, I also tried to register the dynamic event inside the event structure of the 2nd subVI mentioned above, which still not working. Your help is greatly appreciated.

I do have another problem related to handling top VI events in a subVI:  as my top VI controls were set as "Latch When Released", they cannot be located inside the event structure anymore, the result is that even though I can have their events correctly handled, those controls will stay pressed and not returning to the latch state as previously when I had the event structure located in the top VI itself.
As I have to many controls, I dont want to change their mechanical action state and just wish to have an easier solution. Thanks.

Similar Messages

  • Disable short cut menu for annotation

    Hi All,
    How can I disable short cut menu for annotations on the graph? I have a custom run time menu for the graph which I want to show but disable the run time menu for Annotations.
    Thanks,
    Ritesh

    Oops, sorry I should have read your post more carefully. It is possible by dynamically deleting the menu items at the time of menu activation. Look at the png file.
    Or, you can you "Set Menu Item Info" to disable with gray out. If you want more items to delete or disable, use "Get Menu Item Info" to obtain the array of item tags. (Please ignore the bad programming practice where I set False to the While Loop  )
    TailOfGon
    Certified LabVIEW Architect 2013
    Attachments:
    graph.png ‏27 KB

  • How do I install a short cut to Face Book?

    How do I install a short cut to Face Book? When I minimize that page, it is too small to move a short cut. I tried copying for a short cut but it won't work.
    == This happened ==
    Not sure how often
    == today

    See [[Bookmarks]] and [[Bookmarks Toolbar]]
    Are you trying to [https://support.mozilla.com/en-US/kb/Creating+a+desktop+shortcut+to+a+web+page Create a desktop shortcut to a web page] ?

  • How can I make a short cut to my gmail in toolbar

    Since upgrading to Firefox 5 my short cut icons to google and gmail have disappeared. How can I reinstate them?

    Many thanks, Viking OSX. That's a terrific help. I just need to get used to using Option instead of Command (I'm too used to using a similar combination to align right or left but, with a bit of practice, this is going to make my writing so much easier. May I wish you a fair wind in your sails and a happy New Year.

  • How do I create a short cut to a web page I am viewing on my MAC in Firefox?

    I want to be able to create a short cut (to place on my desktop) to web pages that I use frequently, how can I do this on my Mac using firefox?

    See:
    * [[Creating a desktop shortcut to a web page]]
    * http://kb.mozillazine.org/Creating_a_desktop_shortcut_to_a_webpage
    You can also use an extension.
    * SaveLink: https://addons.mozilla.org/firefox/addon/14019/
    * Deskcut: https://addons.mozilla.org/firefox/addon/66
    * Create Shortcut: http://www.pikey.me.uk/mozilla/?addon=cs

  • How can I synchronize Photoshop short cuts with a second Mac?

    Hi there,
    since Photoshop CC 2014 (Version June 2014) Photoshop is supposed to synchronize short cuts via the cloud but it does not and there is no option to do so in the sync preferences. Is this a bug, do I miss something and how can I solve the problem?
    Thanks – matias
    (MacBook Retina 2013 and iMac 2013, latest Yosemite, latest Adobe CC on both)

    Workspaces can be synced in CC 2014.2.2  I was able to upload my settings from my CC 2014 Mac and download them to CC 2014 Windows.
    Keyboard Shortcuts and Menus are saved as part of a Workspace, not by themselves.
    So you would save it as My Custom Workspace, and check keyboard shortcuts and menus in the save workspace dialog.
    You can also use Edit > Presets > Export/Import Presets
    Gene

  • How can I create a "short cut" with my email address becomes a one click function

    I enter my email address many times during the day. would like to have a quick short cut that remembers the entire address with one click

    See also:
    *Clippings: https://addons.mozilla.org/firefox/addon/clippings/

  • HT1343 how can i crate a short cut to Network control ?

    Hello
    i want to create a desktop short cut to my network settings? very easy on a PC seeems impossible on a Mac!!!
    any ideas please.

    You can't always do things the same way as you would on a PC.
    Press the key combination command-space to bring up a Spotlight search. Start to type the word "Network." The Network preference pane should appear near the top of the search results.
    If you need to change your network settings often, there's probably a better way to do it.

  • How do I lock my short-cut settings?

    My short cut settings are always being changed.
    For example, one minute, sqeezeing the mouse will show exsposé, the next it won't.

    You cannot 'lock' that specific setting.
    Is the mouse wireless?
    If it's wireless try switching the batteries, this will break the connection and putting new batteries in will make a new connection. This has solved serveral mouse problems for me.
    If it's wired try taking it out of the USB port and either plugging it back into the same port or into a different port.
    Sounds more like a mouse error and not the system.
    -benny

  • How do you create a short cut to insert date in Numbers 3.1

    Hi,
    Does any one know how to create a keyboard shortcut for inserting the date in Numbers 3.1

    The install-by-doubleclicking Automator Service (where it becomes a menu pick if you use it often and find that more convenient than a formula in a spreadhseet) is here (Dropbox download). Depending on your settings you may need to go to System Preferences > Privacy & Security and click the 'Open Anyway' button. If you want you can assign it a keyboard shortcut in System Preference > Keyboard > Shortcuts.  If you don't like it or find you the formula is just as easy for you, then in Finder hold down the option key, choose Go in the menu and navigate to Library > Services, where you can trash it the way you would any file or package.
    SG

  • How can I make a short cut for my desk top with special sites

    I have changed to firefox, but now I can't create shortcuts for any sites that I use regular like bills etc. like i could on internet explorer

    See [[creating a desktop shortcut to a web page]].
    A couple of add-ons that can assist with the process, [http://www.pikey.me.uk/mozilla/?addon=cs Create Shortcut] and [https://addons.mozilla.org/en-US/firefox/addon/66/ deskCut].

  • How do I create a short cut for my Adobe ExportPDF

    Good morning I recently brought Adobe ExportPDF and need to make a shortcut to get to it quicker is there a way to do this? Thanks in advance Tom

    Hi, Tom.
    You can access ExportPDF from your computer more quickly in three ways:
    You can download and install the CreatePDF Desktop Application. More info is here. With this application, you can drag PDF files onto a desktop icon and have those converted to Office files. (If you subscribe to the CreatePDF service, this application will also allow you to create PDF files.)
    You can download and install the newest Adobe Reader and access the service using Reader's Tools Pane on right. Then, any time you have PDF open in Reader, you can (with a couple of clicks) convert that PDF to an Office file.
    You can drag the webpage icon from your browser to your desktop. This will create a shortcut to the ExportPDF website on your desktop. Here are some instructions for doing that using Internet Explorer or Firefox.
    Let us know if you have additional questions or issues.
    Dave

  • How to handle (drag and drop) and Action Event in a JList?

    I am having many JList,
    On click of an element in JList I am loading a image in JSP.
    But If I try to drag and drop one image from one bucket to another bucket Iam not getting any problem,
    But I when I drag all the images from the target List to some other List and make the target List empty.
    Now If I try to move the image from source list to the target list Iam getting this error,
    Exception in thread "AWT-EventQueue-6" java.lang.NullPointerException
         at pdfViewer.NewFileSegregater$24.valueChanged(NewFileSegregater.java:1944)
         at javax.swing.JList.fireSelectionValueChanged(Unknown Source)
         at javax.swing.JList$ListSelectionHandler.valueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.insertIndexInterval(Unknown Source)
         at javax.swing.plaf.basic.BasicListUI$Handler.intervalAdded(Unknown Source)
         at javax.swing.AbstractListModel.fireIntervalAdded(Unknown Source)
         at javax.swing.DefaultListModel.addElement(Unknown Source)
         at pdfViewer.NewFileSegregater.actionPerformed(NewFileSegregater.java:2918)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener$Actions.actionPerformed(Unknown Source)
         at javax.swing.SwingUtilities.notifyAction(Unknown Source)
         at javax.swing.JComponent.processKeyBinding(Unknown Source)
         at javax.swing.KeyboardManager.fireBinding(Unknown Source)
         at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
         at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
         at javax.swing.JComponent.processKeyBindings(Unknown Source)
         at javax.swing.JComponent.processKeyEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Please help me how to solve this problem..

    Er, sure. In the class pdfViewer.NewFileSegregater on line
    1944 (!), in the valueChanged() method, something is pointing to
    null.
    That method is being called from
    pdfViewer.NewFileSegregater.actionPerformed() on line
    2918 (!!).
    Of course, none of us know what's going on in those code
    segements but you. And for the record, that's not how to spell
    Segregator.

  • Menu events in SubVIs

    Hello...
    I am using a dynamically loaded subvi, that is displayed in a subpanel in my
    main.vi. Now I want to fire events in the subvi by using the custom menu in
    the main.vi. How is this possible, for the event case I can only select
    <This VI> as the event source, how can I get the main.vi menu as the source
    for the events.
    PS: I´m using Labview 7.1
    Thanks
    Stephan

    You can have an event structure in the top VI detect the menu selection and fire a dynamic event or a signaling event [like Value(Signaling)] to trigger the event in the subVI.
    You will need to do some extra programming for this (pass the data to the subVI).
    Try to take over the world!

  • DOing same function as Runtime short cut menus example except with menu ring...

    Newbie here: I am attempting to create a slide out menu much like the one in the Runtime short cut menu example (in example finder) except with a menu ring instead of the list box that is used in the example.  I have a menu ring with 8 values in it and on 3 of the option I would like a secondary menu that slides out to the side that displays another sub-menu.  Can this be done easily/efficiently?  I am looking at other alternatives but this option would be the best for my application from a user stand point.  Any help and examples would be appreciated. 
    Thank you
    Steve
    Solved!
    Go to Solution.

    What is being shown in that example is how you can modify or create your own runtime menus (aka popup menus or right-click menus) for a given control.  Basically you customize the menu and then use event cases to handle what to do for the menu selections.
    Now a menu-ring control is a different beast entirely, BUT it looks almost exactly the same, so I see why the two could be confused.  As far as I know, there's no support in a menu ring for multiple menu levels.
    Often times I find that effective labview GUI design (and well, design in general) works best with a compromise of what you imagine for what you can do easily and simply.  Flow like water: find a native control behavior that's *good enough*. 
    But! here's a hack that might get what you want.  It sounds like you want the multi-levelness of a right-click menu but without having to right-click?  Use a "mousedown?" filtering event to replace left-clicking with right-clicks!  Now when the user left-clicks, labview will tell the OS that they right-clicked.
    -Barrett
    CLD

Maybe you are looking for

  • Microsoft Word "Smart Quotes"

    I hope this will save other developers some time. This may be obvious to others, but I just spent several hours Googling and testing to determine what actually happens when a user copies text containing "Smart Quotes" from Microsoft Word into a Java

  • Getting question marks instead of images on some pages

    any help would be greatly appreciated. when opening some pages i get blue box with white question mark in it. i have been through a complete erase and install. have installed all updates. when it tells me there is an error, i go to window/activity an

  • Regular Expressions and comments

    Hello, I've got a problem with regular expressions. I Want to find special words like "todo" in java comments, but wasn't able to manage that satisfactory. I hope someone of you can give me an advice! :-) example of a comment: * comment text. todo: w

  • IOS 8 Photos App losing metadata after editing photo

    Since the iOS 8 update, every time I edit a photo with new editing Tools or with the new 3rd party app editing fonction I lose the photos Metadata's like location, date & time or other exif informations. I realize that they are missing once I open th

  • Need new pro key to update from 7.0.4 to 7.1.6?

    Greetings, Have QT Pro v7.0.4 installed. Would like to update to v7.1.6 without having to buy a new key for QTPro. Intuition says I should be able to do this, but conflicting info from Apple makes me question my intuition and hesitate to install v7.1