Minicom Advanced Systems CMG-DCM manual Digitizer status

Page 89

Operator's guide

the port's Linux device name, and

the baud rate currently in operation on the port.

You can query a single port by using the port number or key as arguments to the gnblocks command:

gnblocks 2 gnblocks 0x7002 gnblocks 28674

(In the last example, 28674 is the key ID 0x7002 expressed in decimal: hex 7002 = 7 × 163 + 2 = 28674.)

Another way to find out the index, key ID, name or device name of a particular serial port is to issue the command serialmap. A line will be output for each serial port, in the form

Port 0, Key 7000, name tts0, device /dev/ttyS0, baud 115200

where port and baud are in decimal, and Key in hexadecimal. The related command serialmap -kreturns 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;

December 2005

89

Image 89
Contents CMG-DCM Table of Contents December Inside the DCM Introduction CMG-DCM Inside the DCM Network services Serial port servicesSee .4, Connecting to a local network for full details Overview Installing the CMG-DCMPower supply Connecting over a serial link Connecting to a single computer192.168.0.x Connecting over EthernetConnecting over USB Using an internal modemConnecting to a local network Gcfgdbset option-namenew-value Connecting to the Internet Wi-FiSetting up the CMG-DCM Connecting digitizers and external hardwareWeb setup Setting up digitizers Using Scream DCM as a data store UsageGeneral notes Gnblocks port-number Page CMG-DCM DCM as a GCF data source Accessing the DCM command line through gcfout Sensor arrays DCM as a network data hub Communicating with digitizers Configuring digitizers Data storage and retrieval Using miniSEED format Real-time data transmission CD1.0 and CD1.1 Troubleshooting DCM installations Cannot Gcfping the DCMs Scream! server Cannot see the DCMs Web site over Http or HttpsCannot connect to the DCMs Scream! server DCM is not receiving any data streams Can Gcfping the DCMs Scream! server, but no data appearsDCM is receiving streams, but they do not contain any data Use the Serial port configuration → port name Web page, or143032 up 34 min, load average 1.24, 1.32 General Configuration optionsDisk CMG-DCM Serial port configuration CMG-DCM Page Ethernet port Network configurationStatic routes DNS setup Incoming mail setup Outgoing mail setup Remote access Administrators PPP Mgetty Scream Data transferAutoDRM Scream! ClientCD1.0 Http serverHttp client CD1.1 CD1.1 subframe configuration DSS Server configuration Seed Page CMG-DCM Data Viewer ActionsStream list Icon barDigitizer Setup General digitizer settings Digitizer output control CMG-DCM Trigger criteria CMG-DCM Tap # Rate Bandwidth Samples/s Auxiliary Mux channels Sensor mass control Partition, and format disk Disk toolsCheck disk filesystem Flush flashRecent Log Entries Disk filesCamera Summary Network configurationData Out Port, Serial Port A, Serial Port B DNS configurationDisk Status Flash StatusTamper lines Software Versions Inside the DCM File systems CMG-DCM Command line tools Configuration Digitizer console access Data flow MonitoringDigitizer status Tamper lines Over the Internet Updating the DCMFrom the hard disk Removing support packagesFirmware Libgconfigdb Appendix A.1 Modular DCM units Appendix a Connector pinoutsPort a and B Data OUT portNetwork connector USB connectorDM/AM module output Appendix A.2 Integrated DCM unitsAppendix B.1 Sensor response codes Appendix B Sensor and digitizer typesDigitizer Appendix B.2 Digitizer type codes