beautypg.com

Data storage and retrieval – Guralp Systems CMG-DCM User Manual

Page 34

background image

CMG-DCM Data Communications Module

the command

gcli port-number command

In these commands, port-number is the port number and port-
name
the port device name to send the command to. To find out these,

issue the command serialmap:

Library version: libserialmap Version 1.0.5 with LIBGCONFIGDB

3 serial ports

Port 0, Key 7000, name Data out port, device /dev/ttySA0, baud

115200

Port 1, Key 7001, name Port B, device /dev/ttySA1, baud 9600

Port 2, Key 7002, name Port A, device /dev/ttySA2, baud 19200

Each port will be listed, with its number (

e.g. 0), name (e.g. Data out

port), and device (e.g. /dev/ttySA0).

Data storage and retrieval

All data received by the DCM is periodically written from Flash

memory to the on-board hard disk. The time period used can be
configured from the Configuration – Disk page of the DCM's Web site.

You can list the files on the hard disk

over the Web, by selecting Tools – Disk files from the menu, or

from the command line with gfat32 ls

If you are using the Web page interface, each file appears as a link:
click its name to download the file.

Alternatively, you can physically remove the internal hard disk, and

attach it to any computer supporting either Firewire or the USB Mass
Storage Protocol. It will appear on the computer as an extra hard drive.

The DCM uses a journalling file system compatible with Windows'
FAT32, so you cannot lose or corrupt data by removing the hard disk,

even if the DCM is in the middle of writing to it.

Using miniSEED format

You can instruct the DCM to record data to Flash (and, later, its hard
disk) in miniSEED format by browsing to the Configuration – Disk

page and selecting

yes for the disk.recordas.miniseed option.

34

Issue F