beautypg.com

Command descriptions, 8p. command descriptions, Introduction – Measurement Computing Personal488 rev.3.0 For DOS & Windows 3.Xi User Manual

Page 140: Topics

background image

II. SOFTWARE GUIDES - 8. Driver488/DRV

8P. Command Descriptions

Personal488 User’s Manual, Rev. 3.0

II-125

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:

Command

Description

PRNTEMUL

Prints information received from the IEEE 488 bus

to the screen.

PRNTEMUL > MYPROG.BAS

Redirects information to a file called

MYPROG.BAS

PRNTEMUL > LPT1

Redirects information to the printer port (

LPT1

).

Once the

PRNTEMUL

program is started, it will continue to send any information received from the

IEEE bus to the specified destination until any key is pressed. Once a key is pressed, the

PRNTEMUL

program will return to DOS at which time it can be run again, with a different destination specified, if
so desired.

Data Transfer

Data is transferred to the computer running

PRNTEMUL

the same way information is sent to an IEEE

printer. For a description of how to print information out, refer to the documentation of your IEEE
controller.

For example, the following commands might be used on an HP 9000 computer running HP BASIC:

Command

Description

LOAD “MYPROG.BAS”

Load a program to print out.

PRINTER IS 710

Set the current printer to address

10

of the IEEE bus.

LIST

List the current program to the selected printer (computer

running

PRNTEMUL

).

The output of the

PRNTEMUL

program could be redirected to a datafile to transfer source files from the

IEEE controller to a PC/AT or PS/2.

Introduction

There are two types of commands: Bus commands and system commands. Bus commands
communicate with the IEEE 488 bus. System commands configure or request information from
Driver488/DRV. This Sub-Chapter contains a detailed description of the bus and system command

8P. Command Descriptions

Topics

Introduction .................................................................................. II-124

Format ............................................................................................ II-125

Syntax ............................................................................................................II-125
Response ........................................................................................................II-127
Mode ...............................................................................................................II-127
Bus States ......................................................................................................II-127
Examples .......................................................................................................II-131

Data Types ..................................................................................... II-131

CCL Reserved Words ................................................................... II-131

List of Reserved Words................................................................................II-132