LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

time recording

Hi all,

 

I want to loop start time in HH:MM:SS and stop time also in the same format, which will be user entry in the program . but when i use elapsed time block i facing problem as its in seconds , how to solve this?

regards.,

Sanvi

0 Kudos
Message 1 of 7
(1,388 Views)

Hi sanvish,

 


@sanvish wrote:

I want to loop start time in HH:MM:SS and stop time also in the same format, which will be user entry in the program . but when i use elapsed time block i facing problem as its in seconds , how to solve this?


Simple solution: apply some simple math!

 

Hint: when there are two inputs with data format of "HH:MM:SS" then you can easily calculate the difference and represent the difference in seconds…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(1,375 Views)

You can do math on time just like any other number.

 

Stop time - Start Time = Run time

.

While running:

 

Stop Time - Current time = Time left to run (countdown timer)

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 7
(1,336 Views)

Is this what you are trying to do?

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 4 of 7
(1,324 Views)

hi

Thanks for giving time my query..but i am unable to access the file attached as i am using 2014 version ..can you please  send the file in lower version .

0 Kudos
Message 5 of 7
(1,268 Views)

Here's the 2014 version

0 Kudos
Message 6 of 7
(1,249 Views)

Here

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 7 of 7
(1,228 Views)