LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timestamp in LVM file - how can i access to ms value?

Solved!
Go to solution

Hi to everyone,

i have some measurament file and when i elaborate it, i need timestamp with millisecond precision, but i can't read it in labview!!!
example of file:
  
Channels    4               
Samples    5000    5000    5000    5000   
Date    2010/04/23    2010/04/23    2010/04/23    2010/04/23   
Time    12:40:59.828125    12:40:59.828125    12:40:59.828125    12:40:59.828125   
X_Dimension    Time    Time    Time    Time   
X0    3.3548640598213959E+9    3.3548640598213959E+9    3.3548640598213959E+9    3.3548640598213959E+9   
Delta_X    2.000000E-7    2.000000E-7    2.000000E-7    2.000000E-7   
***End_of_Header***   

 

in labview i can read till second value not more!!! why?

 

0 Kudos
Message 1 of 26
(4,129 Views)

Windows timer doesn't really have the resolution down to the millisecond level.

 

Generally, the best you can get is about 16 msec.

0 Kudos
Message 2 of 26
(4,127 Views)

for me is enough be able to read this value "12:40:59.828125" from the lvm file!!!

how can i do it?

0 Kudos
Message 3 of 26
(4,122 Views)
Post the VI you are using to read it.
0 Kudos
Message 4 of 26
(4,102 Views)
0 Kudos
Message 5 of 26
(4,097 Views)

Change the setup of your timestamp indicator.

Right-click, select  Display Format

Change Type to Floating Point

Change Precision Type to Digits of Precision

 

That should be all you need to do to display fractional seconds.

LabVIEW 5.0 seems so long ago...
0 Kudos
Message 6 of 26
(4,072 Views)

i find the problem is in the tab "display format" there isn't an option with ms, see the image, so, is there another method to get this information?

Thanks

0 Kudos
Message 7 of 26
(4,067 Views)

Your "timestamp", not the "Timestamp" indicator.

Code can get confusing when you don't use meaningful and unique names.

Message Edited by jrjones on 04-25-2010 03:03 PM
LabVIEW 5.0 seems so long ago...
0 Kudos
Message 8 of 26
(4,060 Views)
i change it, but it doesn't work, the problem is in the file reading...i think.
0 Kudos
Message 9 of 26
(4,056 Views)

You didn't post your file, so I have no idea what resolution your data contains.

I was only looking at your coding, but you are likely correct.

Have you looked at the data to see if it has millisecond values?

That will be visible in your "Timestamp" indicator, you can adjust the properties.

You certainly cannot have resolution better than what is in the saved data file.

LabVIEW 5.0 seems so long ago...
0 Kudos
Message 10 of 26
(4,051 Views)