Main Content

IEEE 1588 Precision Time Protocol

Synchronized networked measurement and execution across target computers with PTP

The Precision Time Protocol (IEEE® 1588-2008) synchronizes clocks throughout a computer network. For more information about the standard, see standards.ieee.org.

To interface to a PTP network, run the RTOS PTP daemon on the target computer. For more information, see Precision Time Protocol and the methods for the Target.ptpd object.

Functions

Target.ptpdTarget Computer PTP Daemon (Since R2020b)
startStart the PTP daemon on the target computer (Since R2020b)
stopStop the PTP daemon on the target computer (Since R2020b)
statusView the PTP daemon status on the target computer (Since R2020b)
getTargetTimeGet target computer date and time (Since R2025a)
getTargetTimezoneGet target computer time zone information (Since R2025a)
setTargetTimeSet target computer date and time (Since R2025a)
setTargetTimezoneSet target computer time zone preference (Since R2025a)

Blocks

IEEE 1588 Read ParameterOutput Precision Time Protocol status parameter values such as target computer system time, calendar time, and delays (Since R2020b)

Topics

Related Information