ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do display current time on axial X?And every data change one time per hour .

Hi all ,
For waveform chart/graph .
How do display current time on axial X?And every data change one time  per hour .
 
for detail , see attach file
0 Kudos
Message 1 of 8
(4,586 Views)
Hi acty,

you can try two options:
1) switch the x-scale formatting to 'relative time'
2) initialize your waveform data with correct start time - at the moment it's set to zero and your computer is using timezone GMT+8 Smiley Wink
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 8
(4,577 Views)
 
0 Kudos
Message 3 of 8
(4,556 Views)
 
0 Kudos
Message 4 of 8
(4,556 Views)
Thank you in advance !
but how do make interval to be 1 hour for every data ?
0 Kudos
Message 5 of 8
(4,554 Views)
It's really simple to use the Elapsed Time function. It has a Boolean output called Time Has Elapsed. Wire this to a case statement and put your data acquisition inside the true case.
0 Kudos
Message 6 of 8
(4,538 Views)
Could you give me a sample ?
thank you !
0 Kudos
Message 7 of 8
(4,534 Views)

Uh, put the Elapsed Time function on your diagram. Put a case statement on your diagram. Wire the Time Has Elapsed output to the case selector.

Maybe you should spend some time learning the basics of LabVIEW. There are a couple of on-line tutorials at http://www.ni.com/academic/lv_training/how_learn_lv.htm.

0 Kudos
Message 8 of 8
(4,523 Views)