home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Education
/
collectionofeducationcarat1997.iso
/
SCIENCE
/
PTCH_230.ZIP
/
PATCHIT.DOC
< prev
next >
Wrap
Text File
|
1993-12-16
|
54KB
|
962 lines
Patchit
The Manual
Introduction:
This manual describes the operation of the Patchit data
acquisition program. The current revision of this program is 2.30.
This software and manual are copyright 1993 through 1989 by George
B. Grant, Somerville, MA 02144.
Compatibilities:
Patchit runs on IBM PC compatible computer systems. It
operates entirely in graphics mode. As such, it requires a
compatible graphics display adapter. Patchit supports all major
display adapters (Hercules, CGA, EGA, VGA) and has drivers for
several other graphics display adapters including Super VGA.
Patchit works with a Microsoft compatible mouse.
Patchit is a data acquisition program. It therefore requires
a data acquisition card. Patchit should work with all cards in the
Data Translation DT2821 family (except the DT2829) and in
particular, has been thoroughly tested with both the DT2828 and
DT2821 data acquisition cards. Patchit also works with both the
Tecmar Labmaster and Labmaster DMA data acquisition cards. For
configuring these boards, see the appendix at the end of this
manual. As of this time, these are the only data acquisition
adapters supported by Patchit.
Starting Up:
Patchit runs entirely in graphics (not text) mode. In order
for it to run, a graphics driver for the graphics adapter that is
installed in the computer must be available in the directory in
which the Patchit executable file is. These drivers have the file
extension ".bgi". The drivers required for the following screen
types are as follows:
Display Adapter Display Driver
Hercules (Hercules Graphics Adapter) herc.bgi
CGA (Color Graphics Adapter) cga.bgi
EGA (Enhanced Graphics Adapter) egavga.bgi
VGA (Video Graphics Adapter) egavga.bgi
Super VGA svga16m.bgi
(Supports several common SVGA cards and the VESA standard
SVGA interface)
IBM 8514 Graphics Adapter ibm8514.bgi
AT&T 400-Line Graphics Adapter att400.bgi
3270 PC Graphics Adapter pc3270
By default, Patchit will automatically try to detect the
proper graphics driver for the computer. If the proper driver is
not found by Patchit (in the same directory as Patchit) when it is
started it will end with an error message. Otherwise the program
will start and Patchit's main screen will appear.
The Screen:
Patchit's main screen is divided into three areas. The menu
bar is on the top of the screen, it allows the user to access all
of Patchit's commands. The right-most portion of the menu bar
shows the amount of free conventional (real mode) memory available
for Patchit's use. The lower part of the screen shows the status
line. This line displays information about the current status of
the program (the amount of data sampled, the current parameter file
and the last data file saved). The data display area fills the
screen between the menu bar and the status line.
Help:
On-line help is available throughout Patchit. Just type the
F1 key and a relevant help message will pop up. The help file
"Patchit.hlp" must be in the same directory as the Patchit
executable file.
Accessing the Menus:
The menu bar has a series of pull down menus. A menu (e.g.
"File") can be accessed in a number of ways. 1) A menu can be
pulled down by clicking on the desired menu entry with the mouse.
2) A menu can be pulled down by holding down the ALT key while the
selection letter of the desired menu is typed (the selection letter
is usually the first letter of the word and is shown underlined and
in a different color from the rest of that word (unless the current
graphics display only supports two colors, or the color
configuration has been messed with)). For example, to pull down
the File menu, type ALT-F. 3) A menu can be pulled down by first
activating the menu bar with the F10 or "/" key. The file menu
will drop down, but not be selected. The selection letter of any
of the main menu items can then be typed in order to access that
particular menu.
Certain functions on the individual menus can be accessed
directly, without pulling down the menus, by typing a hot-key (the
hot-keys are shown to the left of a menu entry, on its menu). For
instance, the F7 key will cause Patchit to read a parameter file if
pressed when the menu bar is not activated.
The Menus:
File Menu:
Read Parameter File: Selecting this option allows the user to load
a new set of parameters into Patchit. The parameter sets determine
how stimulus will be generated and how data will be recorded.
Parameters are stored in files called "parameter files". If there
are parameter files in the current directory, a selection box will
appear listing the available parameter files. A parameter file may
be cursor selected from this box (with the mouse or keyboard) or
else the name of a parameter file may be typed in (do not type the
".prm" extension). To change directories, type the F2 key, or
click the left mouse button in the upper, directory, window and
type the pathname of the desired directory. The list of parameter
files will be updated for this new directory.
Write Parameter File: Selecting this option allows the user to
store the current parameter set to a parameter file. The name of
the parameter file should be typed without the extension ".prm"
(this is automatically appended by the program).
Save Data File: Selecting this options allows the user to save the
latest set of data that has been recorded. When the data is saved,
a complete copy of the parameters used to record this data is also
stored along with it. You must use this option to save the data
that you have just recorded. If you do not, then the data recorded
by Patchit will be overwritten the next time you acquire data with
Patchit. The only exception to this is if you have configured
Patchit to record data directly to your disk (see below,
File:Options:Record to Disk).
Options: Selecting this option allows the user to control several
very important aspects of Patchit's operation. These are:
Record to Disk: Selecting this toggles the state of this feature.
When this is enabled, Patchit will store each record as it is
acquired to a disk file. When you begin sampling data, Patchit
will prompt you for the name of the file into which the data will
be saved. Prior to writing each record to this disk file, Patchit
will check that there is sufficient disk space available. You will
be warned if there is not.
Comments in Files: Selecting this toggles the state of this
feature. When this is enabled, you will be prompted for a comment
when you save data to a disk file. The comment can be of any
length and is useful for recording pertinent facts about the data.
Okay: Selecting this causes any changes that you have made to the
state of these options to be saved.
Cancel: Selecting this causes any changes that you have made to
the state of these options to be discarded.
DOS Shell: When this is selected the user temporarily exits to DOS
to perform simple commands. In order to allow this, Patchit
"spawns" a copy of the DOS command interpreter. Note that Patchit
is still loaded in memory so there will be less DOS memory
available to execute a command. Type "EXIT" at the DOS command
line ("C:\>") to return to Patchit.
About: When this is selected another the user can find out about
Patchit.
Patchit: Selecting this causes information about Patchit to
appear. This information is the current revision level, a
copyright notice and information about its author (me!).
Memory: Selecting this causes information about the memory on your
computer and Patchit's use of it to appear. There are three types
of memory used by Patchit.
Conventional Memory: This is the memory used by all DOS real mode
programs, it is limited to a maximum of 640 Kilobytes (KB).
Patchit will show you the total amount of conventional memory on