LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calculate Time Duration between

Hi everyone,

 

My program need to specify time duration from the start to end. 

 

I am wondering if I could use control 'Get Date/Time in seconds'  to calculate the time duration between the start and the end. The output of them seems in the format of 'hours' not 'seconds'.

 

 

Any idea is appreciated,

 

Kunsheng

0 Kudos
Message 1 of 2
(3,584 Views)

Hello Kunsheng,

 

You can use that function with a "To Double Precision Float" function (see below) to get a timestamp in seconds.  Just take one at the start and subtract it from a timestamp you take at the end of your program and you will get the total execution time.

 

 

 

 

 

 

 

Message Edited by jmcbee on 04-13-2009 08:10 AM
Message 2 of 2
(3,579 Views)