Man DCM 0010
Man DCM 0010
Man DCM 0010
(Platinum
Firmware)
Operator's Guide
Part No. MAN-DCM-0010
Issue A 2008-03-26
CMG-DCM (Platinum Firmware)
Table of Contents
1 Introduction...........................................................................3
1.1 Hardware Overview............................................................................3
1.2 Software Overview.............................................................................3
1.3 Document Conventions......................................................................4
3 Operation.............................................................................10
3.1 Diagnostics.......................................................................................10
3.2 Removable Disk...............................................................................13
3.3 Digitiser Control...............................................................................14
4 Configuration........................................................................16
4.1 Configuration System.......................................................................16
4.2 IP Address Configuration..................................................................16
5 Revision history....................................................................18
1 Introduction
The CMG-DCM (Data Communications Module) is a versatile
module intended to integrate a seismic sensor with various
communications systems. It can also act as a stand-alone data
recorder.
The main difference between the mk2x and the mk4 hardware
is that the mk4 uses modern components, and is thus more
cost-effective to build and can be maintained more easily by
Güralp Systems. The mk4 hardware is more flexible and can
thus be tailored to specific projects.
● Data acquisition
● Recording
March 2008 3
CMG-DCM (Platinum Firmware)
● Data forwarding
● Network communication
● Processing
will be used:
March 2008 5
CMG-DCM (Platinum Firmware)
● 115200 baud
● No flow control.
Once you have connected a serial cable, you can run a terminal
emulator to interact with the CMG-DCM. Under Windows you
are advised to use the terminal emulator shipped with Scream
v4.5 (TODO: Scream v4.5 is not released, until this occurs
another terminal emulator such as Hyperterminal must be
used). Under Unix the minicom terminal emulator (see
http://alioth.debian.org/projects/minicom) is recommended,
although any terminal emulator can be used.
If the network you are running does not use DHCP (dynamic
host control protocol), and the CMG-DCM has not been
configured to use a static IP address, you must first connect via
a serial port and configure a static IP address. See below for
how to do this.
You can change the IP address to anything you wish. The above
example uses 192.168.0.1 with a netmask of 255.255.255.0. A
PC connected to this network could communicate with the
CMG-DCM if it was configured to use an IP address of (for
March 2008 7
CMG-DCM (Platinum Firmware)
Once you have the IP address, issue the SSH command on the
PC you are using:
ssh root@192.168.0.1
March 2008 9
CMG-DCM (Platinum Firmware)
3 Operation
This section details how to control the DCM. Some functionality
is only available through the terminal (serial or ssh); see the
previous section for details on connecting. To change the way
the DCM operates, see the next section for details on
configuration.
3.1 Diagnostics
System Status
To view the overall system status, simply go to the front page
on the web interface (or choose the “System status” link in the
left-hand frame within the “Summary” box). This displays one
box per item. Boxes may be red (bad), green (good) or white
(no information).
System Events
To view a list of important system events via the web interface,
choose the “System events” link in the left-hand frame within
the “Summary” box.
System Log
The most important source of information is the system log
facility (“syslog”). This logs all messages from programs and
from the Linux kernel. At present, this can only be viewed
through the terminal. In future, it will be integrated with the
system events page.
To view the system logs, you can view the file /var/log/messages
. Older files are available as /var/log/messages.1,
/var/log/messages.2, etc. Under Linux you may use the following
commands to view the file:
● tail /var/log/messages
Views the last few entries.
March 2008 11
CMG-DCM (Platinum Firmware)
● tail -f /var/log/messages
As above but also follows the log in real-time. Use ctrl-C
to stop.
● less /var/log/messages
Views the whole log file; use Home/End/Up/Down keys to
navigate.
● vi /var/log/messages
Those users familiar with the vi text editor may wish to
use it as the most powerful way to view log entries.
Incoming Data
The status page has one box for each GCF acquisition process.
This box will be updated every minute to reflect the number of
packets that have been acquired.
● dumpdata
Displays a one-line summary of each received GCF block.
● dumpstatus
Displays the details of received status and unified status
blocks. This can be used to quickly determine whether a
digitiser has a GPS lock etc.
● dumpsm
Displays incoming strong motion data.
● data-mux-gcf-dump
This is the underlying program used internally by the
previous three commands. It can be used for further
investigation.
data-mux-if-dump -d
Using the -d flag shows the SEED names for all data blocks.
This is a good way of checking that GCF to SEED mapping is
working as expected.
TODO: screenshots.
To prepare a new disk for writing to, you must format and
partition it. The CMG-DCM accepts disks formatted in either
ext3 (which is faster and more reliable, but can only be read
under Linux systems) or vfat (slower and possibly less reliable,
but can be read under all operating systems).
March 2008 13
CMG-DCM (Platinum Firmware)
TODO: at present, the partition option does not work in the web
interface. You must use the ncurses interface.
To view the status of the flash buffers, you can run the terminal
command data-journaller-dump (see below). To initiate an
immediate flush to disk, use the “Flush” option in the
removable disk interface.
TODO: screenshot.
March 2008 15
CMG-DCM (Platinum Firmware)
4 Configuration
The CMG-DCM is set up to work with Guralp equipment by
default. All serial ports except Data Out expect GCF (Guralp
Compressed Format) input at 38400 baud (the default baud
rate of the CMG-DM24mk3 digitiser); by default, GCF is
recorded to disk, and by default, a Scream server is running on
TCP/UDP port 1567.
March 2008 17
CMG-DCM (Platinum Firmware)
5 Revision history
2008-03-16 A New document