EasyManua.ls Logo

SonTek ADP - Command Line Options

Default Icon
36 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SonTek
ADP Software Manual Version 6.42 (November 1, 2000)
3
2.2. Command Line Options
Several command line options can alter the operation of ADPSA and change communication
settings. Options designated by a single letter (c, f, g, p, w) change the operation of the data
acquisition program; multiple-character options change how the program communicates with the
ADP.
The table below gives the command line options that can modify the operation of ADPSA.
Multiple command line options can be given in any combination. When more then one option is
selected, all options should be given together (i.e. “ADPSA –cg” or “ADPSA –gp”).
ADPSA Command Line Options
Command Function
ADPSA –c Command file. This causes the program to send all commands in the user-
generated ASCII text file USERCONF.CMD to the ADP prior to entering
the setup screen. Thus, the parameters shown in the setup menu will
reflect the settings given by commands in USERCONF.CMD.
ADPSA –f Automatic file recording. This option causes the program to automatically
select a file name for recording to the computer hard disk. See below for
details on the file naming convention.
ADPSA –g Automatically start data collection. This causes the program to skip the
setup screen and immediately begin data collection. The ADP will use the
data collection parameters stored in internal memory in the ADP. This
option includes automatic file recording. This command can be put at the
end of the AUTOEXEC.BAT file and collection will resume after a power
failure.
ADPSA –p Integrate GPS position data. This allows the program to read GPS position
data from an available serial port and integrate the position data with the
ADP data files. GPS position data can compute absolute velocity data
when the ADP is installed on a moving vessel. See below for details on
using the –p option; see sections 2.5 and 3.5 for more details on using
integrated GPS position data.
ADPSA –w Black and white display. This option is useful on portable computers
being operated outdoors.
Automatic file recording
When using the automatic file-recording feature (-f or -g), the user must create the file
ADPFILE.DEF to specify details relating to data file recording. This is a one-line ASCII text file,
an example of which is shown below.
C:\ADP\AA HOURLY
The first word specifies the path (“C:\ADP\”) for the data file and the first two characters (“AA”)
in the file name. The remainder of the file name is generated using the date and time (see
Appendix A). The second word on this line specifies the interval at which new data files are
created. This is either done at the start of each hour (HOURLY) or when the file reaches a