I'm working with NI 6682H. I want to use IEEE 1588 Clock to synchronize the board time.
If I understand correctly I've to configure it for SLAVE.
What I don't understand is how I can do it.
I've seen through the examples and wrote some code, which works but the Clock is running as MASTER.
My second question would be: how/where can I specify the Source for the MASTER-Clock (URL, IP, ...).
My thrist question: where can I find the MAC Adresse of the RJ45 Port on the Module. I didn't finde it MAX or VI/Propertynodes.
yes i think you've understand it correctly but you need an IEEE 1588 Master, if you want to use the NI6682 Module as Slave.
I've attached you a Master VI and a Slave VI. There you can see that the Master is using the "Send Time to UDP" function and the Slave the "Get Time from UDP" Function.
You don't need to specify the Source of the Master Clock, because for the communication the UDP Protocoll is used. The Master and the Slaves only need the same UDP Port to communicate together.
I think you can find the MAC-Address of the Module on a Label that is attached to the 6682H Card. And i found an example to programmaticly get the IP & MAC Address: https://decibel.ni.com/content/docs/DOC-15459
Hi and thanks for your reply.
Just to make sure to understand you correctly.
To use it for my purpose I would need two 6682H one which serves a master which provide the timin inforaton and one which receives it and synchroniz it to?
why am I asking?
My supvervisor bought this module (one) because he thought he could use it to synchronize it to time server in the internet. but If I understood you correctly this doesnt work that way and always need two of those modules?
the examples I know, but I've more basic questions of understanding this modul 🙂
yes that's right. The IEEE 1588 Protocol is used to synchronize one or more Slaves to the Master Timebase.
e.g. If you have a system with two or more devices and they have to perform actions which require a strictly timed
execution, the devices have to be synchronized to one common timebase.
I found a couple of Links, which i think will help you to understand the synchronization better.
Introduction to Distributed Clock Synchronization and the IEEE 1588 Precision Time Protocol
Timing and Synchronization in NI LabVIEW
Understanding Timing and Synchronization
Hope these will help.