LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

update graph realtime

Solved!
Go to solution

Hello,

 

In the attached VI in labview 8.5, I wanted to display two plots on the same graph in real-time.  That is, for every iteration in the "for loop", the graph updates.  I am only able to do this with one of the plots (y1) but would like both sets of y-data to show up on the graph (i.e both y1 and y2).  Is there a way to do this real-time?

 

Thanks,

hiNi

0 Kudos
Message 1 of 4
(2,480 Views)

Do you have to use and XY graph? If not you migh try using the "Merge Signals" Functions.

0 Kudos
Message 2 of 4
(2,464 Views)
Solution
Accepted by topic author hiNI

This is possible to do with a XY-graph. The data the XY-graph accepts for plotting mutiple graphs are an array of clusters. The cluster consists of two arrays containing the x and the y values. I included the vi with the solution for you.

I hope this solves your problem.

 

Best regards. 

Message 3 of 4
(2,448 Views)

THANK YOU!!!

0 Kudos
Message 4 of 4
(2,435 Views)