LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Syncing time between Windows PC and PXI RTOS

Solved!
Go to solution

Hi all,

 

I have a system that is in a private network and does not have internet access. I need a way to sync my PXI controller time with my windows PC time. I tried using the sntp method by making the Windows PC into an ntp server and setting the PXI controller as an ntp client. That doesn't seem to work.

 

Note: I had another system that is in a separate network with a standalone ntp server and was able to get my PXI controller to sync to that ntp server. Unfortunately, I cannot use that server for this type of test. I'm using time-sync 1.2.0 sntp method in order to get my PXI controller to use sntp.

 

Please let me know if anybody have a clue how to sync two of these two machine time together. Thanks!

0 Kudos
Message 1 of 9
(3,823 Views)

Hi TunaFish,

 

How is the PXI controller connected to the PC? Are they on the same private network? Is it possible to pull the PC time using property nodes and publish it as a shared variable?

 

Best,

Cici

AE NI

0 Kudos
Message 2 of 9
(3,783 Views)

Does this network use enterprise class switches? I know that Cisco switches can act as a NTP server. Other managed switched maybe able to act as the time server as well.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 3 of 9
(3,781 Views)

The computer (Windows OS) and the PXI controller are connected to a dumb switch. There are no other sources that can serve as an NTP server. Can you explain how I can share the PC time property nodes? Thanks

0 Kudos
Message 4 of 9
(3,770 Views)

Your firewall may be standing in between your PC's NTP server and the PXI client.  You may have to enable port 123 in your PC firewall.  On the other hand, you can make a stratum 1 NTP server that syncs with GPS using a Raspberry PI and a GPS module (total cost around $55).

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 5 of 9
(3,765 Views)

The PC firewall is disabled so I doubt it is blocking the NTP udp port. I can't use a raspberry pi in this facility due to security issues.

0 Kudos
Message 6 of 9
(3,751 Views)
Solution
Accepted by topic author TunaFish

Look here for the latest NTP for the PC as well as a nifty Time Server Monitor that you can use to monitor and configure your server.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 7 of 9
(3,746 Views)

Thanks, I saw that, but have so clue how to configure that software to make my Windows PC an NTP server. By any chance you know how to do this?

 

0 Kudos
Message 8 of 9
(3,738 Views)

And... let the 8-Ball magic roll!

 

Why is this a large concern?  

~~~~~ Magic 8-Ball,  did the tunafish read the PXI Chassis environmental specification? ~~~~

 

Answer: Install slot blockers in unused slots. Clean filters, check the fan switch setting if equipped and maintain proper clearance for airflow!

 

Your clock will now drift within the published accuracy which is probably an order of magnitude better than yor PC hardware.

 

 

HEY! Thanks little helper cubemate!

 

Cool the PXI controller... you don't need to cool the air around the empty slots... there are no things there that produce heat!  The controller, on the other hand, produces heat and has a crystal oscillator on it.

 

You would not be the first person "Surprised " by that small physical oversight.


"Should be" isn't "Is" -Jay
0 Kudos
Message 9 of 9
(3,734 Views)