beautypg.com

Finish, Hello, Int level – Measurement Computing Personal488 rev.3.0 For DOS & Windows 3.Xi User Manual

Page 309: Io address

background image

15A. Driver488/DRV Commands

III. COMMAND REFERENCES - 15. Command References

III-294

Personal488 User’s Manual, Rev. 3.0

FINISH

SYNTAX

FINISH

RESPONSE

None

MODE

CA

BUS STATES

ATN

SEE ALSO

RESUME, PASS CONTROL

EXAMPLE

PRINT#1, “FINISH”

The

FINISH

command asserts

ATN

and releases any pending holdoffs after a

RESUME

function is called

with the monitor flag set.

FINISH

everything necessary for Driver488 to be ready for the next

operation.

HELLO

SYNTAX

HELLO

RESPONSE

Driver488 Revision X.X (C)199X IOtech, Inc.

MODE

Any

BUS STATES

None

SEE ALSO

Status; OpenName, GetError (Sub-Chapter 15B)

EXAMPLE

PRINT#1,"HELLO"
INPUT#2,A$
PRINT A$

Get the HELLO response and display it.

The

HELLO

command is used to verify communication with Driver488, and to read the software

revision number. When the command is sent, Driver488 returns a string similar to the following:

Driver488 Revision X.X (C)199X IOtech, Inc.

where

X

is the appropriate revision or year number.

INT LEVEL

SYNTAX

INT LEVEL [channel|NONE]

channel

is a valid interrupt channel.

RESPONSE

None

MODE

Any

BUS STATES

None

SEE ALSO

DMA CHANNEL, TIME OUT

EXAMPLES

PRINT#1, “INT LEVEL 3"

The

INT LEVEL

command specifies the hardware interrupt level that is used by the I/O adapter.

Driver488 uses hardware interrupts, if available, to improve the efficiency of I/O adapter control and
communication. The interrupt level is specified by an integer in the range

2

through

15

, where channel

availability within this range is determined by the system bus type and the adapter type. The interrupt
level value must match the hardware settings on the I/O adapter card.

IO ADDRESS

SYNTAX

IO ADDRESS[io-addr]

ioaddr

is the I/O base address to set.

RESPONSE

None

MODE

Any

BUS STATES

None

SEE ALSO

INT LEVEL, DMA CHANNEL, TIME OUT

EXAMPLES

PRINT#1,"IOADDRESS &H02E1"