Multiple plots in one graph (LabVIEW to Excel)

Hi All-
Reference this initial discussion: https://forums.ni.com/t5/LabVIEW/Place-Multiple-Data-Sets-on-One-Graph-LabVIEW-to-Excel/td-p/2164380
Problem description: Generated multiple 2D arrays with different x-axis and y-axis values cannot be placed into ONE excel graph (looking for LabVIEW solution). 
We tried several options.  1) Coercing the data to have the same x-axis works in the sense that I get a graph (of the multiple data sets) but the graph is bogus since the x-values are different enough that the graph isn't correct.  (This was suggested in the referenced post).  The x-values are output power and y-values are efficiency.  2) We can feed the x-values and y-values into a bundle element and wire the output into a waveform graph element which works great but again the output needs to be fed into excel.  (also suggested by the reference post).  3) Lastly, we tried using the Excel Update Graph.vi but unfortunately we were only able to plot the last data set because it looks like the graph gets updated on each loop run and ultimately we only get the last data set.  4) As a final effort we tried looking into the sub.vi but that didn't get us any closer to x-values and y-values plotted in excel with LabVIEW generated data.
Any suggestions?
Thanks! 

Hi,
You attempted to invoke nodes? Add a  invoke node of the waveform graph, so this add data to excel. There are several types of  invoke  nodes that can be used, such as  invoke node "Export data to Excel" or the invoke node "Export data to excel Plot".
Regards
Hector
Attachments:
Export Data to excel from a waveform.vi ‏34 KB

Similar Messages

  • MULTIPLE PLOTS IN ONE GRAPH

    Hello All,
    I have some doubt regarding the plotting of graphs.
    I am plotting 8 graphs on one graph.
    I have 8 different X scale and 8 Y scale.
    I have 5 cursors on each of the plot.
    When i move my cursors, I want that they should not move beyond the scale limit.
    For eg: I have all the X scale as 0 to 400 and i dont want my cursor should go beyond the scale.
    I am using an event case and i have set the limit of the scale as a property node outside the event struture. but that makes my graph to flicker.
    Can anyone help me on this?.
    Thanks a lot
    With regards
    Avni

    Have you tried unchecking the Cursors Scroll Graph option? It's under the Advanced options when you right click on the graph.

  • Help:allow the user to select which 3 waveforms he want and plot in one graph

    Hi all
    I have a question and  I am kind of lost. I used block diagram to generate 5 Waveform and I want to give the user the ability to pick up three waveform in plot it in one graph.
    I tried to to do in formula node but as I know I can't wire it together .
    can any one tell me how to fo it
    thanks

    never get own wrote:
    thanks for ur respond
    i will be generating the waveform from block diagram. my only questions how can i plot them together in one graph or chart.
    lets say i have sin, triangle, square waveform and need to plot them all in one graph.
    Use an array. Please look at the examples that ship with LabVIEW. They show you how to use the chart, waveform graph, and XY graph. If you turn on Context Help and place the cursor on the graph's terminal on the block diagram you will also get a short review of how to send data to the chart/graph.

  • Two plots on one graph....

    Hi
    I am running a project where I need to follow a plot on a graph. Currently both the plots are being plotted on the graph at the same time (i am using a waveform chart) so it is hard to follow as I have to anticipate where it will be next.What i would like to do is have the plot I want to follow already displayed on the graph and then as I run the VI the new plot is written in real time.
    Is this possible?

    Here's what I had in mind (LabVIEW 8.2)
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    IncrementalPlots.vi ‏14 KB

  • Creating Multiple trendlines on one graph

    I'm showing a density relationship and not all of the weights or ml's are the same. Is there a way I can graph this? Or is there a really good tutorial somewhere? I've been searching but maybe I'm not using the right words.
    ex.
    zinc, 3.1g/.5ml 2.6g/.41ml etc.... I know how to get a get a line for that but if I want to add
    copper 4.6g/.60 ml, 2.9g/.39ml... etc to the same graph, how will I keep them separate? I'm unable to create multiple trend lines on the same graph.
    thanks

    You need to plot two series of data to have two trendlines. It would make sense to have two series anyway because you have two different materials.
    Zinc X values (ml?) in column B
    Zinc Y values (g?) in column C
    Copper X values (ml?) in column D
    Copper Y values (g?) in column E
    Select all four columns, create a scatter chart. Create trendlines for each series.
    If you already have the two columns for Zinc, just add the columns for copper and add them to the chart. Select the chart and you'll get a box around your data. Drag the little circle in the lower right to expand the box to cover your two new columns.
    You can also make the same chart with only three columns (one X and two Y) but it's a little more difficult.

  • Merge multiple tables into one for export to excel

    I've got a few tables in Numbers, and I've spent ages making them all look the same, then when I exported to an excel file, they split up into seperate tables. How can i merge all these into one table so they can all be viewed in Excel, without losing the cell shading/borders etc?
    I tried just copying/pasting the tables into a new blank table, but this doesn't paste the borders etc...
    Cheers
    Adi

    Adi,
    Fill color will copy and paste, as will Text styles, but borders will not when pasting into another table. My suggestion for future work is to not use fancy borders, or don't apply them until you have combined the tables.
    If you would like Apple to consider changing the behavior of borders during Copy/Paste operations, you can leave Feedback for them under the Numbers Menu.
    Jerry
    Message was edited by: Jerrold Green1

  • Multiple Plots & Scales On 1 Graph

    Hi
    In one waveform graph how we can plot two data with different y-axis i.e.. Multiple plots in one graph
    thanks

    Hi Husssey,
    "right-click" is your friend!
    - Right-click the Y axis and select "duplicate axis" to create an additional Y axis. Now right-click that new axis and select "swap side" for your convenience...
    - Show the plot properties. Right-click the plot and select your "Y axis" to attach the plot to...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to get bar plot stacked in one graph?

    Hi there,
    I am having a problem trying to get a stacked bar plot in one graph. I attached two images to show you what it looks like now and how I would like it to look.
    At the moment I am making two x,y clusters, bundle these into an array and give that as input to the XY graph. This gives me the image where the bar plots are shown next to each other. However, I want them to be shown on top of each other and I cannot find a way to do this.
    I searched this forum and the help and looked at the available properties for the XY graph, but it seems impossible. So I was wondering if anyone here is able to help me solve this.
    Thanks in advance,
    Steph.
    Attachments:
    current.png ‏7 KB
    wanted.png ‏10 KB

    Thanks! Maybe I am not understanding the terminology and a "stack graph" may not be what I am looking for, but here is my small example.
    DATE
    DATA 1
    DATA 2
    1/2008
    3
    4
    2/2008
    4
    8.5
    3/2008
    6.58
    38.9
    I would like to do a bar graph where DATA 1 AND DATA 2 overlap each other like Steph's example of a stack graph.
    and the "DATE" will be on 'x-axis'  while data 1 and data 2 will be values show on the y-axis. (Note: data 1 will always be data 2, it will show up with two colors where one color is always taller than the other).
    Is this stack graph the right path? I am new at using the graphing icons in Labview, I do not even know how to I would go about loading these as inputs to the VI.
    Please advise me on the right path. Thanks again!
    Eileen

  • How can I draw two matrixes in one graph???

    I have to draw two matrixes in one graph.
    Matrix size is 10 X 100, 10 X 100.
    Help me!
    Have a good day!

    You can do this by adding multiple plots to the graph's plots collection and then plotting each matrix on its own plot. The easiest way to add additinal plots to a graph's plots collection is to right-click on the graph in the dialog editor, click on Properties, click on the Plots tab, and then click the Add button to add additional plots.
    Now if you have a member variable for the graph in your dialog class (let's call it m_graph for this example), you could do this:
    // Plot the first matrix
    m_graph.Plots.Item(1).PlotXY(/* Your first 10x100 matrix data */);
    // Plot the second matrix on a different plot, but same graph
    m_graph.Plots.Item(2).PlotXY(/* Your second 10x100 matrix data */);
    - Elton

  • Multiple plot (XY) from Read Mes. File

    Hi!
    I have two measurnment data files, but the x and y values is not same.  I would like to plot in one graph. I try some method, but is not work.
    Please help!

    Hi Slorant,
    You can make it work by using Signal Manipulation functions from the Express Palette.
    First, convert both measurements to dynamic data (To DDT), you can choose your type of signals in the configuration window, or if you double-click the node.
    Second, append the two dynamic data signals with the Merge Signals node.
    If this does not return the result you are looking for, we will need more information to assist you. For example, what type of measurement file do you have? What data type are the waveforms you want to plot?
    Let me know how it goes!
    Patricia

  • Hao to display two lines in one Graph

    Hi, I want to display two lines in one graph in different color , what should I do? Thanks.

    Hello Carlos,
    the help window for a waveform graph/chart only mentions "single plot
    with waveform datatype". To get more plots on one graph you have to
    build an 2D-array  of  points. Just look at the help window!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to Send Multiple Plot XY Graph from LabVIEW to Microsoft Excel

    The link below describes exactly what I would like to do, however the link to the solution/work around does not work.
    Has anyone got an alternative solution?
    http://digital.ni.com/public.nsf/allkb/CFD30D5E9C01AB5386256CFB0082AF3E

    Please check the link again as it seems to be working fine now.
    How to Send Multiple Plot XY Graphs from LabVIEW to Microsoft Excel:
    http://digital.ni.com/public.nsf/allkb/CFD30D5E9C01AB5386256CFB0082AF3E
    The standard Excel Insert Graph.vi cannot insert multiple XY Graphs to Microsoft Excel, so you will need to use the Report Generation Toolkit for Microsoft Office.  You will find a link to an example program at the bottom of the page.  I have also attached it below.
    Attachments:
    example.zip ‏35 KB

  • Turn off a single plot of a multiple plot waveform graph

    I have a multiple plot waveform graph (4 plots). I want to turn off one of the plots, say plot 2. Is this posible from the graphs property node? The property node seems to only give a reference to plot 0. I am using labview 7.
    Cheers,
    Wayne

    I think you can use "active plot" together with "plot.visible"
    property node to control which one you'd like to display. By default,
    the property node refers to plot 0, but you can change to plot 1 or
    other plots by changing active plot property node. You can search
    "Plot" in LabVIEW Help if you'd like to know details.
    Good luck,
    Jian
    On 18 Feb 2004 03:28:49 GMT, [email protected] (Computerman74)
    wrote:
    >>
    >>I have a multiple plot waveform graph (4 plots). I want to turn off
    >>one of the plots, say plot 2. Is this posible from the graphs
    >>property node? The property node seems to only give a reference to
    >>plot 0. I am using labview 7.
    >>Cheers,
    >>Wayne
    >>
    >>
    >>
    >>
    >>
    >>
    >
    >I would love to know if this is possible. I have been trying to figure i
    t out
    >myself.
    >There is a way to turn a single array off and that is what I am doing for now
    >untill this is possible. The plot is still there but reads zero when tunred
    >off. It would be cool to have the abillty to turn off a single plot.
    >I have tryed all the property nodes with no luck. The answer may be in the
    >array size but I can't seem to control that either.
    >For now you can use wire all 4 channels using the comparison select. Use a
    >constant of 0 And wire up a swtich. When the input is false the output is zero
    >in effect making the plot inactive but it still there.

  • How to add multiple plots programtic​ally to XY graph.

    Hello,
         I am new to Labview.My code is reading Voltage value from no. of Power supply & storing in 1D-array of string. No. of power supply will depend upon user selection. Now I want to plot all these Voltage's value to XY graph,in which X is time stamp at which  value is read & Y  is Voltage value.
            Please suggest me a solution to add multiple plots programtically according to the no of power supply, so user can have a one XY Graph with multiple plots of  Voltage's value of each Power supply.

    Better hide from the front panel. In my projects user used to had 6 plot at the maximum. Before plotting I used to ask how many parameter you want to plot. All the time I used to plot 6 plots only but visible according to parameter selection done by user.
    Here is what I used to do
    Kudos are always welcome if you got solution to some extent.
    I need my difficulties because they are necessary to enjoy my success.
    --Ranjeet
    Attachments:
    Plot.jpg ‏215 KB

  • How do you get multiple plots to show up on the same graph?

    I am trying to get multiple (20) plots to show up on the same XY
    graph.  My data set is a 2D array, which exits a for loop. 
    The ultimate goal is to have one plot show up after each iteration of
    the for loop.  I can only get all 20 to show up at once, not one
    at a time.  Any suggestions?
    Thanks!

    Here is a sample in 7.0 format.
    Attachments:
    20 plots on XY graph.vi ‏31 KB

Maybe you are looking for