Remote, Remotelist, Removedevice – Measurement Computing Personal488 rev.3.0 For DOS & Windows 3.Xi User Manual

Page 358

Advertising
background image

III. COMMAND REFERENCES - 15. Command References

15B. Driver488/SUB, W31, W95, & WNT

Personal488 User’s Manual, Rev. 3.0

III-343

MODE

CA

BUS STATES

ATN

PPU

SEE ALSO

PPoll, PPollConfig, PPollDisable

EXAMPLE

errorcode = PPollUnconfig(ieee);

The

PPollUnconfig

command disables the Parallel Poll response of all bus devices.

Remote

SYNTAX

int pascal Remote(DevHandleT devHandle);

devHandle

refers to either an interface or an external device. If

devHandle

refers to an interface, then the Remote Enable (

REN

) line is asserted. If

devHandle

refers to an external device, then that device is addressed to

Listen and placed into the

Remote

state.

RETURNS

-1 if error

MODE

SC

BUS STATES

REN (hardware interface)

REN, ATN

UNL, MTA, LAG (external device)

SEE ALSO

Local, LocalList, RemoteList

EXAMPLES

errorcode = Remote(ieee);

Assert the REN bus line.

errorcode = Remote(scope);

Assert the REN bus line and address the

SCOPE device specified to Listen, to
place it in the Remote state:

The

Remote

command asserts the Remote Enable (

REN

) bus management line. If an external device is

specified, then

Remote

will also address that device to Listen, placing it in the

Remote

state.

RemoteList

SYNTAX

int pascal RemoteList(DevHandlePT devHandles);

devHandles

is a pointer to a list of devices.

RETURNS

-1 if error

MODE

SC

CA

BUS STATES

REN, ATN

UNL, MTA, LAG

SEE ALSO

Remote, Local, LocalList

EXAMPLE

deviceList[0] = wave;
deviceList[1] = timer;
deviceList[2] = dmm;
deviceList[3] = NODEVICE;
errorcode = RemoteList(deviceList);

Assert the REN bus line and

address a list of specified
devices to Listen, to place
these specified devices in
the Remote state.

The

RemoteList

command asserts the Remote Enable (

REN

) bus management line. If external

devices are specified, then

RemoteList

will also address those devices to Listen, placing them in the

Remote

state.

RemoveDevice

SYNTAX

int pascal RemoveDevice(DevHandleT devHandle);

devHandle

specifies an interface or an external device to remove.

RETURNS

-1 if error

MODE

Any

BUS STATES

None

SEE ALSO

MakeDevice, KeepDevice, REMOVE DOS NAME (Sub-Chapter 15A)

EXAMPLE

errorcode = RemoveDevice(dmm);

Advertising