03-18-2010 02:39 PM
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!
Solved! Go to Solution.
03-18-2010 02:52 PM - edited 03-18-2010 02:54 PM
Convert the timestamp to a DBL and use it as the X axis of an XY graph.
03-18-2010 02:55 PM
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...
03-18-2010 03:25 PM
03-25-2010 12:57 PM
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
03-25-2010 01:07 PM
03-25-2010 01:08 PM