.net - Is there a PTP (Precision Time Protocol | IEEE 1588) library? -
i've been tasked syncing time critical process logging data plc ptp (precision time protocol, ieee 1588) time source.
a quick @ available libraries turn nothing ivi-c , ivi-com based implementations.
is there managed library supports ptp missed, or need find method use theivi-com library designed labview in application?
i had reffered, following answer site http://code.google.com/p/ptpv2d/wiki/introduction, gave me clear idea on ptpv2d, hope clear information, this.
pls refer http://code.google.com/p/ptpv2d/
ptpv2d gpl licensed open source code of ieee 1588 version 1, version 2 , ieee 802.1as including hardware timestamping freescale mpc831x family of processors.
the ptpv2d precision time protocol has following features:
- the user mode application runs under standard linux, modular design ensures easy portation additional operating systems.
 - an extensive optional print-to-console debug message function. message functionality can added or omitted @ compile time. if included, output level command-line selectable. debug messages uniformly formatted quicker, easier analysis. posix socket calls used retrive messages. message handling contained in separate module ensure easy portation desired operating system.
 - freescale mpc8313e ethernet port driver full support ptp version 1 , version 2 message hardware time stamping.
 - ability adjust hardware clock precisely (as precise 1 part per billion). software algorithm fine (as small 1 part per billion) adjustment of hardware clock .
 - ability report detected variances grandmaster clock in parts per million
 - command line ability set 4 different debug output levels: none, basic, verbose, , message 7.ability set sync/follow-up transmit time values of less 1 second. allows multiple sync/follow-ups per second, provides enhanced accuracy , tracking of "slave" system "grandmaster" system.
 - additional run time options , support code include:
 - selection of ptp version 1 or version 2 encapsulation , protocol 10.selection of ieee 1588 ptp on ipv4/udp, ieee p1588 ptp on ethernet (draft 2.2)or ieee p802.1as encapsulation , protocol(draft 1.0) user specified clock period synthesize other base clocks, not @ 10 mhz.
 these features have gone through extensive testing using dual mpc8313e-rdb boards running both ptp , ping traffic. on freescale mpc8313e-rdb board running 8 sync/follow-up messages per second, support plus or minus 50 nanosecond offset master more 99.9% of time. @ 128 sync/follow-ups per seconds, system synchronize within 16 nanoseconds of "grandmaster" system.
Comments
Post a Comment