Remote Control Basics
R&S
®
SMBV100A
402
Operating Manual 1407.6062.32 ─ 08
Tip:
Use the
&NREN
to enable the LOCAL key if the key is disabled.
6.2.3 Examples
This sections provides examples for setting up of remote control connection and starting
a remote control session over LAN and GPIB interfaces.
This section assumes basic knowledge of programming and operation of the controller.
A description of the interface commands can be obtained from the relevant manuals.
6.2.3.1
Remote Control 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, e.g. IVI-COM and LabVIEW drivers, are available in the download
area of the product website (
http://www2.rohde-schwarz.com/en/products/
test_and_measurement/product_categories/signal_generation/
).
Starting a remote control session over GPIB
As a prerequisite, the GPIB address of the instrument, which is factory-set to 28, must
not have been changed.
1. Connect instrument and controller using GPIB cable and switch them on.
2. Execute following commands on the controller:
a) Open port to the instrument
CALL IBFIND("DEV1", generator%)
b) Inform controller about instrument address
CALL IBPAD(generator%, 28)
c) Reset instrument
CALL IBWRT(generator%, "*RST;*CLS")
d) Set instrument to new address
CALL IBWRT(generator%, "SYST:COMM:GPIB:ADDR 18")
e) Inform controller about new address
CALL IBPAD(generator%, 18)
The GPIB address of the instrument is changed.
3. To return to manual operation, press the LOCAL key at the front panel.
6.2.3.2
Remote Control over LAN using VXI-11 Protocol
Through the examples in this section, the program 'Measurement & Automation Explorer'
from National Instruments under Windows operating system is used for setting up a LAN
remote control link and starting a remote control session.
Starting a Remote Control Session
Summary of Contents for SMBV100A
Page 31: ......