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: 

Display elapsed time?

Hi,
This seems like it should be a simple matter. I want to display elapsed
time for the execution of the loop. I have two "Get date/time in seconds",
one outside the loop and one inside. In the loop, I subtract the outside
from the inside, and get elaspsed time for the loop. THis works fine-- my
saved data has the correct time values. However, I have an indicator wired
to this difference, and I have chosen time format to get a HH:MM:SS
display.
The problem is, it displays relative to GMT! So, instead of starting at
00:00:00, it starts at 19:00:00.

Is there a simple fix for this? I tried adding the appropriate number to
the value to get the display to zero at start, but this needs to be
changed every time daylight savings tim
e comes or goes.

thanks
0 Kudos
Message 1 of 4
(3,381 Views)
Hello!

Try to change "Regional settings" under "Control Panel" in Windows!

\PMN

"Christopher Hodge" wrote in message
news:91b1mr$bk3$1@news3.bu.edu...
> Hi,
> This seems like it should be a simple matter. I want to display elapsed
> time for the execution of the loop. I have two "Get date/time in seconds",
> one outside the loop and one inside. In the loop, I subtract the outside
> from the inside, and get elaspsed time for the loop. THis works fine-- my
> saved data has the correct time values. However, I have an indicator wired
> to this difference, and I have chosen time format to get a HH:MM:SS
> display.
> The problem is, it displays relative to GMT! So, instead of starting at
> 00:00:00, it starts at 19:00:00.
>
> Is there a simple fix for thi
s? I tried adding the appropriate number to
> the value to get the display to zero at start, but this needs to be
> changed every time daylight savings time comes or goes.
>
> thanks
0 Kudos
Message 2 of 4
(3,381 Views)
"mller" wrote:
: Hello!

: Try to change "Regional settings" under "Control Panel" in Windows!

: \PMN

Don't you mean "Date/Time properties"? I looked into this after I saw your
reply, and it looks like it could work. But I didn't see any likely
options in "regional options". Did I miss something?

thanks,
Chris
0 Kudos
Message 4 of 4
(3,381 Views)
....

> The problem is, it displays relative to GMT! So, instead of starting at
> 00:00:00, it starts at 19:00:00.
>
> Is there a simple fix for this? I tried adding the appropriate number to
> the value to get the display to zero at start, but this needs to be
> changed every time daylight savings time comes or goes.
>

Did you choose Absolute time or Relative time. The relative
time takes a numeric count of seconds and displys it as elapsed.
No months, days, etc.

Greg McKaskle
0 Kudos
Message 3 of 4
(3,381 Views)