EasyManua.ls Logo

Rohde & Schwarz SMW200A - Automating Tasks with Remote Command Scripts

Rohde & Schwarz SMW200A
1312 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
®
SMW200A
743User Manual 1175.6632.02 ─ 16
2. To return from "Remote LLO" state to manual or to "Remote" state, perform one of
the following:
Note: In the local lockout state, the command &GTL and the LOCAL key are
locked. You can unlock this state only via remote control.
On the controller, use the command &LOCS.
This command switches directly to manual operation.
Send the command &REMS.
This command changes the remote control state from "Remote LLO" to
"Remote".
Use the Visual Basic command CALL IBLOC (generator%).
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.3, "Assigning Actions to the User Key", on page 678.
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 an SCPI list
With the SCPI record functions, you can create an 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.
Automating Tasks with Remote Command Scripts

Table of Contents

Related product manuals