 
 Environment -

	The software has been developed and tested to execute in MS-DOS.
	It may not operate correctly in a DOS window from MS Windows or
	Windows'9x. It is recommended that you exit Windows or shut-down
	to DOS (Windows'9x) prior to installing and executing the software.

	The intermediate file used for recording should be located on an
	uncompressed disk drive (the software has not been tested with a
	compressed disk drive or with disk caching).

	Some network cards result in a communication problems, if you
	are unable to establish communication, remove all unnecessary I/O
	cards from your PC.


 Installation from the MS-DOS prompt -

	(requires PKUNZIP version 2.04g or later)

	md c:\sea0704
	cd c:\sea0704
	pkunzip -d a:a398c419

 This directory includes an AUTOEXEC.BAT and a CONFIG.SYS which
 represents a typical installation. You may need to modify your
 AUTOEXEC.BAT and CONFIG.SYS.

 Specifically, insert the last 3 lines from AUTOEXEC.BAT:

	lh c:\dos\graphics      (needed for hardcopy graphics output)
	cd sea0704              (sets the working directory)
	restart                 (starts the CCDU program)

  Overview -

	This disk contains several operational items:

	MONEXE.EXE  - Monitor software (described below) used for diagnostics.

	PRINEXE.EXE - Offline utility program to print recorded data.

	PLOTEXE.EXE - Offline utility program to plot recorded data.

	FILES.EXE   - Offline utility program to manage recorded data.

	SPOOLMAK.EXE- Offline utility program to create recording file.

 MONEXE program -

	The MONEXEC program communicates with the SEANAV Unit Under Test
	(UUT) via an RS232 port and can emulate the EMLOG via an RS422 port (both
	ports implement an RS232 protocol). The software will only operate with
	16550 compatible UART. This UART is available on many PC's as comport 1
	and 2. If your PC does not utilize this UART a commercial card (such as
	Keithley MetraBytes COM-422/DUAL-422) may be used. The comport can also
	be used for the RS422 interface by inserting an adaptor which changes the
	(RS232/RS422) electrical characteristics.

	The Monitor software has the capability of recording the communication
	between the UUT and the PC.

	If recording is not required:

	 *  edit MON\CFG.IN0 (described below),
	 *  invoke MON.BAT from the SEA0501 directory,
	 *  skip to the "Running" section of this file

	If recording is required, follow the procedures in the remainder of this
	file. In particular, perform the actions in the "Site Information"
	section.


  Recording -

	In order to record data, an intermediate file must be created (once)
	prior to invoking the software. The offline utility program
	SPOOLMAK.EXE is used to create this file. Sufficient space should
	be allocated to handle the largest possible recording (e.g. 64 Mbyte).
	The intermediate file is overwritten each time the program is invoked.
	At the end of each run, the program asks the operator if the
	intermediate file should be saved permanently. If the intermediate file
	does not exist on the PC, defragment the disk and run SPOOLMAK.EXE.

	The PLOT data reduction program utilizes the BIOS Print Screen function
	for hard copy output. You must install the proper graphics driver
	for your printer. This is accomplished by placing the following in
	AUTOEXEC.BAT (refer to MS-DOS documentation for your printer specific
	option):

	C:\DOS\GRAPHICS [option]

	The plot screen colors and the printer control information is located in
	file PLOT\CFG.IN0, edit this file as requied.

	The plot data reduction time can be significantly reduced if the plot
	temporary file is placed on a RAM drive. Ask the systems installer at
	your facility for procedures to install a RAM drive. The following is a
	typical modification to CONFIG.SYS to create a 3 mbyte RAM drive:

	C:\DOS\HIMEM.SYS
	C:\DOS\EMM386.EXE
	C:\DOS\RAMDRIVE\SYS 3072 /E

	The name and location of the intermediate spool file and the plot
	temporary file, and the location of the permanent recording directory
	must agree with that described in DATAFILE.DAT (see below).

  Site Information (edit as required) -

	MON\CFG.IN0  - contains i/o information and default location.

	MON\REC.IN0  - contains data recording options (see notes).

	PLOT\CFG.IN0 - contains plot options and printer control information.

	DATAFILE.DAT - this file needs to be updated if data is to be recorded,
				   it contains drive an path information:

		line 1 - drive\path of permanent recorded data, this directory
				 is created manually by the user (e.g. md C:\FILES).

		line 2 - drive\name of temporary plot data file, this is created
				 dynamically by the progranm, and should be (if possible)
				 on a RAM disk drive (of at least 3 mbytes) to speed the
				 data reduction. Make sure the proper graphics drive is
				 installed (DOS\GRAPHICS.EXE [opt]).

		line 3 - drive\name of intermediate spool file, this file is created
				 manually by the user by running SPOOLMAK.EXE after the
				 software is installed (this file is created only one time).

		line 4 - not used.


  Running -


	RESTART.BAT - invoked for normal shipboard operation.

	CDU.BAT     - invoked for monitor operation.

	MON.BAT     - invoked for monitor operation (without recording).

	FILES.BAT   - invoked for data recording file manager.

	PLOT.BAT    - invoked for plot data reduction software.

	PRIN.BAT    - invoked for print data reduction software.

	To print the current Monitor version and options type MONEXE 
	
  Notes -

	MONEXE 
	------

	This software was based on a MIL-STD-1553B application, where messages
	are identified by a 16 bit Command Word. The Command Word is is divided
	into 4 fields (TA-T-SA-WC):

	(msbs)  TA  Terminal Address   (5 bits)
			T   Transmit/Receive   (1 bit)
			SA  Subaddress         (5 bits)
	(lsbs)  WC  16-bit Word Count  (5 bits)

	The message translation is needed when selective recording is
	desired. The MON\REC.IN0 file provides for selective recording
	based on Command Word.

	The Command Word and ID is also needed when veiwing communication
	status and raw data via the "Terminal Status", "Subaddress Status",
	"Test Message Status", "User Operational" and "User Test" display
	screens.


	The following Command Words were used for message identification:

	TA-T-SA  RS232 Message
	-------  ---------------------------------------------------------
	01-1-01  Navigation Data
	01-1-02  Accept Configuration Data Echo
	01-1-03  Configuration data
	01-1-04  Accept Operational Data Echo
	01-1-06  Return Configuration Echo
	01-1-13  Time Mark 1 Data
	01-1-15  Time Mark 2 Data
	01-1-19  Raw 50 Hz IMU Data
	01-1-21  Doppler PD4 Data
	01-1-27  Multiplexed Test Message
	01-0-02  Accept Configuration Data
	01-0-04  Accept Operational Data
	01-0-06  Return Configuration Data

	TA-T-SA  RS422 Message
	-------  ---------------------------------------------------------
	03-0-01  Simulated EM-Log

	Note, some of the messages share a common Command Word (01-1-27).
	These are multiplexed "Test" messages (non operational messages)
	which require a secondary decode refered to as the ID.

	ID  RS232 Multiplex Message
	--  ---------------------------------------------------------
	 1  IMU Raw Sums
	 2  IMU Compensated Sums
	 3  IMU Loops 1
	 4  IMU Loops 2
	 5  Nav Calibration
	 6  BIT Status
	 7  Kalman States 1
	 8  Kalman States 2
	16  Kalman States 3
	 9  Kalman Covariances 1
	10  Kalman Covariances 2
	18  Kalman Covariances 3
	11  Ground Residuals
	12  GPS Velocity Residuals
	13  GPS Position Residuals
	14  Doppler Velocity Residuals
	15  Position Fix Residuals
	17  Observation Data
	19  Heave Data
