Description
-----------
LaserView retrieves time series of data from the ringbuffer files and plots the data either on the computer screen or on the printer. 

Using LaserView, operators can plot single or multiple traces of existing data from the ringbuffers; 
or, by scheduling the print jobs, users can setup LaserView to periodically plot the recently recorded data.  
When plotting multiple ringbuffers, the traces in the same time interval are grouped in a window.  
LaserView will mark with a dotted rectangle the portion of the trace in which the user set clip level is exceeded. 


Installation
------------
The LaserView Package can be included in the NAQSNT Server package or can be provided as a standalone software.

When LaserView is included in the NAQSNT Server package follow the installation instructions provided with the system.

To install LaserView as a standalone package create an NMX directory on your c: drive and copy the entire content of 
the NMX directory from the released CD into it by strictly maintaining the directory structure.

Finally in both situations create a shortcut on the desktop to the LaserView.exe file.  
In the shortcut properties select as starting directory the c:\nmx\user directory.


Usage
-----
The LaserView program can be started from the shortcut or in a DOS window simply by typing in at the c:\nmx\bin prompt:

	LaserView

Description of menu options
---------------------------
Once LaserView is started, the menu is shown up. It  includes File, Print, Preview and Help.

File
New			create a new configuration template
Open			display a dialog box for opening an existing configuration file
Save			save the current configuration in current file
Save As			save the current configuration in a user defined new file
Printer Setup		display a Windows standard printer setup dialog box
Last File		display and opens the last used configuration file
Exit			display the exit confirmation dialog box

Print
Start Printing		print the actual job right away or print the scheduled jobs according to the schedule.
Preview
Start Previewing	display the traces in the LaserView window
Stop Previewing		exit the preview session
Page Up			back one page
Page Down		forward  one page
Print Current Page	print the currently displayed page

Help
Help Topics		display online help
About			display release information


Description of the configuration file
-------------------------------------
The LaserView settings can be saved in a text format configuration file.  The options of the configuration file are:

	Operational mode <integer>
	Start time <string>
	Duration <string>
	Clip level <integer>
	File name and its clip level pair(s) <string>
	Trace window duration <string>
	Height in millimeters <integer>
	Distance in millimeters <integer>
	Left margin in millimeters <integer>
	Title page option <integer>
	Scheduling option <integer>
	Job start time <string>
	Number of repeats of the actual job <integer>
	Repeat interval <string>

Whole file operation		1: whole-file-operation: LaserView will plot all recorded 				data in the ringbuffer(s)  regardless of the start time and 				duration of data;
				0: LaserView will extract the data from start time and for 				the duration selected by the user.
Start time			Start time of the data segment.  It is invalid in 											whole-file-operation.  Format: YYYY-MM-DD-HH-MM-SS
Duration			The duration of data segment to be plotted.  It is invalid 				in whole-file-operation.  Format: HH-MM-SS
Clip level			The reference amplitude in counts.  The portion of the data 									segment in which the clip level is exceeded is included by 									LaserView in a dotted square, and the clip level in this 				data window is set  to the greatest  clip level.
File name(s) and clip level	The name of the ringbuffer with # and the clip level as 				suffix.
Trace duration			The duration the displayed trace. Format: HH:MM:SS
Height of trace			The height of a displayed trace in millimeters.
Distance			The distance between  the centers of two successive traces 				in millimeters.
Title on separate page		1: print title on a separate page; 0: otherwise.
Scheduled			1: print job(s) to be scheduled; 0: print jobs to be 				executed immediately.
Print start time		The start time of the first print job.  It is valid only 				when scheduled=1. Format: HH:MM:SS
Number of  repeats		Times the print job should be repeated.
Repeat Interval			Time interval between two successive jobs.  After executing 				the first print job LaserView will wait time equal with the 				Repeat Interval and will repeat the last print job with 				Start Time (n+1)= Start Time (n) + Repeat Interval.  
				It is valid only when scheduled=1.  Format: HH:MM:SS
				To print continuous data set the 
				Repeat Interval = Duration
				and
				Job Start Time = Start Time + Duration.

The following is an example LaserView configuration file:
0
1998-08-24-00-00
01-00-00
1000000
G:\St1bbz.rbf#1000000
00-10-00
40
40
20
0
0
1998-08-24-00-00
10
01-00-00


