source: trunk/params/k2ew_tty.d @ 2843

Revision 2843, 7.0 KB checked in by stefan, 12 years ago (diff)

adding params collected from subdirectories of src

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1#
2# k2ew configuration file
3#
4# This code receives serial data stream (SDS) packets from the K2 via
5# a Unix TTY port, converts them into Earthworm trace buf messages, and
6# stuffs them into a wave ring.
7#
8
9TtyName        /dev/sts/ttyc29  # TTY port for K2
10Speed           19200           # K2 baud rate
11
12ModuleId        MOD_K2EW        # module id for this import
13RingName        WAVE_RING       # transport ring to use for input/output
14
15LogFile         1               # If 0, don't output to logfile; if 1, do
16                                # if 2, log to module log but not stderr/stdout
17
18HeartbeatInt    30              # Heartbeat interval in seconds
19
20Network         NC              # Network name for EW msg headers
21
22ForceBlockMode  0               # should be set to 1 for K2's with modems
23                                # so that the k2ew program can get control at startup
24
25LCFlag 1                        # Indicator for action on missing
26                                # ChannelNames and LocationNames
27                                # 1: use the default location code and
28                                #    k2-configured channel code if none
29                                #    found in k2ew configuration
30                                # 2: Exit with error if any data channel
31                                #    is not assigned in ChannelName and
32                                #    LocationName commands.
33
34# Optional commands:
35
36BasePinno     1001              # Earthworm pin numbers are assigned by
37                                # adding this base number to the stream
38                                # number (0 - 5) of each packet
39                                # default: 0
40
41# StationID SEAB                # If specified, assign a different station
42                                # code to the TRACEBUF packets than what
43                                # is configured into the K2
44
45# ChannelNames  HHE,HHN,HHZ     # If present, assign different channel names
46                                # to the TRACEBUF packets that the names
47                                # configured in the K2. The list can be
48                                # delimited by commas or spaces. See the
49                                # documentation for details about channel
50                                # and serial stream numbering conventions!
51                                # List only STREAMed channels here, which
52                                # may be fewer than the K2 acquires.
53
54# LocationNames 01,01,01        # If present, assign location codes to
55                                # the TRACEBUF packets emitted by k2ew.
56                                # Otherwise, default location code
57                                # will be assigned; currently "--"
58                                # List only STREAMed channels here, which
59                                # may be fewer than the K2 acquires.
60
61# HeaderFile "..\k2hdr\k2hdr.SEA" # If specified, k2ew will write the K2 binary
62                                # header to this file.  The file is created at
63                                # program startup and once per day thereafter.
64                                # default: none
65
66# RestartFile   "restart.SEA"   # If you want to attempt a K2 restart, give
67                                # a name for the restart file. It MUST be
68                                # a unique name for this K2 or gross confusion
69                                # will result.
70                                # default: none
71
72MaxRestartAge    60             # Maximum age of the restart file, in seconds
73                                # If the restart file is older than this
74                                # when k2ew restarts, a normal start will
75                                # be used
76                                # Should be less than WaitTime (below)
77                                # default: 0 (seconds)
78
79CommTimeout   5000              # If unable to communicate with K2 for X
80                                # milliseconds, then terminate
81                                # default: 5000 (milliseconds)
82
83WaitTime  60                    # Maximum number of seconds to wait for a
84                                # packet to be resent from the k2
85                                # default: 60 (seconds)
86
87# DontQuit                        # Optional command; if present, k2ew will
88                                # not quit on timeouts. K2ew will quit on
89                                # errors in any event.
90
91# MaxBlkResends 4               # Sets the maximum number of times a resend
92                                # request may be sent to the K2 asking for a
93                                # given packet.
94
95# MaxReqPending 6               # Sets the maximum for the total number of
96                                # data blocks upon which resend requests may
97                                # be pending to the K2 at any given time.
98
99# ResumeReqVal 2                # Sets the number of pending "waiting" blocks
100                                # that must be received before new resend
101                                # requests are resumed after reaching the
102                                # 'MaxReqPending' limit.
103
104# WaitResendVal 120             # Sets the maximum time that k2ew will wait
105                                # for packets to be resent from the K2 to N
106                                # seconds.
107
108# RestartComm                   # This command is pertinent only when the
109                                # 'DontQuit' command is present. In this case,
110                                # when 'k2ew' detects a timeout condition (and
111                                # 'RestartComm' is set), the communications link
112                                # to the K2 will be closed and reopened before
113                                # 'k2ew' resumes reading data.   
114
115StatusInterval   30             # Interval in minutes between requests for
116                                # K2 status (if 0, then no status requests)
117                                # default: 30 (minutes)
118
119OnBattery                       # Report when K2 loses external power and is
120                                # running on battery power.
121                                # default: do not report
122
123LowBattAlarm 110                # In tenths of volts, threshold for low
124                                # battery alarm (if -1, then no alarm)
125                                # default: -1
126
127MinDiskKB  500  -1              # Low disk alarm threshold in Kilobytes, for
128                                # disk A and disk B (if -1, then no alarm)
129                                # default: -1 -1
130
131ExtStatus                       # Request extended status with normal status
132                                # Comment this out for no extended status
133                                # default: no extended status
134
135LowTempAlarm  150               # Low temperature alarm threshold, in tenths
136                                # degree, C; default: -1000
137
138HighTempAlarm 350               # High temperature alarm threshold, in tenths
139                                # degree, C; default: 1000
140
141GPSLockAlarm  24.0              # If GPS doesn't lock for this many hours,
142                                # report to statmgr.  Optional parameter.
143                                # default: Don't report to statmgr.
144
145#InjectInfo                      # a new v2.33 directive to inject K2INFO messages into
146                                # the RING...these are picked up by TNW                     
147                                # default is to have this turned OFF if not present in the .d file
148                                #
149                                # NOTE in order to use this SeisNetWatch feature, you
150                                # need to add the message type TYPE_K2INFO_PACKET to
151                                # the earthworm.d. The only program which can take advantage
152                                # of this new message type is k2ewagent available from www.isti.com
153                                # This new agent monitors the parameters found in the K2 status messages
154
155Debug 0                         # debug level: 0 or commented out for no debug
156                                # logging; 1 - 4 for increasing verbosity
157                                # default: no debug output
Note: See TracBrowser for help on using the repository browser.