Menu ring for tab control

Hi,
I use a tab control which got in the meanwhile more tabs than could still all be displayed simultaneously. That's why I would like to use a menu ring instead of the tabs in order to control which tab will be displayed in the forefront. However, I could not yet figure out how to change the "page label display" of the tab control into a menu ring. Have a look onto my simple example. I guess you agree that my current solution doesn't really look like a pull down menu although it works like one. Any hint how to improve the design?
Thanks in advance,
Peter
Attachments:
Tab_Control.vi ‏17 KB

Here's an example that is based on an example that ships with LV. I cleaned it up a bit so it would look mre like a "real" application. It's not great from the standpoint of code design (No error handling for instance) but it shows how these plugins could work.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
Attachments:
subpanel.llb ‏72 KB

Similar Messages

  • Need help with menu ring or listbox control.

    Hi,
    I would like a menu ring style of control that does the following. Initially, items will be put into the control through a string array. That is no problem. But,in addition to being able to select any of the existing items, I would like the user to be able to enter a new item. Is this possible with any of the menu or listbox controls? I prefer the menu type controls as I like how when you click on the control you get a pop up of the items in the list, as opposed to the listbox where you have to scroll. Thanks for any help.

    Not as such, but one alternative would be a combination of the menu ring and
    a string. Place the string above the menu ring. When people select something
    from the menu ring it's copied to the string and selected. When people type
    something into the string, it's added to the menu ring if it's not already
    there and again it's selected.
    Bear in mind though that if a menu ring gets too large I suspect a scrollbar
    will appear in it when it's popped up.
    sal wrote in message
    news:[email protected]..
    > Hi,
    >
    > I would like a menu ring style of control that does the following.
    > Initially, items will be put into the control through a string array.
    > That is no problem. But,in addition to being able to select any of
    > the existi
    ng items, I would like the user to be able to enter a new
    > item. Is this possible with any of the menu or listbox controls? I
    > prefer the menu type controls as I like how when you click on the
    > control you get a pop up of the items in the list, as opposed to the
    > listbox where you have to scroll. Thanks for any help.

  • Is it possible to preserve dynamic run-time shortcut menu updates for a control?

    Hello all,
    I have a question about getting control run-time shortcut menus to persist after adding new items.  I am hopeful that I'm simply missing something simple here.
    Known Information
    I understand the use of the "Shortcut Menu Activation?" event (for the control of interest) which provides the relevant control's menu reference for use with the menu VIs.  No problems there.
    Problem
    I start with a control which has an .rtm file assigned as its run-time shortcut menu.  
    I then generate new items dynamically using the event/menu mechanism noted above.  
    The problem is that there doesn't seem to be a way to *preserve* those newly added items (ie. I have to re-create the new items everytime the menu is *activated*).
    What I observe is that, unless I add all the items every time the right-click event occurs (in the "Shortcut Menu Activation?" event case), it defaults back to the original .rtm menu state.
    Question
    Does anyone know how to either:
    get dynamically added menu items to "stick"
    perhaps dynamically create (new) and load an .rtm for a *control*
    Thanks in advance for any thoughts.  I'm working in LabVIEW 8.6 for this particular project.
    VM

    Looking at the second post link, it seems like you are trying to populate 10,000+ shortcut items on the Shortcut Menu for the control. I'm guessing these are tiered, since I don't think all of them would fit on the screen. If they are tiered, have you tried populating only the top level short cuts, and then populating more as the user navigates down the tree?
    - Regards,
    Beutlich

  • Query for Tab Control

    Hey everyone,
    I am working on an application which need a Tab Control in it. I have 2 Tabs in that control. One is Engineering mode and other is Application mode. Only when certain condition's are met in Engireeing mode then only user can change to other mode by pressing the tab's .....
    I hope you got wht I want. for any further clarification please let me know
    thanks
    Regards,
    Sarang Dhananjay Jaiswal
    Satyam Development Center, Banglore, INDIA

    Nice post Lynn!
    You taght me something with the array to cluster >>> Unbundle by name construct.
    It looks like this got introduced in LV 7.0 and I nver noticed it. It figures that I am still learning about LV 7.0 and LV 8.0 is announced.
    Thank Lynn.
    Ben
    Message Edited by Ben on 10-01-2005 11:02 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    Array to Cluster.JPG ‏6 KB

  • How to handle events for Tab Control

    Hi,
    I have a Tab control with 4 tabs and I would like when I go to a specific tab all the contents of that tab being updated. Could you please help me with this?
    How should I set the event structure
    Thanks

    Tab Control->Value Change is the event you want.  You can then use a case structure to do whatever you need it to based on the "New Value".
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • FaceTime will not connect (but rings) for parental controlled user.

    I have a parental controlled user setup on a brand new mac mini running Lion. When initiating or receiving a FaceTime call as the parental controlled user, the connection rings, but after trying to connect the call fails. When the mac mini user is a normal user (not parental controlled), it works fine. The parental controlled user has their own apple id / email address. Under the parental controls it is set to unlimited web access.
    Any help here would be great.
    Thanks,
    David.

    Bump.

  • Dynamically changing elements in an array of menu ring controls

    I have an array (32 rows, 5 columns) of menu ring controls.  When a menu selection is made in the first column of any given row, the contents of the menu ring for the subsequent columns (same row) may change.  If this is possible, how would you do it?  Thanks.
    Solved!
    Go to Solution.

    jschichl wrote:
    For example, if I had a menu ring of 1,2,3,4.  I want to write some logic that says when 4 is selected, then menu ring in the next row changes to 5,6,7,8.
    A ring is just a number as far as LabVIEW is concerned, so the underlying cluster need only store numbers, not rings.
    In the example I posted in a linked thread, where controls are moved around on top of a table, you need only one ring control. Each time you show that ring, you can assign a new set of strings and values to it, using the Strings and Values property. You can decide what set of strings to show based on the existing data in the cluster, which will get updated each time you change the value in a cell of the table. Does that make sense? I don't have time right now to put together a more detailed example than what I've already uploaded in other threads, and it's only a small change to that.
    You update the menu ring at the time the user wants to select a value from it, not at the time the user changes the value that determines what set of menu items to show.

  • Menu Settings in DSR-1500A for Firewire Control

    Took me a while to figure out the menus settings on controlling the DSR-1500A via the firewire (iLink) in Final Cut Pro. I'm using Version 6.0.5.
    I'm gonna assume that you have already completed the "Easy Setup" menu within FCP to NTSC, DV-NTSC.
    Using the DSR-1500A Menu and nav buttons, toggle thru...
    Setup Menu>Interface>Remote I/F>iLink
    I also downloaded the PDF Manual here.
    http://www.retrevo.com/support/Sony-DSR-1500A-Camcorders-manual/id/2090ag316/t/2 /
    Page 62/63 shows the menu hierarchy but on page 63 the "Remote I/F" does NOT show the next level down which is switching from the 9pin to iLink.
    Hope some finds this helpful.

    Dear Bala,
    Thanks for giving me a menu path for Order Control related settings in IMG for pp.
    It helps me a lot.
    Thanks & Regards,
    Sandeep N.Theurkar

  • How do I modify multiple Menu rings in a loop?

    I would like to modify the Strings of 15 Menu Rings in a loop as follows:
    Calculate new values
    Start For Loop
    Write new values to property node Menu ring(N) / Strings[]
    End loop
    I want to have one poperty node in the loop, whos' reference (or link) gets modified, to point to a different Menu Ring for each iteration of the loop. In other words, without having 15 different property nodes.
    Is it possible?  
    Thanks.

    You can create a reference for each control (right click->create...), then build these references into an array using build array, then iterate over the array in a for loop using auto-indexing.
    You can do the same for the arrays of strings, but because the arrays can probably have different lengths, you should put each 1D array into a cluster and build a 1D array of the clusters. This is because a 2D array can not have a different number of elements in each row.
    If you do this kind of thing often, you can save time on creating the reference by using this.
    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

  • How can I set up a custom keyboard shortcut for volume control?

    Hi all,
    I use my black MacBook at work, connected to an external monitor and external keyboard. I'm looking for a way to set up the F buttons on my external keyboard as volume control, just as they do on my laptop keyboard. Looking for F3 to F5 to be volume mute, down, and up, respectively.
    I tried going into Keyboard Shortcuts in System Preferences but since there is no menu item for volume control I can't seem to add it. Anyone know how I can go about doing this or what I'm missing?
    Thanks
    Mike

    paste the following into Applescrpt Editor (it's in /Applications/Utilities)
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    set curVolume to output volume of (get volume settings)
    -- work out the new setting
    if curVolume < 96 then
    set newVolume to curVolume + 5
    else
    -- can't go over 100
    set newVolume to 100
    end if
    -- and apply it
    set volume output volume newVolume</pre>
    this script will increase volume by 5 (out of 100) any time you run it. you can adjust this of course. save the script somewhere.
    You can use a 3rd part app launcher to bind a keyboard shortcut to it. I use Butler. there are many others: Quicksilver, ikeys, quickeys, Spark, Launchbar.
    this will work the fastest.
    If you don't want to use 3rd party tools for this you can make a service using automator but that might be a bit slower than the first option. open automator. it will give you a pulldown screen wiuth the choice of what you want to make. choose "service". set it to receive no input and be available in all applications. add the following "run apple script" action to the service
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    on run {input, parameters}
    set curVolume to output volume of (get volume settings)
    -- work out the new setting
    if curVolume < 96 then
    set newVolume to curVolume + 5
    else
    -- can't go over 100
    set newVolume to 100
    end if
    -- and apply it
    set volume output volume newVolume
    end run</pre>
    save the service, go to keyboard system preferences->keyboard shortcuts->services and make a shortcut for the service you just created.

  • Tab control page name

    I’d like an example or description of this:
    For Tab Control, change the name of the Tab Page at Runtime?
    Thanks,Chris

    You CAN do this.  For each tab, right-click and choose Advanced->Make Page Caption Match Label to uncheck the option.
    Then, in your program, get the Pages property.  Use that reference to access the Caption property.
    Note that the enum strings do not change, so if the LABEL for the tab is Page 1 and the caption is hello world, the tab value is still Page 1.
    Message Edited by Matthew Kelton on 02-27-2008 12:03 PM
    Attachments:
    Tab Caption.png ‏2 KB

  • Dynamic creation of tab control

    Hi,
    Am suppose to create table control for each header record in intenal table.
    ie-
    Header1
    Tab contrl 1
    header2
    Tab contrl 2
    header n
    Tab contrl n
    Though number of records in int table not fixed.
    can anybody please guide me how can this be achieved as for tab control we have to draw tab control container in screen painter first.
    Thanks,
    Sanjay Deshpande

    If you intend to do that, you'd have to create the dynpro dynamically and generate it using the sentence GENERATE DYNPRO, otherwise you won't be able to place N fields dynamically in the screen. (However SAP does not recommend using this sentence in application programs)
    Another option would be the use of OO ALVs instead of Table Controls, with this approach, you'll be able to generate N ALVs (one for each header) by splitting a screen container control in N predefined 'SubContainers' (You can use the CL_GUI_SPLITTER_CONTAINER component)

  • Initializi​ng menu ring elements in array

    I know that it is possible to initialize the elements of a menu ring using the property STRINGS[]. I have an array of 16 menu rings for labeling DAQ channels, and need to initialize the rings based of the set of available sensors (ie some sensors are retired, or out for calibration, new ones purchased). Is there a way to expose this property for an array of menu rings?
    thanx
    lmd2
    Lawrence M. David Jr.
    Certified LabVIEW Architect
    cell: 516.819.9711
    http://www.aleconsultants.com
    [email protected]

    This seems to work, but I don't know how it would behave in a compiled application.
    Use a property node to get the Array Element.Reference.
    From the front panel, select the ring inside the array and Create Reference (switches to BD and places a constant)
    Use 'To More Specific Class' to convert the array Element Reference to a menu ring ref using the constant from above.
    Set the strings Property.
    Message Edited by Phillip Brooks on 04-01-2008 08:35 AM
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness
    Attachments:
    Menu Ring Array Strings.png ‏29 KB

  • Populating Strings[ ] on a menu ring

    I have a menu ring inside of a cluster. The cluster is embedded in an array. So essentially I have an array of clusters where each cluster has just a menu ring inside of it. I'm trying to programmatically populate the Strings[ ] property for each menu ring, for every array position. The Strings[ ] property for each menu ring will be different for each array position.
    I can't see any way to do this programmatically? There seems to be no way to access the Strings property when the menu ring is embedded in this manner.

    I tried that long time ago, no way until some geeks will find a way ....
    My workaround: Since I wanted it for a configuration setup screen, I made a seperate popup window for the selection.
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

Maybe you are looking for

  • Edit an field in alv and save it

    i have an report in alv, i have used func module 'alv_list_display'.   i have to make an field edit'able,(so that i can edit,change the existing data) then i have to save the data so that the data is stored in the table.

  • How can i transfer contacts from my old phone(android) to my new iphone

    how can i transfer contacts from my old phone(android) to my new iphone

  • Backup fail with VSSwriter error

    Hello, we currently are using Symantec Backup on tape and Windows Server Backup to make two differents backups on a SBS 2008. We are getting failed backup randomly during the week for both. Sometimes one is succeed and not the others. We have found s

  • G/l balance sheet

    Dear All, in t-code fs10n my g/l acc is not balance in STO (Inter plant with same company code) the balance is occure my procedure is PO-DELIVERY & PICKING-BILLING -WRT BILLING EXCISE INVOICE DOING MIGO Actually in billing cenvat suspense is debit &c

  • Wi-fi not working in ipad can anyone help?

    something happen to my wi-fi in my ipad. after 6 months of using it without any issues, one day it stopped working. I went into my setting to see what is going on, and saw the wi-fi option is shaded gray. there is no option to click on it. everything