Network operation and remote control
R&S
®
SMB100B
328User Manual 1178.3711.02 ─ 08
11.9 To establish a remote control session over GPIB
The program example in this section is written in VISUAL BASIC. A condition for pro-
gramming in VISUAL BASIC is that the modules NIGLOBAL (Niglobal.bas) and
VBIB32 (Vbib_32.bas) are added to the projects.
Drivers for instrument, for example IVI-COM and LabVIEW drivers, are available for
download area on the product page at:
https://www.rohde-schwarz.com/driver/smb100b/
To start remote control over GPIB
1. Connect instrument and controller using a GPIB cable.
Switch them on.
2. Select "System Config > Remote Access > GPIB Address " > "GPIB Channel
Address = 28".
The GPIB address of the instrument must be the default value of 28.
3. Execute the following commands on the controller:
a) Open the port to the instrument.
CALL IBFIND("DEV1", generator%)
b) Inform the controller about instrument address.
CALL IBPAD(generator%, 28)
c) Reset the instrument.
CALL IBWRT(generator%, "*RST;*CLS")
d) Set the instrument to new address.
CALL IBWRT(generator%, "SYST:COMM:GPIB:ADDR 18")
e) Inform the controller about new address.
CALL IBPAD(generator%, 18)
The GPIB address of the instrument is changed.
4. To return to manual operation, press the Local key at the front panel.
11.10 To establish a remote control session over USB
For remote control, the PC and the instrument must be connected over the USB type B
interface. A USB connection requires the VISA library to be installed. VISA detects and
configures the R&S instrument automatically when the USB connection is established.
You do not have to enter an address string or install a separate driver.
To start remote control over USB
1. Connect instrument and controller using USB cable. Switch them on.
2. Execute the following commands on the controller:
To establish a remote control session over USB