Menu ring indicator definition

Hello,
   Can I create a menu ring indicator one and re-use it numerous times? I have tried to copy the menu ring and what I really end up with a numerous menu rings that do not track the updates to the menu ring when I update the original. I would like to be able to create a menu ring indicator ONCE, and use the indicator numerous times and have ALL of them contain the updates that I have made to the original menu ring indicator. How can I do that?
Regards,
Kaspar
Regards,
Kaspar

Here are two options:
Use a subVI which will output the list of values and fill each copy of the ring using the Strings[] property when you start your program.
Use a typedef. The strings of a ring control are not part of the data type of a ring, so they will not update when you change them, but if you change the type of the control you can force an update and then the new strings will be used.
The easiest way to do this is to change the representation, click File>>Apply, change the representation back and apply again. You should note, however, that there is some danger in this - you should try to keep to the same number of bits of your current representation or higher, so you don't get coercion on your current values if they are out of range. Also, you should be careful even if you stay within the same number of bits, because if you change an I32 to a U32 you will lose values like -1. They might be translated back correctly, but I never checked.
Try to take over the world!

Similar Messages

  • Using a menu ring to select DAQ device channel and indicator

    Hi,
    New user here. I am using the DAQ assistant with multiple analog inputs. I would like the front panel to have a menu ring where the user can select which channels are to be active. Also, this corresponds to a single graphical indicator. 
    Currently I have a VI that displays all channels each with its own indicator. I want to simplify the front panel so that a user can simply use a menu ring to select and focus on what he/she is interested in. Is it possible to use the Select Signals Express VI to implement this?
    Thank you!

    Drop the DAQ Assistant or convert it to regular DAQmx functions. The physical channel control does all that. Just look at the shipping examples.

  • Menu ring controls

    Hi
    I need a help,I have attached my program.
    My problem is from the menu ring control if i select D1 the indicator turns on,further if i select anyother options from contol the indicator corresponding to new option turns on and the previous turns off but i need both to be on. Also i like to do if i select D1 it should be disabled(or changed to different colour---so that there is no option to selcet it again until i reset it manually).
    Pls attach if there is any ex prgs.
    Attachments:
    DSC.vi ‏15 KB

    Hi Veeru,
    you change the index of your array between 0 and 1 for every element. Do you want a binary display? If yes you switch the on color of your LEDs to blue and off to black. Then you can use the attached code.
    Hope it helps.
    Mike
    Message Edited by MikeS81 on 06-20-2008 01:10 PM
    Attachments:
    Unbenannt1.PNG ‏3 KB

  • How do you individually strikeout text in a menu ring?

    I have a menu ring with a list of options for the user. Once the option has been ran, I want the text in the menu ring to reflect this by being "strikedout"... I don't want it disabled, just incase the user wants to rerun the option but I want the menu ring to mark which options have been chosen. Is it possible to individually strikeout text in a menu ring - just like you can individually disable items using the appropriate property node?

    Blindon,
    Elements in the menu ring are array elements. Each element in array must have the same font (This is a limitation of the definition of an array). So, you can only set all elements to be strikedout, not individual ones. (with the property node)
    Zvezdana S.

  • Menu Ring disabled update bug

    Currently still on Labview 2011 (upgrading within a few weeks to 2012 SP1) I have the following bug:
    If a Menu Ring is disabled and has a "normal" (non-empty) value it will keep its contents (meaning: shown text will remain) when you overwrite StringsAndValues[] with an empty array.
    I was unable to find anything about it either officially fixed / known or on this forum, meaning it will probably still be there in the latest version.
    Can someone please verify to see if this bug indeed (still) exists in the latest Labview version?
    Solved!
    Go to Solution.

    Thanks, though I fail to see why a Menu Ring can not be empty.  Imo there should NOT be an error message, but just a plain empty control (or indicator).
    I use the Menu Ring to show and allow (if there are other types available) to change a subtype of an electronic product.  The control typically does so for released products, meaning I filter out products (and subtypes) still under development (or still undefined).  The list can thus be empty.  People busy with development have a setting available to also show (and change to / from) these new or (as of yet) unknown types and products.  When there are no elements (in this case: subtypes) or only one the control is disabled.
    I looked further into this and at no point does Labview mention, force or coerce a user to have at least one element in a (Menu) Ring.

  • How can I change the background color of a menu ring?

    Hi
    Does anybody know how to change the background color of a menu ring??? (not the backround color of the first item, the background color of the list (remains always gray))
    thanks martin

    Try Preferences>>Colors>>Menu Background, but this will change ALL menu's background color.
    Hope this helps

  • Using a property node of a menu ring to generate a secondary address does not work in a subvi unless the subvi has been or is opened. Why?

    I am writing drivers for third party equipment using LabView 6.1. I am using the property node, digdisp.text, to get the item number of menu ring. This number is being used as the GPIB secondary address for the equipment. This vi is one many subVIs like it in a main vi.
    The only way the main vi works consistently is if I open all the subVIs, otherwise the secondary address isn't picked up and I get a EARG and ENOL error in NISpy and a GPIB write error in the Error Out cluster.
    I have attached an example of a NIspy capture of a failed attempt.
    Attachments:
    Capture.spy ‏9 KB

    Hi,
    EARG (4)
    Error Condition: Invalid argument to a function call.
    Description: EARG results when an invalid argument is passed to a function call.
    Possible Cause: The following are some examples: you call ibtmo with a value not in the range 0 through 17 (possible timeout values correspond to a table of values ranging from 0 to 17, where the default is 13, which represents a 10 second timeout); you call ibeos with meaningless bits set in the high byte of the second parameter; or you call ibpad (or ibsad) with invalid addresses.
    The reason you are getting the error is because not only is your secondary address invalid, but your primary address is also invalid. Lines 14 and 16 of your attached NI-SPY capture set
    the primary address (ibpad) and secondary address (ibsad) respectively. You need to make sure that you are passing the addresses properly to the subVIs using a connector. It seems like your programming when sending and receiving data (like the addresses) from your subVIs is not correct. You have to be sure to pass the data back and forth in the proper method using connectors.
    A.S.
    Anu Saha
    Academic Product Marketing Engineer
    National Instruments

  • Waveform Names to Menu Ring String Property Node

    Hi,
    I am extracting waveform data (names) to go into a menu ring as string data.
    It seems to work, apart from when you actually click on the menu there is no text (though you can successfully change it).  I am wondering if it is to do with the odd symbol in front of the name but not sure how to get rid of it.
    Hoping it is something simple but it is just knowing where to look with all the options available to you.
    Please see attached.
    Best Regards,
    James
    Solved!
    Go to Solution.
    Attachments:
    MenuRing.jpg ‏23 KB

    Hi James,
    You were 99% of the way there all you needed to do was to pull that weird character from the string, I used the “match pattern” function to allow me to isolate that character and pass the resultant string into the text ring property node. A good bit of advice if you find a character in LabVIEW that you do not recognise or if you are unsure about spacing, right click the output string and select “ ‘\’ codes display “ this will show what the code representation of the string is and you can just feed that directly into the “match  pattern” function. I have attached my code (LabVIEW 2010 if you need in previous version please just ask) for you to have a look at. I have used a producer consumer template and selected multiple input channels from a simulated PCI 6220.
    P.S. I’m not sure where that character comes from??
    Regards
    Andrew George @ NI UK
    Attachments:
    Forum James AC.vi ‏26 KB

  • 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!

  • Displaying images with a menu ring

    Hi,
    What i want is  a menu ring ring that can give a choice to run indivdual tests . Test A, test b , test c test d . The results of each test to be displayed seperately with text on each image showing from which test the image came from,
    Iam attaching an file that iam trying to implement this on.
    Thanks for your help.
    (requirements labview 7.1 and vision assistant)
    Attachments:
    help.vi ‏128 KB

    I think you can use the Picture Ring for your appliction.
    - Partha
    LabVIEW - Wires that catch bugs!

  • Using a "menu ring" feature on the front panel with event structures

    hello - right now i have many event cases controlled by many "ok buttons". i would like to use a menu ring on the front panel to save space from all those buttons, but i don't see how it will work with all the individual event cases. currently each event is tied to a single button, and the menu ring acts as one thing on the block diagram so i can't tie an event to a choice in the menu. any suggestions? thanks....

    Alternativley, you could use an enum control instead of a menu ring. It will name the cases according to the selection automatically.
    If you want to use a menu ring and strings, you could do something like in this image.
    Message Edited by altenbach on 02-09-2006 01:43 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    RingText.png ‏3 KB

  • How to make menu ring items visible through VNC ?

    I have an application that has a menu ring in it. I am compiling the app., distributing it to a remote system, and viewing it using VNC (3.3.7) . Everything works through VNC with the exception that I can't see the items on the Menu Ring when it is selected (if I select the Menu Ring through VNC I can see on the host computer that it does cause the ring to drop down). I saw the item in the discussion forum regarding disabling the menu animation - I did this and recompiled the app., but this did not fix the problem.

    In the VNC configuration, try "refresh entire screen" It really slows things down, but it gurarantees that every item is actually read.
    Eric
    Eric P. Nichols
    P.O. Box 56235
    North Pole, AK 99705

  • 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

  • Best way to implement confirm button in conjunction with menu ring selections

    So basically I have a series of menu rings that implement different cases of a structure that adjusts PWMs and other timing signals.  I have received a request to add in a confirmation button/dialog that pops up to make sure the operator wants to perform the selected operation.  I'm doing this on a PXI 7831R FPGA board and have run into timing violations in the past, so the less timing critical, the better.  If there is some way to offload this onto the host VI, even better.  Thanks in advance for the help.

    If there is some way to offload this onto the host VI, even better.
    Considering the FPGA does not support dialogue boxes or event structures, you will have to implement this into a host VI.
    My suggestion? Have a case structure with a latch boolean control on it (ie. update config). Your host VI will have an Open FPGA VI reference and run the FPGA this way. When you want to update the config, you can change your items, then hit 'update'. Include the dialogue box for confirmation if you wish. When this is done, it will use a read/write control to update the boolean 'update config' on the FPGA. Your FPGA VI will then read that case structure with the config data in it once(since it is a latched boolean) and then continue on its merry way.
    Rob K
    Measurements Mechanical Engineer (C-Series, USB X-Series)
    National Instruments
    CompactRIO Developers Guide
    CompactRIO Out of the Box Video

  • 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.

Maybe you are looking for

  • Java.lang.NullPointerException when instantiating VORowImpl

    Hi , I am trying to extend a controller where I want to get an attribute value from a View object. I initiate the VO and then use vo.first() to get RowImpl. But I get NullPointerException when i use the extended CO in the page pointing to the line wh

  • Please Help stuck on apple boot logo

    I am stucked at the apple boot logo and i can't disable filevalut to go in safe mode. When i've pressed cmd p r and went in utility disk it seems that i have free on the macintosh hd only 16.3 MB so i have to go in safe mode to delete some files and

  • Play audio with a slide

    I am new to Keynote but prefer it over p/Point. However, I have imported a playlist from iTunes into a slide for background music before a presentation starts. Five music files in the playlist and they all play at once. I have tried importing them on

  • DHCP & WRT150N

    The DHCP server on my WRT150N only serves connections on the wire connected clients. The wireless clients time out when they're trying to acquire an IP address. Did anybody experiences something similar? Thanks for any help. P.S.: I upgraded the firm

  • My iphone screen only show the apple logo only

    when i updated my iphone, suddently my usb no work now stop already. then it only show on my monitoe is the apple logo only. cannot restart, cannot do anything. Please help me solve the problem. i scared.