LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Question about returning GPS Time Using PXI-6682,NI-Sync and LabWindows/CVI ???

Hi!
My system consists of PXI-1042,PXI-8108,and PXI-6682,GPS antenna,and so on.
I want to obtain the precise UTC by using PXI-6682. The time precision I need is microsecond.

The following is my program:


    niSync_init ("6682", VI_TRUE, VI_FALSE, &vi);
    niSync_EnableGPSTimestamping (vi);
    niSync_ReadLastGPSTimestamp (vi, &timestampSeconds, &timestampNanoseconds, &timestampFractionalNanoseconds, &gpsSeconds,       &gpsNanoseconds,

&gpsFractionalNanoseconds);
    niSync_DisableGPSTimestamping (vi);
    niSync_close (vi);


But now I am confused.


1.Can you tell me please the the meaning of the parameters of the function niSync_ReadLastGPSTimestamp?
2.The value of the gpsSeconds is very large. And gpsNanoseconds is zero. I want to know what's the meaning of it.
3.Can I estimate the precise UTC through gpsSeconds,gpsNanoseconds? How should I do?


Thank you for any help.

0 Kudos
Message 1 of 2
(2,621 Views)

Trying to keep a single thread for this topic.

 

Question answered here:

http://forums.ni.com/t5/PXI/Question-about-returning-GPS-Time-Using-PXI-6682-NI-Sync-and/m-p/1914317...

0 Kudos
Message 2 of 2
(2,613 Views)