LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

timestamp

Solved!
Go to solution

In labview 8.5, how can I plot a discrete signal, i.e. not a waveform, vs. a timestamp?  I am trying to take a waveform then average it and plot the averaged values over time.

 

Thanks!

0 Kudos
Message 1 of 7
(3,323 Views)
Solution
Accepted by adwhit

Convert the timestamp to a DBL and use it as the X axis of an XY graph.

 

Message Edited by Dennis Knutson on 03-18-2010 01:54 PM
Message 2 of 7
(3,318 Views)

Hi adwhit,

 

take a XY graph. Make an array of timestamps for the X values. Make an array of numbers for the Y values. Bundle the arrays to a cluster. Wire the cluster to the graph. That's what the context help of the graph says! Now the only step left is to format the x axis to show time instead of numerics...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 7
(3,313 Views)

Gerd,

 

We have to stop meeting like this.Smiley Very Happy

Message 4 of 7
(3,303 Views)

Thanks for the help, the graphical solution was very helpful!

 

I now want to take a running derivative, or linear fit to determine equilibrium... any ideas on that?  I'm just not sure how to do the running part the best way.  I need to take probably the last 1200 samples once I have that many, or all the samples before I reach 1200.

 

Thanks again.

 

Adam 

0 Kudos
Message 5 of 7
(3,243 Views)

Hi adwhit,

 

just search the forum for "running average" or "running mean" - you will find a lot of threads already with solutions...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 7
(3,238 Views)
Ok, thanks a bunch.
0 Kudos
Message 7 of 7
(3,236 Views)