G-858BP Backpack Mag Operators Manual
Positions events and discontinuities are caused by MARK or END LINE key presses. Typically, a
discontinuity event is associated with the beginning of a line.
The C-program lines which BINTOASC uses to create these files are shown below.
TYPE 0: Magnetometer Readings
fprintf(pAscFile, "%-2u %10.3lf %10.3lf %.2d:%.2d:%.2d.%.2d
%.2d/%.2d/%2.d %3u\r\n",
type, // 0 in this case
reading1, // reading from sensor 1 (front
connector)
reading2, // reading from sensor 2 if connected
hours, // time of day
minutes,
seconds,
hundredths,
month, // date
day,
year,
status ); // G-858BP internal information.
Example:
0 49881.953 49874.396 11:02:08.60 06/01/95 0
TYPE 3: Position events.
fprintf(pAscFile, "%-2u %12.2lf %12.2lf %.2d:%.2d:%.2d.%.2d
%.2d/%.2d/%2.d %10ld %11ld %11ld %3u\r\n",
type, // 3 in this case
x_position, // X coordinate
y_position, // Y coordinate
hours, // time of day
minutes,
seconds,
hundredths,
month, // date
day,
year,
Number_of_Readings, // Number of readings since last position or
// discontinuity
Line, // Line number
Station, // Mark Number
Status ); // G-858BP internal information.
Example: (some blanks omitted to fit onto a single line)
3 26.00 0.00 11:02:08.70 06/01/95 168 13 0 5
93