Ring Constant: 30 values max? LV 8.0

Hey all,
I'm trying to use 50 pairs but it's clipping me off at 30. Is there a fix for this? Thanks. 
Solved!
Go to Solution.

Ben,
Thanks for the reply. I literally just started a new VI and entered 50 values as shown. It seems to be very temperamental. I added the 50 values (finally) with no problem. Unclicked the check box next to "Sequential Values" and it did not save my change twice. I then started to change the values to the custom ones that I want and it will not save them. I'm hitting "OK" after I do something, is this not the way to save changes?
Attachments:
1.JPG ‏311 KB

Similar Messages

  • Pull-down menu for Ring-Constants in module parameter settings?

    Hey all,
    I have a labview VI that has a ring-constant as a control.  When I call this VI as an action in teststand and go to the module parameters, then I must enter in a number (I32) instead of having a pull-down menu containing my list of items.  This is particularly annoying because I have to reference the VI to match a number to an item name.  So far, the only way I've been able to get a pull-down menu in the module parameters is by using a enum constant as a labview control, but this doesn't work for me because the item values are not sequential.  Has anyone found a way around this?
    -Ryan

    Hello Ryan,
    To my knowledge, there is no way of getting a Ring Control to show up as a pull-down menu in TestStand as with the Enum Control.
    However, as a workaround, you could create an Enum Control that contains the same menu items as your Ring Control and use the Enum as your TestStand parameter to set the value of your Ring Control. Please see the attached VI. Set the Enum Control and run the VI. The Ring Control will match the Enum Control.
    Let me know if this helps.
    Manooch H.
    National Instruments
    Attachments:
    RINGFORUM1.vi ‏11 KB

  • Problem with TypeDef and Ring constants

    Hi folks!
    I've got a problem with my Ring-TypeDef.
    I defined a ring control as a Strict TypeDef, hoping that all constants of this Ring will be updated when I change the definition as it does with Enums.
    This does not work. Changes of the TypeDef take effect on the Ring control but not on the constants.
    Has anyone an idea how to fix or workaround this?
    TIA
    Kevin.

    Mark, as I understand it the idea with ring control/constants is that you can make pairs like the ones described:
    yes: 1
    no: 99
    cancel: -1
    but when you create a ring constant say, this feature is turned off, it behaves like a enum. In order to use this non continous numbering you need to uncheck "Sequential values" in propeties/Edit items. This took me some  time to find the first time, and today I again looked a good half hour for it again!
    Hope this was what you were asking.
    Ola

  • Possible Bug: Ring Constant Typedef not updating...

    I have a ring constant control which is set as a strict type def.
    If I select an instance of the control in my block diagram and "open typedef", I can edit the values no problem.
    I then click "apply changes" and "save" and would expect all changes to propagate to every instance of this control (as it works with every other control I use). If I run the code and watch the values, they are maintained as the previous version of the control.
    If I delete the instance of the control and then add it again, the new values are found.
    This is frustrating, as I have to delete and re-add every instance whenever I change something. I haven't seen this behaviour in other controls as the "apply changes" has always worked as I expected.
    Anybody seen this before?
    I am using LabVIEW 2012, SP1, Build 12.0.1 (32-bit).
    Thanks,
    Matt
    Solved!
    Go to Solution.

    It's by design - http://digital.ni.com/public.nsf/allkb/46CC27C828DB4205862570920062C125
    Try to take over the world!

  • Xcontrol for ring constant as enum

    Is it possible to turn a ring constant to operation similiar to enum using xcontrol?  Because with enum, you can't directly program it to include a list unless you manually do it in the front panel or creating another VI and manually calling to it (very twisted method).  Just wondering if there is a way to trick a ring constant into operating like enum so that whenever I connect an xcontrolled ring constant to a case statement, I get access directly to its case string instead of numerical index?  thanks

    You might consider just using string constants as your case selector instead of a ring or enum. There are some definite draw-backs, such as possible typo errors, but you can help account for this by creating a Default case that should never execute that simply pops up a dialog warning the developer about the typo.
    I use strings all the time when using Queued State Machines to define the cases. To me it's easier than dealing with an enum, especially because enum array constants on a block diagram always resize to a small size when you add new enum items! This makes code quite unreadable.  Also, when you add a new element in a enum array constant, it defaults to the first enum value, which is visually confusing for me. Seeing an empty string pop up in the array constant is much easier on the eyes.
    Strings will offer you the maximum flexibility, but the previous posters are still correct in asserting that the cases of the Case Structure need to be defined at edit time. You can't dynamically change these while the program runs.
    Is your main problem with enums that using the Edit Items dialog for an enum is very slow and not user-friendly (which I agree with)? 
    Message Edited by Jarrod S. on 01-26-2010 11:57 AM
    Jarrod S.
    National Instruments

  • How to get the text of a ring constant?

    If I have a ring constant, is it possible to get the context of that ring constant?
    For example, I'd like to take the path capability to determine whether connect or not.
    If the path is not available, I'd like to handle the error, putting the number of the ring to the code, and the text to the source.
    It seemed it is difficult to work out my motivation, any suggestion will be appreciated
    Solved!
    Go to Solution.

    For a Ring Constant directly you cannot. You can either create a control for that and use the property "Strings"to get the Item name in String format. Another way is by replacing the Ring Constant with an Enum constant and using the Format into String Primitive.
    Spoiler (Highlight to read)
    Are you using correct smiley in your post???
    Are you using correct smiley in your post???
    The best solution is the one you find it by yourself

  • How can I hide constant variable value in class file?

    hi,everybody.
    I am having a problem with constant variable which define connectted with database(URL,username,password).
    when I used UltraEdit to open class file, I can see constant variable value.
    Thanks!

    OK, let's see. Firstly, if I may correct your terminology, the phrase "constant variable" is a paradox (I think that is the right word). You have either one of the other. You declaration is either 'constant' or 'variable' (ie: it can change at run-time or it doesn't). People often use the term 'variable' and 'declaration' interchangably which is where the confusion lies.
    Anyway, onto the real problem. It seems that you want to protect your connection details (in particular the password, I would guess). Unfortunately, Java compiles not to machine-code, but byte-code which is semi-human-readable. So people, if they are inquisitive enough, will always be able to see it if they try hard enough.
    You can do one of two things:
    (1) Get an 'obfusticator'. An obfusticator is something that you run over Java source files and it completely messes it up (without modifying functionality). You then compile and the original source is such gibberish that the byte-code is very difficult to understand. However, the password will still be in there somewhere.
    (2) Don't put sensitive information into your source. Have this kind of info in external files (encrypted) and allow your class to read this file, decrypt, and use it.
    Hope that helps.
    Ben

  • Constant Field Values

    A simple question.
    Does anyone know how to use Constant Field Values of PAPI?
    Please paste the sample code.
    Thanks.

    Hi,
    <div class="jive-quote"><span class="jive-quote-header">user11087863 wrote:</span>
    . . . Does anyone know how to use Constant Field Values of PAPI? . . . </div>
    Sure it's just me (what I don't know about PAPI could fill volumes :) ), but could you go into a bit more detail about what you mean by "Constant Field Values"?
    Know I'm sure to learn something new out of this.
    Thanks,
    Dan

  • Where is the error ring constant in LV 8.2?

    Where is the Error Ring Constant in LabView 8.2?  It was in the block diagram numerics panel in 7.1.1.

    You might wish to have a look at this.
    Try to take over the world!

  • Where is the error code ring constant in LV8 ???

    Hi
    the question seems rather stupid to me but I can't find the error code ring constant any more in LV8.
    Where does it hide?
    Gruß,
    Sören

    You can copy it from some VI made in previous version of LV. It works fine.
    jochynator
    LV 8.0.1, WinXP Pro
    Attachments:
    error_ring_example.vi ‏11 KB

  • Ring Control/Indicator Min/Max Values

    Is there a simple way to retrieve the minimum and maximum values of a Ring control or indicator?
    I'm not looking for "Data Entry Limits", so that hasn't been useful.  The only thing I've been able to do is use the "Strings And Values []" array, however even THAT is problematic, as it returns an array of clusters.  To use "Array Max & Min", I have to use a for loop to index the array, and create a new array of just the Values.
    Is there either a way to just get the Min & Max, or an easier way to get an array of the values?  Ring controls have both a "Strings []" and  "Strings and Values []" property, why don't they have just a "Values []" property?  Perhaps there's a way to UN-Index and UN-Bundle a Cluster Array?
    I'm using LabVIEW 8.5.
    Attachments:
    RangeTest.vi ‏15 KB

    I agree with you that a reverse of "index and bundle cluster array" could come in handy.  I am pretty sure that the way you are solving this problem is the best.  The only other way to solve it I can think of is to convert the array of clusters to a variant data type and then flatten this to a string and parse the string for the data.  This way is a  lot more cumbersome and does not get around having to use a loop.  Maybe someone else can think of a better way, I am interested to hear if there is.
    CLA, CLED, CTD,CPI, LabVIEW Champion
    Platinum Alliance Partner
    Senior Engineer
    Using LV 2013, 2012
    Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.

  • How does LabView 8 handle Ring constants?

    Hi all,
    This is probably more for NI guys, but I am wondering how LabView 8 handles text rings?  In the past, constants dropped into a VI that are of type "enum" will be updated when the typedef is updated, however, ring text constants will not.  Has this changed in LabView 8?
    Thanks,
    Jason

    Part 1 of 2
    Hi Chris,
    Please forgive me for differing on this point but you should have written
    When a control is strictly typed it will force all  [front panel] instances to be identical to the strict type definition and update all of the text constants.
    The "strict" part only takes care of the appearence and those changes only affect instance were they are seen by a user. The strings associated with the enum do not affect block diagram constants.
    The attached image and zip illustrates that the representation of an enum and a ring a very different. An enum has the defined strings "hidden" in the wire and the numeric value can only be one of the valid indexes of the defined strings. In this example I have shown three different constructs that illustrate the fundemental difference between rings and enums.
    1) Case Structures - An enum driven case will pickup the valid choices as defined by the enum's definition. A ring does not carry this info in the wire so it is NOT possible to label the cases to match the ring. This brings up another compliation. If the case structure does not have a default case defined there must be a case for each possible selection value. The strings of an ring can be defined at run-time. Is LV supposed to re-compile the case structures code every time the ring is re-populated? In the case of an enum driven case, this is not an issue because enums that are used in a VI that is running or reserved to run can not be editied.
    2) The "Format into string" can pick-up the valid enum strings by decoding the type descriptor of the enum wire. This is not the case with a ring because the ring is just a number.
    3) The "Flatten into string" function will return the type destriptor of whatever is wired to it. The typed descriptor contents of a enum shows that every valid selection for that enum is defined in the enum wire. Please note that the type descriptor for a ring has no information about any strings.
    End of part 1 of 2
    Ben
    Message Edited by Ben on 10-15-2005 10:41 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    ring vs enum.JPG ‏78 KB

  • Summarize value max field in PowerPivote 2013

    Hi
    I use power pivot I need get max value and sum them, into power pivot.
    but according to pic, result isnt true! Is there any way to solve problem?

    Hi Hoorie,
    According to your description, this issue is related to power pivote of excel, which not related to excel development, we moved this thread to excel forum for better solutions.
    Best Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Array of Ring to string value for creating a table

    I want to convert an array of ring to string and generate a table from it.
    But using property node for converting each ring is changing all the value of the table!
    each array represents different register!hence required to change  for different array! 
    i am hereby attaching a  Vi!
    Solved!
    Go to Solution.
    Attachments:
    Untitled 1.vi ‏1944 KB

    How about this simple solution? Array of a ring control to Array of string.
    /Y
    Message Edited by Yamaeda on 04-13-2010 08:36 AM
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • Ring with string value

    I would like to know if there is a way to make a single control (either a ring or otherwise) where a string that is displayed to the user has a string as its output value.
    For instance, I have a power laser with a serial communication port and the command to turn on the laser diodes is LASER1;
    I want to display the string "DIODES ON" to the user, but have the control provide the value "LASER1;" when selected.
    This is easy to do with two controls, for example, I can have an enum with the user display strings and a matching enum with the laser command strings, but then I have to ensure that any change affects both controls.
    If it is a single control, it is less likely to have an error when a change is made.
    Any help is greatly appreciated.
    I am using LabView 2009
    Solved!
    Go to Solution.

    Perhaps I should have been more clear.
    There are approximately 20 commands to be sent to the laser from which the user can select.
    Each string to the user has a corresponding command.
    Since this is programmatic for automatic operation; as well as single commands for manual operation, I would like to have a single control with 20 strings and corresponding commands.
    For example:
    User                 Laser
    Diodes On         Laser1;
    Diodes Off         Laser;
    Mode Current    Opmode0;
    Mode Power      Opmode1;
    Gate Open        Gate1;
    Gate Closed      Gate0;
    A single button or a caption string is not adequate.

Maybe you are looking for

  • Shipping condition determination (OVL2) not open and system close

    Dear Guys, as per attached, i used ECC 6 VM and when use t.code OVL2 to open Shipping condition determination system appear this error and terminated. IS there another choice to link Ship condition+Plan+LoadingGroup.

  • CC01 how can i choice a specific number range ?

    Dear In trx. OS53 i have defined two different internal number range object for change master  record. When I create a new change master how can I choice a specific number range ? Thanks.

  • Datasource could not be found when it definitely should be

    Hi We are getting the error "Datasource [NameOfDatasource] could not be found" for a particular CF datasource and can't work out why.  A restart of CF resolves the error as does deleting the datasource and recreating it with the exact same properties

  • Trying to upgrade my 3g 4.2.1 to 7

    Can someone assist?  I am trying to upgrade my 3G (old school) from 4.2.1 to 7 or higher. 

  • Pen tool weirdness

    Im having a very odd issue with the pen tool when using it to mask.  I click my first point then the second but after that it changes  to add vertex.    It then adds my new points in the wrong places.  If I make a new comp it sems to work ok but wont