Parameters for Sonar.Ini

;--------------------------------------------------------------------------
; [MAIN] : Overall configuration options:
;--------------------------------------------------------------------------
; Priority=1
;   Sets the run time priority of the app (0:Normal, 1:High , 2:Real-Time)
;   Note that priority of 2 causes problems with PC-Anywhere
; AutoStart=0
;   Set to 1 to start pinging on startup
; AutoEther=1
;   Set to 1 to enable transmission of all channels of sonar data over ethernet
; DspSimulator=0
;   Set not-zero to run without a DSP Card.
;   Set to 3 to process step wedge through filters.
;   Set to 2 to enable simulator mode and input a random delay of the
;   outgoing pulse.  This is the required mode for MPX simulation.
;   Set to 1 to enable a stepwedge directly out.
; DspSimulatorTickInterval=5
;   Tick marks at top of display in simulator if greater than 0.
; AutoStore=0
;   Set to 1 to enable storage to local disk
; TAPE_LINE1=Your Company
;   Annotation for segy data.
; TAPE_LINE2=Your Area
;   Annotation for segy file second line.
; NCARD=1
;   Number of ADC64 cards installed (1-3).  Config for each card is in [DSPN] sections.
; NSUB=1
;   Number of Subsystems installed.  Config for each subsystem is in [SUBN] sections.
; NETWORK_QUEUE_SIZE=1000
;   Size of the data queue in kbytes.
; PlaybackQueueSize=500
;   Size of playback data queue in kbytes.
; DSP_QUEUE_SIZE=64
;   Size of the data queue in elements between the dsp and the data thread.
;   A queue of this size is allocated for each card.
; COMMAND_PORT=1700
;   Socket number for command socket
; DATA_PORT=1701
;   Socket number for data socket
; NetDataIF=1
;   1 to enable command and data sockets.  0 to disable.
; DisplayOptions=2
;   Set to 0 to minimize on startup.
;   Set to 1 to keep display minimized at all times.
;   Set to 2 to show always.
;   Set to 3 to let the operator choose
; PostProcessing=1
;   Set to 0 to enable DSP based post processing (original analog card only)
;   Set to 2 to pick up DATA_ALL format data from the dsp.  Required for performance
;     in multiping systems.
; DspSyncInterval=60000
;   Set to the number of milliseconds between time syncs of each DSP card.
; PciPollInterval=20
;   Set to the number of milliseconds to sleep when there is no data on the
;   shared memory between DSP and PC.  Can be increased when bigbuf is used.
; IgnoreMFOverlap=0
;   Set to 1 to ignore the size of the matched filter (SaveSize).  This will
;   deliver some data at the end of a pulse that is not good.
; SoundSpeed=1500
;   Sound speed in meters per second.
; CmdXmitSize=60000
; CmdRecvSize=60000
; DataXmitSize=150000
; DataRecvSize=60000
;   Size of transmit and receive buffers for data on sockets.
; DualNetwork=0
;   Set to 0 to get 1 network socket for both command and data and storage.
;   Set to 1 to get 2 simultaneous network connections.  In this case the
;   second connection replaces record for the storage window interface.
;   Set to 2 to get 2 command sockets but only a single data socket.
;   with storage support (on the second window).
;   When a second network soocket / socket pair are enabled, they will
;   default to sockets 1702 and 1703.  This can be modified by creating
;   a [Net1] section with appropriate COMMAND_PORT and DATA_PORT keywords.
; TimeSyncInterval=1
;   Time sync interval for hardware time sync in seconds.
; TimeSyncNetwork=0
;   Set to a time interval in seconds to enable sonar as a master timesync
;   for the SIU and this computer.
;   When this number is positive the bottle computer (Sonar.Exe) is the
;   time sync master.  Time sync is done periodically.  When this parameter
;   is set to 1 it will timesync every 30 seconds.  For custom timesync
;   interval set to 2 or greater (eg 2 for every 2 seconds).
; TimeSyncMaxLatency=100
;   Maximum latency between a query for time and a response from the SIU.
;   If the latency is exceeded the response from the SIU is ignored and
;   no timesync is performed.
; TimeSyncMaxDelta=20
;   Maximum time delta in ms to apply per time sync query (to the SIU).
;   If this value is too small, the SIU time may never converge, but 
;   smaller values can help to filter out latency noise in the algorithm.
; XmitRate=500000
;   Rate of data socket (maximum sustainable) in bytes per second.
; XmitBufSize=0
;   Buffer size in bytes  of network buffers to avoid overflow.  If set to zero
;   then rate limiting of data transmission is disabled.  A good number is about
;   32000
; DisableUnsolicitedMsgs=0
;   Set to 1 to disable unsolicited messages on the command socket (eg status msgs)
; CachePulseList=1
;   Set to 0 to dynamically scan for pulses on every request.  The default
;   keeps the disk from spinning up for a bottle system unless a pulse is
;   loaded.
; CompatibilityOptions=0
;   Bit 0: Use old pulse file formats (per channel) and window based on samples
; TimerSource=-1
;   Set the internal timer source if >= 0.  Standard (0), HP (1), Hardware (2)
; PostCodes=00001 01001 10001 11001
;   Power on self test codes to run on startup. This consists of up to 8 hex numbers.
;   Each value has the following: (S)(C)(P)(F) where,
;   (S) : One Hex digits of the subsystem index (0..f)
;   (C) : One Hex digits of the channel number (0..f)
;   (P) : Two Hex digits of the post code as defined in DiagnosticSelectionType (SonarMessages)
;   (F) : Function to perform (1 => Execute but dont check status, 2 => Execute and include in status)
;         Other values (ie 0) cause the POST test to be ignored.
;    The DiagnosticSelections are summarized below:
;      0 : Heartbeat
;      1 : SB Poweramp feedback
;      2 : Check Interface card digital logic
;      3 : Check 48 Volt Power
;      4 : Check ambient temperature sensor
;    To run digital diag use code 00022.  To run SB power amp feedback use code 00012
;    eg: PostCodes=00001 01001 10001 11001 00022 00012
;   RECOMMENDED POSTCODES:
;     FSIC:  00001 10001 11001 00012 00022 00032 00042
;     FSSB:  00001 00012 00022
; IgnorePostError=1
;   When set to 0, NO SONAR DATA will be transmitted if there is a POST error.
;   When set to 1, post errors are ignored.  SONAR_MESSAGE_OVERRIDE message can
;   be sent to set the flag to 1.
; StepWedgeSamples=0
;   Set to a positive value to fill the first N samples of each returned message
;   packet with a step wedge for testing.
; StepWedgeGainDB=0
;   Overall scale factor for intensity level of step wedge in DB.
; Message_Dll=
;   Name of message dll for advanced / extended processing.
; SystemType=-1
;   System type as returned by the SONAR_MESSAGE_SYSTEM_TYPE message.
;   If -1 is used, the configuration will be estimated from other parameters.
;   The -1 values should only be used for backward compatibility.
;   /*    0 - No Acquisition                                                */ 
;   /*    1 - MPX sidescan                                                  */ 
;   /*    2 - single frequency sidescan                                     */ 
;   /*    3 - simultaneous dual frequency sidescan - DF1000                 */    
;   /*    4 - simultaneous dual frequency sidescan - FSDW                   */    
;   /*    5 - sub-bottom sonar                                              */ 
;   /*    6 - combined sub-bottom and dual frequency sidescan               */ 
; Device=1
;   Low level hardware model for system.  The currently defined devices are
;   1: ADC64
;   2: ATAPI
; Config=0
;   Standard configuration settings.  If non-zero, the default values for
;   keywords are modified consistent with the types described below.  This
;   simplifies the ini file.  This string is case sensitive and must be in
;   all uppercase letters.  The supported configurations are:
;   0: None
;   ATAPI_SBSS: ATAPI Based SB, SSL and SSH system.
;   FSIC_SBSS : FSIC Based SB, SSL and SSH system.
;   FSIC_MPX  : FSIC Based MPX with SB system.
;   ATAPI_MPX : ATAPI Based MPX with SB system.
;   ADC64_FSSB: AIC Based SB Only System
;   ATAPI_SAS : ATAPI Based SAS (12 Channel) system.
;   ATAPI_FSSB: ATAPI Based FSSB system (1 channel subbottom).
;   ATAPI_SC  : ATAPI Based Sed Class system (8 channel subbottom)
;   ADC64_SC  : ADC64 Based Sed Class system (8 channel subbottom)
; QCCompressMethod=0
;   Compression method for QC Data.  See CompressNet keyword for description.
; QCDestinationQueue=1
;   Destination queue for QC Data.  Use 1 for standard network or 2 for
;   alternate network like (or disk link).
; PingOffIfNoActiveDestination=0
;   Set to one to keep pinging on even if there is not valid destination for
;   data.  If set to 0, pinging and data collection will stop if there is
;   nothing to send data to (network link or file destination).
; CompressNet= -1
; CompressDisk= -1
;   Default compression method for sonar data.  See discussion in [SubMION]
;   for details.
; EnableSounds=0
;   This is a bit mask for enabling playing of sounds on the PCs speaker.
;   Bit 0: If there is a post error, play the sound file SoundPostError.txt
;   Bit 1: If there is not data sink (eg no net connect) play the file SoundNoConnect.txt
;   Bit 2: If a connection is established play the file SoundConnect.txt
;   If a file does not exist then not sound will be heard even if enabled.
; MaxMessageSize=262144
;   Approximate maximum message size on the command socket.  The default is normally
;   much larger than is needed.  However, some video capture options will require
;   a larger size.

;--------------------------------------------------------------------------
[File] - Store and Forward
;--------------------------------------------------------------------------
; PrimaryDrive=D:
; BackupDrive=
;   Sets the primary and backup hard disks for data storage.  If the BackupDrive
;   is specified and is not blank, then if a disk error occurs then storage will be
;   switched from the primary to the backup drive.  See the keyword "OnBackupDrive".
; BaseName=\DATA\DATA
;   Base directory and file name for data storage.  Note that this is preceeded by the
;   PrimaryDrive or BackupDrive string when creating files.
; MaxFileSize=50
;   Maximum size of each file in mb.  Once a file exceeds this size it is closed
;   and a new file is created.  Must be between 1mb and 2 gb.
; MaxFileTime=600
;   Maximum time a file can remain open for writing in seconds.  Onces a file
;   is open for this time it is closed and a new file is created.  This determines
;   the maximum amount of data that can be lost on power failure.
; AutoRecord=0
;   Set to 1 to enable recording of data to disk on startup.
; AutoPlayback=0
;   Set to 1 to enable playback of store and forward data on startup.
; FileQueueSize=0
;   Size of the data queue in kbytes destined to be written to a data file.
;   If file storage is used this number should be set to about 1000.
;   As a special case, if this value is less than 100 and larger than 0
;   then data destined for file storage is redirected into the network output queue.
;   A value of 0 will default to 1000 (1 mb) if the storage option is enabled.
; PlaybackRate=500
;   Sets the playback rate in kbytes per second.
; AllowNoHeaderRead=0
;   Set to 1 to enable compatibility mode with old format JStar files.  This
;   reduces the amount of error checking done.
; MaxBackupSize=0
;   Set to the maximum size of the backup data files in mb.  Once data is
;   played back, it is deleted if this value is 0.  Otherwise, only the oldest
;   data is deleted until the total size of the backup files are below this value.
; MaxDiskUsage=0
;   Set to the maximum space allowed for data files waiting to be played back
;   and backup data.  Set to 0 to disable this check.
; MinDiskFree=0
;   Set to the mimimum amount of disk free space in mb.  A new recording file will
;   not be created (Disk Full Error) if there is not at least this much
;   free disk space.  A value of 0 will set the minimum disk free space to
;   twice the MaxFileSize.  A value less than 10 mb will otherwise set the minimum disk
;   free space to 10 mb.  Use -1 to disable this check (not recommended).
; DesiredBufferSize=65536
;   Data is buffered into disk-sector sized units before writing to the disk.  This sets
;   the buffer size.  It must be at least the sector size (typically 512 bytes) and at
;   most 2000000 bytes.  The actual value used will be rounded to the current sector size.
; OnBackupDrive=0
;   When set to 1, data is recorded on the secondary (backup drive).  Recording will be
;   AUTOMATICALLY switched from primary to secondary drive when a disk error occurs if
;   the BackupBaseDirectory is specified and is not blank.

;--------------------------------------------------------------------------
; [SUBNIOM] : IO Channel configuration options (Starts with IO0 .. IO<NCHAN-1>)
;--------------------------------------------------------------------------
; SystemDescription=Sonar System
;   Information (segy) written to disk
; ChannelDescription=Channel Info
;   Information (segy) written to disk
; PulseDescription=Pulse Info
;   Information (segy) written to disk
; DATA_TYPE=1
;   Format of data to be returned for this channel.
;   0 => Envelope (match filtered - 1 word per sample),
;   1 => Analytic (match filtered - complex 2 words per sample),
;   2 => raw,
;   4 => RESERVED for All data (all 8 channels of raw data)
;   5 => RESERVED for All low rate IO data.
;   Other values will return incorrect results.
; DATA_NETWORK=1
;   Send data for this channel over the ethernet interface
; DATA_FILE=0
;   Write data for this channel to local storage
; DATA_NETWORK_WINDOW=1 1 0 0 200000
;   Set the points to return to the ethernet  (Frame decimation, decimation, first
;   sample, total samples, block size in samples)
; DATA_FILE_WINDOW=1 1 0 0 200000
;   Set the points to return and write to the disk
; PROCESSING_CALCONST=1000
;   1000 * the calibration constant.
; PROCESSING_PAKDELAY=0
;   Spherical correction factor for the first ADC sample.  Set to -1 to disable.
;   Only applies to match filtered data
; PROCESSING_DIRECT_PATH = -1
;   Sets optimization window for agc processing in samples.
;   Special Values:
;     -1 : Use the size of the outgoing pulse + 20%.
;     -N : Delay by abs(N) milliseconds.
; PING_GAIN=1000
;   1000 * the gain factor for the outgoing pulse.  Should be between 0 and 1000.
;   Note that when the outgoing pulse is 0 (value of 0 here) the power amp is
;   kept off.
; ADC_GAIN=1
;   Log 2 of gain factor for ADC.  0..3 without analog card.  0..8 with card.
; ADC_AGC=0
;   Set to 1 to enable AGC algorithm
; DACChan=-1
;   Default actual DAC channel.  If set to -1, the logical and actual channel number
;   are the same.  If -2 then this channel is disabled.
; ADCChan=-1
;   Default actual ADC channel.  If set to -1, the logical and actual channel number
;   are the same.  If -2 then this channel is disabled.
; SlaveChannel=-1
;   Set to the channel on the card where gain is controlled from.  Only used if a slave
;   card is present.  The gain setting is sent both to the primary and slave channels.
; ADC_ANALOGCARDGAIN=1
;   Set to 0 to use only the on card 4 level gain stage.
;   Set to 1 to use the preamp gain on the analog card only for gains.
;   Set to 2 to use both a preamp gain and the on card 4 level gain stage.
;   Set to 3 to use a 16-bit number as the gain (0..32767) (For Side Scan).
;   Set to 4 to use DB * 10 for basic gain units (applies to FSIC SS Subsystems)
;     The internal channel must be 2 (SSL) or 4 (SSH) for valid data.
;   Set to 5 if no gain stage is present.
;
; ----------------------------------------------------------------------------------
; The Current pulse file overrides the following settings.  These are included
; for internal testing purposes only.
; ----------------------------------------------------------------------------------
; PING_DAC_RATE=200000
;   Set the rate for data acquistion and DAC output.  Note that when a pulse is loaded
;   the pulse values will override this temporary setting.  Currently the IO0 rate is
;   used for all channels of a subsystem.
; ADC_DECIMATE=3
;   Set the ADC decimation factor.  Note that when a pulse is loaded the pulse values will
;   override this temporary setting.  Currently the IO0 decimation is used for all channels
;   of a subsystem.
; FFTSize=4096
;   Initial value of forward FFT size.  This value is overridden when the first
;   pulse is loaded.
; IFFTSize=4096
;   Initial value of inverse FFT size.  This value is overridden when the first
;   pulse is loaded.
; FFTDecimation=1
;   Initial forward FFT decimation factor.  This value is overridden when the first
;   pulse is loaded.
; MatchFirst=0
;   Initial value of first value in matched filter.  This value is overridden when the
;   first pulse is loaded.
; MinSaveSize=0
;   Minimum save size per matched filter.  Must be less than IFFTSize.  When set to
;   0 the save size as specified in the pulse file is used.
; CompressNet=DEFAULTVALUE
; CompressDisk=DEFAULTVALUE
;   Set to 0 for no compression.
;   Set to 1 for about 33% compression.
;   Set to 2 for about 50% compression
;   Set to 3 for about 70% compression
;   The default value is based on the keyword of the same name in the section [Main].
;   A value of -1 will use the value from section IO0 (or NONE if IO0 is -1)
; RawDataItemID=-1
;   Used to enable special diagnostic data collection.  Set to 256 * subsystem + channel
;   to send raw data to the specified subsystem / channel pair for special diagnostic
;   processing.  The subsystem / channel routed to should have ACTADCChan and ACTDacChan
;   set to -1 to ignore true io.

;--------------------------------------------------------------------------
; [DSPN] : ADC64 card options (Starts with DSP0 .. DSP<NCARD-1>)
;--------------------------------------------------------------------------
; DspExecutable=.\SONAR.OUT
;   File name of ADC64 executable file image
; BigBuf=1
;   When zero it uses the standard buffer size for shared memory between the
;   DSP and the PC (PCI Bus) of 128 K.  Larger values are needed for some high
;   data rate applications.
; TimeSyncMask=0
;   Mask of trigger in bits to use for the time sync function or 0 to disable
; ReferenceADCValue=195
;   Reference ADC Value for SSL and SSH VGA gain profiles (0..255)
; VersionNumber=0
;   Version number of attached analog card.
; TriggerOutInversion=0
;   This is a hex value.
;   Bit map to invert the trigger out line polarity.  Bit 0 is for the first trigger line.
;   Bit 1 for the second and bit 2 for the third.  There are two sets of values, namely:
;   Bits 0-7 : Invert when any subsystem is pinging if set to 1.
;   Bits 8-15: Invert when all subsystems are NOT pinging if set to 1.
; TriggerInInversion=0
;   This is a hex value.
;   Bit map to invert the trigger in line polarity.  Bit 0 is for the first trigger line.
;   Bit 1 for the second and bit 2 for the third.  The misc digital input trigger invers
;   follow.  Note that the invert is done before the debounce logic.
; ConfigFlags=0
;   Special configuration flags.
;    FSIC System:
;      Bit 0: Merge SSL and SSH into a 4 channel system
;      Bit 1: Random pci xfer updates for noise reduction
;      Bit 2: Small pci xfer buffers for uniform noise reduction
;    FSDW System:
;      Bit 2: Small pci xfer buffers for uniform noise reduction
; ConfigValues=0 0 0 0
;   Overall config values.  Not currently used.
; FPGAFile=
;   File name of FPGA data file to download
; LOWRATEIO_NETWORK=0
;   Set to 1 to send low rate analog data up the network interface
; LOWRATEIO_DISK=0
;   Set to 1 to write low rate analog data to the disk
; LowRateIOAlgorithm=0
;   Defines the algorithm for low rate io data collection.  Values:
;   0 : Disabled
;   1 : Use ADC64 channels or FSIC Serial ADC - collect 8 values
;   2 : Retrieve data from ADC64 channels 4, 5, 6, 7
;   3 : Mux ADC64 channels 
;   4 : Use FSIC Serial ADC - collect 8 values
;   5 : ATAPI Card Algorithm
; TemperatureAlerts=-20.0 -10.0 60.0 65.0 100.0
;   Ambient temperature Thresholds in degrees C
;   If the ambient temperature in below the first or greater than the last then
;   the sensor has an invalid reading.
;   If between the first and second thresholds then the bottle is below spec temp
;   If between the second and third then the bottle is in normal spec temp range
;   If between the third and fourth then it is too hot.
;   If between the fourth and fifth then the bottle is way to hot and THIS WILL
;     CAUSE THE SONAR TO TURN OFF ALL PINGING
; TemperatureAlertsEnable=0
;   Set to 1 to enable monitoring of temperature alerts.
; LOWRATEIO_DECIMATION=10
;   Decimation factor for low rate io data (minimum of 1).
; AmbientScale=-17.777 0.00694
;   Offset and gain conversion factors for ambient sensor (counts to degrees C).
;   Note that 32767 counts -> 4.096 volts.
;   Note that for ATAPI configurations the default values are: 67.8400 0.0050
; BottleScale=-17.777 0.00694
;   Offset and gain conversion factors for bottle temp sensor (counts to degrees C)
;   For older system, these values whould be -17.777 and 55.55
;   Note that 32767 counts -> 4.096 volts
; HumidityScale=-0.2403e4 0.9748e4 -1.2897e4 0.5724e4
;   Conversion factors (A B C D) from counts (32767 max) for humidity sensor.
;   A + B * X + C * X ^ 2 + D * X ^ 3
;   Note that 32767 counts -> 4.096 volts
; PowerScale=0.0 0.00308
;   Offset and gain conversion factors for 48 volt sensor (volts sensed to power Volts)
;   Once converted the 48 volt sensor should read at about 48 volts.
; Card=i
;   Remap of logical to physical card number.
; DIAGNOSTIC_PARAMETERS=1 50 100 2250 0 0 0 0 0 0
;   Sets thresholds and checks for running diagnostics.  These are currently:
;   FSSB:
;     0: Hardware Analog Card Version Number (1)
;     1: Power Amp Feedback with 0 VDC : Max Mean Voltage * 1000 (100 => 0.1 Volts)
;     2: Power Amp Feedback with 0 VDC : Max Variance in Volts**2 * 1000000
;     3: Power Amp Feedback Minimum Signal Level
;     4: Unused
;     5: Unused
;     6: Unused
;     7: Unused
;     8: Unused
;     9: Unused
;     Recommended: DIAGNOSTIC_PARAMETERS=1 50 100 2250 0 0 0 0 0 0
;   FSIC:
;     0: Must be 2 to enable feedback diagnostic, otherwise disabled.
;     1: Power Amp Feedback with signl Amp On  : Min Std Dev in Micro-Volts
;     2: Power Amp Feedback with 0 VDC Amp Off : Range about 48 Volt mean in mv
;     3: Power Amp Feedback with 0 VDC Amp On  : Range about 24 Volt mean in mv
;     4: Minimum reading of 48 volts * 1000
;     5: Maximum reading of 48 volts * 1000
;     6: Minimum reading of ambient sensor * 1000
;     7: Maximum reading of ambient sensor * 1000
;     8: Unused
;     9: Unused
;     Recommended Vals: DIAGNOSTIC_PARAMETERS=2 4000 2000 2000 40000 64000 -20000 100000 0 0
; PulseMemoryMB=1
;   Pulse memory minimum size in MB.  This only applies to the ATAPI Card.
;   A value of 0 causes the diagnostic to be ignored.
; ADCMemoryMB=2
;   ADC Memory minimum size in MB.  This only applies to the ATAPI Card.
;   A value of 0 causes the diagnostic to be ignored.
; SerialAdcconfig0=0
; SerialAdcconfig1=0
; SerialAdcconfig2=0
; SerialAdcconfig3=0
;   Serial number and board type installed for each ATAPI serial data stream.  A value
;   of 0 causes the diagnostic to be ignored.

;--------------------------------------------------------------------------
; [SUBN] : Subsystems installed (Starts with SUB0 .. SUB<NSUB-1>)
;--------------------------------------------------------------------------
; NChan=1
;   Number of IO channels installed (1-8). Config for each channel is in [SUBNIOM]
;   sections, where N is the current subsystem and M is the current channel (0-7).
; PulseDirectory=
;   Set to the directory name where pulse files are located
; SystemNumber=0
;   End user subsystem number for this channel (as defined in Subsystem.h)
; SystemType=8
;   Type of processing for this subsystem:
;   8 => ADC64 Subbottom,
;   0 => FSIC_SB, 1 => FSIC_SSL, 2 => FSIC_SSH, 3 => 4 Channel Bathy or Multiping
; Card=0
;   Primary ADC64 card for this subsystem.
; SlaveCard=-1
;   Slave ADC64 card for this subsystem for special applications.  When a slave
;   card is present and ADC or DAC is located on the slave card by adding 8 to
;   the actual channel number.  Thus DAC 8 is the first on the slave card.
; PING_SELECT=Ping.Dat
;   File name of outgoing pulse/matched filter pair
; PING_BLOCKS=3
;   Minimum number of sample blocks per ping.  This effectively sets the ping rate
;   The size of a sample block is nominally 512 but this is a compilation option.
; PING_RATE=2000
;   Approximate ping rate * 1000.0 in Hz.  If non-zero, this overrides PING_BLOCKS
; PING_RANGE=0
;   Approximate ping range in 1/1000 meter units (mm).
; PING_TRIGGER=0
;   Set to 0 for internal trigger, 1 for external trigger, 2 for coupled mode, 3 for
;   gated mode.
;   Set to -1 for synchronous EXTERNAL TRIGGER (trigger now).  NOTE that synchronous
;   mode ASSUMES that the trigger happens when the ADC is not being triggered.
; PING=0
;   Set to 1 to enable pinging.  Set to 2 to ping once.
; ADC_USETIMER5CLOCK=0
;   Set to 1 to set the clock out on the 100-pin connectur to the ADC conversion rate
;   NOTE that you must externally trigger the ADCs when set to 1.  When set to 0
;   ADCs are internally triggered.
; TriggerMask=201
;   Trigger in and out mask in HEXADECIMAL.
;   This parameter only applies to FSIC card systems.  For the AAC card, the
;   middle BNC is always trigger in and BNCC is trigger out.
;   Bits  0-5: Trigger in input digital io line(s) to monitor.
;   Bit     6: Enable software (ethernet) trigger in.
;   Bit  8-13: Trigger out digital IO line(s) to assert.
; TriggerOutLength=0
;   Length of the trigger out pulse in us.  This value is rounded to a 250 us
;   multiple (FSIC card) and has a minimum value of 250.  The maximum is about
;   30000 (that is, 30 ms).
; DIGITAL_OUT=0
;   Set to the default values for the Digital IO bits on the 100-pin connector
; PING_DAC_CHANNELS=1
;   Bitmap (unused currently) to enable either or both DAC channels
; ADC_CHANNELS=1
;   Bitmap used to enable up to 32 ADC channels.  This is used to set the analog mux.
;   Each set of 4 bits selects one of 4 possible mux channels (Only the first bit set
;   is used).  For example, so select ADC0 to look at IN2-IN3 and ADC1 to look at IN8-IN9
;   use the value 18 [(2 * 1) + (1 * 16)].  To enable automuxing select either the
;   values 0x33333333 (first 2 channels on each mux) or 0x77777777 (first 3 channels on
;   each mux) or 0xFFFFFFFF (all channels on all muxes).  When automuxing, only data
;   format 4 (see IO section) is valid.
; USE_ANALOG_CARD=1
;   NOTE: This value is specifed in hex format.
;   For the standard SB subsystem systems:
;     Set to 1 to use the "Alan" analog card logic.  Set to 0 to drive the 100-pin DIO lines
;     directly.  This effects trigger out, power amp on/off, and external interrupt handlers.
;     Bit 0: Enable use of analog card.
;     Bit 1: If 1 => keep power amp on between pings
;     Bit 2: If 1 => keep power amp on when sonar is off
;   For the FSIC subsystems:
;      Bit 1 (0x2)          : Keep amp on when pinging
;      Bit 2 (0x4)          : Keep amp off when pinging
;      Bit 3 (0x8)          : Bandpass mode on adcs
; FindFile=*.*
;   File qualifier for pulse files for this subsystem used in FindFirst/FindNext.
; TelemetryFormat=0
;   Reporting format for data.  Choose from:
;   0: Segy
;   1: SideScan
;   2: Private - Compressed for Telemetry Bandwidth Reduction
;   3: Compressed Header : Decompression Library unpacks to Segy
;   4: Compressed Header : Decompression Library unpacks to SideScan
; DiskFormat=-1
;   Same meaning as telemetry format.  Compressed header format IS NOT
;   recommended since it lacks a full time stamp.  A value of -1 will
;   base the format on the TelemetryFormat, but disabling the compressed header option.
; EnableData=1
;   1 to enable data output for this subsystem.  0 to disable.
; TriggerDivisor=1
;   Trigger divisor in external and coupled modes.
; TriggerSystem=0
;   Subsystem index to trigger off of and not a logical subsystem number.  The indices are
;   typically 0: SB, 1: SSL, 2: SSH
; TriggerDelay=0
;   Trigger delay in external and coupled modes in us.
; AGCHigh=32000
;   High threshold for AGC algorithm.
; AGCLow=7500
;   Low threshold for AGC algorithm.
; EnablePingSorting=-1
;   Set to 1 to enable ping sorting.  Set to 0 to disable.  -1: Sort if
;   sidescan channel.
; HysterisisBits=0
;   Bits of hysterisis on "WeightingFactor" of returned data.  A value of 0
;   means no hysterisis.  A value of one requires a change of 2 bits.
; TriggerOverride=0
;   Set non-zero to IGNORE SONAR_MESSAGE_PING_TRIGGER messages from the topside
;   and use the Sonar.ini file default only
; MultiPingAlgorithm=0
;   Multiping algorith option.  Choose from
;   0 : Multiping is not supported.
;   1 : Multiple pings in the watercolumn supported.  Window determines spherical correction
;       factor and ping depth.
;   2 : Use algorithm 3 for a subbottom and algorithm 4 for a sidescan
;   3 : Multiping data ends at the next pulse (of any pulse phase).
;   4 : Multiping data continues UNTIL the next pulse of the same pulse phase.
; QCSource=0
;   Source for QC Post processing.  Choose from 0 for disabled, 1 for network window,
;   2 for disk window.
; QCSubsampleMethod=0
;   Decimation method for qc data.  Choose from 0 for max, 1 for avg, and 2 for none.
; QCLongTrackSubSampling=1
;   Decimation factor along track (ping decimation)
; QCCrossTrackSubSampling=1
;   Decimation factor across track (sample decimation)
; QCBlendingMask=255
;   Blending mask for QC Data.  For SAS and MPX systems, this determines which respective
;   channels are summed.  This is a bit mask.  If no bits are set no QC data will be
;   returned.  The LSB corresponds to the first channel on each side.  On a SAS system,
;   a value of 63 will sum all 6 channels in the returned value.

;------------------------------------------
; [Multiping] : Multiping algorithm options
;------------------------------------------
; Subsystem=-1
;    Subsystem that implements the multiping algorithm (0, 1 or 2)
; CompressMethod=0
;    Select a compression algorithm.
;    A value of 1 is about 30 % compression.
;    A value of 2 is about 50 % compression.
;    If no keyword is present, the [Main] CompressNet keyword value is used so this keyword need
;    not be present to compress data.
; CalMaxADCGain=200
;    Default maximum gain to apply per ADC in DB * 10
; CalRange=2000
;    Recommended operating range for calibration in MS * 10
; CalADCStart0=200
; CalADCEnd0=400
; CalADCStart1=500
; CalADCEnd1=700
; CalADCStart2=900
; CalADCEnd2=1100
; CalADCStart3=0
; CalADCEnd=0
;    Calibration bins for ADCs in MS * 10
; CalMaxPulseAttenuation=100
;    Maximum pulse attenuation in DB * 10
; CalDir=..\MPCal
;    Directory to save calibration files in.
; BlendingMode=3
;    Default blending mode where:
;    0: None
;    1: Fore Array
;    2: Aft Array
;    3: Blended
; VGAGain0=3000
;    Default value for VGA Gain (Fore Arrays) in Counts
; VGAGain1=3000
;    Default value for VGA Gain (Aft Arrays) in Counts
; ADCConfig=0
;    ADC Channel config to use for multiping playback.  Choose from
;    0 : Standard (4 chan : 0=Port Fore, 1=Stbd Fore, 2=Port Aft, 3=Stbd Aft)
;    1 : Standard (2 chan : 0=Port Fore, 1=Stbd Fore)
;    2 : Old Data (2 chan : 0=Port Fore, 1=Port Aft)
; PlaybackSystemNumber=20
;    System Number to use for playback of data.  Only data in this system
;    is processed via MPX.  It is remapped to the active MPX system number
;    as determined by Subsystem keyword.  This is included for compatibility
;    to support playback of old data.
; AGCUpDelta=2
;    Amount to increase gain by in 10 * DB units when too low or too high.
;    A value of 0 will disable the agc.  The maximum value is 100.
; AGCDownDelta=2
;    Amount to reduce gain by in 10 * DB units when too low or too high.
;    A value of 0 will disable the agc.  The maximum value is 100.
; AGCUpCount=4
;    Number of consecutive pings that must be below threshold before gain is increased.
; AGCDownCount=1
;    Number of consecutive pings that must be above threshold before gain is reduced.
; AGCHigh=20000
;   High threshold for AGC algorithm.
; AGCLow=12000
;   Low threshold for AGC algorithm.
; AGCGainMin = 0
;   Minimum gain to apply while AGC algorithm is active in DB * 10.
; AGCGainMax = 460
;   Maximum gain to apply while AGC algorithm is active in DB * 10.

;------------------------------------------
; [VideoCap] : Video Camera Option
;------------------------------------------
; VideoOptions=0
; If a video camera is included, setting this value to 1 will enable collection of data.
; Note that the default sends data over the network interface.  To save data to the
; disk queue instead use the value 5.  To save data to both queues use the value 7.
; VidMode=0
; Select the video mode.  A value of 0 uses the default mode.
; DeviceNumber=0
; Select the device for video capture.

;------------------------------------------
; [Atapi] : Atapi Card Options
;------------------------------------------
;ADCType0=4
;ADCType1=4
;ADCType2=4
;  ADC Input Type for each subsystem.
;  The default is modified when a standard configuration is used (Config=xxx in [Main]) so
;  this keyword is not normally present.
;  Otherwise the values are:
;  0 : Side Scan Card (4 channel)
;  1 : Subbottom Card (8 channel) Single Speed Mode.
;  2 : Subbottom Card (8 channel) Double Speed Mode.
;ADCMode0=0
;ADCMode1=0
;ADCMode2=0
;  Serial out command mode lines for each subsystem.
;  The default is modified when a standard configuration is used (Config=xxx in [Main]) so
;  this keyword is not normally present.
