New Firmware Update Utility
VC 21/7/00 version 1.1

Usage:	FwUpdate.EXE [/a] [/i=xx]... [/d=directory-name] [file.hex] [/l=log-file-name] 

Options:
	/a	Automatic mode (intended to be used in installation CD) 
		requires no user input, updates the instrument with the 
		most recent hex-file. The normal GUI mode of operation 
		(without /a option) is intended for Varian service persons.

	/i=xx	Specify instrument type(s) for cross-checking. 
		Displays an 'Invalid Instrument Error' if instrument detected 
		doesn't match the specified instrument. 
		More than one may be specified.
		/i=0		- SpectrAA 50/110/220 (instrument only)
		/i=1		- SpectrAA 50/110/220 (display only)
		/i=2		- Vista or Vista MPX
		/i=3		- Cary Eclipse
		/i=spectraa	- equivalent to combination of /i=0 and /i=1.
		/i=vista		- equivalent to /i=2.
		/i=eclipse	- equivalent to /i=3. 

	/d=xx	The directory to search for hex files (defaults to ".\").

	/l=xx	The name of the log file.

	file.hex	A single hex file to download 
			(skips the file search, no user input is required).

External Input Files:

	The program reads from the current working directory the image (bmp)
	file corresponding to the detected instrument. The files have
	N.bmp format where N is the instrument firmware id number(type).
	If a file is not provided the Varian log appears by default.

External Output Files:

	When the option '/l=filename' is specified the program creates the 
	log of the instruments detected and instruments updated. 
	A typical example is as follows, e.g. for a SpectrAA:


	Responded: AA Instrument             
	Responded: SpectrAA 50 Display        1.12 Feb 12 1998   
	Update of SpectrAA Instrument successful.
	New Firmware: SpectrAA Instrument        1.11 Feb 16 1999   
	Update of SpectrAA 50 Display successful.
	New Firmware: SpectrAA 50 Display        1.13 Dec 17 1998


Examples:

FwUpdate.exe /a /i=vista

Would automatically update the Vista or Vista MPX with new instrument 
firmware located as hex files in the current working directory. 
No log file is generated. 

FwUpdate.EXE /l=log.txt /a /i=spectraa /d=c:\varian\spectraa\fw

Would automatically update the SpectrAA with new instrument and display 
firmware located as hex files in the directory "c:\varian\spectraa\fw". 
A progress log would be saved in the current working directory as "log.txt".

FwUpdate.EXE 

Would run the full GUI program to be used by the a service person. 
It will detect the connected instrument and display all the possible hex 
files that can be used to update the instrument.
	
