Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

RTGetTimestamp.vi

Solved!
Go to solution

The RT Get Timestamp.vi help says:

Inserts a 64-bit timestamp value from a high-precision timing source into a preallocated array at an index value specified by iteration.

 

What is the high-precision timing source?  I want to know the speed of this source, so I know how much time has elapsed per bit changed.

Fred
*Kudos are appreciated.*
0 Kudos
Message 1 of 3
(3,633 Views)

Using the RT Get Timestamp.vi on a PXI-8104 embedded controller (http://sine.ni.com/nips/cds/view/p/lang/en/nid/204820) I found that

timestamp_t2 - timestamp_t1 = 1000 corresponds to 1us.

 

This would imply that for the 64-bit timestamp value from a high-precision timing source 1 bit change corresponds to 1ns, and thus the high-precision timing source clock is 1GHz.

 

This seems reasonable since the PXI-8104 uses a 1.86 GHz Celeron (as found from the link above).

 

Can somebody confirm the above?

Fred
*Kudos are appreciated.*
0 Kudos
Message 2 of 3
(3,628 Views)
Solution
Accepted by topic author FLng

I looked at the RT Timestamp Analysis.vi and found the RT Get Timestamp Frequency.vi.  (It's located in the rtutility.llb.)

 

I used RT Get Timestamp Frequency.vi in a vi on the PXI-8104, and the frequency was 1GHz (confirming the previous message).

Fred
*Kudos are appreciated.*
0 Kudos
Message 3 of 3
(3,625 Views)