beautypg.com

Make device, Make dos name, Output (controller mode) – Measurement Computing Personal488 rev.3.0 For DOS & Windows 3.Xi User Manual

Page 313

background image

15A. Driver488/DRV Commands

III. COMMAND REFERENCES - 15. Command References

III-298

Personal488 User’s Manual, Rev. 3.0

MAKE DEVICE

SYNTAX

MAKE DEVICE name = oldname

name

is the name of the device that is created with the same configuration as the

existing device oldname.

RESPONSE

None

MODE

Any

BUS STATES

None

SEE ALSO

KEEP DEVICE, REMOVE DEVICE

EXAMPLE

PRINT#1,”MAKE DEVICE DMM=SCOPE”
PRINT#1,”BUS ADDRESS DMM 16

Create a device named DMM,

attached to the same I/O adapter
as SCOPE and set its IEEE 488
bus address to 16.

The

MAKE DEVICE

command creates a new, temporary Driver488 device that is an identical copy of an

already existing Driver488 device. The new device is attached to the same I/O adapter of the existing
device and has the same terminators, timeouts, and other characteristics. If there are no appropriate
Driver488 devices, then the

INSTALL

program must be used to create one. The newly created device is

temporary, and is forgotten when Driver488 is closed.

KEEP DEVICE

may be used to make the device

permanent.

MAKE DOS NAME

SYNTAX

MAKE DOS NAME dosname = devicename

dosname

is the name of the newly created Driver488 DOS device that is

configured to communicate with the Driver488 device

devicename

RESPONSE

None

MODE

Any

BUS STATES

None

SEE ALSO

KEEP DOS NAME, REMOVE DOS NAME, MAKE DEVICE

EXAMPLES

PRINT#1, “MAKE DOS NAME METER = DMM”
OPEN “METER” FOR OUTPUT AS #3

The

MAKE DOS NAME

command creates a new, temporary Driver488 DOS device that is configured to

communicate with an already existing Driver488 device. The newly created DOS device is temporary,
and is forgotten when Driver488 is closed.

KEEP DOS NAME

may be used to make the device

permanent.

OUTPUT (Controller Mode)

SYNTAX

OUTPUT [addr][#count][term][term][EOI];data

addr

is a device address (primary with optional secondary) or external device

name.

count

is the number of characters to output.

Term

and

EOI

override the normal IEEE 488 bus output terminator

data

is a string of characters to output, terminated by the

EOL

output terminator

(unless count is specified in which case no terminator is needed).

RESPONSE

None

MODE

CA

BUS STATES

REN (if SC and AUTO REMOTE), *ATN, data (without addr)

REN (if SC and AUTO REMOTE), ATN

yyMTA, UNL, LAG, *ATN, data

(with addr)

SEE ALSO

ENTER, TERM, TIME OUT, EOL, BUFFERED

EXAMPLES

See next page.