LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Chart/Graph for time-stamped data

As far as I understand, dt is a constant along the time. In my application, dt between Xi and Xi+1 varies along the time. Can I use build waveform?
0 Kudos
Message 13 of 15
(724 Views)
> As far as I understand, dt is a constant along the time. In my
> application, dt between Xi and Xi+1 varies along the time. Can I use
> build waveform?
>

Yes. In a waveform, the timestamp is the time of the first point in the
array of amplitudes. The dt value is used to compute the time of
subsequent points as time[n]= T0 + dt*(n-1). If you have single point
waveforms, the dT doesn't matter, only T0.

Greg McKaskle
0 Kudos
Message 14 of 15
(724 Views)
Thank you. Now I understand that the realtime data of variable dt can be displayed in X-Y Graph only and if adapting scroll to it, we shall caught by its too dizzy appearnce.
Am I correct?
0 Kudos
Message 15 of 15
(724 Views)
Hi,
if you want to draw the chart with different delta X values you can use X-Y graph. In this case you just have to add new point to this graph at every iteration of your reading loop. You have to use shift registers to pass your grath from one iteration to another.
The example is attached.

Good luck.

Oleg Chutko.
0 Kudos
Message 3 of 15
(1,340 Views)
Yes, your VI can display waveform correctly. But I need 10Hz base sampling rate and scroll function. I modified your VI to meet them. It is too dizzy to watch in, writing and erasing x-y graph every iteration.
0 Kudos
Message 5 of 15
(1,340 Views)