Guralp Systems Limited
MAN-C3E-0005 - CMG-3ESPCD Digital Broadband Seismometer (CD24 Versions) - Technical Manual
Section Index: 6.1 Streaming data 6.2 Using FireWire disks 6.3 Downloading recorded data over the serial port or Ethernet interface

Chapter 6. Accessing data

The 3ESPCD has six different transmission modes, which control whether the instrument transmits data via the serial port or network interface, stores data into its flash memory or some combination of both. Transmission modes are described in section 5.2.6.5.

If you choose a transmission mode where data are transmitted in real time, you can receive the data using Güralp Systems’ free Scream! software or using a Güralp EAM, Güralp NAM or similar data acquisition system.

If you choose a transmission mode where data are stored in Flash memory, you can recover these data at a later date, using either the FireWire interface or a serial link.

Note: The FireWire interface is very much faster than the serial link: the serial link is intended for real-time data transmission. If you wish to retrieve recorded data, the serial link (and the Ethernet link, if fitted) are only really useful for small, ad-hoc transfers.

The Flash memory is used as a ring buffer. Two pointers into the memory keep track of where data were last read (the “Read Pointer”) and last written (the “Write pointer”). When either pointer reaches the end of physical memory, it wraps round back to the beginning. The behaviour of the recording system when the write pointer reaches the read pointer (i.e. when the memory becomes full of data, none of which have been downloaded) is governed by the commands RE-USE/RECYCLE and WRITE-ONCE, as described in section 5.2.6.6.

The rest of Chapter 6 describes:

6.1 Streaming data

When a good-quality communications link exists, data can be streamed from the instrument to either a PC running Güralp Systems’ free Scream! software or to a data acquisition system, such as a Güralp EAM or a Güralp NAM.

Where the communications link is intermittent, such as a dial-up modem, the instrument can be configured to store data in its flash memory and then initiate transmission whenever the link becomes available.

Data are sent in GCF format using the BRP protocol. For more information, please see the document "What is the GCF format", accessible from the Support→FAQs section of our web site.

6.1.1 Receiving streaming data in Scream! via a serial port

Note: Scream! software is available free of charge. Scream is available for both Windows and Linux computers. To request a copy, please send an email to scream@guralp.com stating your name, any organisational affiliation, the equipment you have and the nature of your work.

Your instrument can connect directly to your computer using a serial cable from the break-out box. If your computer does not have a COM port, a serial-to-USB adapter can be used. Güralp recommend serial-to-USB adapters based on the FTDI chip-set.

To receive the data in Scream:

6.1.2 Receiving streaming data in Scream! via a network

Note: Scream! software is available free of charge. Scream is available for both Windows and Linux computers. To request a copy, please send an email to scream@guralp.com stating your name, any organisational affiliation, the equipment you have and the nature of your work.

Before you can do this, you will need to set up the instrument's IP address and network configuration, as described in section 4.8 (wired) or section 4.9 (wireless).

To connect to a 3ESPCD over the network:

6.1.3 Receiving streaming data in an EAM via a serial port

To receive data in an acquisition module such as a Güralp EAM or a Güralp NAM:

6.1.4 Receiving streaming data in an EAM via a network

Before you can do this, you will need to set up the instrument's IP address and network configuration, as described in section 4.8 (wired) or section 4.9 (wireless).

To receive data in an acquisition module such as a Güralp EAM or a Güralp NAM:

6.2 Using FireWire disks

Use of a FireWire disk (attached to the instrument's FireWire connector) is the only practical way to download significant amounts of data from an 3ESPCD.

Güralp Systems provide fully-tested and ruggedised disks with both FireWire and USB connectors. Some third-party FireWire disks work with the 3ESPCD but compatibility cannot be guaranteed.

Note: The 3ESPCD requires the disk to be in DFD format. If the disk has not previously been used with a CD24, 3ESPCD or 6TD, it must first be initialised using the instrument itself. Once initialised the first time, it can then be reinitialised in the same way or by use of Scream or GCFXtract software.

6.2.1 Initialising disks

Before you can use each FireWire disk, you will need to erase/format it. The digitiser saves data on the hard disk in "raw" mode, so you cannot use a PC's standard disk-management software to reset the disk. The format used is called DFD.

To erase/format a FireWire disk for use with the instrument:

You will now be able to download data onto the disk when required.

6.2.2 Reinitialising disks

A disk which is already in DFD format can be reinitialised as a DFD volume using the procedure described in section 6.2.1 or by the use of software, as described below.

Reinitialising a DFD disk does not erase any data: it simply marks the disk as available for over-writing. If you accidentally reinitialise a DFD disk, you will still be able to extract data from it using GCFXtract as long as you do not write any new data to it.

Note: Depending on your security settings, you may need elevated privileges in order to read DFD disks. Windows users may need to start Scream! or GCFXtract by right-clicking on the icon or start-menu entry and selecting Run as administrator… from the context menu. Linux users may need to add their username to the disk group (or to another group with raw disk access) with a command like

sudo usermod --append -G group my_username

Caution: When a DFD disk is connected to a Windows PC, the operating system will not recognise the file-system and will offer to re-format it.

Do not allow it to do so: you will lose some data from the disk and make it hard to recover the rest. If you accidentally find yourself in this position, please contact support for advice.

6.2.2.1 Reinitialisation using Scream

To re-initialise a disk using Scream, connect the disk to a PC running Scream and select File → Reset SCSI disk... from the main menu. Once the reset is complete, simply disconnect the disk.

6.2.2.2 Reinitialisation using GCFXtract

To re-initialise a disk using GCFXtract, connect the disk to a PC running GCFXtract. Select the disk from the drop-down menu and click . Once the reset is complete, simply disconnect the disk.

6.2.3 Downloading data to a FireWire disk

The easiest way to download data over FireWire is to connect a suitable disk to the FireWire port of the 3ESPCD and power cycle the instrument.

If you have ordered a 3ESPCD with the powered FireWire option, you can attach the disk directly to the 3ESPCD with no additional connections. Otherwise, you will need to connect the disk to a power source through the supplied adapter.

When the sensor restarts, it will automatically the disk and flush all new data to it.

If you do not want to restart the instrument, you can also flush data to disk manually:

6.2.4 Reading FireWire disks

The 3ESPCD uses a special disk format, DFD, for recording data. This format is also used by other Güralp digitisers such as the DM24.

You can read this data into a PC using Scream! or the GCFXtract utility, both of which are freely available from the Güralp Systems web site.

Note: The DFD format is not the same as that used by the Güralp Systems EAM data module, which uses an ext3, ext4 or a FAT32-compatible journaling file system.

To read a disk using GCFXtract:

You can also read disks with Scream!. This allows you to view data in the process of being transferred, but is slightly slower, because Scream! does not read data in strict order. To read a disk with Scream!:

6.3 Downloading recorded data over the serial port or Ethernet interface

Note: This technique is not recommended for transferring significant quantities of data, because of the speed limitation. The FireWire interface should be used for this purpose: see section 6.2.3.

Start by configuring Scream to record all incoming data by visiting the “Recording” tab of the File→Setup dialogue:

Ensure that the first four check-boxes are ticked. Next, switch to the “Files” tab and choose an appropriate base directory, file format and filename format.

Click to save your changes and close the dialogue.

Next, open a connection to the digitiser's console. To do this using Güralp Systems' Scream! software, right-click on the digitiser's icon ( ) and select Terminal…. From a Güralp EAM, issue the command

data-terminal

and select the appropriate data source from the menu.

To simply download all data held in the Flash memory, issue the command

ALL-FLASH ALL-DATA DOWNLOAD

followed by

GO

This will initiate a complete download. The ALL-FLASH and ALL-DATA commands act as modifiers to tell the system what to download.

If you wish to download only a subset of data, you can replace the ALL-FLASH and ALL-DATA modifiers with other modifiers to select different streams and/or time periods:

The parameters are illustrated in the diagram below. If you miss out a parameter, DOWNLOAD will re-use the value you last specified.

Note: You can pause a download by entering terminal mode, and either restart with another GO or abort with END-DOWNLOAD.

When you complete a DOWNLOAD without specifying a time period, the CD24 adjusts the internal read pointer to mark the latest position. This is then used as the start point for the next DOWNLOAD with the command ALL-TIMES.

The various modifiers are are summarised below and described in detail in section 9.8.

The DOWNLOAD command returns immediately, so that you can issue more commands if required. To close the connection and begin downloading with the specified selectors, issue the GO command.

Once the GO command has been issued, the window may close, depending on which emulator you are using. On an EAM, the data-terminal (minicom) session is closed by keying + , then .