Network operation and remote control
R&S
®
SMM100A
631
User Manual 1179.1341.02 ─ 05
12.8.6
Setting up a remote control connection 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/smm100a/
Starting a remote control session 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.
Controlling the R&S
SMM100A remotely