Multiple waveform chart automatic plot

Hello
I need to plot multiple signals in the same waveform chart. The problem is that the number of signals is not constant. I have a control that enables me to change the number of signals to plot each time I run my VI. Is there any way to do it?
Thanks in advance.
João

Hello,
I don't see many other way to do this...
You could also manualy  enable or disable charts but i don't see a way to do this in a synamic way...
Regards
Richard Keromen
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
>> Découvrez, en vidéo, les innovations technologiques réalisées en éco-conception

Similar Messages

  • Legend for multiple waveform chart

    I have a Waveform Chart (and legend) with multiple waveforms.  I can control the visibility of a given waveform on the chart programmatically using the "ActPlot" and "Plot.Visible?" properties.
    Is it possible to programmatically make the legend only contain the plot names that are visible at any given time?
    Cheers,
    Dan
    Dan
    CLD

    Hello DanB,
    Following along the lines of what smercurio_fc suggested, you can use the Legend>Number Of Rows property (LegNumRows) to change the number of rows of your legend to the number of plots you are viewing, and then use the Plot>Plot Name property (Plot.Name) to edit the names of the plots yourself. I cannot see a property to extract these names dynamically, so this is probably your best bet.
    I hope this helps, otherwise please do let us know if there is anything further,
    Kind Regards,
    Michael S.
    Applications Engineer
    NI UK & Ireland

  • Synchroniz​e reset of multiple waveform charts

    My main VI has multiple sweeping waveform chart, base off the Continuous Measurement and Logging template. I want to be able to change x axis range (toggling between 10 seconds of data and 3 seconds of data)
    I did it by changing the X scale range min to zero and max to the appropiate sample size, and clear the history. While this works for each chart they always ended up off sync instead. 
    At first I thought that's because I put it in a ub VI. But moving everything to te main vi does not change the behavior.
    Any ideas? Thanks.
    Solved!
    Go to Solution.

    Well those all have to run sequentially in the UI thread so there is no way to do them "Simultaineuosly"  HOWEVER, if you bookend those property nodes with an Involk of the method Defer FP Updates (True then False) you'll see much more what you expect.
    Tighter alignment of the "Clear Histoys" would also be done by splitting up your p-nodes so do all of them at first then change all the scales.
    Jeff

  • How do I get accurate timing informatio​n in a waveform chart?

    I am currently using a waveform chart to plot 4 different plots, each with it's own axis. The data for the chart is being generated by a while loop, which is gathering data from two different GPIB devices. The reason I use a chart is because I need to see the plotting being done real time. The problem is, I have no way of knowing how fast the while loop is running (or will be running), and thus no way to set an x-scale multiplier that provides accurate time. Is there a way around this? I would use the waveform data type, as it includes timing information, but that requires me to limit how fast the while loop can run, and I need it to be running as fast as possible, and also from what I understand, doesn't support multiple plots. Thanks for any help!
    Geoff

    Hi Geoff,
    The big problem here is that Windows is not a deterministic operating system and therefore you will not know in advance how fast the while loop will run. You can run your while loop without a wait which will acquire as fast as Windows will let it, however you are still not guaranteed a fixed interval between iterations and you will most likely eat all your processor time on this one application. One option for you is to get a timestamp in every iteration of the loop and construct a 2D array. One column for the time values and another for the retrieved values. You can then plot this information on a XY graph. Best of luck!
    Regards,
    Chris J

  • Trouble using a mask on a waveform chart

    I have created a waveform chart that plots the
    temperature readings from my thermocouple.  It is making continuous
    readings, and I can take the data from the text file I created and
    graph it in excel and everything is fine.  However, my temperature
    readings have to follow a standard temperature vs. time curve with a
    limit of 10% error.  Since I need to me able to compare the live data to the standard curve, I created a mask by inputing the data points for
    the upper and lower limits and hooked it up, and now my chart will not
    work.  When I checked the data on the text file it only makes 3
    readings and then starts over (i.e. gives a reading at 0 sec, 1 sec,
    2sec, then starts over).  I have tried using N readings instead of
    continuous and nothing seems to work.  Can anyone help?
    Thanks!

    Carla,
    Attached is the program I made.  I am using Labview 8.2 with a NI cDAQ-9172 chassis, and a NI 9211 input module.  By inputing data points, I meant that I took the required data from the temperature vs. time curve I have to follow and placed them in the table that the masking.vi allows and set dx=1. 
    Basically, what I am expecting to happen is that I will have a chart with streaming data of what the current temperature inside the oven is, along with the upper and lower limits of what the temperature can actually be.  This way, I will know whether I need to heat the oven up more or cool it off (the testing will last 4 hours).
    I attached an excel file of the actual curve to give you a better idea of what I am talking about.
    Thank you for the help.
    Attachments:
    Tempcurve1.xlsx ‏16 KB
    Burner(testing)1.vi ‏393 KB

  • How can I update the x-axis to match a time reading in a waveform chart?

    I am recording data in real time and displaying it in a waveform chart. However, I have yet figured out how scale the x-axis to match the actual time scale of my data. I've played with the accompanying property node but that has not produced the desired result. My guess is that there is a combination of xscale.range.maximum and xscale.multiplier values that need to get updataed in a certain way, but how is still unknown to me. If you could assist I'd appreciate it.

    Nobody has recomended using a Waveform Chart!
    A waveform chart will plot the points based on the "t0" of the waveform.
    The waveform chart will maintain the buffer so all you have to do is apply the new data.
    The "t0"'s of updates from more than one plot do not have to match-up.
    See the attached LV7.0 example and jpg.
    Ben
    Note:
    "t0" values for an individual plot must be increasing values.
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    Wform_Times.vi ‏58 KB
    Wform_Times.JPG ‏102 KB

  • Waveform chart sweep rate

    I inherited this application and am a beginner to LabView. I am hoping someone can give me some idea about the problem I am having.
    The application originally display data using a set of waveform charts (sweep plot). I need to add a new set of charts that do the identical thing with slightly different data. Most of the charts are working great, except one. Somehow this one chart is sweeping twice as fast as the others. My new charts all started as clones of the original charts, so I don't understand why one is not working like the others. I didn't see any properties that appear to affect the sweep rate in my vi either.
    I'd appreciate some starting point to look what can be causing the faster sweep rate.
    Thank you very much.
    Solved!
    Go to Solution.

    You will probably need to post code or screenshots to get some useful responses.
    That said, there could be a couple things at play here. The chart history length sets how much data is stored, and if that length is reduced, the chart will appear to sweep faster. It is set at edit time from the chart's right-click menu and would not be apparent from looking at the block diagram.
    Also, the chart is updated each time a value is written to its terminal so it could be updating faster if it is in a loop with shorter delay (for example). This is where it would help to see the BD.
    Finally, since you are new to LabVIEW, I would take a look at this if you haven't already:
    http://zone.ni.com/reference/en-XX/help/371361J-01​/lvconcepts/types_of_graphs_and_charts/

  • Plotting multiple graphs on one waveform chart with dynamic data types

    I'm trying to put multiple graphs on one waveform chart and having data agreement errors. I'm wondering if it has anything to do with the fact that dynamic data is being used (I've had no problems with other datatypes in the past). Does anyone know how to correct this problem? I've attached the following .VI. There will be plenty of .VIs on the bottom that won't load, but they are not consequential for this problem.
    Thanks!
    Brian
    Solved!
    Go to Solution.
    Attachments:
    Stiffness Control V1.vi ‏119 KB

    you could use stacked plots by right clicking on the chart and clicking on the stacked plots and than on the front panek you can put a bundle function on the FP and hook your signals up
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome
    Attachments:
    multiplotwaveform.JPG ‏138 KB

  • Plotting data with multiple y-axis using waveform chart

    I am using LabVIEW 7.1 and am simply trying to split my data on one waveform chart using 2 Y axis.  One goes from 0-150 and the other from 800-1000.  I want them to graph on the same chart, and I have selected 'duplicate scale' when I right click on the chart, as instructed in the labview manual, but both of my data streams are still only connected to one of my axis.  I can't get it to recognize that one data stream should go on one axis and the other stream should go on the other axis.  Can someone help please?

    Right-click in the plot legend one plot. In the context menu select y-axis and after the axis you want for this plot. The scale is changed directly.
    There is an image of the context menu attached.
    I hope this helps
    Greetings
    shb
    Attachments:
    two y-axis.png ‏16 KB

  • Changing names of labels of plots of graphs or waveform charts

    I am using a formular vi to do multiple calculations whose answers i display graphically on a waveform chart.
    the problem is that labview does not allow me to change the name of label of the result from the calculation to what i want it to be displayed as to the front panel user.
    well... it does allow me to change it to what i prefer but as soon as i run the vi the label name reverts to "result"
    is there a way of getting around this problem?

    Ok... sorry for the confusion
    see what i meant below
    if for example i am doing an efficiency calculation i would need an input and an output then i would calculate the ratio of the output to the input.
    on my graph i would want to see a plot labels named input, output and efficiency
    in the example attached i have simulated two signals and i did the calculation with the formular vi
    on the front panel i can only see plots labeled DC, DC and DC(Formular Result)
    i want to display these on my graph as Input, Outpt and Efficiency respectively
    hope that clears the confusion
    that is my problem, please give me the answer
    Attachments:
    code example.jpg ‏32 KB
    front panel example.jpg ‏23 KB

  • How can I change the color of plot in a waveform chart and graph?

    There are 4 plots in a waveform chart, from plot0 to plot3, and I want to chang the color of plots dynamicly up to my needs when the VI is running.
    For example, as show in the picture, i want to set the plot0 as RED, and plot1 is BLUE, plot2 is YELLOW, plot3 is GRAY.
    If there is only one plot, i can change it's color, however when there are more than one plot, it fail.
    How can I do it?
    Thanks
    Attachments:
    waveform.JPG ‏61 KB

    Hello MilkyStone,
    first you have to set the active plot, then change its color (or other properties). All that is done using property nodes.
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Only first plot of waveform chart has run-time menu

    Hello again all you helpful forum-goers!
    My multi-plot waveform chart is working decently well, but now for some reason only the first plot in the plot legend displays a run-time customization menu when I click on it while the VI is running (allowing me to select the plot color, etc.).  All the other plots do nothing when I click on them.  I do not have any mouse-down events or filter events of any kind in my VI.  I programmatically set the number of plots and the size of the plot legend, along with each plot's name, y index, and color.  Any ideas as to what might be going on?
    Thanks a bunch as always!
    -Joe
    Solved!
    Go to Solution.

    Okay, hopefully this will help get some more thoughts / answers flowing.  I've copied my strip chart from my actual VI into a test VI, and it still exhibits the problem.  On the other hand, I have created a new strip chart from scratch, and it works fine.  I have attached both VIs here for you to see.  My guess is that some property of the first chart is set incorrectly or something, but I cannot figure out which one (and there are so many!).
    Any assistance you can give would be appreciated. The challenge is to get the chart in the first VI working (plots other than the first responding to a mouse click to change their color or other attributes), via changing some attribute of the chart (and being able to tell me which one you changed!).
    Thank you again for anyone who can look into this.
    -Joe
    Attachments:
    Test StripChart color selection not working.vi ‏17 KB
    Test StripChart color selection working.vi ‏12 KB

  • My waveform chart is suppose to be with respect to time but I've noticed it is plotted with respect to the number of times through my VI

    I was under the assumption that waveform charts in LabVIEW 6i atomaticly displayed wired data with respect to time in seconds. However, I noticed that my chart plots data with respect to the number of data points my VI has generated. Is there anyway to fix this so that the chart actually plots vs. time. I've attached VI. The CIN is to a Computerboards Inc, thermocouple. Any help would be appreciated.
    Attachments:
    tepTInScan.VI ‏73 KB

    It appears that the chart is set to display relative time but since you don't have the acquisition in any kind of a loop, your relative time is pretty meaningless. You've got the dX of the chart set to be one, so yeah, at the beginning, the x scale numbers are going to be the same as the number of aquisitions until you've run it more than 60 times. At this point, you'll see the x scale show minutes and seconds. If you want absolute time for the x scale, look at the examples Real-Time Chart.vi or Variable-Time Chart XY.vi.

  • Waveform Chart NOT allowed inside array of clusters; Dynamic plot stacking?

    The NI Developer Zone has a VI that does something I want - dynamically
    stack plots in a useful way. Unfortunately, I would like those plots
    to actually be Waveform Charts and NOT Waveform Graphs (as the
    documentation specifies but LIES!)
    A little further experimentation shows you that it is seemingly not
    possible to make an array of clusters that contain Waveform Charts!
    Why?
    Alternatively, are there any other ways to smartly show many signals at
    once? I have found multiplots to be frustrating as it is difficult to
    assign the number of plots once you start the VI (hence the existence
    of Dynamic Stack Plots).
    DynamicStackPlots here:
    http://sine.ni.com/apps/utf8/niepd_web_display.display_epd4?p_guid=B123AE0CB938111EE034080020E74861

    If you have LabVIEW 8.0, have a look at the new "Mixed Signal Graph"
    (see e.g.: http://zone.ni.com/devzone/conceptd.nsf/webmain/C6B79FA61959D9D68625706E006F7462 )
    LabVIEW Champion . Do more with less code and in less time .

  • Any alternate solution to using Waveform Chart Property Nodes 'ActPlot', 'Plot.Visible' for mulit-plot color problem on PDA?

    Hello,
        On a waveform chart, 4 signals need to be plotted based on the status of 4 boolean inputs. Eg. if the first boolean input is true, the first signal needs
    to be visible on the waveform chart; if the first boolean input is false, the first signal should not be visible on the waveform chart and so on. This can be
    done on LabVIEW desktop using the Waveform Chart Property Nodes 'ActPlot', 'Plot.Visible' - a sample VI "BundleSignals_Select_Desktop.vi" is attached for
    reference.
        But on PDA, since the Waveform Chart Property Nodes 'ActPlot', 'Plot.Visible' are not supported, some other method has to be used. I have done the
    selection/de-selection of these signals using 'Insert', 'Delete' array functions as shown in the attached VIs "BundleSignals_PDA.zip" which works, but the
    problem is that the colour of these signals do not work as desired when the selection/de-selection of these signals is done - It is required that the first
    signal should always appear in White color, the second signal should always appear in Red color, the third always in Green color & the fourth always in Blue
    color.
        I hope i have made myself clear of the problem. Has anyone faced this problem before & is there a solution?
    Note: Version of LabVIEW that we are using: LabVIEW 8.5 Professional Development System for Windows Vista/XP/2000 and LabVIEW 8.5 PDA Module for Windows
    Mobile.
    Thanks & Regards,
    Subhashini
    Attachments:
    BundleSignals_Select_Desktop1.vi ‏25 KB
    BundleSignals_PDA.zip ‏26 KB

    Unfortunately the only alternative to using property nodes is to set the properties manually on the development environement. The limited size of memory does limit us in terms of features for the module.
    Mehak D.

Maybe you are looking for