The default Windows time server (w32time) does not work for most NI distributed hardware because it is based on version 3 of the NTP standard but the hardware requires RFC 2030 - Simple Network Time Protocol (SNTP) version 4. In order for your host computer to provide the proper time server commands, you must upgrade the NTP service. There is an open standard that you can download and install per the instructions below for computers with a Windows Operating System.
- Download the Meinberg NTP Software compatible with your OS version External Link: Meinberg: NTP Software download page .
- Open and run the installer.
- Navigate through the installer. When prompted to Choose Components, select to install all components and then select Next. The software will then be installed.
- Once installation is complete, you will be prompted to set configuration settings. Uncheck the Create an initial configuration file with the following settings option. Select Next.
- A warning will appear warning that the configuration file chosen does not exist. Select Yes.
- You will then be prompted to specify service settings. Under NTP Service Settings, select the radio button labeled Use SYSTEM account. Ensure that all options are enabled as needed, and select Next.
- If you see a warning that the configuration file does not exist yet. Select OK.
- Select Finish.
- When the installer is finished, verify that the NTP server is started by selecting Start»All Programs»Meinberg»Network Time Protocol»Service Control»Start NTP Service. (If you receive Error 5 when trying to run this file, try right-clicking on it and selecting Run as administrator.)
- Obtain the IP address of your PC. Open a command prompt in Windows by going to Start»All Programs»Accessories»Command Prompt. In the command prompt that opens, type
ipconfig. The IPv4 Address returned is the IP address you will use in the next step.
- Configure your NI hardware to point to this NTP server. The method for doing this will depend on the type of hardware you are using. See the sections below for more information.
You may need to configure your firewall to allow inbound and outbound access to ntpd.exe and ntpq.exe in order for your Windows PC to act as an NTP server to clients.Configuring NI WSN-9791, NI 9792 or Smart Cameras as NTP Clients
Configuring CompactRIOs as NTP Clients
- Open NI MAX»Remote Systems and open the settings for your hardware.
- Open Network Settings tab.
- Enter your host PC's IP address to be used as the Time Server in Additional Configuration»Time Server .
- Click Apply and reboot the NI hardware.
Modify the (S)NTP configuration file used by your implementation for NTP. Below are a few examples:
If your host computer uses Linux, install the NTP package from the package manager of your choice and follow the above instructions starting at step 11.
Your NI hardware should now be able to pull time server information from your host computer