03-14-2012 08:42 PM
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, ×tampSeconds, ×tampNanoseconds, ×tampFractionalNanoseconds, &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.
03-15-2012 10:30 AM
Trying to keep a single thread for this topic.
Question answered here: