Autoremote – Measurement Computing Personal488 rev.3.0 User Manual
Page 71

Personal488 for Windows 95/98/Me/NT/2000
04-10-01
API Reference 6-3
AutoRemote
Syntax
INT WINAPI AutoRemote(DevHandleT devHandle, BOOL flag);
devHandle
refers to either an IEEE 488 hardware interface or an external device. If
devHandle
refers to an external device, the
AutoRemote
command acts on the
hardware interface to which the external device is attached.
flag
may be either
OFF
or
ON
Returns
-1
if
DevHandleT
is an illegal device or interface
otherwise, the previous state is returned
Bus States
None
Example
errorcode = AutoRemote(ieee,ON);
See Also
Local, Remote, EnterX, OutputX
The
AutoRemote
command enables or disables the automatic assertion of the Remote Enable (
REN
) line by
Output
. When
AutoRemote
is enabled,
Output
automatically asserts
REN
before transferring any data.
When
AutoRemote
is disabled, there is no change to the
REN
line.
AutoRemote
is on by default.