LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ETI

Solved!
Go to solution

I cannot figure this one out.  I am just trying to do an ETI for program run time.  When I run this thing, it starts at the hour = 6.  I formatted the timestamp indicator and tried another defualt one and they both start at the hour of 6 instead of 0. How do I get this hour to start at 0?

0 Kudos
Message 1 of 4
(3,335 Views)
Solution
Accepted by topic author id

On my computer, I see 4 instead of 6 because of our differing timezones.

 

Your problem is that the timestamp indicators are absolute time, which is just how timestamps work. This is why one of the indicators says 1903. The data type of a timestamp is still just a DBL as a count of seconds. When it's formatted in to a timestamp, the timestamp is based on seconds since 1/1/1904 midnight Greenwich mean time. If your timestamp differs from that, you get a different count from zero. In order to display the relative time, you need to use a numeric indicator and format it to display as a relative time.

 

See attached VI that I altered.

Cheers


--------,       Unofficial Forum Rules and Guidelines                                           ,--------

          '---   >The shortest distance between two nodes is a straight wire>   ---'


0 Kudos
Message 2 of 4
(3,328 Views)

And add a delay in your loop, it doesn't need to run as fast as it can using all of your cpu.

 

Ben64

0 Kudos
Message 3 of 4
(3,317 Views)

thanks, that is the simple clarification I was looking for!

0 Kudos
Message 4 of 4
(3,295 Views)