I would like to query the time difference between a Toradex system and a Windows system via Windows.
To do this, port 123 (NTP) would have to be open. This was also done using a command. Unfortunately, it didn’t work, as a port scan showed.
How can I implement a query using the w32tm command? What do I have to change on the Toradex system so that port 123 remains open?
The reason for this effort is to compare measurement data from two systems to the millisecond.
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello!
To measure the time difference between your Toradex system and a Windows system using the w32tm command, you can follow these steps:
Verify NTP Service on Toradex: Ensure that the NTP (Network Time Protocol) service is installed and running on your Toradex device. This is essential for the w32tm command to work properly.
Configure Firewall for Port 123: You need to allow traffic on UDP port 123 on your Toradex system. This involves:
Accessing the firewall settings on your Toradex device.
Creating a rule to permit NTP traffic on UDP port 123.
Ensuring the NTP service is active and ready to respond to time queries from the Windows system.
Execute the w32tm Command: On your Windows system, use the following command to query the time difference:
Replace <Toradex_IP> with the IP address of your Toradex system. This command will send NTP requests to the Toradex system and display the time difference in milliseconds.
Troubleshooting Tips: If you encounter issues, check that:
The Toradex system is reachable from the Windows system.
The NTP service is correctly configured to respond on port 123.
Both systems are synchronized to the same time source for accurate millisecond-level comparison.
By following these steps, you should be able to successfully measure the time difference between your Toradex and Windows systems.
Best regards,
Toradex AI Assistant.
Please, also check if these links can help you solve your problem:
The w32tm command is a utility in Windows operating systems used to configure and monitor the Windows Time Service (W32Time), which synchronizes the system clock with time servers. However, Windows CE (also known as Windows Embedded Compact) does not include the w32tm utility.
However the default Windows CE image implemented on the Colibri modules supports setting the system time from an internet time server. This feature is activated by default.