beautypg.com

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

Page 201

background image

9J. Utility Programs

II. SOFTWARE GUIDES - 9. Driver488/SUB

II-186

Personal488 User’s Manual, Rev. 3.0

The

MARKDRVR

command is then followed by the commands needed to install the TSR programs.

When using Driver488, these would be the

DRVR488

commands. When these commands have

completed, Driver488 is installed and ready for use.

When Driver488 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 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 can be installed

by typing

DRIVER

and removed by typing

REMDRVR

. Driver488 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 release disk is a utility program that allows files to be transferred from any
IEEE controller to the PC in which Driver488 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 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, which is located in the

\SUBAPI

directory of the main Driver488 directory.

Refer to the corresponding language support section on how to compile this code.

Configuration of the IEEE Interface for PRNTEMUL

The

PRNTEMUL

program requires the Driver488 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 is configured properly, reboot the computer and connect your PC/AT to your IEEE
controller.

Running PRNTEMUL

After the IEEE interfaces of each computer has been configured and connected, run the

PRNTEMUL

program from the

\UTILS

directory by typing one of the following commands at the DOS prompt: