beautypg.com

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

Page 142

background image

II. SOFTWARE GUIDES - 8. Driver488/DRV

8P. Command Descriptions

Personal488 User’s Manual, Rev. 3.0

II-127

addr

: An IEEE 488 bus address. A numeric primary address optionally followed by a

secondary address, or a device name. Thus,

addr

is of the form

{name|pri-addr[sec-addr]}

where

name

is a device name,

pri-addr

is a primary address, and

sec-addr

is a two-digit

secondary address.

[,addr...]

: An optional list of bus addresses, each one preceded by an address separator;

either a comma (

,

) or a blank.

No more than 50 bus addresses are allowed in any single command.

Character Count

#count

: The number of characters to be transferred, using a pound sign (

#

) followed by an

integer in the range

1

to

4,294,967,295

(or 2

32

- 1). It may be specified in hexadecimal by

preceding it with

&H

or

0X

. The hexadecimal range is

&H1

to

&HFFFFFFFF

. A character count of

zero is invalid.

ASCII Characters

$char

: A single character whose ASCII value is the number

char

, a decimal number in the

range

0

to

255

or a hexadecimal number in the range

$H0

to

$HFF

, or

&H0

to

&HFF

. For example,

65

is the letter

A

, as is

$41

or

&H41

.

CR

: The carriage return character (

$13

,

$0D

or

&H0D

).

LF

: The line feed character (

$10

,

$0A

or

&H0A

).

‘X

: Any (usually) printable character. The apostrophe is immediately followed, without any

intervening spaces, by a single character that is taken as the character specified.

For a complete description of ASCII control codes and character sets, refer to the tables in “Section V:
Appendix” of this manual.

ASCII Character Strings

data

: An arbitrary string of characters. None of the special forms given above (

$char

,

CR

,

LF

,

or

‘X

) are used. For example,

CRLF

as data is taken as the letters:

C

,

R

,

L

, and

F

, not as carriage

return line feed

CR LF

.

‘data’

: An arbitrary string of characters enclosed in apostrophes.

Terminators

term

: Any single character, specified as

CR

,

LF

,

‘X

, or

$char

as described above

(

{CR|LF|’X|$char}

). Part of terminator sequence used to mark the end of lines of data and

commands.

[term]

: An optional term character. For example,

term[term]

means that one or two

terminators may be specified.

EOI

: The IEEE 488 bus end-or-identify signal. When asserted during the transfer of a character,

EOI

signals that that character is the last in the transfer. On input,

ΕΟΙ

, if specified, causes the

input to stop. On output,

EOI

causes the bus

EOI

signal to be asserted during transmission of the

last character transferred.

NONE

: The no end-of-line characters indicator. When

EOL OUT NONE

is specified,

Driver488/DRV assumes that entire, complete, commands are transferred with a single DOS-level
output command. When

EOL IN NONE

is specified, Driver488/DRV does not append any input

terminators to received data.

I/O Base Address

ioaddr

: The I/O base address for the interface card, in the range

&H0

to

&HFFFF

, usually

specified in hexadecimal, though decimal is allowed.