MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

Embed Size (px)

Citation preview

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    1/141

    Seismic Monitoring Software

    Part No. MAN-SWA-0001

    Designed and manufactured byGralp Systems Limited3 Midas House, Calleva ParkAldermaston RG7 8EAEngland

    Proprietary Notice: The information in this manual isproprietary to Gralp Systems Limited and may not becopied or distributed outside the approved recipient'sorganisation without the approval of Gralp SystemsLimited. Gralp Systems Limited shall not be liable fortechnical or editorial errors or omissions made herein,nor for incidental or consequential damages resultingfrom the furnishing, performance, or usage of thismaterial.

    Issue J 2010-11-26

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    2/141

    Scream! 4.5

    1 Introduction...............................................................................................................61.1 Scream! as a real time application.....................................................................6

    Diagnostic features...............................................................................................7Digitizer configuration.........................................................................................7Networking........................................................................................................... 7Recording and replay...........................................................................................7

    1.2 Scream! as a data viewer....................................................................................8

    2 Installation and Configuration...............................................................................102.1 Installation on Windows..................................................................................102.2 Installation on Unix or Linux...........................................................................10

    Installation from an RPM or .deb.......................................................................10Installation from a .tar.gz archive......................................................................10

    2.3 Initial Configuration all platforms................................................................11

    3 The main window...................................................................................................123.1 Serial ports........................................................................................................12

    3.2 The stream buffer.............................................................................................153.3 The source tree.................................................................................................16

    Icons....................................................................................................................173.4 The stream list.................................................................................................. 18

    Sorting options...................................................................................................203.5 The status bar...................................................................................................203.6 Viewing streams...............................................................................................213.7 Connecting to instruments...............................................................................223.8 Calibration data................................................................................................23

    Examples............................................................................................................ 27

    3.9 Other features...................................................................................................27

    4 Waveview windows................................................................................................294.1 Window functions............................................................................................30

    Zooming in and out............................................................................................30Making measurements.......................................................................................31Printing............................................................................................................... 32Filtering.............................................................................................................. 32Paused mode....................................................................................................... 33Other icons.........................................................................................................35

    Context menu.....................................................................................................36

    2 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    3/141

    User guide

    4.2 Stream functions...............................................................................................37Identifying streams.............................................................................................38Changing the appearance of streams.................................................................39Scaling streams...................................................................................................39

    Viewing offsets, ranges and averages.................................................................40Spectrogram........................................................................................................41

    4.3 The Filter Design window................................................................................42Filter parameters................................................................................................43Viewing spectra..................................................................................................46Display options...................................................................................................48Presets.................................................................................................................49

    4.4 Display options.................................................................................................49Display setup......................................................................................................49Stream mapping.................................................................................................51

    5 Networking.............................................................................................................. 545.1 My Client.......................................................................................................... 54

    TCP clients..........................................................................................................56Multicast clients.................................................................................................56

    5.2 My Server..........................................................................................................575.3 Server Buffer..................................................................................................... 595.4 Gap recovery..................................................................................................... 605.5 Retrieving data over dial-up links....................................................................60

    6 Supplementary windows........................................................................................646.1 Terminal windows............................................................................................64

    Communicating with instruments.....................................................................64Macro commands...............................................................................................66Direct connections..............................................................................................66

    6.2 Digitizer status streams....................................................................................67GPS..................................................................................................................... 68Graphing status information..............................................................................70

    6.3 The summary window......................................................................................71

    Timing................................................................................................................ 72Mass position......................................................................................................72Age...................................................................................................................... 73Errors.................................................................................................................. 73Trigs.................................................................................................................... 74

    6.4 The ViewInfo window......................................................................................75

    7 Configuring digitizers..............................................................................................777.1 System ID..........................................................................................................787.2 Output control.................................................................................................. 79

    7.3 Triggering..........................................................................................................81

    November 2010 3

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    4/141

    Scream! 4.5

    STA/LTA.............................................................................................................83Level....................................................................................................................86External triggering..............................................................................................86Pre-trigger and post-trigger recording................................................................87

    7.4 Mux Channels................................................................................................... 877.5 Ports..................................................................................................................88

    8 Controlling digitizers..............................................................................................918.1 System............................................................................................................... 918.2 Triggering..........................................................................................................928.3 Calibration........................................................................................................938.4 Mass Control.....................................................................................................948.5 Data flow...........................................................................................................95

    DIRECT...............................................................................................................96FILING................................................................................................................ 97DUPLICATE........................................................................................................98DUAL.................................................................................................................. 99FIFO (First In First Out).....................................................................................99ADAPTIVE........................................................................................................100RE-USE / RECYCLE..........................................................................................100WRITE-ONCE...................................................................................................100

    9 Recording and playback.......................................................................................102

    9.1 Recording........................................................................................................1029.2 Files.................................................................................................................104

    UFF file format.................................................................................................107MiniSEED file format.......................................................................................108SAC file format.................................................................................................110SUDS file format..............................................................................................111GSE file format.................................................................................................112CSS file format.................................................................................................112SEG-y file format..............................................................................................113

    9.3 Playback..........................................................................................................113

    GCF files...........................................................................................................113SCSI hard disks................................................................................................116SCSI tapes.........................................................................................................117

    9.4 Automatic playback........................................................................................118

    10 Printing options...................................................................................................12010.1 Page printout.................................................................................................120

    Automatic printing...........................................................................................120Automatic screenshots.....................................................................................121

    10.2 Continuous printout.....................................................................................123

    Port capturing...................................................................................................126

    4 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    5/141

    User guide

    11 Logging and notification.....................................................................................12711.1 Log files......................................................................................................... 12711.2 E-mail notification........................................................................................129

    12 Extending Scream!..............................................................................................13112.1 Installing new extensions.............................................................................13112.2 Running extensions......................................................................................132

    13 Keyboard shortcuts.............................................................................................13413.1 The main window.........................................................................................13413.2 Waveview windows......................................................................................13513.3 Details window.............................................................................................136

    14 Inside Scream!.....................................................................................................13714.1 Command line options.................................................................................13714.2 The calvals.txt file........................................................................................13814.3 File and directory locations..........................................................................138

    Windows version..............................................................................................138Linux version....................................................................................................139

    14.4 Error messages..............................................................................................140

    15 Revision history...................................................................................................142

    November 2010 5

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    6/141

    Scream! 4.5

    Scream! 4.5 is a software application for seismometer configuration,

    real-time acquisition and monitoring. It runs on Linux and Windows(from 98 onwards). It can be used for decompressing, viewing,printing, recording, transmitting and replaying GCF data from anyGralp Systems digital device.

    Scream! 4.5 can be used in two modes:

    as a stand-alone, real time application for real-time dataacquisition, including a network server and client, file replay,recording and analysis tools; or

    as a helper application for viewing pre-recorded GCF files,which also allows you to convert data formats and launchanalysis tools.

    1.1 Scream! as a real time application

    When you run Scream! by double-clicking on its icon, or by launchingit from the command line, it opens amain windowshowing all the datastreams coming in.

    Scream! can listen for streams in GCF format on local serial ports ornetwork interfaces.

    The main window is the control centre for the whole program. If youclose this window, Scream! will quit. All of Scream!'s functions areinvoked from this window: see Chapter 3, page 12.

    You can view a data stream by opening a Waveviewwindowfor it. Anynumber of Waveview windows can be opened, each containing anynumber of streams. The same stream can appear in several Waveviewwindows, if desired. Each Waveviewwindow has its own amplitudeand time scaling, colour scheme, and display parameters. For example:

    a data stream can be viewed simultaneously at different zoomfactors in different windows;

    different groups of data streams can be viewed simultaneously,each group having the same zoom factor; or

    an entire array can be monitored in one window, using anotherfor detailed examination of incoming data.

    6 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    7/141

    User guide

    Waveviewwindows provide simple filtering capabilities, allowing youto examine seismic signals in a particular frequency range of interest.When more detailed analysis is required, data can be passed to a rangeof Scream! extensions with a simple selection.

    Waveviewwindows are fully described in Chapter 4, page 29; Scream!extensions are covered in Chapter 12, page 130.

    Diagnostic features

    Scream! performs extensive checks on all incoming GCF data, and logserrors to disk. You can see details about the incoming data, includingany errors detected by Scream!, using ShowInfo, Network Control,Summaryand Status windows. These are described in Chapter 6, page

    64.

    Scream! also provides logging facilities, and can e-mail operators whena potential problem is detected. See Chapter 11, page 126.

    Digitizer configuration

    Scream! provides an easy-to-use graphical interface for configuringGralp Systems digitizers.

    Output streams, triggering, calibration and mass control can all be

    managed by Scream!.

    See Chapter 7, page 77, and Chapter 8, page 90, for more informationon these features.

    Networking

    The real time Scream! application provides a built-in network serverand client for data in GCF format. ANetwork Controlwindow providesfull control of Scream!'s network connections.

    The Scream! server can be configured to allow remote clients toconfigure digitizers and control instruments over the network.

    Chapter 5, page 54, describes the networking functions Scream! offers.

    Recording and replay

    You can instruct Scream! to record data to disk with the click of abutton. Scream! supports GCF, SAC, miniSEED, SEGy, PEPP, SUDsand GSE formats, among others, allowing you to transfer the data

    quickly and easily for further analysis or processing.

    November 2010 7

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    8/141

    Scream! 4.5

    GCF data files, including data from Gralp Systems SAM, DCM orEAM units, can be read, replayed at variable timescales, viewed,converted or printed with a few mouse clicks.

    Support for SCSI tape devices is also included for secondary backup orlarge volume archival.

    See Chapter 9, page 101, and Chapter 10, page 119, for details of thesefeatures.

    1.2 Scream! as a data viewer

    Scream! can also be run in a slimmed-down viewing mode, whichloads in a GCF file, selection of files, or a directory containing files,

    and displays the data in a Waveviewwindow.

    To use these features:

    Double-click on a GCF file to open a WaveView windowshowing the data in the file.

    Any valid GCF file can be loaded, including multi-stream filesand files with gaps or out-of-order data.

    To open a WaveView window showing all the data in severalGCF files, select the files, right-click and choose View inScream from the pop-up menu.

    To search one or more directories for GCF files and display allthe data in these files, select the directories, right-click andchooseView in Scream.

    WaveView windows opened this way behave exactly like windowsfrom the real-time application, except that the pause button isreplaced with a button which resets the view to its initial settings.

    You can design and apply filters, draw spectrograms, or send data toScream! extensions just as you would from real-time Scream!. SeeChapter 4, page 29, for full details of what you can do.

    From the command line, Scream! can be run in viewing mode with

    scream -view filename [filename...]

    Scream! cannot switch between real-time mode and viewing mode. Ifyou want to load GCF files into the real-time application, you should

    use the Replay Files facility (see Section 9.3, page 112.) However, you

    8 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    9/141

    User guide

    can have both real-time Scream! and Scream! viewer windows open atthe same time.

    November 2010 9

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    10/141

    Scream! 4.5

    The Scream! software is available free-of-charge by request to

    mailto:[email protected]. Please specify, when ordering, theoperating system on which you wish to run the software.

    2.1 Installation on Windows

    Scream! for Windows is delivered as an installer packaged applicationso you will receive a single .exe file. Run this file and follow theinstructions on screen. Please see Section 2.3, page 11 for initialconfiguration steps.

    2.2 Installation on Unix or LinuxScream! for Unix/Linux can be delivered as either an RPM package or a.tar.gz compressed archive: please specify whichever is mostappropriate when ordering. For users of Debian GNU Linux-baseddistributions, such as Ubuntu, the alien command can be used tocreate a .deb package from the RPM.

    Installation from an RPM or .deb

    You can normally use your package manager to install in the usual

    fashion. On some systems, however, you may need to use the --nodepsoption with rpm, the --force-depends option with dpkg or a similaroption with other package managers. Please see Section 2.3, page 11for initial configuration steps.

    Installation from a .tar.gz archive

    The archive is created with relative file-paths and contains, at its root,a single directory, scream-4.5. It should be unpacked (using

    tar -xzf scream-4.5.tar.gz or an equivalent command) into a suitable

    location, such as /usr/lib. After unpacking, you need to copy a file tothe system library directory (usually /usr/lib) and create a symboliclink. You normally need to have root authority to do this. Change yourworking directory to the scream-4.5 directory and issue the followingcommands:

    cp libborqt-6.9.0-qt2.3.so /usr/lib

    cd /usr/lib

    ln -s libborqt-6.9.0-qt2.3.so libborqt-6.9-qt2.3.so

    You may wish to change the owner and group of the extracted files

    according to your local policy.

    10 IssueJ

    mailto:[email protected]:[email protected]
  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    11/141

    User guide

    Once fully installed, the application should be started by with the

    command /{install_path}/scream-4.5/scream. Please see Section 2.3,page 11 for initial configuration steps.

    2.3 Initial Configuration all platforms

    Scream!'s Setup... screen (available under the File menu) allows you,amongst other things, to set the location of data files and log-files. It iswise to set these before proceeding. You can view the setup screen atany time by keying Control-S.

    The directories in which you choose to place these files must bewriteable by you. They will be created when needed (if they do notalready exist) as long as the parent directory is writeable by you.

    Configured paths are not parsed by any command shell, so sequences

    such as ~ (home directory for Linux/Unix users) or %AppData% (theapplication data directory for Windows users) will not do what youmight expect.

    As the data files can grow quite large, Windows users who use roamingprofiles should pick a location which avoids having to transfer thesefiles over the network each time they log on or off. Similar concernsmay apply to Linux/Unix users in complex network environments.

    The directory used for storing incoming stream data is set using theBase Directoryitem on theFiles tab of the setup dialogue. For detailedcontrol of the file-names used, see Section 9.2, page 103.

    The directory used for storing logging information is set using theDirectory item on the Event Log tab of the setup dialogue. For moreinformation, see Section 11, page 126.

    November 2010 11

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    12/141

    Scream! 4.5

    When you start Scream!, you will be shown an empty main window:

    Scream! is now ready for you to start adding data sources.

    3.1 Serial ports

    1. Select File Setup... . If the Com Ports tab is not visible, bring itto the front.

    If you are running Scream! for the first time, this window willautomatically appear, together with a short tutorial.

    12 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    13/141

    User guide

    2. The serial ports available to Scream! are listed in the table.Identify each port, and the instrument connected to it.

    If you are using Microsoft Windows, the Port numbercorresponds to the COMn number of the serial port.

    If you are using Linux, Portnumbers 1 64 refer to the built-inserial ports /dev/ttyS0 /dev/ttyS63. Ports 65 andabove refer to USB-connected serial ports beginning/dev/ttyUSB0.

    A port may not be listed if it is not installed, suitable drivers arenot available or if another program is using it. Scream! scansyour computer for new ports each time you open the Setupwindow. To make Scream! scan the ports again, click the Portcolumn heading.

    3. Configure each port according to the settings of the instrumentsconnected to them:

    Baud Rate: The speed of the serial link to the instrument. Thecurrent digitizer product range defaults to 38400 baud. Older 3-channel Gralp digitizers default to a speed of 9600 baud; 6-channel digitizers use 19200 baud; EAM units use a baud rate of115200 by default. If you do not know the baud rate of yourdigitizer's output port, select Auto-Detect from the drop-downmenu to have Scream! attempt to detect it for you. Theinstrument must be producing data for this to work.

    You can set all ports to the same baud rate by clicking on thecolumn heading and choosing a suitable value from the drop-down menu.

    November 2010 13

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    14/141

    Scream! 4.5

    If you are using Scream! for real time data, you will not need tochange any of the remaining settings.

    AutoBaud : Once connected, Scream! dynamically alters its

    baud rate to fit with the instrument to which it is connected.However, this can interfere with transmission over very noisylinks. If you have problems, clear this box.

    ACKs : Whether Scream! should sendAcknowledgedmessages tothis instrument.

    NACKs : Whether Scream! should send Not Acknowledgedmessages to this instrument, when it detects a failure intransmission.

    BRP : Whether Scream! should attempt to recover droppedblocks from the instrument using the Gralp Block RecoveryProtocol. You should clear this box if you are using a single-direction (simplex) communications link.

    If you uncheck all three boxes (ACKs,NACKs andBRP), Scream!will never acknowledge data packets that it is sent. This isparticularly useful in situations where you need to connect to adigitizer without altering the flow of data. For example, adigitizer inFIFO orADAPTIVEmode will normally save data in

    Flash memory only if data packets are notacknowledged. Whenyou come to download the saved data from such a digitizer, youshould uncheck these boxes before connecting the digitizer.Doing this will ensure that incoming data continues to be savedon the digitizer, rather than transmitted to Scream!.

    Rx T/O (receive timeout) : The time, in seconds, that Scream!will wait for the sender to finish transmitting a block, beforeassuming that it is complete. If the instrument stopstransmitting in the middle of a block, Scream!'s diagnostics will

    detect it and request retransmission next time the instrument ison-line.

    You can set or unset all the check boxes in a column by clickingon the column heading.

    4. Click OK.

    If any instruments are connected, data streams should now beginappearing in the right-hand portion of Scream!'s main window.

    14 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    15/141

    User guide

    Another way to configure a serial port is to right-click on its entry inthe streams list (the left-hand panel in the main window) and selectingConfigure...

    From this page, you can double-click on the port number of an openCom port to go directly to a terminal session on that port.

    If you want to access Scream! servers on the network (i.e. EAMs, orother instances of Scream!), you will need to add the servers to the listusing theNetwork Controlwindow. See Section 5.1, page 54, for moredetails.

    Scream! will remember all the data sources you have specified on exit.When you next open the program, it will automatically try to re-

    establish all the connections.

    3.2 The stream buffer

    Scream! works by recording incoming streams into a fixed area ofmemory, called the stream buffer. All of Scream!'s operations workwith the data in this buffer.

    When you start Scream! for the first time, this buffer is empty. You canadd data to it either by receiving it from local serial ports, connectingto Scream! network servers, or replaying GCF files.

    Once the stream buffer is full, Scream! will start discarding the oldestdata. If you have not told Scream! to record the incoming streams (seeChapter 9, page 101), then you will not be able to get discarded databack.

    You can change the size of the stream buffer in theDisplaypane of theSetup window (see Section , page 49.)

    If you have enabled GCF recording, Scream! keeps track of the files

    which contain data in the stream buffer, and saves this information ina .lst file in the current recording directory (set using the BaseDirectoryitem on theFiles tab of the setup dialogue). When Scream! isrestarted, it reads this file and tries to rebuild the stream buffer as itwas when it was shut down. Otherwise, the buffer starts off empty asbefore.

    November 2010 15

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    16/141

    Scream! 4.5

    3.3 The source tree

    The tree in the left panel of the main window shows all the datasources currently connected to Scream!, whether local instruments,networked instruments, or files being replayed.

    Scream!'s source tree has two main parts: Files, which contains all thefiles you have replayed (including automatic replay: see Section 9.3,page 112), andNetwork, which represents your seismic network.

    Beneath Network is a list of all the network servers Scream! isconnected to, plus the entryLocalfor your computer's own serial ports.

    The next layer contains the serial ports themselves. These icons areprovided to help you identify the instruments, as well as providingdirect terminal access.

    As an example, the screen shot above shows Scream! running on acomputer which is not directly attached to any instruments. It receivesdata from a single network source, MACALLAN1, which has two serialports Com1 and Com2. These ports are attached to the instrumentsBHOLE-BH05 and GURALP-DA79 respectively: if your installation usesa CRM (Combiner-Repeater Module) or DCM connected to a serialport, several instruments may be listed under a single serial port icon.

    The MACALLAN1 server icon has been unrolled to reveal the serialport icons. You can roll up icons and save space by clicking on the

    box.

    16 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    17/141

    User guide

    You can tell Scream! to ignore a particular instrument by right-clickingon its icon and selecting Ignore. When you do this, Scream! willdiscard any blocks it receives from the instrument. They will notappear in the stream buffer or be recorded to disk. Select Ignore again

    to stop ignoring the instrument.

    Icons

    Instrument icons change colour to provide you with a quick overviewof the instrument's timing and mass position status:

    If both halves of the instrument icon are clear , Scream! has notreceived any information from the instrument since the programstarted.

    If the top half is green , the instrument has reported a satisfactorytiming fix.

    If the top half is yellow , the instrument has reported a gap in thetiming stream. This will occur if the GPS signal deteriorates to thepoint where the receiver cannot keep a lock on the satellites.

    If the top half is red , the instrument has not reported a satisfactorytiming fix for over an hour. This will happen if the instrument hasreported failures (as above), but also if it has not reported anything. Ifyou have set the GPS system to power down for intervals longer thanan hour, the icon will turn red even if the system is working normally.

    If the bottom half is red , the instrument (or one of its components) isrunning with a mass position over 15000 countsroughly 50% of itstravel. You should re-centre the component if possible, to avoidclipping after large ground movements.

    If the instrument appears as a green box , the instrument has sent

    status blocks to Scream!, but no data. The box represents a GralpCRM/SAM; these modules store or forward data from otherinstruments, but occasionally produce status blocks themselves. If adigitizer produces a status block before any data, perhaps because youhave configured very slow data rates, or are using FILING or DUALfiling modes (see Section 8.5, page 94), it will temporarily appear withthis icon.

    November 2010 17

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    18/141

    Scream! 4.5

    3.4 The stream list

    IfNetworkis selected in the source tree, the right-hand panel will listall the data streams which Scream! receives (and is not ignoring.) If anentry in the source tree is selected, the stream list will only show thestreams beneath that entryselecting a serial port will only showstreams from instruments connected to that port, and so on.

    The columns in the table provide useful information about eachstream.

    Stream ID : A unique name for the data stream, being a combination ofsix letters A Z and numbers 0 9. The first four characters of thisname identify the digitizer, and the last two characters identify the

    individual stream.

    The first four characters are set by default to the serial number of thedigitizer; you can change this on the System ID pane of theConfiguration Setup window (see Section 7.1, page 78) or from thedigitizer's console.

    The last two characters tell you the type, component, and output tap ofthe stream.

    Z0, N0, E0 correspond to input channels Z, N, and E of thedigitizer's SENSOR A port, continuously output through Tap 0.

    Z2, N2, E2 correspond to the same input channels, outputthrough Tap 1 at a lower sample rate.

    Likewise, Z4, N4, E4 and Z6, N6, E6 correspond to Taps 2 and 3.

    Z1, N1, E1; Z3, N3, E3; Z5, N5, E5; and Z7, N7, E7 correspond toTaps 0, 1, 2, and 3 ofSENSOR B, when you connect a 6-channeldigitizer.

    00 is the digitizer status stream (notice: zero sample rate).

    M8, M9, MA are slow-rate Mux channels reporting the sensormass positions for the Z, N, and E components (Section 7.4,page 87.)

    MB is a slow-rate Mux channel used for user input, or calibrationsignals on older Gralp Systems digitizers.

    18 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    19/141

    User guide

    MC-F are further Mux channels, used for user input or thedigitizer's internal temperature.

    X0-X7 denote the auxiliary analogue input channel on newerDM24 units, digitized using the same tap settings as Z, N and E.

    C0-C7 denote the same input channel, when it is being used foran input calibration signal.

    Z, N, EG-N are the channels Z, N, E0-7, respectively, when theyoutput triggered data.

    IB denotes digitizer Information Blocks containing userinformation. Scream! tries to interpret these blocks and

    automatically extracts data from them for use in WaveViewwindows or Matlab extenstions.

    CD, BP are digitizer streams for specialised use.

    Scream! can replace these designations with more helpful names ifyou wish: see Section , page 51.

    Rec. : Whether Scream! is currently recording the data stream to thecomputer's onboard hard disk (not the digitizer's memory). If anotherdevice on your network is recording the data stream independently ofScream!, the entry in this column will still be No. If this entry showsERR, then there has been an error whilst writing data for this stream.Investigate the cause, then re-enable recording to clear the error.

    Comp. : The compression factor of the data in the stream, expressed asthe number of bits occupied by each record (8, 16 or 32 bits.). This canvary block-by-block.

    SPS : The sampling rate of the data stream, in samples per second.Status streams, ending in 00, do not constantly output data and have

    an SPS of 0. By default, the stream list is sorted in order of sample rate,with the status streams at the bottom.

    End time and Date : the date and time of the most recent data, asmeasured by the data's own timestamp. This is not necessarily thelatest data to arrive.

    RIC : The Reverse Integrating Constant. In effect this is the value ofthe last sample received. This is most useful for reading mass positionsor other environmental streams. Status streams have a RIC of N/A.

    November 2010 19

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    20/141

    Scream! 4.5

    If a stream is currently recording, on Windows the option ExploreRecording Folder will open a Windows Explorer window at the folderwhere the data is currently recorded. This is useful to quickly browseto the recorded files.

    Sorting options

    Sorting options are available from theView Sort By menu:

    Alphabetical : Strict alphabetical order, 0 9 then A(a) Z(z).

    Component : Vertical components (ending Zx), followed by

    Nxand Excomponents, then Mux channels Mx. Within acomponent type, sort by the first four characters of theStream ID.

    Instrument: Sort by the first four characters of the Stream ID.Within an instrument, sort by tap, then by component.

    Sample Rate : Sort by sample rate, highest to lowest. Within asample rate, sort asInstrument.

    Tap: Sort by tap (the last character of the Stream ID.) Within

    a tap, sort by instrument, then by component.

    Select the Reversed option to reverse any of these sort orders.

    You can also sort the list by Stream ID or SPS by clicking on therelevant heading; click again to reverse the sort order.

    3.5 The status bar

    At the bottom of Scream!'s main window is a status bar containing

    summary information about Scream!'s state:

    The server address where the data for the currently selectedinstrument is received from.

    The number of different data streams currently accessible fromthe window, including those that have been rolled up.

    The amount of memory currently being used by Scream!'sstream buffer. You can change the maximum size of the streambuffer from the Setup window (see Section , page 49.) If this

    20 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    21/141

    User guide

    number approaches the capacity of your computer, it maybecome slow and difficult to use.

    The current time, according to the local computer (not the

    timestamps of incoming data.)

    To disable the status bar, deselectView Status Bar on the menu.

    3.6 Viewing streams

    Double-click on one of the streams to open a window for viewing thedata, or right-click on it and select View.... Alternatively, make aselection of streams from the list and double-click on the selection orpress ENTER.

    Data streams are opened in a Waveviewwindow:

    This window allows you to see real-time data coming in. You can alsopause the window and examine any features held in the stream buffer.For full information on the features provided by Waveviewwindows,see Chapter 4, page 29.

    Status streams (ending 00) consist of plain text. Double-clicking on astatus stream produces the Status window:

    November 2010 21

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    22/141

    Scream! 4.5

    The first blocks will give the boot message from the digitizer, including

    its software revision and the data streams selected for downloadingand triggering. Later blocks give information on visible GPS satellites,the location of the GPS antenna and time synchronization status. Alsodisplayed are the baud rates currently used for each channel and forthe data link.

    For more information on status streams and GPS, see Section 6.2, page67.

    If you View a selection which includes both status and data streams,the status streams will be collected together and displayed in a tabbed

    Status window, whilst the data streams will appear in a singleWaveviewwindow.

    3.7 Connecting to instruments

    Digitizer configuration and other common operations can beperformed from Scream! by right-clicking on the digitizer in the sourcetree and selecting Configure... or Control... See Chapters 7 and 8 formore information.

    Scream! also allows you to access the serial terminal of any connecteddigitizer and issue commands directly, by right-clicking on it andselecting Terminal.... See Section 6.1, page 64, for more informationon the serial terminal.

    An instrument may connected to Scream! through a series of otherunits (SAMs, DCMs, EAMs, etc.) Scream! will negotiate with each unitin turn to reach the instrument you are interested in. However, theprocess may take a little time.

    Right-clicking on a digitizer and selecting Triggers... brings up a

    window describing all the digitizer triggers that have been detected.

    22 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    23/141

    User guide

    This window can also be reached from the Summary window: seesection , page 73.

    3.8 Calibration dataScream! can display data streams from displacement, velocity, andacceleration sensors in physical units. To be able to do this, it needs toknow the calibration information provided with the sensor anddigitizer.

    Newer Gralp digitizers transmit calibration information in aninformation block when they reboot. When Scream! receives aninformation block that it understands, it automatically extracts thisinformation and remembers it.

    You can also enter and edit calibration information manually. Right-click on the digitizer's icon and select Calvals.... A window will openwith a text entry box. This window lets you edit Scream!'s calibrationvalues file.

    Fill in the text box with calibration information for your digitizer andthe instrument connected to it, in the format described below.

    To set the serial number of the instrument, include the line

    Serial-Nos=serial-number

    Scream! cannot tell what instrument is connected to the

    digitizer. This line is provided to help you remember which set

    November 2010 23

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    24/141

    Scream! 4.5

    of calibration values you have used, and to provide a title forcalibration graphs. If you attach a different instrument to thesame digitizer, you will need to enter new calibration values toreflect the new instrument.

    To set the sensitivity of the digitizer, include the line

    VPC=sensitivity

    VPC stands for voltage per count, measured in units of V/co unt.This is sometimes given as V/Bit on the digitizer calibrationsheet.

    To set the sensitivity of the calibration channel, include the line

    CALVPC=sensitivity

    as for the other digitizer channels.

    To set the value of the calibration resistor, include the line

    CALRES=resistance

    Gralp Systems digitizers normally use a 51 k resistor(CALRES=51000).

    To set the sensor type, include the line

    TYPE=model-number

    e.g.3T, 5T, etc..

    To set the response of the sensor, include the line

    RESPONSE=response-typeunit

    The values you can use are given in the table below.

    Sensor Sensor type codeUnits(V/A)

    CMG-5T or 5TD,DC 100 Hz response

    CMG-5_100HZ A

    CMG-40T-1 or 6T-1,1 s 100 Hz response

    CMG-40_1S_100HZ V

    24 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    25/141

    User guide

    Sensor Sensor type codeUnits(V/A)

    CMG-40T-1 or 6T-1,

    2 s 100 Hz responseCMG-40_2S_100HZ V

    CMG-40T-1 or 6T-1,10 s 100 Hz response

    CMG-40_10S_100HZ V

    CMG-40,20 s 50 Hz response

    CMG-40_20S_50HZ V

    CMG-40,30 s 50 Hz response

    CMG-40_30S_50HZ V

    CMG-3T or 3ESP,30 s 50 Hz response

    CMG-3_30S_50HZ V

    CMG-40,60 s 50 Hz response

    CMG-40_60S_50HZ V

    CMG-3T or 3ESP,60 s 50 Hz response

    CMG-3_60S_50HZ V

    CMG-3T or 3ESP,100 s 50 Hz response

    CMG-3_100S_50HZ V

    CMG-3T or 3ESP,120 s 50 Hz response

    CMG-3_120S_50HZ V

    CMG-3T,360 s 50 Hz response CMG-3_360S_50HZ V

    CMG-3TB or 3V / 3ESP borehole,30 s 50 Hz response

    CMG-3B_30S_50HZ V

    CMG-3TB or 3V / 3ESP borehole,100 s 50 Hz response

    CMG-3B_100S_50HZ V

    CMG-3TB or 3V / 3ESP borehole,120 s 50 Hz response

    CMG-3B_120S_50HZ V

    CMG-3TB or 3V / 3ESP borehole,

    360 s 50 Hz response

    CMG-3B_360S_50HZ V

    CMG-3TB or 3V / 3ESP borehole,360 s 100 Hz response

    CMG-3B_360S_100HZ V

    Some English descriptions are also accepted, e.g. 120svelocity, 100Hz acceleration but this is not a free-format,parsed field.

    To set the sensitivity (or gain) of the sensor components, include

    the line

    November 2010 25

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    26/141

    Scream! 4.5

    G=vertical-sensitivity,N/S-sensitivity,E/W-sensitivity

    These values are given on the sensor calibration sheet. For

    velocity sensors, they are given in units of V m1 s (V/m/s). The

    gain of an accelerometer is expressed in V m1 s2 (V/m/s2).Because Gralp Systems sensors and digitizers use differentialinputs and outputs, the sensitivity is quoted as 2 (single-ended sensitivity) on the calibration sheet.

    To set the coil constants of the sensor components, include theline

    COILCONST=vertical-coil-constant,N/S-coil-constant,E/W-coil-constant

    These values are given on the sensor calibration sheet.

    To set the local acceleration due to gravity, include the line

    GRAVITY=acceleration

    You should give this value in m s2, if you know it. If you missout this line, Scream! will use a standard average g value of

    9.80665 m s2.

    When you have filled in all the values, click OK.

    Any WaveViewwindows that are open will change to show streams inphysical units. New WaveView windows will also use these units

    where possible.

    26 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    27/141

    User guide

    Each digitizer System ID and serial number can have only oneinstrument connected to it. If you have a 6-channel digitizer with twoconnected sensors, you will need to make the digitizer announcedifferent serial numbers for each one. On newer Gralp Systems DM24

    digitizers, this can be done with the command SERIAL2. See themanual for your digitizer for more information.

    Examples

    The calibration information for a CMG-3T weak-motion velocity sensormight look like the following:

    Serial-Nos=T3X99VPC=3.153,3.147,3.159G=1010,1007,1002

    COILCONST=0.02575,0.01778,0.01774CALVPC=3.161CALRES=51000TYPE=CMG-3TRESPONSE=CMG-3_30S_50HZ VGRAVITY=9.80122

    CMG-5TD accelerometers use 1 calibration resistors, and their coilconstant is set to unity. Older CMG-5TD instruments, based on Mk2digitizer hardware, do not have calibration input facilities, and thusthe CALVPCentry is omitted. For example:

    Serial-Nos=T5585VPC=2.013,2.028,2.036G=0.256,0.255,0.255COILCONST=1,1,1CALRES=1TYPE=CMG-5TRESPONSE=CMG-5_100HZ AGRAVITY=9.81089

    For information on the file, calvals.txt, which stores these values,see section 14.2, page 137.

    3.9 Other featuresThe main menu also provides some miscellaneous facilities.

    Choose File Save Program State to save Scream!'s configuration fileimmediately. This file is read whenever you start Scream!, and anychanges are written back whenever you close it. Under MicrosoftWindows, the configuration file appears as scream.ini in thec:\scream directory; under Linux, it is saved in $HOME if thisvariable is set, otherwise the same directory as the Scream! programfile. You can change the name and location of the configuration file

    with a command line option (see Section 14.1, page 136.)

    November 2010 27

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    28/141

    Scream! 4.5

    Choose File Application Caption... to change the title of Scream!'smain window. This is useful if you have several copies of Scream!running on the same computer (e.g. to run multiple network services.)

    ChooseView Stay On Top to keep Scream!'s main window on top ofall other Scream! windows at all times. Other applications may stillcover Scream!'s main window.

    28 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    29/141

    User guide

    The most commonly used features of Scream! are accessed through

    Waveviewwindows. You can open as many Waveviewwindows as youlike, on any combination of streams; the same stream can be part ofseveral Waveviewwindows at once, at several different scales.

    To open a Waveviewwindow from Scream!'s main window:

    select Window New Waveview Window... from the mainmenu;

    double-click on a stream ID in the streams list;

    right-click on a stream in the list and selectView; or

    make a selection of streams and double-click the selection (orpress ENTER.)

    You can add further streams to the Waveview window by selectingthem from the streams list and dragging the selection into theWaveview window, or by dragging them from other Waveviewwindows. Dragging with Ctrl held down will copy the stream fromone window to another; otherwise, the stream will be moved to thenew window.

    November 2010 29

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    30/141

    Scream! 4.5

    If you are running Scream! in real-time mode, and you double-click ona GCF file to view it (or open the Scream! viewer in some other way),you will have both real-time and view windows open. In this case, youcan drag streams from real-time windows to other real-time windows,

    but not from these to view windows, or from view windows to otherview windows. This is because the windows are handled by differentinstances of the Scream! program.

    You can also drag streams within a Waveviewwindow to reorder them.

    (If you have paused a Waveviewwindow with the icon, you willneed to drag from the panel on the left, since dragging across thewindow will zoom in; see below.)

    To the left of the stream display is a panel identifying the stream by its

    System ID and Stream ID, or another label if you have set one (seeStream mapping on page 51.) If the label is too long to read, you canresize the panel by dragging its edge across the Waveviewwindow. Youcan also hide the panel this way.

    4.1 Window functions

    Above the stream display is a toolbar, containing icons which act onall of the streams within the window.

    Zooming in and outTo zoom in and out vertically, click the vertical scale icons

    at the top left of the window, or use your mouse wheel.The current zoom factor is shown between the icons, as a ratio ofpixels to counts. Zooming in and out affects every stream in thewindow. The mouse wheel also controls vertical zooming.

    To zoom in and out horizontally, click the horizontal scale icons

    , or hold down SHIFT whilst turning your mouse wheel.

    The current zoom factor is shown between the icons, in pixels persecond. To convert to pixels per sample, divide the zoom factor by thesample rate for the stream.

    If you have a large window which takes some time to scroll, especiallyat a high horizontal zoom factor, Scream! may not be able to finishdrawing new data before it needs to scroll again. If this happens,Scream! will delay scrolling until it can display in real time once more.To prevent this, decrease the time scale.

    If you have paused the window with the icon, you can zoom into

    an area of interest by dragging a rectangle across the streams. Scream!

    30 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    31/141

    User guide

    displays the time span in the top right corner of the rectangle, and thenumber of counts in the bottom left corner. You can drag across onestream, or several; the resulting window will still include all streams.

    Whilst the window is paused, you can also adjust the view start andend times by dragging the ends of the horizontal scroll bar button, atthe bottom of the window.

    Making measurements

    Click the Time Cursors or Ampl Cursors button to display a pair ofvertical or horizontal cursors. Each cursor has a square at one end,which can be dragged across the Waveview window to measurefeatures. If two cursors coincide, you will only be able to see the

    squares.

    The distance between the cursors is given in the text of the TimeCursors orAmpl Cursors icon, in seconds and Hz or counts. You canhave both vertical and horizontal cursors active at the same time.Because the limit of accuracy of the cursors is one pixel, you shouldzoom in to the range of interest before measuring.

    The Ampl Cursors measure distances in counts according to thecurrent zoom settings. However, if you have applied a scaling factor toan individual stream (see below), the Ampl Cursors do not take thisscaling into account, so the measured distance will no longer be indigitizer counts; they will be in the scaled units of the stream.

    To obtain the true value in counts, divide the value displayed in theAmpl Cursors icon by the scale factor for that stream, as displayedbeneath its ID on the left-hand panel.

    November 2010 31

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    32/141

    Scream! 4.5

    If a stream is shown with a physical unit (e.g. nm/s), Scream! hasscaled it so that the Ampl Cursors display a value in that unit. To dothis, Scream! needs to know the sensitivities of your digitizer andinstrument (see Section 3.8, page 23.)

    Printing

    To print the data currently being displayed in the Waveviewwindow,

    click on the Print icon . Scream! will use the current printersettings to print a full page view of the window, using the currentamplitude and time scaling, filtering and other display options. Youcan print at any time, in either real-time or paused mode.

    To print the same data in black and white (on a colour or greyscale

    printer), click on the arrow beside the Printicon and select Page Print(monochrome) from the drop-down menu. Black and white output ismore suitable for copying or faxing.

    You can also set up Scream! to print automatically, or send datadirectly to a connected plotter. For full details on the printing optionsavailable in Scream!, see Chapter 10, page 119.

    Hint: the print facility is a good way to produce PDF outputs ofwaveforms, by using a PDF printer-driver (e.g. PDFcreator).

    Filtering

    Clicking the Filter icon makes Scream! apply a filter to each of thedisplayed streams. Click the icon again to disable the filter.

    Scream! can be configured to apply different filters to each WaveViewwindow. To select the filter, click on the arrow beside the Filter icon.A drop-down menu will appear:

    Select Default filter to apply Scream's built-in FIR bandpassfilter. The properties of this filter depend on the sample rate ofthe stream. Data at 1 or 2 samples/s is filtered with a 10 30 spass band, whilst data at other sample rates is filtered withcorner frequencies at 0.1 and 0.9 times the Nyquist frequency of

    32 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    33/141

    User guide

    the stream. For example, the pass band for the filter applied to astream at 100 samples/s will be 5 45 Hz.

    Select Custom filter to activate the filter you have designed. If

    you have not designed a filter, a 10 30 s pass band filter willbe used for all sample rates.

    Select Design... to open the Filter Design window (see Section4.3, page 43.)

    If you have saved some filter designs as presets, they will belisted below Design.... Select an entry to switch to a Customfilter with these settings.

    If you have saved some filter designs as presets, a Delete presetsubmenu will also appear. Select an entry in this submenu todelete that filter design.

    Paused mode

    Click the Pause icon to stop the window scrolling. If new blocksarrive which contain data from the time period displayed, Scream! willadd them to the window.

    Whilst a window is paused, you can:

    Scroll the waveform to left and right to view all the data thatScream! has in memory. Alternatively, hold down CTRL whilstturning your mouse wheel to scroll through the data. Becausenew data is still being added to the memory buffer, the scroll barwill move slowly to the left as long as the display is paused.

    Zoom in and out to examine features in the data.

    Select data from several streams by holding down SHIFT and

    dragging:

    November 2010 33

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    34/141

    Scream! 4.5

    If the region you have selected is entirely filled with contiguousdata, the selection is shown as a solid block. If there are gaps oroverlaps in any stream, the selection is shown in a hatchedstyle.

    Select data from two streams by holding down CTRL anddragging from one to the other.

    34 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    35/141

    User guide

    Save data to a file by selecting one or more streams (using eitherof the methods above) and choosing Save...:

    Select the directory and format for the file, and click OK to savethe data with one file for each stream (using the format shown.)

    Some formats support multiple streams per file. For theseformats, you can select Single File to combine the streams.

    The number at the top left of the selection is the number ofsamples from each stream that you have selected.

    Use data in a filter design by selecting a single stream andchoosing Use in Filter Design... from the pop-up menu. SeeSection 4.3, page 43, for details.

    Pass data to a Scream! extension by selecting one or morestreams (using either of the methods above) and choosing theextension from the pop-up menu. See Chapter 12, page 130, formore details.

    Click the Pause icon again to return to real-time mode. If you havechanged the zoom settings, the window will return to its previousstate, with the window once more following the real-time data.

    November 2010 35

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    36/141

    Scream! 4.5

    Other icons

    Click the Block Boundaries icon to display a dotted line at the endof every GCF block displayed in the window:

    The number beside each line is the number of bits used to store eachsample in the block. A fixed-length GCF block with 8-bit samples(which can encode differences up to 127 counts) can store 4 times asmany samples as a block using 32 bits for each one (encoding

    differences as large as 4,294,967,296 counts). Clicking the icon againremoves the block markers. Block markers can also show icons for re-boots and re-syncs .

    Click the Zero Streams icon to set the offset of each stream in itslane so as to centre its mean value over the time period displayed. Ifyou do not want a particular stream to be zeroed when you click thisicon, right-click on the stream beforehand and select Locked Offset.This option is particularly useful when first setting up an instrument,since its output is often offset by a constant DC voltage.

    When Scream! is used as a data viewer, the Pause icon is replaced

    with a Restore View icon . Click this icon to reset the time andamplitude zoom settings to their initial values,i.e. to display the entireselected data set within the window.

    36 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    37/141

    User guide

    Context menu

    Right-clicking inside a Waveviewwindow brings up a context-sensitivemenu in two sections. The upper section of this menu contains options

    which affect a particular stream (see below.) Options in the lowersection affect the whole window:

    Select Background Colour... to change the background colour for thewindow.

    Select Label... to change the title of the window. This also changes thename of the window's entry in Scream's Windows menu, and is usedon printouts (see chapter 10, page 119.)

    Select Clear Window to remove all streams from the window. Thisdoes not remove the streams from memory; you can retrieve them bydragging from Scream's main window onto the now-empty Waveviewwindow.

    Select No Caption to remove the title decoration and toolbar from thewindow. To maximise the screen area occupied by streams, firstmaximise the Waveview window, then choose No Caption. You canstill use the mouse wheel or keyboard shortcuts (see Chapter 13, page133) to perform the actions of icons on the toolbar.

    Select Duplicate to open a new Waveview window identical to thecurrent one. (If you have renamed a stream using Stream NameMapping, the new window will use the new name.)

    Select Overlay Streams to draw all visible streams in the middle ofthe window, overlaid one on top of another.

    November 2010 37

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    38/141

    Scream! 4.5

    This is useful if you want to compare event records from severalinstruments in an array. Select the Overlay Streams option again toreturn to the normal display settings.

    4.2 Stream functions

    There are also several actions you can perform on individual streams,which can be accessed from the context-sensitive menu. Each streamhas its own focus lane, although large signals or high zoom factorsmay make the trace extend outside the lane.

    When you move the mouse pointer over a lane, a selection box isdrawn around the corresponding stream's label in the panel to the left.Right-clicking will bring up the menu options for this stream.

    If you have selected Overlay Streams for the window, the focus lanesare still present even though the streams are not drawn inside them.Right-clicking in the window anywhere to the right of a streamidentifier will bring up the context menu for that stream.

    38 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    39/141

    User guide

    Identifying streams

    Every stream is identified in its icon in the left-hand panel. For moredetails, right-click on the stream. The topmost option in the menu

    displays the full network path to the instrument, including its SystemID and Stream ID:

    Here, a stream from a digitizer with the System ID BHOLE has amapped name ofZ (see Stream mapping, page 51.) Right-clicking on

    the stream shows that the true Stream ID is DA62Z2, and that it comesfrom a GCF file with the name da62z2_20060112_1900z.gcf.

    Selecting this option brings Scream!'s main window to the front, withthe digitizer and stream selected.

    Changing the appearance of streams

    To change the colour of a stream's trace, right-click on the stream inthe Waveview window and choose Colour.... Select the colour youwant to use and click OK.

    You can also set up Scream! to use particular colours automaticallyaccording to the name of the stream, and to label them differently inthe Waveview window. See Stream mapping, page 51, for moredetails.

    November 2010 39

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    40/141

    Scream! 4.5

    Scaling streams

    To scale an individual stream, right-click on it and select Scale...:

    Enter the new scale factor and click OK. You can scale wholeinstruments at a time by checking the Copy to all....components in thiswindowbox. This overrides any previous scale factor active for those

    streams.

    If you have configured Scream! to scale streams to physical units, thisbox will display the scale factor Scream! is using. If you enter adifferent scale factor, it will override the factor Scream! has chosen. Toreturn to physical units, in the scaling box, enter the ord auto. Youcan also apply relative scaling by entering * and / operators. Forexample, entering a scaling of *2 will double the existing scale factor.

    Viewing offsets, ranges and averages

    To see the range and average value for a stream, right-click on it andselect Details.... A small window will appear beside the stream givingthe current offset, mean, maximum and minimum values for the datain the window, together with the Diff (difference between minimumand maximum values) and Buffer (storage space taken up by thisstream in memory.) The values are scaled according to the currentscale factor for the stream, or to any physical unit you have selected.

    To alter the offset of a stream, type a new value (in counts) into theOffset box and press ENTER. You can do this even if the stream is

    locked. The offset is changed for the current Waveviewwindow only.

    If you move a Waveviewwindow, all its Details windows will movewith it. You can change their relative position by dragging the title barof eachDetails window.

    Whilst theDetails window is open, the mean value is displayed on theWaveView window as a dotted horizontal line, whilst the maximumand minimum values are displayed as solid lines.

    You can also change the offset of a stream with the keyboard. With the

    mouse over the Details window, pressing the and arrow keys

    40 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    41/141

    User guide

    moves the current stream up or down by one pixel, whilst Page Upand Page Down move the stream by the height of one lane. Thisfeature lets you compare streams by placing one directly on top ofanother. The lane used for selecting the streams stays the same.

    Spectrogram

    Scream! can perform real-time spectral analysis on incoming data. Toenable this feature, right-click on the stream of interest in theWaveviewwindow and choose Spectrogram from the pop-up menu.

    The vertical axis of the spectrum is linear, with the Nyquist frequency(= half the sample rate) at the top and 0 Hz (DC) at the bottom. Thecolouring is logarithmic, giving a large total range whilst retainingsensitivity at low signal levels.

    The width of the spectrum can be changed in the Display options paneof the Setup window. Pressing the + and keys adjusts the colour

    contrast of the spectrogram.

    November 2010 41

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    42/141

    Scream! 4.5

    The spectrogram supports zooming in by dragging a selection on thefrequency scale. To apply the zoom to all spectrograms in the window,hold Ctrl at the same time. To zoom out, right-click on the frequencyscale, holding Ctrl if necessary to apply to all spectrograms.

    The example below shows data from a CMG-5TD which is sensing asignal of approximately 40Hz (greeen trace at the top). The Red traceshows the N/S component, with the spectrogram zoomed in once, andthe blue trace where the spectrogram is zoomed in again, to the 39-40.5Hz region. On closer inspection, it can be seen that the signalfrequency is changing over time, which was not apparent from the un-zoomed green trace.

    42 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    43/141

    User guide

    4.3 The Filter Design window

    TheFilter Design window allows you to alter the appearance of streamsin Waveview windows by applying low-pass, high-pass or band-passfilters. Each Waveviewwindow can have its ownFilter Design settings.

    To open theFilter Design window, click on the arrow to the right of theFilter icon and select Design... from the drop-down menu.

    From top to bottom, the window contains

    the parameters of the current high-pass (red) and low-pass(green) filter in numerical form,

    a graph of the response of the current filter, showing the 3 dBlevel and corner frequencies,

    (at bottom left) display settings for the graph, and

    (at bottom right) control buttons for the window.

    November 2010 43

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    44/141

    Scream! 4.5

    Filter parameters

    The filter parameters are shown at the top of theFilter Design window.

    Select Highpass to switch on the high-pass filter, and enter thevalue of the corner frequency required in either the Hz or theSecs (seconds) box. You are not allowed to enter a value of 0 ineither box.

    While the cursor is in one of the frequency boxes, pressing the +and keys will nudge the corner frequency up and down.

    Alternatively, change the corner frequency by clicking on thegraph with the left mouse button. If the low-pass filter is active,

    and you click to the right of the low-pass corner, bothfrequencies will be moved.

    If the frequency you want is not shown in the window, it maybe above the Nyquist frequency for the currently-selectedsample rate. Change the value in then sps box at the bottom leftand try again.

    Change the order of the filter by entering a number in the nthOrderbox.

    Select Lowpass to switch on the low-pass filter, and enter thevalue of the corner frequency required in either the Hz or theSecs (seconds) box.

    44 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    45/141

    User guide

    Alternatively, change the corner frequency by clicking on thegraph with the right mouse button. If the high-pass filter isactive, and you click to the left of the high-pass corner, bothfrequencies will be moved.

    Change the order of the filter by entering a number in the nthOrderbox.

    To create a band-pass filter, select both Highpass andLowpass.Enter values into the text boxes, or click in the graph with theleft and right mouse buttons to set the two corner frequencies.

    November 2010 45

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    46/141

    Scream! 4.5

    When both filters are active, the individual filters are shown onthe graph in light blue.

    Enter a value in the Gain (dB) box to change the gain of the

    filter.

    In the example above, the overall gain of the band-pass filter hasbeen set to 10 dB. This is done by applying a 5 dB gain to eachof the component filters. As a result, the light blue traces appear5 dB below the dark blue trace.

    Viewing spectra

    You can overlay the power spectrum of up to 2 streams on the

    frequency graph. This is intended to help you design filters for specificevents by focussing on the frequencies at which the event hassignificantly more energy than the background noise.

    To design a filter for a specific event:

    1. View the relevant stream in a Waveviewwindow and click thePause icon. Zoom in to a time period where the stream is quiet.

    2. Holding down SHIFT, select a single stream across this quiettime range. Choose Use in Filter Design... from the drop-downmenu. TheFilter Design window will appear, with the spectrumof the background noise overlaid.

    46 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    47/141

    User guide

    If you do not see the Use in Filter Design... option, check thatonly one stream is selected.

    3. Leaving theFilter Design window open, switch to the Waveviewwindow and view the event of interest.

    4. Holding down SHIFT, select data from the same stream duringan event. Choose Use in Filter Design... from the drop-downmenu. A dialogue box will open asking you if you want toreplace the previous spectrum or add to it.

    November 2010 47

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    48/141

    Scream! 4.5

    Click Yes. The spectrum of the event will be overlaid on thebackground noise spectrum, in a lighter shade.

    You can now click in the graph to move the filter's corner

    frequencies to suit the event.

    5. If you want to view the spectrum of a different event, followsteps 3 4, choosing Yes when you are asked if you want tooverlay the spectra. The old event spectrum will be replacedwith the new one.

    6. If you want to change the background spectrum, follow steps 1 2 and choose No when you are asked if you want to overlay thespectra. The old event spectrum will be erased, and thebackground spectrum will be replaced with the new one. Nowfollow steps 3 5 to overlay the spectrum of events as desired.

    Display options

    The icons at the bottom left of the Filter Design window change theproperties of the graph.

    TheLog/Lin selection box allows you to choose a logarithmic orlinear time axis. (The magnitude axis is always displayed in dB,and is therefore logarithmic.)

    Enter a value in then sps box to display a time range suitable forstreams at that rate. The graph displays a 4-decade frequencyrange, up to the Nyquist frequency (i.e. half of the sample rate.)

    48 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    49/141

    User guide

    When power spectra are being displayed on the graph, there isan additional selection box to the right of theLog/Lin icon.

    The power spectrum calculation uses the Welch averaging

    periodogram algorithm. This algorithm produces frequencygraphs by splitting the range into windows of a certain size. Youcan alter the size of window used by changing the value in thisselection box.

    Using a smaller window size produces a smoother graph, at theexpense of losing information about lower frequencies. Toexamine lower frequencies, you will need to increase thewindow size; however, doing this will increase the noise visibleat high frequency.

    Presets

    When you are happy with your filter design:

    Click OKto apply the filter to the Waveviewwindow and closetheFilter Design window.

    Alternatively, clickApply to apply the filter and leave the FilterDesign window open.

    Checking the Auto-Apply check box makes the Filter Design windowapply immediately any changes you make to the filter. Since applyinga filter may take some time, you should not check Auto-Apply if youare viewing a large amount of data.

    To save the design in Scream!'s configuration file, click Save, andenter a name for the filter. You can now select the filter from the drop-down menu next to the Waveviewwindow's Filter icon.

    4.4 Display options

    There are a number of Scream! setup options which affect howWaveviewwindows are displayed.

    Display setup

    To change default display options for new Waveviewwindows, chooseFile Setup... from the main menu and click on the Display tab.

    November 2010 49

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    50/141

    Scream! 4.5

    Stream Buffering: You can change the size of Scream's stream bufferby altering the value and unit in these boxes. Scream! will discard anydata older than this. If you want to record data to your computer's hard

    disk, you should use the RecordingandFiles panels; when you enablerecording on a stream, any data in the stream buffer will be includedin the recorded files. Scream! can also play back recorded GCF files(see Chapter 9, page 101.)

    Status Font : Click Select... to change the font used in status streams.The change comes into effect on new and existing Status windows assoon as you click OK orApply.

    Waveview Defaults : Allows you to take the default properties for newWaveviewwindows from a window already on the screen. Click Select

    and then on the window you wish to copy. When you click OK orApply, new Waveview windows will have the same horizontal zoomfactor, filter and block boundary options, background colour, andtime/amplitude cursor state as are currently in place on that window.The vertical zoom factor is used only for new, blank Waveviewwindows, since Scream! automatically chooses a suitable factor if itcan.

    Colour-coded Components : When this box is checked, Scream! willlook for stream names ending Zn, Nn, En or Xn and automatically

    display them in the colours shown. To change the default colours,

    50 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    51/141

    User guide

    click on the boxes. Other streams are assigned a colour in rotation asthey arrive. To define more specific colour defaults, you can usestream mapping (see below.)

    Spectrogram : Alter this value to change the height of spectrogramsdisplayed in Waveview windows, in pixels. When you click OK orApply, newly-drawn spectrograms in all Waveviewwindows will usethe new height. Pressing F5 will cause a Waveview window to beredrawn, as will resizing it, changing the zoom factor or using otherbuttons on the toolbar. Moving a window, or obscuring it and thenrevealing it, may or may not cause a redraw, depending on youroperating system.

    Units : Scream! can automatically scale new WaveView windows to

    physical displacement, velocity, acceleration units using sensitivityinformation you provide (see Section 3.8, page 23.) To enable thisfeature, first edit the calibration valuesfor your digitizer, then select asuitable unit from the Displacement, Velocity, or Acceleration drop-down lists.

    Once you have done this, streams from the digitizer will be scaledautomatically. Other instruments will default to displaying in counts.

    A simple linear scaling algorithm is used, which does not take intoaccount the response profile of the instrument, although where theinstrument has a flat response in the pass-band, it is normally asufficient approximation. For accelerometers, this is usually sufficientto be useful.

    Stream mapping

    You can tell Scream! to look for streams with a particular Stream ID,and to display them in Waveviewwindows with their own colour andlabel. This is done from the setup window. As with all setup options,Scream! will remember any mappings you create, and restore them

    next time you run the program.

    To create a new stream mapping:

    1. From Scream!'s main window, choose File Setup... . Switch tothe Stream Mappingtab.

    2. Check Use Stream Name Mapping. The pane will change toshow the new options:

    November 2010 51

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    52/141

    Scream! 4.5

    3. ClickAdd... and fill in the Stream ID you want to change, thenew label and colour.

    The label can be any length, but may not contain any of thecharacters

    \ / : * ? " < > |

    because these characters are not allowed in DOS or Windowsfilenames.

    4. Click OK. In this example, new Waveviewwindows containing

    the DEMOZ2 stream will now automatically show it in the new

    52 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    53/141

    User guide

    colour, and with the label My 6TD vertical. The new label isalso used in the main window, on printouts, and in thefilenames of recorded data streams (if your format specifierincludes the Stream ID.) Identifiers inside exported files will

    still use the original Stream ID.

    Waveview windows which are already open will not changeuntil they are refreshed (e.g. by resizing or zooming them, or bypressing F5.)

    You can edit an existing mapping by double-clicking on its entry in thetable, or by selecting it and clicking Edit.... To change the defaultcolour only, click the colour panel under Colin the table.

    To delete a stream name mapping, select it and click Remove.

    Clicking Import... enables you to import a scream.ini file fromanother Scream! installation and extract the mappings from it. This isuseful when you want to use a standard set of names and colours forseveral Scream! installations.

    November 2010 53

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    54/141

    Scream! 4.5

    You can use Scream! to access the data from a digitizer from anywhere

    on a local or remote network.

    Once a network connection is set up, Scream! can act as a server toprovide data to other computers running Scream! or archivalprograms. To view the currently active Scream! network connections,select Network Control from the Window menu of the main window:

    Scream! uses a single local port to communicate with all servers andclients. You can change the number of this port by editing the Portused for all network communications box. You may need to do this if,for example, you want to run several instances of Scream! on the samecomputer.

    5.1 My Client

    The standard mode of transmission in Scream! uses UDP. Blocks ofdata are received in UDP packets, which are shown in the Block Rxpane. UDP does not guarantee that data will be successfully received.

    If data is lost and subsequently recovered, a diagnostic message willappear in the Controlpane.

    Scream! has two methods for serving data. In the first, Scream! keeps alist of clients which need to be provided with data. This method isknown as server push:

    54 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    55/141

    User guide

    All data received on the server's serial ports will be sent to theseclients automatically. On the client side, to begin receiving data, youshould simply check the Receive Data box on the My Client tab. Noother action is necessary. If your client is behind a firewall, you willneed to unblock the UDP port at the client side.

    See My Server, page 57, for details of how to set up the server.

    Additional clients may also request data from the Scream! server. Thismethod is known as client pull:

    The requests are placed in UDP packets which the server canrecognize. If your server is behind a firewall, you will need to unblockthe UDP port at both client and server side.

    To request data from the server by this method:

    1. Switch to theMy Clienttab.

    2. Check Receive Data to start Scream! listening.

    3. Right-click anywhere in the Servers list box, and select AddUDP Server.... Enter the IP address in numerical form, orhostname, followed by a colon :, and the port number on whichthe server is waiting for requests; e.g. 192.168.42.98:1567.

    4. Test communications by right-clicking on the newly-addedserver, and selecting GCFPING. A message appears in theControlpane logging the ping being sent. If communication is

    good, and the server is enabled for client requests, you will

    November 2010 55

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    56/141

    Scream! 4.5

    receive a GCFACKN message from the server which will alsoappear in the Controlpane.

    5. Request data by right-clicking on the server and selecting

    GCFSEND:B from the pop-up menu (B for big-endian byteorder). Streams should soon begin to appear in Scream!'s mainwindow.

    6. To stop the link, right-click as before and select GCFSTOP fromthe pop-up menu. If you do not GCFSTOP, the server willcontinue to transmit to a client that is no longer listening. Youshould ensure that the server replies with a GCFACKNmessageIf an acknowledgement does not appear in the Control pane,repeat the GCFSTOP command.

    Scream! automatically issues a GCFSTOP to all connectedservers when it exits.

    The steps above can be repeated as many times as necessary to pulldata from several servers. Scream! remembers all the network settingswhen it exits, and automatically tries to reconnect when you start itagain.

    TCP clients

    Clients can also make a TCP connection to Scream! and request data.Using this method, transmission of every block is guaranteed, but thereis a significant overhead involved in keeping the connection active.

    Clients using TCP can access the server by its host name as well as byits IP address. This is useful for installations whose IP address maychange.

    Multicast clients

    Multicasting is a feature of TCP/IP which allows you to send networkpackets to several clients at once. These are most often used on localnetworks. Multicast servers use addresses between 224.0.0.0 and239.255.255.255.

    When you Add a multicast server, right-clicking on its entry in theServers list box pops up a menu with Connectand Disconnectoptionsin place of the GCFxxxxcommands.

    Selecting Connect instructs Scream! to join the multicast group withthat address. If the server is running, data should begin appearing

    immediately.

    56 IssueJ

  • 7/29/2019 MAN-SWA-0001-J Scream 4.5 Users Guide.pdf

    57/141

    User guide

    Selecting Disconnect makes Scream! leave the multicast group. Youcan be in several multicast groups simultaneously, and join or leaveeach one independently of the others.

    5.2 My Server

    Scream!'s server transmits data over the network via UDP. To preventnetwork loops, separate options are available to serve local data (fromdirectly connected instruments), or to relay data that was received bythe Client (Transmit data from Network).

    The list of clients that Scream! is currently sending data is shown inthe Clients table at the top of the My Server pane. Block-by-blockdetails of the data being transmitted are shown in the Block Txpane.

    Other server operations are reported in the Controlpane to its