.net - 是否有 PTP(精确时间协议(protocol) | IEEE 1588)库?

标签 .net time ieee

我的任务是同步时间关键流程,用于记录来自 PLC 的数据与 PTP(精确时间协议(protocol),IEEE 1588)时间源。

快速浏览一下可用的库,除了基于 IVI-C 和 IVI-COM 的实现之外,什么也没有。

是否有我错过的支持 PTP 的托管库,或者我是否需要找到一种方法来在我的应用程序中使用专为 LabVIEW 设计的 IVI-COM 库?

最佳答案

我已经从这个网站提供了以下答案http://code.google.com/p/ptpv2d/wiki/Introduction ,这让我对 ptpv2d 有一个清晰的了解,希望您也能获得关于此的清晰信息。

请也引用此http://code.google.com/p/ptpv2d/

ptpv2d 是 IEEE 1588 第 1 版、第 2 版和 IEEE 802.1AS 的 GPL 许可开源代码,包括 Freescale MPC831x 系列处理器的硬件时间戳。

The ptpv2d is a Precision Time Protocol which has the following features:

  1. The User mode application which runs under standard LINUX, with a modular design that ensures easy portation to additional operating systems.
  2. An extensive optional print-to-console debug message function. This message functionality can be added or omitted at compile time. If it is included, then the output level is command-line selectable. Debug messages are uniformly formatted for quicker, easier analysis. The POSIX socket calls is used to retrive all messages. Message handling is contained in a separate module to ensure easy portation to any desired operating system.
  3. Freescale MPC8313E Ethernet port driver with full support for PTP version 1 and version 2 message hardware time stamping.
  4. Ability to adjust the Hardware clock very precisely (as precise as one part per billion). Software algorithm for fine (as small as one part per billion) adjustment of the Hardware clock .
  5. Ability to report detected variances from Grandmaster clock in parts per million
  6. Command line ability to set four different debug output levels: none, basic, verbose, and Message 7.Ability to set Sync/Follow-up transmit time values of less than one second. This allows for multiple Sync/Follow-ups per second, which provides enhanced accuracy and tracking of the "slave" system to the "grandmaster" system.
  7. Additional run time options and support code include:
  8. Selection of PTP version 1 or version 2 encapsulation and protocol 10.Selection of IEEE 1588 PTP over IPv4/UDP, IEEE P1588 PTP over Ethernet (draft 2.2)or IEEE P802.1AS encapsulation and protocol(draft 1.0) User specified clock period to synthesize other base clocks, not just at 10 MHz.

These features have gone through extensive testing using dual MPC8313E-RDB boards running both PTP and Ping traffic. On a Freescale MPC8313E-RDB board running eight Sync/Follow-up Messages per second, it will support a plus or minus 50 nanosecond offset from master more than 99.9% of the time. At 128 Sync/Follow-ups per seconds, the system will synchronize within 16 nanoseconds of the "grandmaster" system.

关于.net - 是否有 PTP(精确时间协议(protocol) | IEEE 1588)库?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3806102/

相关文章:

haskell - Haskell 中两个 `LocalTime` (或 `UTCTime` )之间的随机时间

java - float 值上的 TimeUnit

flutter - Dart将IEEE-11073 32位FLOAT转换为简单的double

c# - 检测字符串中的前导零

c# - .NET 有类似 Java 的 permgen 的东西吗?

c# - 使用 T2 需要 T1 的构造函数从 T1 列表创建 T2 列表

https - 有 HTTPS 标准吗?

c# - 是否有适用于 PayPal.Me 的 API? (PayPal.me 是另一种通过链接的支付功能)

c# - 停止屏幕超时 - Windows Phone 8.1

vhdl - 为什么IEEE vhdl标准库不是STL?