LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how I can start a waveform with a fixed date/time

I'm trying to start my graph with a fixed date/time (00:00:00  21/06/2007), but It starts with 02:00:00 01/01/1904
How I can to solve this problem?
 
Thank you
 
vicens
 
LV7.1 / WinXP
0 Kudos
Message 1 of 5
(2,507 Views)
Hi vicens,

this question occurs often in the forum, but I never had to deal with time scales before.
So I made a small example and it seems it's difficult to get proper x-scale labels on charts. With a XY-graph it's working nice... So maybe you can switch to use a XY-graph instead?
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 5
(2,501 Views)
The other way is to use the chart's property node to set the time. This is explained in the shipping example called Real Time Chart.
0 Kudos
Message 3 of 5
(2,489 Views)

Thanks GerdW,

I've a mixer between waveform graph and XY graph.

I needed to display values while running the time.

 

Thank you, again.

 

0 Kudos
Message 4 of 5
(2,488 Views)
If you want your graph to display time on the x axis, you have to uncheck the Ignore Time Stamp option. You could also use a property node as I mentioned. You should also use the Get Date/Time in Seconds instead of a time stamp constant. Place this outside the while loop so you get the current time when the VI starts.
0 Kudos
Message 5 of 5
(2,479 Views)