
Network Operation and Remote Control
R&S
®
SMBV100B
589
User Manual 1178.4460.02 ─ 03
The command switches directly to manual operation.
● VISA function
viGpibControlREN()
This function switches directly to manual operation.
11.11
Automating Tasks with Remote Command Scripts
To achieve fast configuration, make complex test setups or repeating measurements
reproducible, you can automate the required settings with scripts. A script contains a
series of SCPI commands corresponding to the settings. When completed, it is conver-
ted to an executable format, saved in a file and can be run whenever needed.
If you frequently need to load and run a script, assign the script to the [
★
(User)], and
you can quickly and easily perform the task.
See
Chapter 10.3.3, "Assigning Actions to the [
Note:
In contrast to "Recall Setup" via the [
★
(User)] key, an assigned script execution
does not close active dialogs and windows. On the contrary, even active window con-
trol (open / close) is possible.
Figure 11-6: Steps for performing SCPI Scripts
In the graph, you can see the main steps required to work with an SCPI script.
Creating a SCPI list
With the SCPI record functions, you can create a SCPI command list directly in the
instrument and then export the list to the controller. If you want to edit or write a script
manually, use a suitable editor on the controller. Even for manually creating, the instru-
ment supports you by showing the corresponding command syntax and the current
settings value.
Directly in the instrument, you can create a SCPI list at any time of operation, in the
following ways:
●
Recording steps
Both, automatic and manual SCPI recording of settings is possible. You can start,
stop and resume automatic recording, and also record individual commands man-
ually.
–
Manually record the steps selectively
In manual recording mode, you can deliberately record a SCPI command with
the "Add CPI Command to Recording List" function, see
.
Automating Tasks with Remote Command Scripts