Measurement Computing Personal488 rev.3.0 For DOS & Windows 3.Xi User Manual
Page 139

8O. Utility Programs
II. SOFTWARE GUIDES - 8. Driver488/DRV
II-124
Personal488 User’s Manual, Rev. 3.0
saves internal system information including the interrupt vectors, the device driver chain, and the free
memory pointer. This information, along with the specified comment, is saved for use by
REMDRVR
.
The
MARKDRVR
command is then followed by the commands needed to install the TSR programs.
When using Driver488/DRV, these would be the
DRVR488
commands. When these commands have
completed, Driver488/DRV is installed and ready for use.
When Driver488/DRV is no longer needed, it can be removed by using the
REMDRVR
command:
C: >REMDRVR
REMDRVR
prints out the
comment
that was saved by
MARKDRVR
and then uses the information that
MARKDRVR
saved to restore the system to the state it had before
MARKDRVR
had been executed. This
removes Driver488/DRV and any other TSR programs that had been loaded in the interim and recovers
their memory for reuse.
If several different TSR programs are being used, then it might be appropriate to use
MARKDRVR
more
than once. Then, when
REMDRVR
is used, it will only remove the TSR programs that were installed
after the last
MARKDRVR
command. Each time
REMDRVR
is used, it will remove one more “layer” of
TSR programs. The comment saved by
MARKDRVR
can help keep track of which TSR programs are
removed at each step.
Note that the most recently installed programs are always removed first. It is not possible to remove a
program until all the more recently installed programs have been removed.
When working with Power488, it is good practice to create a
DRIVER.BAT
file that includes the
DRVR488
commands as described above. Then a
MARKDRVR
command, such as
MARKDRVR
Driver488
can be added to the beginning of the
DRIVER.BAT
file. Then, Driver488/DRV can be
installed by typing
DRIVER
and removed by typing
REMDRVR
. Driver488/DRV can thus be installed
and removed as desired, without rebooting the computer.
Moving Files from an IEEE 488 (HP-IB) Controller to a PC
Included on the Driver488/DRV release disk is a utility program that allows files to be transferred from
any IEEE controller to the PC in which Driver488/DRV resides. This utility program configures the
PC as a Peripheral on the IEEE network, much like a standard IEEE 488 printer. Any controller
capable of sending information to an IEEE 488 printer, including controllers like the HP 9000 series
computers, can send any type of data to the PC.
Once launched to the PC, the file transfer utility allows the operator to redirect the incoming data either
to the PC screen, a PC disk file, or a printer attached to the PC.
PRNTEMUL Files
In the
\UTILS
subdirectory of the Driver488/DRV diskette, there are 2 files:
•
PRNTEMUL.EXE
: This file is the MS-DOS executable version of the program. This is all that you
will need to emulate an IEEE 488 printer on a PC/AT or PS/2 computer.
•
PRNTEMUL.C
: This is the C source code of the
PRNTEMUL.EXE
program. It uses a C subroutine
interface of Driver488/DRV, which is located in the
\SUBAPI
directory of the main
Driver488/DRV directory.
Configuration of the IEEE Interface for PRNTEMUL
The
PRNTEMUL
program requires the Driver488/DRV to be configured as a Peripheral (same as an
IEEE printer). Make sure that the IEEE interface is configured at a unique IEEE address.
Once Driver488/DRV is configured properly, reboot the computer and connect your PC/AT to your
IEEE controller.