LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get the Elapsed Time express to output in milliseconds?

I am trying to get the Elapsed Time express to output in milliseconds or in seconds to three decimal places. I am pretty new at this.

 

Thanks in advance!

0 Kudos
Message 1 of 4
(5,535 Views)

I'm not sure I understand your question. The output of the Elapsed Time Express VI is a DBL. It's already a floating point number. The default format for a numeric indicator is 6 digits of precision. You can change this in the properties for the indicator.

 

 

 

 

To learn more about LabVIEW it is recommended that you go through the tutorial(s) and look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.

Message 2 of 4
(5,524 Views)

.... and if you want milliseconds, multiply the value by 1E3 and round to the nearest integer. 😄

0 Kudos
Message 3 of 4
(5,519 Views)

I feel foolish. I was using the string output instead of the dbl. Thanks and sorry for the silly question.

0 Kudos
Message 4 of 4
(5,509 Views)