LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

More precision in Timestamps

Hello,

 

I'm acquiring 2.5MS/s with a DAQmx card. That means that my timestamps must have more than ms precision... When I have ms precision I get around (I don't know if it's exactly that) 2500 samples with the same time (for example 2500 samples at 0,023s).

 

So, how can I get more precision in my timestamps? I read something about getting another counter channel and use it as timestamp, but I want to know if there's any other path for that? I'm already acquiring 8 channels and 'fighting' to save them, I didn't want to add one more channel. And I need timestamps for EACH channel, and not one for all of them...

 

Thanks for the help,

Rafael

0 Kudos
Message 1 of 6
(3,131 Views)

Timestamps have 64 bit for 1 second so the absolute accuracy is much greater, maybe it's just the reprsentation.

Where do you read the timestamp?

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 6
(3,129 Views)
I'm saving the file with Write to Measurement File and I read it offline in TDMS File Viewer and also in Matlab (with the matlab converter from this link)
0 Kudos
Message 3 of 6
(3,121 Views)

The TDMS FileViewer will only set the start of the axis and continue from there on, so it doesn't really show what's in the file.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 4 of 6
(3,106 Views)
But then how can it show the timestamp for each sample? (with ms precision)
0 Kudos
Message 5 of 6
(3,103 Views)

I'm reformulating my question:

 

How can I see my data with microseconds timestamps (any function, ow any 'path' for that), knowing that I can see it now in TDMS File Viewer with miliseconds timestamps?

0 Kudos
Message 6 of 6
(3,082 Views)