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

Similar Messages

  • 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 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 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

  • Combine two channels on one graph

    I need to add a second channel, coming from same instrument, to the existing acq&graph Voltage VI (see attachment). I want to get two voltage curves on the same amplitude vs time graph. I configured the second channel and created a task, which also works on a that single channelled VI. Thanks a lot in advance
    Vitaliy
    Attachments:
    Acq&Graph Voltage-Int Clk.vi ‏57 KB

    I have two tasks for each channel. So Im trying to feed those two tasks through one loop and onto a graph. I do have a task named "ai cont multi" in NI-DAQmx Base Config Unility where I can choose two channels, but when I input this task into my VI, it doesn't recognize the resource which is weird cuz It does recognizes single channeled tasks that I created. I think Im missing something fundamental on the block diagram...

  • 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.

  • Two yaxis on one graph

    I bet this has been asked a million times before but the search function on this bloody website never works. To prove this I typed array in the search and I got no hits back!!
    I have 4 thermocouples two at 400degC and two at 20degC would like to display them on the same grapha nd have a left and right y axis. Can it be done
    nice

    Get the data into the graph first so that there are two plots. Then right click on a number on the Y scale and get the pop up menu. The options are in the menu.
    Message Edited by Odd_Modem on 03-03-2007 08:27 AM
    Attachments:
    2 y scales.jpg ‏57 KB

  • 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.

  • 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

  • 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

  • Combining two different Chart types into one graph

    Hi All,
      I am developing a graphical BW report using WAD. I need to place two differnt chart types into one graph.For example, I have Volume and Quantity .Here the volume should be displayed in Bars and Quantity should be displayed in Lines in the same graph. X axis(Country) is same for these two . I am not sure how to achieve this. Please do let me know if anyone has solution for this.
    Thanks for your time.
    Thanks & Regards,
    Raja

    Hi Andreas,
      One word I can say is 'Perfect' . Even though I am out of office now,I hope the example perfectly will solve my problem.I will try it.
    Thanks for Aduri and Pcrao also for their suggestions .
    Thanks again and I assigned points to all to say my thanks
    Regards,
    Raja

  • How to plot line and bar chart in one graph

    i have one graph, but in this graph i want to plot line or bar chart using radio button selection.
    can i do that...

    You must have 2 data arrays or plots to get this. Make sure your plot legend is visible. Drag the plot legend vertical borders to view both plots. Select one of the plot to be bar plot (See the attachment)
    Attachments:
    BarPlots.PNG ‏14 KB

  • Two stacked bar in one graph with Answers

    Hi,
    I'm trying to join into one graph four measures. So, we want to show two stacked bar, each bar with two measures. Is it possible with OBIEE tools??
    TIA
    Javier

    If all you want is a stacked bar, you have an option under the type of the graph. select 2D/3D stacked. Also, while creating select all the measures that you want in the graph. That should give you a stacked bar graph. But if you want something like this
    Measure1 Measure3
    Measure2 Measure4
    (Stack1) (Stack2)
    i dont think it is possible out of the box.
    Thanks,
    Venkat

  • Two waveforms in one xy graph

    Hello,
    I need to put two waveforms in one xy graph. Value of one waveform should be in x axis, and second on y axis. I have no idea how can I do that. Everything I have succeeded is xy graph with both values on y axis and time on y.
    Thanks for Your help!

    Check xy graph.vi example that ships with labview
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • How to show and hide plots which are stacked and plotted on the one graph?

    I am currently designing a Logic Analyser with 8 channels. These are plotted on a graph, stacked on top of each other. The user is able to select which plots he/she wishes to examine (i.e 1,4,6). I need to figure out how to hide the plots not required and show the plots needed.

    Hi,
    Did u say stacked?? then you must be using a chart not a graph
    Nevertheless, as Unclebump has suggested, here is a Vi to give you an idea on how to use active plot and visible property nodes
    Build on it to hide/show plots
    Regards
    Dev
    Message Edited by devchander on 01-24-2006 06:09 AM
    Attachments:
    plot.vi ‏176 KB

Maybe you are looking for

  • Problem to install Windows 7 with Bootcamp

    Hi everyone, I know there's already quite a few discussion on it but... I'm desperate... After few days trying to install Windows 7 I'm asking for some help. I checked soooooooo many forum, tried sooooooo many stuffs, install and desinstall soooooooo

  • MIDlet-missing on torch 9810

    Hi there I have a BB torch 9810, every time I try to download bb application world from the bb website, I get a MIDlet-name missing message. I have tried rebooting, I cannot reinstall/update OS because my service provider does not allow me to. Please

  • Strange characters when printing

    I don't know what happen but when i select printing reader open a Windows with characters very very big and buttons are disapeared and when i click on preferences i get this image.I uninstalled and installed acrobat reader 11 (last versión) and vga d

  • InvalidClassException in serialized object

    Hi, I hope someone can really help me. This problem has me stumped. I have class "A" that does not implement Serializable, but class "A" subclasses Serializable class "B". Therefore, when reading class "A" it should be read as a serialized class. Cla

  • Video chatrooms

    Is there a way I can get my built in iSight to work with video chatrooms? It's recognizing that a Camera exists and the mic is working, but I'm not getting a picture.