message sub-type "128"
Each hardware device has a free running internal clock that is used to trigger sampling of data and generating time stamps. Typically this clock runs at 10kHz. When we have several components in a system it is highly desirable to synchronize these clocks to ensure that all the data is synchronized for comparison in analysis. To achieve this, every 10-20 seconds each unit has to output a special synchronization message in the format:
128 "Time syncronisation message"
| byte index
| value
|
| 0
| [102] message type
|
| 1
| [18] message length
|
| 2
| [128] message sub type
|
| 3
| [51] random sequence start
|
| 4
| [83]
|
| 5
| [50]
|
| 6
| [94]
|
| 7
| [48]
|
| 8
| [228]
|
| 9
| [193]
|
| 10
| [194] random sequence end <- it is the end of this byte that is accurately timed
|
| 11
| [Time MSB] Time in 10's of uS
|
| 12
| [Time]
|
| 13
| [Time]
|
| 14
| [Time LSB]
|
| 15
| [133] random sequence start
|
| 16
| [160]
|
| 17
| [85]
|
| 18
| [140]
|
| 19
| [95] random sequence end
|
| 20
| [checksum]
|