LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Plotting actual measurement time with variable intervals

Solved!
Go to solution

I have been playing around for a while trying to figure out how to plot (in real time) data taken at varying time intervals.  The attached is what I came up with, using the loop counter as my data for ease of analysis.  Essentially, I'm cheating by looping an array and creating a new plot every time.  It seems like overkill but trying to do a waveform chart doesn't seem possible with sampling rates !=1, and waveform graphs do not plot in real time.  Is there a better way to do this?

Thanks!

Download All
0 Kudos
Message 1 of 4
(2,406 Views)
Solution
Accepted by topic author bgalfond
Message 2 of 4
(2,399 Views)

Very clever, Crossrulz -- Kudo from me!

 

Bob Schor

0 Kudos
Message 3 of 4
(2,371 Views)

It takes a little more time and energy but I find using an XY type chart with time as the x-axis is the best way to accomplish this, and any chart that needs time in the x-axis. 

 

What I do is make all my graphs an "action engine" or "functional global", here's an example of a program that has several live graphs with time as the x-axis.

 

graphse.PNG

========================
=== Engineer Ambiguously ===
========================
Message 4 of 4
(2,361 Views)