Programmatic legend plot name display

All,
I'm writing a VI that displays multiple wave forms that are calculated from data that is read in from multiple .csv files. Each data file provides data for 32 plots.  I have it set up to read in anywhere from 1 to 10 data files, and am using "strip path" to name the data in the legend via property node "ActivePlot -> PlotName" in a loop.  So I have anywhere from 32 to 320 plots on my xy graph with anywhere from 1-10 plot names(32 like filed plots get the same name).
The Problem:
I only need to the display one plot name for each data file in the legend (i.e. plot 0 for each data file), but the legend is linear in that it displays plot names in the exact order of plotting.  Outside of completely reordering the plot array, does anyone know of a more elegant way of coercing the legend to display only specific plots? I can't find anything in property nodes that does this and haven't stumbled on this problem in the forum (hopefully I didn't miss it).
Thanks in Advance!

Although you are not using the waveform plots you could still employ a similar approach.
Your data is an array of clusters where each cluster is a data set and a set of properties like string name, int color, enum y-axis....
when you lopt your data, use a subset of the array containing only the clusters you wish to plot, then use these extra fileds to adjust the plot index properties.  Although this requires programming, you can make it very scalable (ie add new mata data fields to your cluster and add code to use them) and use the power of the original plot ledgend (that has huge number of features that would be hard to replicate). 
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA

Similar Messages

  • Mixed Signal Graph Legend Plot Name and Graph Area Y Scale Name hidden

    I have a customized mixed signal plot grpah and it when the plot names are written to it, it autosizes things and they are in chaos with overlapping text.  Is there a way to fix this?  I am also expereincing several labview crashes...
    Attachments:
    Mixed Signal Graph Problem with Legend and Y Scale Fit.vi ‏9 KB

    Hi id,
    i am having the same problem, 
    if you were able to fix it, can you please share your fixing method.
    appreciate it
    Thanks

  • How to adjust plot names visibility in the legend of a XY-graph automatica​lly

    I have a XY garph that shows 3 plots. Sometimes I need to close some plots on the graph. I can do it. But I also want to delete the plot name on the legend of the graph too, I could not do it. How can I do it? The program is attached.
    Egemen
    Solved!
    Go to Solution.
    Attachments:
    P-h diagram maker representation.vi ‏29 KB

    The solution is actually a bit more complex than you may expect, since you have to change both the plot and the plot characteristics.  Attached is something that should work, although it is not very optimized and has some momentary, expected, display glitches.
    I do not have LabVIEW 2009 on my development computer, so I edited it in LabVIEW 2011 and saved for previous.  I don't think I used anything new, so it should work.  Let me know if you need more info.
    This account is no longer active. Contact ShadesOfGray for current posts and information.
    Attachments:
    P-h diagram maker representation-3.vi ‏26 KB

  • How to programmatically change plot legend

    I have a chart on which I'll plot one or more signals. I can't predict
    the signal names in advance so I'd like to programmatically change the
    legend(s). Is there a way to do that in LV 6.1?
    Thanks,
    Dave

    Yes.
    - Create a property node for the chart
    - add elements for "Active Plot" and "Plot -> Plot Name"
    - Wire an index of the plot name you want to change to "ActPlot"
    - Wire an string with the new name to "Plot.Name"
    A simple implementation would be to make an array of new names and then auto-index a for loop with the increment counter tied to "ActPlot".
    Good luck.

  • Waveform Plot Name in Legend Reverts to default even if I change it with a Property node

    I have a waveform chart where I am trying to name the plots different titles, so that they appear in the plot legend with a meaningful name, rather than 'Plot 1', 'Plot 2', etc.
    However, no matter what I do, if I try to change plot 0's name to anything, the plot name changes for a split second, and then reverts to the name that it originally had.  I can succesfully control the names of the other plots, but not plot zero.  I have enclosed the VI with the graph control, which I cut and pasted from another VI. 
    It seems that the properties of this control (though it is not  a custom control) are set, and that these settings take precedence over the Propery Node Instructions.  Is this a bug, or am I missing something.
    Try it for yourself.
    Wes
    Wes Ramm, Cyth UK
    CLD, CPLI
    Attachments:
    Untitled 1.vi ‏14 KB

    Ignore attributes help says;
    If FALSE (default), the plot names in the plot legend automatically adapt to the plot names in the dynamic or waveform data attributes. If TRUE, the plot names do not adapt to the dynamic or waveform data attributes. Change this property to TRUE if you want to change the plot names. This property applies only to graphs and charts with dynamic or waveform data.
    Trying to help,
    Ben
    Message Edited by Ben on 11-28-2006 07:46 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    untitled.JPG ‏86 KB

  • Update plot name in the cursor legend

    Hi,
    I have a XY graph with its cursor legend set as visible.  The plot name changes based on the string that I sent to its property node, but I don't know how to update its cursor plot name?  Cursor is snapped to the plot, but the cursor plot name did not update.  Could anyone please help me?
    Thank you
    Solved!
    Go to Solution.
    Attachments:
    cursor.PNG ‏31 KB

    Here's a hint:  I found that if I toggle the Cursor.Cursor Mode from 0 to 1, then the cursor name changes. 
    "There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal

  • Can I detect a plot name change event in a plot legend?

    I'd like to update a configuration file if a user changes the name of a plot in the plot legend.
    The events I see for plots are:  value change, autoscale range change, plot attribute change, and scale range change.
    Plot attribute change does not seem to include anything that looks like plot name, and the others obviously don't contain that info either.
    Is there any way to grab this event?
    Thanks.
    Solved!
    Go to Solution.

    Jordan,
    First off, remember that there is no single way to code anything, so I can offer one possible solution for you, but it is definitely not the only one.
    LabVIEW does not have a property to check if the name has been changed through an event structure, but you can create your own events that LabVIEW can read. I found this really good document that might help you. Read through this and mess around with it and see if it gets you anywhere: Creating User Events
    Once you get it to trigger the proper case, then its just getting that case to update the file you would like.
    Another possible workaround, although not ideal, is to create a string control and have that be on top of the plot name. You would be able to then produce an event from that string changing value.
    Hope this helps.
    Douglas C.
    Applications Engineer
    National Instruments

  • 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

  • Legend Plots Shown change details

    I today noticed LV 8.5 has changed the XY Graph "Legend Plots Shown"; it now reads in its description that is no longer supported and that Legend : Number of Rows has taken its place. There were several forums discussing an error 1077 when not setting Legend: Plots Shown before changing Plot properties using Active Plot (i.e. this forum). Where I had used this property before, it seems I can take it out without the error 1077 being thrown. It seems I do not need to set the Legend: Number of Rows OR Legend: Plots Shown.
    I was wondering if anyone could expound on why the change was made, and whether I have to worry about this error again (i.e. can I take out the Property Node as it seems?).
    Michael

    Michadl,
    I can't answer your question specifically, but here's how I set the number of plots and their names in the legend of my graphs from control inputs:
    Message Edited by Bill@NGC on 02-09-2008 01:50 PM
    “A child of five could understand this. Send someone to fetch a child of five.”
    ― Groucho Marx
    Attachments:
    plotattributes.png ‏10 KB
    waveformgraph.png ‏45 KB

  • Long plot names

    hi
    I am trying to update the plot names according to the files I open (the plot gets the files name).
    my problem is I can only have 12 characters in the plot name and could not enlarge the plot name area. any suggestions?
    thank
    Amos
    Attachments:
    graph.png ‏50 KB

    amose wrote:
    I am trying to update the plot names according to the files I open (the plot gets the files name). my problem is I can only have 12 characters in the plot name and could not enlarge the plot name area. any suggestions? ... I have LV 6.1
    Amos,
    Unfortunately, LV6.1 doesn’t have the AutosizeLegend property.
    If you're interested in doing it manually:
    Use the positioning tool to resize the legend from either left corner. That increases the width for the plotname.
    Programatically:
    Unfortunately (again), you can't use the graph's Legend:Width property because it expands/contracts on the right side … which is the wrong side for the plotname.
    If you have more than the base LabVIEW package, you could do something like the attached which uses an array for the plotnames and makes use of Get Text Rect.vi (which is not in the base package).  
    =====================================================
    Fading out. " ... J. Arthur Rank on gong."
    Attachments:
    PlotNameWidthChanges_61.vi ‏40 KB

  • How can I change the name displayed in the "TO" field of Mail.

    Recently, all incoming email now displays the name of a family member in the "TO" field.  I have checked mail preferences and the email account information has not been changed.  How can the name displayed in the TO: filed be changed?

    .. sounds like you created your Mail account with your family member's name but used your email address wen you created the account.. check your Mail/Preferences/Account then check System Preferences/iCloud or System Preferences/MobileMe

  • Month name displayed in month calendar view for previous month

    In iPad IOS 7.04 iCal month view the month name displayed at the top of the window is incorrect. The previous month name show when viewing a calendar month. Test by selecting year view and the any month from the year. The month view will be for the selected month, but the month name will be for the preceding month. The incorrect month name in month vie is also displayed if the month view is scrolled to new months.
    I observe this on my iPad II.
    Ha s anyone seen this error? Does anyone know if Apple has seen this and has a plan to correct it?

    Imhave the same exact problem on my iPad2.  It was not fixed in the recent iOS 7.1 release, even though modifications were made to the calendar app.  Very frustrating, since this is such an easily observable problem.

  • Variable names display problem

    I have three transparent text captions that are set to display from slide 1 through to slide 32 (using the option "display for rest of project").
    The variables I am displaying are:
    In the header:
    $$cpInfoProjectName$$ - displays the name of the lesson module.
    $$cpInfoCurrentSlideLabel$$ - displays the name of the current slide.
    And in the footer:
    Page $$cpInfoCurrentSlide$$ of $$rdinfoSlideCount$$ - displays the current slide number and the total number of slides in the lesson.
    The problem is that the variable names display long enough to look somewhat unslightly. It might be for about 1/3 of a second but it is long enough to screen capture (attached just in case I am not clear enough in my description) this appearance before they resolve into their values.
    This is rather annoying, since a student will see this occur for every slide.
    Is there anything that can be done to fix this? Perhaps using a text caption is not the best way to display these variables?
    Hmm... I wonder if creating a small persistant flash insert would be better?

    I have seen that aswell Shawn. It seems like the variables are a bit slow to be populated with the correct value and then it will show the $$variable_name$$.
    A Flash component would solve it and it won't take more than 5 minutes to make them all.
    /Michael
    Visit my Captivate blog with tips & tricks, tutorials and Widgets.

  • "My Music" app .. song name displayed in error

    Hi,
    I have a C1-01. I have stored some mp3s on the memory card, and I checked with an ID3 editor on my PC, they have their ID3 tags correct. But in the "My Music" app on the phone, when I go to "All Songs", many songs have their name displayed in error (they have extra information that I deleted from their ID3 tag). Eg: I have changed the "title" field of a song to say "Welcome", but in the song list, it is displayed as "Welcome - mp3albums.net". I checked with the ID3 editor software on my computer, the song has just "Welcome" for its title field. The music player on the phone is picking up the extra information from I don't know where. I updated the music library on the phone, it doesn't help. Switched off the phone, removed the battery, waited for a few minutes, switched on, same problem. Deleted temp files on the memory card, and the .trash folder on the card, same problem.  Any ideas?
    Also, is it possible to change the font size in the music player to extra small font?
    (My phone has the latest software update, version 5.50)
    Thanks.

    There are several versions of ID3, did you change ID3v1? or V2? what editor do you use anyway? I've found mp3tag to always be correct
    If you find my post helpful please click the green star on the left under the avatar. Thanks.

  • How to find the Actual Responder Name Displayed in a Notification

    Hi,
    Where are the details of the Actual Responder Details stored in the case of the below scenario
    If a notification for one user was closed by another user through access to the first user's worklist, the name of the second user, who actually took the action, is displayed as the responder.
    I am only able to find the Original Recipeint username in the wf_notifications table.
    But where will the details of the Actual Responder name displayed in the notification be stored.
    When I use the "wf_notification.Responder" function, I get the Original Recipeint username of the user but not the one who acted on the notification. Is there ANY way by which I can get the Actual responder user name who acted on the notification
    select responder from wf_notifications where notification_id = <nid> also gives me the Original Recipeint username of the user but not the one who acted on the notification
    Please help.
    Regards,
    Kalyan

    Hi Alejandro,
    Thanks for the response.
    Both the RESPONDER and the ORIGINAL_RECIPIENT Column show the same username.
    The User who is approving the Notifications is having the access to the Worklist of the Original User through proxy.
    He is the proxy of the Original User.
    I think WF_ENGINE.context_proxy will store the actual user name who responds to the notification. But where does this actually store , i am not able to get.
    We Need to find out the both the user names (one who received the notification , and the one who has approved it (in our case it is the user who has been set as a proxy and has access to the original user's work list) for the closed notifications.
    In the Work flow Notification , it shows both the Original Recipeint and also the Actual Responder Name.
    Regards,
    Kalyan

Maybe you are looking for

  • Insufficient Hard Drive Space in Windows 7 after upgrading from XP Bootcamp

    I just upgraded from windows xp to windows 7 via bootcamp with success; however, I find the hard drive space diminished. I originally had 32gb partition for xp and continued to use that allocation space since my macbook pro has about only 120 gb tota

  • How to Handle Multiple row sets in BPEL

    Hi, I'm going to return list of records from a stored procedure, and try to catch it using BPEL and then those records should be insert to another stored procedure to insert those values to a Table. (Second Stored Procedure will do the INSERT functio

  • HT204380 FaceTime, iMessage ,wifi , iPad

    I can't get my face time to work on my iPad 2 , my wifi is turn on and it is working , I am signing on with the right apple Id , but it keeps coming up check network or app Id , I'm finding the same prob when I try to do the iMessage, it is all Work'

  • Customizing X scrollbar of a waveform chart

    The problem of the X scrollbar of wavechart is that it's a one color scrollbar and the contrast between the background and the foreground of that scrollbar is not strong enough. So i tried to modify it using the "customize control" option. But i can'

  • SAP LDAP Connector / UME LDAP and Global Site Selector (GSS)

    Hi, I'm wondering if SAP LDAP Connector / UME LDAP will work with Global Site Selector service, such as  CISCO GSS 4400 Series, so that GSS can provide load-balancing for LDAP access. If it works, is there a specific configuration on the SAP side? Th