beautypg.com

Digitizer status – Guralp Systems CMG-DCM User Manual

Page 122

background image

CMG-DCM Data Communications Module

where port and baud are in decimal, and Key in hexadecimal. The

related command serialmap -k returns the key ID in decimal.

Digitizer status

The Güralp DM24mk3 digitizer outputs status information as a

separate stream. If you have a DM24mk3, you can monitor this stream
with the command

dm24mk3cds -s port-number

Whilst this program is running, it will output any status blocks it

receives on that port directly onto your terminal:

HPA1CD: Wed Jun 30 14:51:13 2004

gps_fix=2 (0x32)

gps_mode=A (0x41)

gps_control=255 (on)

gps_power=255 (on)

gps_offset=167 ticks

busy_counter=0 ticks

locking=0 unlocking=0 centering=0

calibration V N E

The information given, after the stream ID (which will always end in
CD), is as follows:

a time-stamp for the status block;

whether the GPS has obtained a fix (0 = has not received any
data, 1 = has not obtained a fix, 2 = has obtained a 2D fix, and 3

= has obtained a 3D fix);

the mode the GPS is running in (A = automatic, and M =
manual);

whether or not the system clock is being controlled by the GPS

(255 = on);

whether the GPS is currently powered up (255 = on);

the current measured offset between GPS and the internal clock,
in units of 500 ns;

the current value of the “busy” counter, which counts down

towards zero whilst certain digitizer processes (such as
calibration) are active;

whether the sensor is currentlty being locked, unlocked, or

122

Issue F