Serial Data Format sub second errors?

biggins

New Member
Joined
Dec 18, 2007
Messages
7
Location
San Diego
Hello,

I'm trying to process the serial data format, I've got the serial port set to output both the EMS and ADHRS data at 19.2k.

The time seems to back track in the fractional seconds spot. Here is an example stripped of the characters after the time:

b'!3222541111
b'!1122541113
b'!3222541214
b'!1122541200
b'!3222541201
b'!1122541203
b'!3222541204
b'!1122541206
b'!3222541207
b'!1122541209
b'!3222541210
b'!1122541212
b'!3222541213
b'!1122541315
b'!3222541300
b'!1122541302
b'!3222541303
b'!1122541305
b'!3222541306
b'!1122541308
b'!3222541309
b'!1122541311
b'!3222541312
b'!1122541414

when the fractional seconds get close to 15 the seconds flip over to the next full second before the fractional seconds reset.

I've attached a full file for review. Any ideas why this is happening?
 

Attachments

  • 2018-03-25_15_53_50_708618t_serial.txt
    427.7 KB · Views: 209

Dynon

Dynon Staff
Staff member
Joined
Jan 14, 2013
Messages
14,232
Location
Woodinville, WA
These are known to not be perfectly in sync. So it's "normal", although admittedly not ideal.
 

biggins

New Member
Joined
Dec 18, 2007
Messages
7
Location
San Diego
I threw in some code to catch and correct the error but leaving an error like this in your equipment is pretty bad form.
 
Top