EM datagrams on *.kmall format  Reg.no. 410224 rev B
EMdgmFormat.h File Reference

Definitions of structs used for building EM output datagrams of *.kmall format. More...

#include "stdint.h"
Include dependency graph for EMdgmFormat.h:

Go to the source code of this file.

Data Structures

struct  EMdgmHeader_def
 Definition of general datagram header. More...
 
struct  EMdgmScommon_def
 Sensor (S) output datagram - common part for all external sensors. More...
 
struct  EMdgmSdataInfo_def
 Information of repeated sensor data in one datagram. More...
 
struct  EMdgmSPOdataBlock_def
 #SPO - Sensor position data block. Data given both decoded and corrected, and raw as received from sensor in text string. More...
 
struct  EMdgmSPO_def
 #SPO - Struct of position sensor datagram. More...
 
struct  EMdgmSKMinfo_def
 Sensor (S) output datagram - info of KMB datagrams. More...
 
struct  KMbinary_def
 #SKM - Sensor attitude data block. Data given timestamped, not corrected. More...
 
struct  KMdelayedHeave_def
 #SKM - delayed heave. Included if available from sensor. More...
 
struct  EMdgmSKMsample_def
 #SKM - all available data. More...
 
struct  EMdgmSKM_def
 #SKM - data from attitude and attitude velocity sensors. More...
 
struct  EMdgmSVPpoint_def
 #SVP - Sound Velocity Profile. Data from sound velocity profile or from CTD profile. Sound velocity is measured directly or estimated, respectively. More...
 
struct  EMdgmSVP_def
 #SVP - Sound Velocity Profile. Data from sound velocity profile or from CTD profile. Sound velocity is measured directly or estimated, respectively. More...
 
struct  EMdgmSCLdataFromSensor_def
 Part of clock datagram giving offsets and the raw input in text format. More...
 
struct  EMdgmSCL_def
 #SCL - CLock datagram. More...
 
struct  EMdgmSDEdataFromSensor_def
 Part of depth datagram giving depth as used, offsets, scale factor and data as received from sensor (uncorrected). More...
 
struct  EMdgmSDE_def
 #SDE - DEpth datagram. More...
 
struct  EMdgmSHIdataFromSensor_def
 Part of Height datagram, giving corrected and uncorrected data as received from sensor. More...
 
struct  EMdgmSHI_def
 #SHI - Height datagram. More...
 
struct  EMdgmSHAdataFromSensor_def
 Part of Heading datagram, giving corrected and uncorrected data as received from sensor. More...
 
struct  EMdgmSHA_def
 #SHA - Heading More...
 
struct  EMdgmMpartition_def
 Multibeam (M) datagrams - data partition information. General for all M datagrams. More...
 
struct  EMdgmMbody_def
 Multibeam (M) datagrams - body part. Start of body of all M datagrams. More...
 
struct  EMdgmMRZ_pingInfo_def
 #MRZ - ping info. Information on vessel/system level, i.e. information common to all beams in the current ping.
More...
 
struct  EMdgmMRZ_txSectorInfo_def
 #MRZ - sector information. More...
 
struct  EMdgmMRZ_rxInfo_def
 #MRZ - receiver specific information. More...
 
struct  EMdgmMRZ_extraDetClassInfo_def
 #MRZ - Extra detection class information. More...
 
struct  EMdgmMRZ_sounding_def
 #MRZ - Data for each sounding, e.g. XYZ, reflectivity, two way travel time etc. More...
 
struct  EMdgmMRZ_extraSI_def
 #MRZ - Extra seabed image samples. More...
 
struct  EMdgmMRZ_def
 #MRZ - Multibeam Raw Range and Depth datagram. The datagram also contains seabed image data. More...
 
struct  EMdgmMWCtxInfo_def
 #MWC - data block 1: transmit sectors, general info for all sectors More...
 
struct  EMdgmMWCtxSectorData_def
 #MWC - data block 1: transmit sector data, loop for all i = numTxSectors. More...
 
struct  EMdgmMWCrxInfo_def
 #MWC - data block 2: receiver, general info More...
 
struct  EMdgmMWCrxBeamData_def
 #MWC - data block 2: receiver, specific info for each beam. More...
 
struct  EMdgmMWCrxBeamPhase1_def
 #MWC - specific info for each beam and water column sample. (Nrx * Ns) entries. Only added to datagram if phaseFlag = 1. More...
 
struct  EMdgmMWCrxBeamPhase2_def
 #MWC - specific info for each beam and water column sample. (Nrx * Ns) entries. Only added to datagram if phaseFlag = 2. More...
 
struct  EMdgmMWC_def
 #MWC - Multibeam Water Column Datagram. Entire datagram containing several sub structs. More...
 
struct  EMdgmIIP_def
 Definition of #IIP datagram containing installation parameters and sensor format settings.
Details in separate document Installation parameters More...
 
struct  EMdgmIOP_def
 Definition 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 More...
 
struct  EMdgmIB_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). More...
 

Macros

#define MAX_NUM_BEAMS   1024
 
#define MAX_EXTRA_DET   1024
 
#define MAX_EXTRA_DET_CLASSES   11
 
#define MAX_SIDESCAN_SAMP   60000
 
#define MAX_SIDESCAN_EXTRA_SAMP   15000
 
#define MAX_NUM_TX_PULSES   9
 
#define MAX_ATT_SAMPLES   148
 
#define MAX_SVP_POINTS   2000
 
#define MAX_HEADING_SAMPLES   1000
 
#define MAX_DGM_SIZE   64000
 
#define MAX_NUM_MST_DGMS   256
 
#define MAX_NUM_MWC_DGMS   256
 
#define MAX_NUM_MRZ_DGMS   32
 
#define MAX_SPO_DATALENGTH   250
 
#define MAX_ATT_DATALENGTH   250
 
#define MAX_SCL_DATALENGTH   64
 
#define MAX_SDE_DATALENGTH   32
 
#define MAX_SHI_DATALENGTH   32
 
#define MAX_SHA_DATALENGTH   32
 
#define EM_DGM_I_INSTALLATION_PARAM   "#IIP"
 
#define EM_DGM_I_OP_RUNTIME   "#IOP"
 
#define EM_DGM_S_POSITION   "#SPO"
 
#define EM_DGM_S_KM_BINARY   "#SKM"
 
#define EM_DGM_S_SOUND_VELOCITY_PROFILE   "#SVP"
 
#define EM_DGM_S_CLOCK   "#SCL"
 
#define EM_DGM_S_DEPTH   "#SDE"
 
#define EM_DGM_S_HEIGHT   "#SHI"
 
#define EM_DGM_S_HEADING   "#SHA"
 
#define EM_DGM_M_RANGE_AND_DEPTH   "#MRZ"
 
#define EM_DGM_M_WATER_COLUMN   "#MWC"
 
#define SPO_VERSION   0
 
#define SKM_VERSION   0
 
#define SVP_VERSION   0
 
#define SCL_VERSION   0
 
#define SDE_VERSION   0
 
#define SHI_VERSION   0
 
#define SHA_VERSION   0
 
#define MRZ_VERSION   0
 
#define MWC_VERSION   0
 
#define IIP_VERSION   0
 
#define IOP_VERSION   0
 
#define BIST_VERSION   0
 

Typedefs

typedef struct EMdgmHeader_def EMdgmHeader
 
typedef struct EMdgmHeader_def * pEMdgmHeader
 
typedef struct EMdgmScommon_def EMdgmScommon
 
typedef struct EMdgmScommon_def * pEMdgmScommon
 
typedef struct EMdgmSdataInfo_def EMdgmSdataInfo
 
typedef struct EMdgmSdataInfo_def * pEMdgmSdataInfo
 
typedef struct EMdgmSPOdataBlock_def EMdgmSPOdataBlock
 
typedef struct EMdgmSPOdataBlock_def * pEMdgmSPOdataBlock
 
typedef struct EMdgmSPO_def EMdgmSPO
 
typedef struct EMdgmSPO_def * pEMdgmSPO
 
typedef struct EMdgmSKMinfo_def EMdgmSKMinfo
 
typedef struct EMdgmSKMinfo_def * pEMdgmSKMinfo
 
typedef struct KMbinary_def KMbinary
 
typedef struct KMbinary_def * pKMbinary
 
typedef struct KMdelayedHeave_def KMdelayedHeave
 
typedef struct KMdelayedHeave_def * pKMdelayedHeave
 
typedef struct EMdgmSKMsample_def EMdgmSKMsample
 
typedef struct EMdgmSKMsample_def * pEMdgmSKMsample
 
typedef struct EMdgmSKM_def EMdgmSKM
 
typedef struct EMdgmSKM_def * pEMdgmSKM
 
typedef struct EMdgmSVPpoint_def EMdgmSVPpoint
 
typedef struct EMdgmSVPpoint_def * pEMdgmSVPpoint
 
typedef struct EMdgmSVP_def EMdgmSVP
 
typedef struct EMdgmSVP_def * pEMdgmSVP
 
typedef struct EMdgmSCLdataFromSensor_def EMdgmSCLdataFromSensor
 
typedef struct EMdgmSCLdataFromSensor_def * pEMdgmSCLdataFromSensor
 
typedef struct EMdgmSCL_def EMdgmSCL
 
typedef struct EMdgmSCL_def * pEMdgmSCL
 
typedef struct EMdgmSDEdataFromSensor_def EMdgmSDEdataFromSensor
 
typedef struct EMdgmSDEdataFromSensor_def * pEMdgmSDEdataFromSensor
 
typedef struct EMdgmSDE_def EMdgmSDE
 
typedef struct EMdgmSDE_def * pEMdgmSDE
 
typedef struct EMdgmSHIdataFromSensor_def EMdgmSHIdataFromSensor
 
typedef struct EMdgmSHIdataFromSensor_def * pEMdgmSHIdataFromSensor
 
typedef struct EMdgmSHI_def EMdgmSHI
 
typedef struct EMdgmSHI_def * pEMdgmSHI
 
typedef struct EMdgmSHAdataFromSensor_def EMdgmSHAdataFromSensor
 
typedef struct EMdgmSHAdataFromSensor_def * pEMdgmSHAdataFromSensor
 
typedef struct EMdgmSHA_def EMdgmSHA
 
typedef struct EMdgmSHA_def * pEMdgmSHA
 
typedef struct EMdgmMpartition_def EMdgmMpartition
 
typedef struct EMdgmMpartition_def * pEMdgmMpartition
 
typedef struct EMdgmMbody_def EMdgmMbody
 
typedef struct EMdgmMbody_def * pEMdgmMbody
 
typedef struct EMdgmMRZ_pingInfo_def EMdgmMRZ_pingInfo
 
typedef struct EMdgmMRZ_pingInfo_def * pEMdgmMRZ_pingInfo
 
typedef struct EMdgmMRZ_txSectorInfo_def EMdgmMRZ_txSectorInfo
 
typedef struct EMdgmMRZ_txSectorInfo_def * pEMdgmMRZ_txSectorInfo
 
typedef struct EMdgmMRZ_rxInfo_def EMdgmMRZ_rxInfo
 
typedef struct EMdgmMRZ_rxInfo_def * pEMdgmMRZ_rxInfo
 
typedef struct EMdgmMRZ_extraDetClassInfo_def EMdgmMRZ_extraDetClassInfo
 
typedef struct EMdgmMRZ_extraDetClassInfo_def * pEMdgmMRZ_extraDetClassInfo
 
typedef struct EMdgmMRZ_sounding_def EMdgmMRZ_sounding
 
typedef struct EMdgmMRZ_sounding_def * pEMdgmMRZ_sounding
 
typedef struct EMdgmMRZ_extraSI_def EMdgmMRZ_extraSI
 
typedef struct EMdgmMRZ_extraSI_def * pEMdgmMRZ_extraSI
 
typedef struct EMdgmMRZ_def EMdgmMRZ
 
typedef struct EMdgmMRZ_def * pEMdgmMRZ
 
typedef struct EMdgmMWCtxInfo_def EMdgmMWCtxInfo
 
typedef struct EMdgmMWCtxInfo_def * pEMdgmMWCtxInfo
 
typedef struct EMdgmMWCtxSectorData_def EMdgmMWCtxSectorData
 
typedef struct EMdgmMWCtxSectorData_def * pEMdgmMWCtxSectorData
 
typedef struct EMdgmMWCrxInfo_def EMdgmMWCrxInfo
 
typedef struct EMdgmMWCrxInfo_def * pEMdgmMWCrxInfo
 
typedef struct EMdgmMWCrxBeamData_def EMdgmMWCrxBeamData
 
typedef struct EMdgmMWCrxBeamData_def * pEMdgmMWCrxBeamData
 
typedef struct EMdgmMWCrxBeamPhase1_def EMdgmMWCrxBeamPhase1
 
typedef struct EMdgmMWCrxBeamPhase1_def * pEMdgmMWCrxBeamPhase1
 
typedef struct EMdgmMWCrxBeamPhase2_def EMdgmMWCrxBeamPhase2
 
typedef struct EMdgmMWCrxBeamPhase2_def * pEMdgmMWCrxBeamPhase2
 
typedef struct EMdgmMWC_def EMdgmMWC
 
typedef struct EMdgmMWC_def * pEMdgmMWC
 
typedef struct EMdgmIIP_def dgm_IIP
 
typedef struct EMdgmIIP_def * pdgm_IIP
 
typedef struct EMdgmIOP_def dgm_IOP
 
typedef struct EMdgmIOP_def * pdgm_IOP
 
typedef struct EMdgmIB_def dgm_IB
 
typedef struct EMdgmIB_def * pdgm_IB
 

Detailed Description

Definitions of structs used for building EM output datagrams of *.kmall format.

Date
March 01 2017

Macro Definition Documentation

#define MAX_NUM_BEAMS   1024

Maximum number of beams. Actual number of beams in datagram given by parameter numSoundingsMaxMain in struct EMdgmMRZ_rxInfo_def.

#define MAX_EXTRA_DET   1024

Maximum number of extra detections. Actual number of extra detections in datagram given by parameter numExtraDetections in struct EMdgmMRZ_rxInfo_def.

#define MAX_EXTRA_DET_CLASSES   11

Maximum number of classes of extra detections. Actual number of extra detection classes in datagram given by parameter numExtraDetectionClasses in struct EMdgmMRZ_rxInfo_def.

#define MAX_SIDESCAN_SAMP   60000

Maximum number of seabed image / sidescan data samples. Actual number to be found in parameter SInumSamples in struct EMdgmMRZ_sounding_def.

#define MAX_SIDESCAN_EXTRA_SAMP   15000

Maximum number of extra seabed image / sidescan data samples at the port and starboard flanks.

#define MAX_NUM_TX_PULSES   9

Maximum number of TX pulses per ping. Actual length in datagram given by parameter numTxSectors in struct EMdgmMRZ_pingInfo_def.

#define MAX_ATT_SAMPLES   148

Maximum number of attitude samples allowed in one datagram. Actual length in datagram given by parameter numSamplesArray in struct EMdgmSdataInfo_def

#define MAX_SVP_POINTS   2000

Maximum number of sound velocity profile depth points. Actual length in datagram given by numSamples in the struct EMdgmSVP_def

#define MAX_HEADING_SAMPLES   1000

Maximum number of heading samples. Actual length in datagram given by parameter numSamplesArray in struct EMdgmSdataInfo_def

#define MAX_DGM_SIZE   64000

Maximum length for datagram / UDP packet.

#define MAX_NUM_MST_DGMS   256

Maximum number of #MST datagram partitions that can be sent from PU. See struct EMdgmMpartition_def.

#define MAX_NUM_MWC_DGMS   256

Maximum number of #MWC datagram partitions that can be sent from PU. See struct EMdgmMpartition_def.

#define MAX_NUM_MRZ_DGMS   32

Maximum number of #MRZ datagram partitions that can be sent from PU. See struct EMdgmMpartition_def.

#define MAX_SPO_DATALENGTH   250

Maximum length (bytes) for sensor data from position sensor. Actual length in datagram given by parameter numBytesRawSensorData in struct EMdgmSdataInfo_def

#define MAX_ATT_DATALENGTH   250

Maximum length (bytes) for sensor data from attitude sensor. Actual length in datagram given by parameter numBytesRawSensorData in struct EMdgmSdataInfo_def

#define MAX_SCL_DATALENGTH   64

Maximum length (bytes) for sensor data from clock sensor. Actual length in datagram given by parameter numBytesRawSensorData in struct EMdgmSdataInfo_def

#define MAX_SDE_DATALENGTH   32

Maximum length (bytes) for sensor data from depth sensor. Actual length in datagram given by parameter numBytesRawSensorData in struct EMdgmSdataInfo_def

#define MAX_SHI_DATALENGTH   32

Maximum length (bytes) for sensor data from height sensor. Actual length in datagram given by parameter numBytesRawSensorData in struct EMdgmSdataInfo_def

#define MAX_SHA_DATALENGTH   32

Maximum length (bytes) for sensor data from heading sensor. Actual length in datagram given by parameter numBytesRawSensorData in struct EMdgmSdataInfo_def