EM datagrams on *.kmall format  Reg.no. 410224 rev G
Data Structures
Here are the data structures with brief descriptions:
 CEMdgmCHE_def#CHE - Struct of compatibility heave sensor datagram.

Used for backward compatibility with .all datagram format. Sent before #MWC (water column datagram) datagram if compatibility mode is enabled. The multibeam datagram body is common with the #MWC datagram
 CEMdgmCHEdata_def#CHE - Heave compatibility data part. Heave reference point is at transducer instead of at vessel reference point
 CEMdgmCPO_def#CPO - Struct of compatibility position sensor datagram.

Data from active sensor will be motion corrected if indicated by operator. Motion correction is applied to latitude, longitude, speed, course and ellipsoidal height. If the sensor is inactive, the fields will be marked as unavailable, defined by the parameters define UNAVAILABLE_LATITUDE etc
 CEMdgmCPOdataBlock_def#CPO - Compatibility sensor position compatibility data block. Data from active sensor is referenced to position at antenna footprint at water level. Data is corrected for motion ( roll and pitch only) if enabled by K-Controller operator. Data given both decoded and corrected (active sensors), and raw as received from sensor in text string
 CEMdgmFCF_def#FCF - Backscatter calibration file

The backscatter calibration file contains the measured backscatter offsets. These will be used to compensate for the default backscatter values. The datagram will contain the backscatter correction that is in use in the current line
 CEMdgmFcommon_defFile (F) output datagram - common all for file datagrams
 CEMdgmHeader_defDefinition of general datagram header
 CEMdgmIB_def#IB - Results from online built in test (BIST). Definition used for three different BIST datagrams, i.e. #IBE (BIST Error report), #IBR (BIST reply) or #IBS (BIST short reply)
 CEMdgmIIP_defDefinition of #IIP datagram containing installation parameters and sensor format settings.
Details in separate document Installation parameters
 CEMdgmIOP_defDefinition of #IOP datagram containing runtime parameters, exactly as chosen by operator in the K-Controller/SIS menus.
For detailed description of text strings, see the separate document Runtime parameters set by operator
 CEMdgmMbody_defMultibeam (M) datagrams - body part. Start of body of all M datagrams
 CEMdgmMpartition_defMultibeam (M) datagrams - data partition information. General for all M datagrams
 CEMdgmMRZ_def#MRZ - Multibeam Raw Range and Depth datagram. The datagram also contains seabed image data
 CEMdgmMRZ_extraDetClassInfo_def#MRZ - Extra detection class information
 CEMdgmMRZ_extraSI_def#MRZ - Extra seabed image samples
 CEMdgmMRZ_pingInfo_def#MRZ - ping info. Information on vessel/system level, i.e. information common to all beams in the current ping.
 CEMdgmMRZ_rxInfo_def#MRZ - receiver specific information
 CEMdgmMRZ_sounding_def#MRZ - Data for each sounding, e.g. XYZ, reflectivity, two way travel time etc
 CEMdgmMRZ_txSectorInfo_def#MRZ - sector information
 CEMdgmMWC_def#MWC - Multibeam Water Column Datagram. Entire datagram containing several sub structs
 CEMdgmMWCrxBeamData_def#MWC - data block 2: receiver, specific info for each beam
 CEMdgmMWCrxBeamPhase1_def#MWC - Beam sample phase info, specific for each beam and water column sample. numBeams * numSampleData = (Nrx * Ns) entries. Only added to datagram if phaseFlag = 1. Total size of phase block is numSampleData * int8_t.
 CEMdgmMWCrxBeamPhase2_def#MWC - Beam sample phase info, specific for each beam and water column sample. numBeams * numSampleData = (Nrx * Ns) entries. Only added to datagram if phaseFlag = 2. Total size of phase block is numSampleData * int16_t
 CEMdgmMWCrxInfo_def#MWC - data block 2: receiver, general info
 CEMdgmMWCtxInfo_def#MWC - data block 1: transmit sectors, general info for all sectors
 CEMdgmMWCtxSectorData_def#MWC - data block 1: transmit sector data, loop for all i = numTxSectors
 CEMdgmSCL_def#SCL - CLock datagram
 CEMdgmSCLdataFromSensor_defPart of clock datagram giving offsets and the raw input in text format
 CEMdgmScommon_defSensor (S) output datagram - common part for all external sensors
 CEMdgmSdataInfo_defInformation of repeated sensor data in one datagram
 CEMdgmSDE_def#SDE - Depth datagram
 CEMdgmSDEdataFromSensor_defPart of depth datagram giving depth as used, offsets, scale factor and data as received from sensor (uncorrected)
 CEMdgmSHI_def#SHI - Height datagram
 CEMdgmSHIdataFromSensor_defPart of Height datagram, giving corrected and uncorrected data as received from sensor
 CEMdgmSKM_def#SKM - data from attitude and attitude velocity sensors
 CEMdgmSKMinfo_defSensor (S) output datagram - info of KMB datagrams
 CEMdgmSKMsample_def#SKM - all available data.
 CEMdgmSPO_def#SPO - Struct of position sensor datagram.

Data from active sensor will be motion corrected if indicated by operator. Motion correction is applied to latitude, longitude, speed, course and ellipsoidal height. If the sensor is inactive, the fields will be marked as unavailable, defined by the parameters define UNAVAILABLE_LATITUDE etc
 CEMdgmSPOdataBlock_def#SPO - Sensor position data block. Data from active sensor is corrected data for position system installation parameters. Data is also corrected for motion ( roll and pitch only) if enabled by K-Controller operator. Data given both decoded and corrected (active sensors), and raw as received from sensor in text string
 CEMdgmSVP_def#SVP - Sound Velocity Profile. Data from sound velocity profile or from CTD profile. Sound velocity is measured directly or estimated, respectively
 CEMdgmSVPpoint_def#SVP - Sound Velocity Profile. Data from one depth point contains information specified in this struct
 CEMdgmSVT_def#SVT - Sound Velocity at Transducer. Data for sound velocity and temperature are measured directely on the sound velocity probe
 CEMdgmSVTinfo_defPart of Sound Velocity at Transducer datagram
 CEMdgmSVTsample_def#SVT - Sound Velocity at Transducer. Data sample
 CKMbinary_def#SKM - Sensor attitude data block. Data given timestamped, not corrected
 CKMdelayedHeave_def#SKM - delayed heave. Included if available from sensor