Change name of graph[labe​l-property node]

I would like names from "check box"(cluster) that will appears as label(name) on graphs, like on picture; I try to implement this with property plot->plot name; but always was problem that is not working or it's show error that I cannot change this while is running my program; Program is attached.
Rookie; LV 2011 on WIN 7
Solved!
Go to Solution.
Attachments:
button[1].vi ‏106 KB

You have to extract the labels of the controls in the cluster. See attached snippet.

Similar Messages

  • 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

  • Y scale flip in waveform graph when using property node.

    I'm having problem with property node. I'm trying to build a stackable scope with Waveform Graph And dynamically change the number of plots. It is working. But The Y scale is flipping. The minimum goes on the upper part and the minimum scale goes down. when I change it appearance it's not very fast. It take about 1 or 2 second on my computer.
    The way it is build actually is:
    Cluster_1 is containing 8 clusters. And each of the 8 clusters are containing a Waveform Graph. By reference I change the property of each Waveform to make visible or not each of the Waveforms.
    First I would like to solve the scale problem and second accelerate the redrawing of my scope.
    Maybe there is an other way t
    o do what I need.
    Thanks.
    Nitrof
    Attachments:
    MultiScopeExample.llb ‏192 KB

    Wow, you have a neat program! The problem with your y axis flipping is because the last four charts in the cluster were programmed with a flipped axis. I relabeled the charts and it worked correctly.
    From what I could tell with your code, you do not need the sequence structures. The one inside of the even actually runs the same code twice. Remove this duplication and you should see improvement. Also clusters are slow, so you should not expect it to blink back with additional coding. Use defer panel updates to get that behavior. I incorporated these changes and attached the program.
    Jeremy Braden
    National Instruments
    Attachments:
    MultiScopeExample.vi ‏163 KB

  • How to change value of constant for "Disabled" Property Node?

    Hello all,
    I'm attaching a vi example of what I'm wanting to do. It is happening during the event for "Left Selectorrogrammed 1: Value change.
    Basically I've created a property node for a LED boolean control. After it is clicked, I am wanting to disable it so the user cannot change the value (I have a reset all button for use on that).
    I've created the property node for this control for Disabled.  When I am in the block diagram, I change it to write mode.
    I've rt clicked on it, and said "create constant", which it does.  However, the constant comes up every time as "Enabled". I've tried clicking all over this constant, and looking through all the properties, but I cannot figure out how to toggle through the values or set the value of this constant from "Enabled" to "Disabled".
    I see where you can edit the items of this constant...but I'm guessing there is some way to toggle this constant to the value you wish....any suggestions?
    Thanks in advance,
    cayenne
    Solved!
    Go to Solution.
    Attachments:
    laptop_test_public.vi ‏17 KB

    To change a constant value your cursor needs to be in the "finger" mode.
    You can select this by holding down shift and right-clicking on the diagram - then select the finger.
    Another way is to set Automatic Tool selection:
    Tools >> Options >> Environment >> Lock automatic tool selection
    With this option, LabVIEW will choose the tools for you.
    Play with it a bit to see how it works.
    steve
    Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
    question. Give "Kudos" to replies that help.

  • How to change value of array element using property node

    hello all : )
    im using an array of combo-box. the size of array is not fixed.
    i want to use the strings[ ] property of combo-box to enter selection texts but since i have placed it inside the array im unable to use this property.
    i used 'arrayelem' reference property and connected property node to it but didnt got strings [ ] in the selection.
    so is there any way i can use the strings [ ] property
    Solved!
    Go to Solution.

    the picture what I posted is a snippet. It is a png file which also contains a vi:
    http://www.ni.com/tutorial/9330/en/
    I have found this post. I am just reading it:
    http://forums.ni.com/t5/LabVIEW/combobox-in-array-why-does-it-work-this-way/m-p/2146916/highlight/tr...
    It might help...
    hmm, it is more complicated as I thought )
    edit: just to be CLEAR: so you want to create a new selection LIST for each of the array elements (comboboxes)) OR you just want to set all the comboboxes to a particular value which is ALREADY in the combobox list??

  • Using Property Nodes to view a subVI's xy-graphs in the mainVI

    Hey all.
    Yet again I sit here facing a problem. I currently working on subtracting a background spectra from another measured spectra. This part work good enough, and is what you can see in the RemoveBackground.vi.
    My problem is that I want to display the xy-graphs from the subVI in my mainVI named Sample.VI. For some reason it worked for the one called Derevative, but though I am doing the very same thing to get the reference control (right-click the xy-graph in the mainVI and created a reference -> right click to create a control to the reference -> copy-paste the control into the subVI -> make a property node and connected the control and the property node -> selected the property value -> changed the property of the node to write -> linked the cluster going to the subVI's xy-graph to the property node as well).
    Why won't it work for my signal as well?
    Christian Maden
    Attachments:
    Sample1.vi ‏16 KB
    RemoveBackground.vi ‏38 KB

    The problem is that your Delta Signal XY Graph is expecting an array of clusters and you're feeding in a cluster to the "Value" property. If you insert a Build Array function prior to writing to the "Value" property it will work. Did not intend to have an array of clusters for that graph?
    You should not you have a nasty bug in your code. If you run the top level VI as is, you get into a continuous loop that displays a dialog message about not having any data, and the only way to get out is to force quit LabVIEW, unless you have a handy-dandy LabVIEW app that aborts all running VIs.

  • How to show/hide sliders on a slider control using property nodes?

    If I have a slider with multiple sliders on it how do I change which sliders are visible using property nodes? The only property I have found is making the entire control to be visible or not.  This is a possible solution to have two different controls, one slider with only one slider and another slider with two sliders overlapped, but not desirable.
    I found on a thread in the forum that it is possible but the user did not provide any specifics about which property it was. (http://forums.ni.com/ni/board/message?board.id=170&message.id=181279&query.id=34404#M181279)
    I would appreciate an example VI if possible (Preferred version is 8.5 but versios 8.2, 8.0, and 8.6 are available to me).
    Thank you in advance for the help,
    Aaron

    Just make them transparent! Here's a quick draft.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    HideSliders.vi ‏20 KB

  • Error cluster in XControls Property node

    Hello!
    Property Nodes of XControls do have Error Clusters, but how can I change those out of the Facade? I'm setting an object through a property node for tree data. It is possible that some of the object methods generate an error while executing in the facade and I would like to catch this error in the VI containing my XControl.

    You can't change the error output from a property node from within the facade since the facade only gets called after the property VI has run and modified the contents of the display state information. If possible try to catch invalid values in the property VI itsefl. If there are errors that the xcontrol will need to report you will need to provide a separate mechanism.
    Something that I have used in the past to good effect is the idea of an error stack. The error stack itself is an array of error clusters that resides in the display state data and is maintained as a circular buffer by the xcontrol code. To access this value from the calling program create a read-only property that reads the contents of the buffer and then clears it.
    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

  • Bug in Graph Legend Height Property

    Hi All,
    I am trying to set the height of the graph legend via property node and it seems it is not setting it to the input value. I set the value of the height and read it back and they do not match.
    Is it a bug in the property node?
    I have attached the vi to this post. Pls take a look at it.
    Thanks,
    Ritesh
    Attachments:
    BUGInLegendHeightProperty.vi ‏24 KB

    I don't think it would be a bug.  The legend height probably needs to be some multiple based on the font size of the legend.

  • How do I configure the mixed signal graph property node to set the plot names

    I have a mixed signal graph displaying digital and analog data in two groups.
    I would like to programmatically set the names of individual plots i.e. rather that the digital graph displaying 'Digital 0->Line 0'  I would like to set it to 'Signal 1'  in the vi.
    How do I do this?
    Probably via the property node but I cant get this to work without errors?  (i.e. i cant find the right combination of node arguments to set.)
    Also,  I can set the names of the plots of the component waveforms programmatically, but when I bundle the plots together to form the mixed signal graph, the plot names are reset to the mixed signal graph default values. Can this behaviour be turned off?

    What are you doing? You need to select the plot first and then set the name, like this:
    Attachments:
    Mixed Signal Graph_BD.png ‏1 KB

  • How does one change XY Graph Plot.Style property defaults OR Change the Properties od Individual Plots?

    I have an XY graph with a variable (known) number of multiple plots. Because the number of plots can vary, the plot style is sometimes not what I want. I'm trying to use a property node in a for-loop to change the Plot.LineStyle, Plot.PointStyle, and Plot.Fill/PtColor properties for each of the plots in an XY graph. However, perhaps because the names are not static, the colors do not seem to be updating as I'd like, and I'm really unsure as to why this is happening. Strangely, the LineStyle and PointStyle do seem to be updating as I'd like.
    Please see the attached ScatterColors.zip file which contains the main VI in question (SplitInGroupsScatterByOrder.vi) and two sub-VIs on which it depends. Thanks in advance for your help
    Solved!
    Go to Solution.
    Attachments:
    ScatterColors.zip.zip ‏32 KB

    Hello Pierre,
    This dynamic color feature is still not present in 2009, much less 6.1. I have linked a discussion forum post here that discusses in detail a work around for addiing this functionality. While you may not be able to open their example VIs, the theory is described; such that, you may attempt to replicate in 6.1. 
    Hope this helps. 
    Patrick Corcoran
    Application Engineering Specialist | Control
    National Instruments

  • Is there a line style descrepancy with xy graph property nodes?

    Hello.
    I am attempting to display mutliple bar graphs in a single XY graph control. To color-code and label each one, I set up a for-loop and call each active plot to set the color, plot name, etc. The problematic thing is that when I define the vertical bar graph type by-hand, at the control on the front panel, I have 5 vertical plot style options. The fifth one produces the best results. When I try to set this property node in the block diagram, I have only three vertical plot style options. Is there a way around this?
    Appreciate any fedback.
    Best,
    Mike

    Hi Mike,
    I read the property node for the bar plots (after having setting it by hand to the one you like) and it appears that the value of that bar plot is 8. I also set it to a different bar plot by and hand then wrote "8" to the property node and that does seem to change it to the last  (left to right) vertical bar graph. I am running LV 7.1. If you look at the context help it does seem to indicate that the only values for vertical bar graphs are 1-3 but try writing "8" and see what happens.
    Cheers,
    --Russ

  • Graph and property node

    Hello all;
    I want to make my .vi more powerful, so what I wanted to do is next:
    1. my input must be: "boolean system check box" in 1D array(this is must have, I need this as input into call library function node)
    2. all those checkbox(12) are connected to graph(in this example I choose 12 graphs and one input signal which is same, in real I have different signals, scales...)
    What I wanted to do is when I check first check box, first graph  will be appears(and on graph will be shown his name, which is same as at check box). And then for example if I choose 3,5,8 check box will be appears 3,5,8 graph which will follow one after the other and so one;
    I started to make 1D array check box, but after I group all together and try to rename for example check box 1 to channel 1, it's changing all names not just those which I renamed. I know that I can use "property node" and choose "visible" and "value", but I don't know how to implement together and also moving graphs one after other if I choose for example 1,5,8 channel.
    I attach testing file and picture;
    thanks
    Rookie; LV 2011 on WIN 7
    Solved!
    Go to Solution.
    Attachments:
    tesst.png ‏106 KB
    test_check_box.vi ‏121 KB

    Ok, I figure out, how to implement cluster->array; also add "visible" property; but I still don't know how to create "auto position", if I'd like just show for example 1,3,5 graph(all 3 must be inside TAB, also there can't be any free space from graph 2,4 in this case...). Please look my files (v.8.5, i can save to any other version up to 2011);
    thanks
    Rookie; LV 2011 on WIN 7
    Attachments:
    button.vi ‏110 KB
    1.PNG ‏46 KB
    2.png ‏121 KB

  • Multiplot waveform graph plots are different colors when set to be the same with a property node.

    The graphs were working yesterday. I made a few changes to another part of the block diagram and now the graphs do not plot all of the plots the same color. I am using a for loop with a property node with the elements active plot connected to the iteration terminal, and plot color to a color box. My for loop increments programmaticaly from another part of the code to create plots as it runs. I have replaced the graphs with new ones and they will work sometimes.
    I am using Win2k and LV 7.1
    Thanks,
    Brett

    Hi bh3560,
    Have you tried chaging the color by right clicking on the line in the plot legend.  There is an option to change the color of the plot.
    Brian K.

  • Linking property nodes to two cursors in one graph

    Hello,
    I have got one graph with 2 cursors. And I need to by able to set the coordinates of each cursor by using property nodes. However, if I click right button mouse button - create - property node - cursor - cursor position - -then there are only 3 possibilities "All elements", "X", Y" which links only to one of the cursors (actually I don`t know which). How is possible to link 2 cursors`s position property nodes to 2 cursors in one graph?
     Thank you a lot for discussion.
    Martin Pekar
    Solved!
    Go to Solution.

    Also, if you have more than a few cursors, you can make the code more scalable by using an array of positions and a FOR loop as follows.
    Now the code automatically adapts th the number of cursors you actually have.
    (Of course all other common sense applies, for example only set this when the position changes. Don't write the same cursor postions with every iteration of the loop over and over. )
    Message Edited by altenbach on 05-06-2009 06:25 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    MulticursorII.png ‏4 KB

Maybe you are looking for

  • Problem with JPanel on Mac

    Hi, I have a Jpanel with BorderLayout which has two components. First one is a JScrollpane which sits at CENTER and another is JEditorPane which sits at south. JScrollPane itself is over a JEditorPane ..... PROBLEM is I can't see the component sittin

  • Notification Center item expiration date?

    You can set Notification Center to display X number of "recent" items, but is there some way you can set those items to drop off the list after a certain amount of time? I don't need things like this cluttering up the list, and I don't want to have t

  • Itunes says "your request is temporarily unavailable to be processed, please try again later" what do i do??

    i try to go to purchase history in iTunes and it says "your request is temporarily unavailable to be processed, please try again later" i have tried again later and i have the latest update for iTunes, please help

  • Checkbox (check all) in interactive report behaves not as expected.

    I have created an interactive report with one column being apex_item.checkbox (1,key,checking_expression). To be able to check all rows, I have put the following code in the column's heading field: <input type="checkbox" onclick="checkAll(this)" valu

  • Invalid Switch Executive References (once in while)

    Hi there, a colleague of mine is using a self-written little LV-sequencer to do UUT testing. At the beginnig of his "test sequence" he opens the corresponding SE-Session and does not close it before having performed the last test on the last UUT. He