# PsnAdSend Configuration File for Earthworm 7.0

## For the 16-Bit PSN-ADC-SERIAL Board

Created July 10, 2006 by Larry Cochrane

Below is a typical PsnAdSend.d configuration file. This file should be located in the \earthworm\run\params directory. The ModuleId must be added to the earthworm.d file also located in this directory.

    #
    #                    CONFIGURATION FILE FOR PSNADSEND
    #                    -----------------------------
    ModuleId         MOD_PSNADSEND_A        # Module id of this instance of PsnAdSend
    OutRing          WAVE_RING              # Transport ring to write waveforms to
    CommPort         1                      # Comm port number
    PortSpeed        38400                  # Comm port baud rate, can be set to 9600, 19200, 38400 or 57600
    #
    #                        CHANNEL CONFIGURATION
    Nchan            8                      # Specify number of channels to record, can 1 to 8
    ChanRate         100                    # Sampling rate in samples per second, can be 5, 10, 20, 50, 100 or 200
    #
    #                         TIMING INFORMATION
    HeartbeatInt     15                     # Heartbeat interval in seconds
    TimeoutNoSend    30                     # Time in seconds before program will reset if no data from ADC board
    TimeoutNoSynch   60                     # Not used
    UpdateSysClock   0                      # 1 = PC time updated with AD board time
    HighToLowPPS     0                      # 1 = PPS signal direction is High to Low
    TimeOffset       0                      # Time Reference offset in milliseconds
    #
    # Time Reference Types:
    # 0 = Use PC Time, 1 = Garmin GPS 16 or 18, 2 = Motorola ONCORE NMEA,
    # 3 = Motorola ONCORE Binary, 4 = WWV (must have WWV option on the ADC board )
    #
    TimeRefType      0                      # One of the types above
    TimeFilePath     c:\earthworm\          # where to place the time.dat file
    #
    #
    #                          OTHER INFORMATION
    LogMessages      1                      # 1 = Log messages from DLL & ADC to log file
    NoPPSLedStatus   0                      # 1 = Disable 1PPS LED blinking
    AdcDataSize      2                      # ADC trace buffer data size in bytes. Can be 2 or 4 bytes
    #
    #
    #               SCNL (Station/Component/Network/Location) FOR EACH ADC CHANNEL
    # Chan lines must follow the Channel Configuration lines in this file. There should
    # be Nchan (see above) SCNL lines.
    #
    #     Chan  Station/Comp/Network/Location
    #   -------   --------------
    Chan    0       PSN BHZ PN NC
    Chan    1       PSN BHN PN NC
    Chan    2       PSN BHE PN NC
    Chan    3       PSN LHZ PN NC
    Chan    4       PSN LHN PN NC
    Chan    5       PSN LHE PN NC
    Chan    6       PSN SHZ PN NC
    Chan    7       PSN SHN PN NC
    #-----------------------------
    #

PsnAdSend Overview