Build 23 08-03-04

Bug Fixes
---------
Corrected a few PSG matters including loading "PEAK" maximum luminance correctly.
Pattern protocols now behave correctly with the PSG

Stopped the user being allowed to enter (although not saved) gender or Normal parameters
for patient fields instead of only being able to choose from a predetermined list

Build 23 07-01-04

Bug Fixes
---------

When loading calibration files, the Espion program now looks for either sections called [COLORBURSTHARDWARE] or [COLORBURST1HARDWARE] as some older programs
produced parameters in the second form

Fixed a problem in the autozero routine which overflowed the sum value if autozeroing long arrays

Trigger Polarity parameter from the VSGPATTERN module had somehow been removed causing the pattern generator trigger polarity to be inverted and speeding
up VEP responses

When all channels button is pressed (from the scaling and Amp menu in the main graphical display) the "Positive is Up" option for all graphs and 
"Trial divide" values where automatically set to the current channel's values. Now they are only set for all channels when the "Positive is Up"
and "Trial Divide" buttons are pressed explicity

The Dim button default can now be set from the Configure System menu for each TESTMETHOD using the new parameter "Display Dim Enable"

Removed the glitch between changing patterns that blanked the screen before showing the new pattern when changing steps during a VEP protocol

When a VEP protocols finishes, the monitor screen now remains at the background rather than being blanked

Fixed the long running problem with AC coupling filters under 10Hz. They basically behaved as if they were not enabled

Changed the "Channel Axis Scale" maximum from 9999uV to 100mV

Fixed a problem in ColorDome/ColorBurst such when adding a dim flash to a bright background, the dim flash must be promoted to the bright ring. The problem arose
because the software required the bright flash to have all colors increase by at least a count of 10 to be valid

Fixed a problem in ColorDome mode when using user defined files such that if the pulse mode flash color was "xenon" it would reset the number of flash cycles back to
single regardless of what was currently set, even if the flash mode was "User Defined" not "Pulse"

Fixed a problem in displaying user defined parameters in the protocol stimulus table (before entering the parameter menu) such that user defined variables where not
labelled correctly. This was because the program did not read the user defined file before displaying the variable names

Change the behavious of the pattern generator such that when a VEP protocol is loaded, instead of having a blank pattern generator screen until the run button is pressed,
the stimulus is automatically statically displayed for the current step (and for every step when selected) but no temporal motion until the run button is pressed.
This allows the patient to see the stimulus and fixation point before actually starting a test

Fixed the problem of printing EOGs before displaying the analysis menu such that they did not print correctly until after the analysis window had been shown

Baseline removal, is now calculated from two sets of points; one at the beginning of the result, and one at the end. The beginning set of points is taken as starting
at point 0 in the result and including for RANGE-1 points and the end set of points is started at (total number of points-RANGE-1) up to the end. The line is calculated
from these two sets of points and then subtracted from all points in the result. This ignores the ERG trace in the middle which skews the whole line
You can still set a range of 0 to use all the points for calculation (as well as autozero) or turn it off completely

New Features
------------

Added the application path and filename to the INFO menu displayed when the Info button is pressed for a module
from within the Configure System

Added a copy option for normals

Added ability on channel rejection to make the maximum voltage the current graphical scaling rather than an absolute value. Thus when
the channel graph scaling changes, the rejection range changes to remain the same percent of the new scaling. It also takes into acount the
trial divide value and therefore the rejection arrows may be plotted at what seems like the wrong positions for a trial divide of 1

Protocols now include an extra option to show the USB camera image when the protocol is run automatically

Ability to change the eye labels "OS, OD and Both" to something else

Ability to talk to the hardware under Windows XP/NT with a direct IO driver. You must first install DIRECTIO driver from www.direct-io.com and then set the "Windows XP direct IO"
parameter in the HARDWARE section of the Configure System to True

Ability to print two pages for each printout. The printer menu allows you to select which individual printing options for both pages
and these may also be set in the protocol. The program will only print one page if no options are set for page 2

RMS measurement. Any marker may produce an RMS amplitude measurement by setting the "Amplitude is RMS" in the marker display parameters. The amplitude value displayed in the marker table
will be postfixed with the letter R to show it is an RMS calcualtion. If the marker amplitude is made relative to another marker, then it will calculate the RMS between the two markers otherwise
it will be the RMS from the trigger point. The RMS calculation is defined as sqrt(sum(values*values)/count) where sqrt=square root, 

For VEP tests, the pattern and fixation is now drawn on the screen when each step is loaded but no temporal component. This is only applied when the step is run, and remains during pauses

Added a link graph button to the EOG analysis button which makes both channels graphs have the same maximum y amplitude (i.e. same Y scaling)
