GUNCO data: Log format


For each shot the GUNCO sends serial data describing various parameters for each gun.

The GUNCO data files holds these data formatted like NMEA sentences. Lines beginning with # or whitespace (TAB or SPACE) should be treated as comments.

Example:

$PSHGUN,MOSBY,01:32:39,2003-06-12,L,4,1,0.1,17.7,0,0,2,-0.2,19.0,0,0,3,0.0,17.7,0,0,5,0.1,18.7,0,0*
Field no Example Description
1 $PSHGUN: P = proprietary, SH = ship, GUN = GUNCO data
2 MOSBY Ship name
3 01:32:39 Time [hh:mm:ss]
4 2003-06-12 Date [yyyy-mm-dd]:
5 L L = PC clock, not necessarily corrected by NTP - must be checked. See comments in file header.
A = Time received from UDP telegrams over the network. UTC.
6 4 Number of active guns. Means the number of 5-parameter groups to follow; the size of the complete string will thus depend of the number of active guns.
Each 5-parameter group has this format:
  1. Gun number
  2. Error value [ms] = Difference between Field Time Break (FTB, zero line in time) and the time that this gun actually shot.
  3. Delay[ms] = Number of milliseconds before FTB that current was sent to the gun solenoid in order to shoot it (i.e. activation of the air release mechanism).
  4. Out of range flag = If set (1), the error was too large (error limit typically set to ± 2ms).
  5. Autofire flag = If set (1), autofire was detected prior to the last shot (autofire means that there was some kind of signal on the gun sensor line when it was supposed to be quiet, possibly as a result of the gun firing out of control.
7 1 Gun number
8 0.1 Error [ms]
9 17.7 Delay [ms]
10 0 "Error out of range" flag. 0=ok, 1=error condition
11 0 "Autofire" flag. 0=ok, 1=autofire detected prior to last shot.
..   More 5-parameter groups.

OM
June 13, 2003
Onboard RV "Håkon Mosby"