         Example Audiometer Keyboard Monitoring Program 
                              AUDKEY
                          04/10/97 -med


The Audkey monitoring program shows how the audiometer can be 
monitored to track the current condition of the audiometer. The 
display consists of four main areas. This is an example program 
only. It is not intensded to be a fully operation application.

The upper left area of the display shows the raw keyboard values. 
These values are continuously updated to reflect the current 
settings. 

The upper right area of the display shows the copyright/version 
message with any error messages just below that. 

The lower left area of the display shows the panel registers. 
These values are continuously updated to reflect the current 
settings. 

The lower right area of the display shows the latched panel 
registers. These values are only updated when the patient presses 
the response switch. This allows a snapshot of the panel to be 
taken at the time the patient presses the switch. 

The program doesn't do anything else other than to monitor the 
audiometer status.

This example program shows how to compile programs for both MSDOS 
and Windows with a simple compiler directive to switch between 
the two versions. For Borland's Pascal, this is done automatically
when you compile.

Full source code is provided so that you can use it as a reference 
to produce your own programs. You are free to use and/or 
modify the programs provided to suit your needs.

This program requires that the FRYERS driver be loaded before the 
program is used. The program uses the FIPP communications to
talk to the audiometer. Currently the program is limited to only
operating on COM1 or COM1. The default is COM1. If you wish to 
use COM2, add a '2' to the command line; "AUDKEY 2". For Windows 
3.1 operation you can use the RUN file command and use the 
Properties definition for the program to enter the command. 
Alternately, you can create a PIF file which has the option in it.
For Windows 95/NT you can run the program from an MSDOS prompt.

AUDKEY.EXE is the MS-DOS version of the program, AUDKEY32.EXE is 
the Windows 95/NT version of the program. 


History: 09/16/92 -med original
         04/10/97 -med revised 

<eof>


