EasyManua.ls Logo

Rohde & Schwarz SMA100B - Automating Tasks with Remote Command Scripts

Rohde & Schwarz SMA100B
778 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Network Operation and Remote Control
R&S
®
SMA100B
385User Manual 1178.3834.02 ─ 05
The command switches directly to manual operation.
VISA function viGpibControlREN()
This function switches directly to manual operation.
12.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 11.2.3, "Assigning Actions to the [ (User)] Key", on page 326.
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 12-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 How to record SCPI
lists manually.
Automating Tasks with Remote Command Scripts

Table of Contents

Other manuals for Rohde & Schwarz SMA100B

Related product manuals