Command line interface
thing you typed), they will execute, remove themselves from the stack, and then
remove further items from the stack to use as arguments. Thus, in the command
3 SENSOR-TYPE
the 3 has no immediate effect, so stays on the stack;
SENSOR-TYPE
takes itself and
the previous item (here
3
) off the stack, then performs its action on the
3
(here,
setting the configured sensor type to 3, representing a Güralp 3T sensor).
If a command completes with nothing remaining on the stack, the digitiser will
show the prompt
ok
. Otherwise, the prompt will remind you that the digitiser is
waiting for you to complete the command. Some commands, such as
SAMPLES/SEC
,
clear the stack automatically after they execute.
Throughout this manual, examples are given of command-line interactions. In these
examples, a fixed-width typeface will be used:
Example of the fixed-width typeface used.
Commands that you are required to type will be shown in bold:
Example of the fixed-width, bold typeface.
Some commands are interactive, and will ask you to provide extra information after
you execute them. Where data that you type may vary depending on your individual
configuration, such as parameters to commands, these are shown in italics:
Example of the fixed-width, bold, italic typeface.
Putting these together into a single example:
System prompt:
variable parameters
command
6.2 Getting help
The DM24 has an on-board help system which can be accessed with the commands
HELP
and
EXPLAIN
.
6.2.1 HELP
Syntax:
HELP
Lists all the commands which are recognized by the digitiser.
If the command you want is not listed:
•
The command may be in the extended dictionary. This dictionary contains
certain advanced commands, as well as exposing internal digitiser functions
and variables. To enable the extended dictionary, issue the command
ok-1
(that's a number one, not a lower-case 'L').
57
Issue U - December, 2021