LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Odd format of time in LVM files

Solved!
Go to solution

Format of the time in LVM files generated by LV 16 seems odd to me:

„Time 17:00:41,038486480712890625“.
Why the fraction part of the seconds is so precise? Is it really possible to get such precision from the PC?

0 Kudos
Message 1 of 2
(864 Views)
Solution
Accepted by topic author Станев

Hi Stanev,

 


@Станев wrote:

Why the fraction part of the seconds is so precise?


Because someone decided to use as much as possible decimal digits.

Just because you can live with just 3 digits it doesn't mean there are no application requiring more precision…

 


@Станев wrote:

Is it really possible to get such precision from the PC?


Technically "yes": LabVIEW timestamps use 64 bits for the fractions of seconds, which translate to 19 decimal digits. In this way it makes sense to format 18 decimal digits as shown in your example.

On the other hand there is no timing source available which provides a precision of 64 bits (in your computer), so your question makes sense.

 

But again: to provide as much precision as available for all kind of applications the LVM files use 18 decimal digits in their timestamp text…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 2
(853 Views)