LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I add plot from diferent file?

I have plots on graph from file. How can I add another plot? I wont to
compare one of this plots with plot from different file. I try to use
table but date dissapear when I start again my program.

Thanks for help

Darek
0 Kudos
Message 1 of 7
(3,787 Views)
If your problem is that data is cleared after rebooting your program, you can make values default.
If not, i really don't understand the question.
Good luck
0 Kudos
Message 2 of 7
(3,787 Views)
> If your problem is that data is cleared after rebooting your program,
> you can make values default.

Yes, I now about it, but how can I leave that data on graph and add
another data (in order to compare plots from two different file).
Default data is cleared when I read new file.
Is it a method to read data from different file and put it on the same
graph?

Thanks for help
Darek
0 Kudos
Message 3 of 7
(3,787 Views)
What you need is a multiplot graph, wire the two arrays of clusters of x and y values into a cluster, or wire the two clusters of arrays of x and y into an array, and wire any of them to the graph indicator. You'll get both plots in the same graph at the same time.
Hope this helps
0 Kudos
Message 4 of 7
(3,787 Views)
Thank you for answers, but my problem is a more complicated. I read data
from a file and get four plots in the same graph and.... next I want
leave this data on the graph and update graph with the new data (for
example: I'd like to update graph with the new two plots from different
file in order to compare with four plots witch I read before).

Thanks for help
Darek
0 Kudos
Message 5 of 7
(3,787 Views)
This example may be useful.

Dariusz Downar wrote in message
news:3B402152.471F3DD9@ien.gda.pl...
> Thank you for answers, but my problem is a more complicated. I read data
> from a file and get four plots in the same graph and.... next I want
> leave this data on the graph and update graph with the new data (for
> example: I'd like to update graph with the new two plots from different
> file in order to compare with four plots witch I read before).
>
> Thanks for help
> Darek



[Attachment Untitled 1.dat, see below]
0 Kudos
Message 6 of 7
(3,787 Views)
Sloppy of me. Rename the .dat attachment to .vi to run this. The featureless
oval to the right is a pushbutton.

Craig Graham wrote in message
news:3b404475@newsgroups....
> This example may be useful.
0 Kudos
Message 7 of 7
(3,787 Views)