主要内容

本页采用了机器翻译。点击此处可查看英文原文。

IEEE 1588 精密时间协议

通过 PTP 在目标计算机间实现同步的网络化测量与执行

精密时间协议(IEEE® 1588-2008)用于在计算机网络中同步时钟。有关该标准的更多信息,请参阅 standards.ieee.org

要连接到 PTP 网络,请在目标计算机上运行 RTOS PTP 守护进程。有关更多信息,请参阅 Precision Time Protocol 以及 Target.ptpd 对象的方法。

函数

Target.ptpdTarget Computer PTP Daemon
start在目标计算机上启动 PTP 守护进程
stop停止目标计算机上的 PTP 守护进程
status查看目标计算机上的 PTP 守护进程状态
getTargetTime获取目标计算机的日期和时间 (自 R2025a 起)
getTargetTimezone获取目标计算机时区信息 (自 R2025a 起)
setTargetTime设置目标计算机的日期和时间 (自 R2025a 起)
setTargetTimezone设置目标计算机时区偏好 (自 R2025a 起)

模块

IEEE 1588 Read Parameter输出精确时间协议状态参数值,例如目标计算机系统时间、日历时间和延迟。

主题

相关信息