BASICA/QuickBASIC GPIB-PC Function Calls
Section Four A
GPIB-PC User Manual
4A-74
©National Instruments Corp.
BASICA/QuickBASIC
BASICA/QuickBASIC
IBSRE
IBSRE
Purpose:
Set or clear the Remote Enable line
Format:
CALL IBSRE (BD%,V%)
Remarks:
BD%
specifies an interface board. If
V%
is non-zero the
Remote Enable (REN) signal is asserted. If
V%
is zero the
signal is unasserted.
The
IBSRE
function turns the REN signal on and off. REN
is used by devices to select between local and remote
modes of operation. REN enables the remote mode. A
device does not actually enter remote mode until it
receives its listen address.
The ESAC error occurs if the GPIB-PC is not System
Controller.
When
IBSRE
is called and an error does not occur, the
previous value of V% is stored in
IBERR%
.
Refer also to
IBRSC
and Table 2.1.
Board Examples:
1.
Place the device at listen address &H23 (ASCII #) in remote
mode with local ability to return to local mode.
100 V% = 1 ' Any non-zero value will do.
110 CALL IBSRE (BRD0%,V%)
120 CMD$ = "#"
' LAD
130 CALL IBCMD (BRD0%,CMD$)