LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Servo Windows System Time

I would like to sync my windows system time to my RT clock (which is set by GPS using IEEE1588) I do not want to simply overwrite the existing windows time.  Instead I would

prefer to servo the system time by speeding it up/down until the time error is zero.  Does anyone have any LV code to manipulate the windows clock in such a manner?

 

Thanks

0 Kudos
Message 1 of 3
(2,627 Views)

Sachsm,

 

Have you seen the NI TimeSync software?  I believe you can sync your windows system to a time clock off of you RT GPS Time.  I'll have to look into this a little bit more but this may be good place to start.

 

Timing and Synchronization in NI LabVIEW - Developer Zone
http://zone.ni.com/devzone/cda/tut/p/id/11466

 

NI-TimeSync 1.0.1 - Real-Time OS, Windows XP x86/Vista/7
http://joule.ni.com/nidu/cds/view/p/id/2083/lang/en

 

Also, here is another similar example.

 

IEEE 1588 Pulse Per Second (PPS) Synchronization Reference Example for LabVIEW RT and Windows - Developer Zone
http://zone.ni.com/devzone/cda/epd/p/id/5987

 

Best,

Chris LS

 

 

NI-TimeSync 1.0.1 - Real-Time OS, Windows XP x86/Vista/7

National Instruments
Applications Engineer

Visit ni.com/gettingstarted for step-by-step help in setting up your system.
0 Kudos
Message 2 of 3
(2,605 Views)

My cRIO is already running the timesync software to discipline its clock to the PXI6682 1588 master on the network.  The problem is that

even thought the PXI 6682 is running on a windows machine, the windows system clock is not sync'd to the 1588 timestamp.  For some reason

there is no windows 1588 client software stack available.  Windows has its own time server that can be sync'd to any NTP server on the network, but in my

case this is a closed network without any NTP time servers.  It does not appear that the cRIO timesync can be configured as a NTP server so I am now

thinking about how to roll my own PID servo adjustment of the windows system time.

0 Kudos
Message 3 of 3
(2,593 Views)