Run Status Messages
| Channel Number | 2 |
| Total Length | 11 bytes |
| Channel | Data1 | Data2 | Data3 | Data4 | Data5 | Data6 | Data7 | Data8 | Data9 | Checksum |
If Data1 = 1,2, or 3:
Start method = Data1
Stop method = Data2
Pretrigger loop exit = Data3
Pretrigger time (minutes) = Data4
Postrigger time (minutes) = Data5
Autostart source = Data6
Autostop source = Data7
Lowest buffer value = Data8 x 2^8 + Data9
Start methods:
1 Button press
2 Autostart
3 Starting pretrigger loop (On VIDEO4: DVR serial command from PC commander OR Remote RT serial command from DASH)
Stop methods
1 Button press
2 Autostop condition met
3 post trigger expired
4 low battery voltage
5 low buffer space
6 GSM command
7 Disk full
8 DVR serial command from PC commander
9 Remote RT serial command from DASH
10 4 GB file limit exceeded (pDrive only)
Pretrigger loop exit
1 Button press
2 Autostart
Autostart and autostop values
1-8 ADC channels 1-8
15 Lateral g-force
16 Longitudinal g-force
If Data1 = 4:
Same as above, except Start method is given by top 4 bits of Data2. Stop method is bottom 4 bits of Data2.
If Data1 = 5:
Data2 gives feedback on why trying to add a track marker failed on a logger. Valid reasons are:
- Marker already exists at this location
- Too many markers defined
- Not currently logging data
- No card inserted
- GPS data is too inaccurate
- Correct GPS data is not available
We should send error 5 if the positional accuracy is > threshold
We should send error 6 if we are not receiving GPS position, time and heading as required, so this would lead the user to know that the DL1 was not set up correctly.
If data1 = 6
Data2 = status
The status byte is a bit field with the following bits (bit 0 is the LSB, bit 7 is the MSB):
bit 0: GPS module(s) detected OK (no GPS module error set)
bit 1: IMU detected OK (no IMU error set)
bit 2: GPS 1 lock
bit 3: GPS 2 lock
bit 4: Carrier lock
bit 5: RTK lock
bit 6: INS initialised
bit 7: INS converged
Data3/4/5/6 = Kalman filter convergence , float
Data7/8 = number of measurements that were rejected by the kalman filter
Data9 = DSP load, 0 to 100
Special Case:
Data2/3/4/5/6/7/8 = 0
Data9 = LAP Marker file status
- Not checked yet (No GPS lock yet)
- LAP file loaded successfully (Only one LAP file found)
- No LAP files on disk
- Failed to load the only one LAP file
- Failed to access only one LAP file
- LAP file loaded successfully (DEFAULT.LAP file found: only in pDrive)
- LAP file loaded successfully (Matching file found in the range)
- No matching file found in the range
If data1 = 7
Data2/3 = Roll gyro bias, Signed 16 -32.768 degrees to 32.767 degrees
Data4/5 = Pitch gyro bias, Signed 16 -32.768 degrees to 32.767 degrees
Data6/7 = Yaw gyro bias, Signed 16 -32.768 degrees to 32.767 degrees
Data8/9 =Yaw gyro scale, Signed 16 -3.2768 degrees to 3.2767 degrees
If data1=8
Data2/3 = Longitudinal accelerometer bias, Signed 16 -32.768 degrees to 32.767 m/s
Data4/5 = Lateral accelerometer bias, Signed 16 -32.768 degrees to 32.767 m/s
Data6/7 = Vertical accelerometer bias, Signed 16 -32.768 degrees to 32.767 m/s