
q3302ew is built on Mountainair 1.1.11 and as a result requires the C++ 
libraries to be in the LD_LIBRARY_PATH before execution.

q3302ew does not include a full Mountainair distro, and many of the
files that are included have been modified top add required functionality.


-----

Directory Structure:

q3302ew : q3302ew specific code
    Mountainair/ : Mountainair distribution
      src/       : source to Mountainair and related utilities
        qmaserv/
	  qmaserv  : Mountainair source
	  include  : Mountainair includes
	  msgs     : Q330 message classes
	  utils    : Mountainair utilities 

-----

q3302ew.d - Configuration options

The first four items are common in earthworm modules

ModuleId     - The ModuleId for q3302ew
RingName     - The ring q3302ew should use
HeartbeatInt - The heartbeat interval in seconds
LogFile      - 	0: Only log to stdout
		1: Log to both stdout and to file
		2: Log to file only

The next ten items are Mountainair config items.  For consistancy,
the item names have been preserved from Mountainair's config files.

udpaddr	       - The IP address of the Q330
ipport         - A port on the local machine.  Both this port
                 and this port + 1 must be unused.
baseport       - The base port of the Q330 (default is 5330)
dataport       - Which dataport on the Q330 should q3302ew connect to (1,2,3,4)
serialnumber   - The SN of the Q330 to connect to
authcode       - The authentication code for the Q330

verbosity      - Mountainair verbosity level
                 0 : silent
                 1 : major items
                 2 : major and minor items
                 3 : everything

startmsg       - This is sent to the Q330 as a user message upon startup
statusinterval - The interval, in seconds, that status is checked and
                 reported.  State of health information is also checked
                 at the same time.
diagnostic     - Mountainair diagnostic level.  Values for this can be
                 found in qmaserv/include/QmaDiag.h

The remaining items are state of health values.

MinClockQuality  - If the clock quality falls below this value, an error
                   is generated, and inserted into the ring.

MinInputPower    - Minimum acceptable input power.  An error is inserted into
                   the ring if the input power falls below this value.

MaxInputPower    - Maximum acceptable input power.  An error is inserted into
                   the ring if the input power exceeds this value.

There is a seperate MassPosition range defined for each channel.  These
values are MinMass1Position through MinMass6Position, and MaxMass1Position
through MaxMass6Position.  An error is inserted into the ring for each
mass position that is outside of it's acceptable range.
