LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get timestamp to start at zero hours?

Solved!
Go to solution

Hi.

 

I'm building a software that logs values to excel.

The user can enter how long the test should run for, and the time elapsed should be set as a string in [hh:mm:ss]

 

The only problem is that the TimeStamp starts at 01:00:00 (beacuase of the 1904-issue i guess). How can I get the counter to start at 00:00:00, or maybe subtract the one hour in the begining so it starts at zero.

 

If you run the VI you'll understand what I mean.

 

Thanks!

___________________________________
Is my avatar the dog from the fraggle rock?
0 Kudos
Message 1 of 2
(3,425 Views)
Solution
Accepted by topic author automasjon3ea

Hi auto,

 

you have to use relative time instead of absolute time - see attachment...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 2
(3,417 Views)