ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

variable time multiplot XY chart

Gurus,

 

I have reached the point in needing some help. Attached is a simulation of what I am doing. The part I need help with is quite clear...

 

I need to plot 2 XY graphs: data vs a variable time (although in the example it is fixed). One chart has a single plot, the other 2 traces. The graphs have a fixed length, behave like a waveform chart, except it is first in first out.

 

The graph in the top level VI labelled Total SA is a single trace plot. When running I can right click and select 'clear graph'  and it removes all the data in the buffer.

 

How can I achieve this with the mutli plot (2 traces)  XY graph labelled Total Mass in the top level VI?

 

Paul.

 

 

Message Edited by Manc Pablo on 09-02-2008 12:25 PM
"When I read about the horrors of drinking, I gave up reading"
0 Kudos
Message 1 of 2
(2,643 Views)

Hi Manc Pablo,

 

Having read through your problem and taken a look at your code I would suggest that you investigate the piece of example code called "XY Graph.vi" in the LabVIEW example finder.  This demonstrates the correct coding practice for plotting two traces on a single graph.

 

I hope this helps but if not please reply with any problems you are having integrating the example code into your own vi.

 

 

Regards,

 

Tom

Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 2 of 2
(2,600 Views)