LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

continuous time scale in a XY graph

Hello everyone!
 
I want to know how to get a continuous time scale (in seconds) in a XY graph and in an waveform chart.
 
Thank you.
 
0 Kudos
Message 1 of 4
(3,288 Views)

Hi Marco,

for the XY graph, bundle the time with each datapoint and build an array to graph.  With Waveform, set the properties of the x scale to time.  See examples. (I'm not sure why the time is wrong in the waveform graph, but I'm sure someone will point out my error Smiley Wink )

Regards,

Message Edited by lmtis on 10-19-2007 06:23 AM

Message Edited by lmtis on 10-19-2007 06:24 AM

Jim

LV 2020
Download All
Message 2 of 4
(3,280 Views)
Hi Imtis,
x coordinates in a waveform graph are by default 0,1,2,3.... Expressing them as a relative time, you get 0,1,2,3... seconds, so in your case the last point is at 127 s = 2 min : 7 s.
However, there is the possibility to assign an offset and multiplier to each axis in the Scales tab of the graph properties or even by code. In your case, you should to assign a multiplier 0.05 = 50 ms.
Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
Message 3 of 4
(3,243 Views)

Hi Paolo,

I don't know what I was thinking.  Obviously there is no delta t info on the array that gets passed to the waveform graph.  I did try the multiplier, to no avail.

Jim

LV 2020
0 Kudos
Message 4 of 4
(3,234 Views)