Minicom Advanced Systems CMG-DCM manual Monitoring, Data flow

Page 88

CMG-DCM

character, \n = newline, \r = carriage return, \a = bell, etc.) You can use \r to issue several commands to the digitizer in one session, since the carriage return will cause the digitizer to act on the previous command.

Passing the -roption causes the digitizer to reboot automatically once the command is completed. This is useful if you are using gcli to change the configuration of the digitizer, since many options require a restart for any changes to take effect.

If you need an interactive session with the digitizer, you can use the Linux terminal program minicom, which has been configured specially to cooperate with the DCM's various serial services. You can open a session with a digitizer by issuing the command

minicom -n port-number

If the port you specify is set to gcf_in, the DCM will automatically interrupt the data flow from the digitizer to allow you to enter commands.

When you have finished your session, press CTRL-athen q. minicom will ask you if you want to quit without resetting the connection. Choose yes to return the digitizer to data mode.

6.4 Monitoring

Data flow

You can check that the DCM is receiving data either by monitoring the

Summary page of the on-board Web interface (see Section 5.7, “Summary”), or from a command prompt using the command gnblocks:

Key 0x007000: Blocks

0

(Port

0, name Data out port,

device /dev/ttySA0, baud 115200)

(Port

1, name Port B, device

Key 0x007001: Blocks

0

/dev/ttySA1, baud 9600)

149

(Port

2, name Port A, device

Key 0x007002: Blocks

/dev/ttySA2, baud 38400)

 

 

 

This command shows, for each port:

the Key number (in hexadecimal) of the process on that port which deals with incoming blocks,

the number of blocks received by that process,

the internal port number of the port,

the name you have assigned to it,

88

Issue A

Image 88
Contents CMG-DCM Table of Contents December Inside the DCM Introduction CMG-DCM Inside the DCM Serial port services Network servicesSee .4, Connecting to a local network for full details Power supply Installing the CMG-DCMOverview Connecting to a single computer Connecting over a serial linkConnecting over Ethernet 192.168.0.xUsing an internal modem Connecting over USBConnecting to a local network Gcfgdbset option-namenew-value Wi-Fi Connecting to the InternetConnecting digitizers and external hardware Setting up the CMG-DCMWeb setup Setting up digitizers Using Scream General notes UsageDCM as a data store 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 connect to the DCMs Scream! server Cannot see the DCMs Web site over Http or HttpsCannot Gcfping the DCMs Scream! server Can Gcfping the DCMs Scream! server, but no data appears DCM is not receiving any data streamsUse the Serial port configuration → port name Web page, or DCM is receiving streams, but they do not contain any data143032 up 34 min, load average 1.24, 1.32 Configuration options GeneralDisk CMG-DCM Serial port configuration CMG-DCM Page Network configuration Ethernet portStatic routes DNS setup Incoming mail setup Outgoing mail setup Remote access Administrators PPP Mgetty Data transfer ScreamScream! Client AutoDRMHttp client Http serverCD1.0 CD1.1 CD1.1 subframe configuration DSS Server configuration Seed Page CMG-DCM Actions Data ViewerIcon bar Stream listDigitizer Setup General digitizer settings Digitizer output control CMG-DCM Trigger criteria CMG-DCM Tap # Rate Bandwidth Samples/s Auxiliary Mux channels Sensor mass control Disk tools Partition, and format diskCheck disk filesystem Flush flashCamera Disk filesRecent Log Entries Network configuration SummaryDNS configuration Data Out Port, Serial Port A, Serial Port BTamper lines Flash StatusDisk Status Software Versions Inside the DCM File systems CMG-DCM Command line tools Configuration Digitizer console access Monitoring Data flowDigitizer status Tamper lines Updating the DCM Over the InternetFrom the hard disk Removing support packagesFirmware Libgconfigdb Appendix a Connector pinouts Appendix A.1 Modular DCM unitsPort a and B Data OUT portUSB connector Network connectorAppendix A.2 Integrated DCM units DM/AM module outputAppendix B Sensor and digitizer types Appendix B.1 Sensor response codesAppendix B.2 Digitizer type codes Digitizer