Geometrics Inc. G-882 Cesium Marine Magnetometer Page
MULTI-COUNTER MODULE CONFIGURATION
4.4.2 General Command instructions
Commands are sent into the input port of the first counter. Note that commands
are the only characters that enter the first counter. A command string is stored in
an incoming buffer until terminated by a carriage return. The command will then
be executed at the end of the current sample, immediately after the last 'data' byte
has been sent out the output port. Then the command will be echoed to the next
counter (or back to the logging computer if it is the last/only counter in the chain).
Subsequent counter modules in multiple counter arrays differentiate between
output data and commands by assuming that all characters between the data
preamble character ('$' is the default) and the next line feed are Data bytes from
the previous counter(s). Commands only arrive at subsequent counters after the
data transmission is complete. Each command is identified by the first character,
followed by some number of operand characters and a carriage return.
Only one command can be sent at a time. After each command wait for the
command echo before sending another.
All commands are terminated with a carriage return. A line feed may be sent as
well, but it will be ignored by each counter module. However, at the end of every
output data string there will be a carriage return and a line feed sent. This method
insures that the final counter will have a carriage return/line feed sequence so that
if the file is printed it will look correct on paper. By using the carriage return as the
command terminator and stripping input line feeds insures that dumb terminals
(and dumb terminal emulation software) can be used to control the counter
output. (Dumb terminals do not normally transmit line feeds when <Enter> is
pressed).
4.4.3 G−882 Quick Command list