# Time synchronization Example function for activating time synchronization on devices. You can choose NTP or PTP synchronization and as an example two different parameters for each are set. In the end the status of the synchronization will be read. ```.. literalinclude:: time_synchronization.py :language: python ```