Network Operation and Remote Control
R&S
®
SMA100B
285
User Manual 1178.3834.02 ─ 03
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.
Directly in the instrument, you can create an 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 to Script" function, see
How to record SCPI lists manually
–
Automatically record all performed steps
The instrument records the SCPI command and settings value of each step
you perform, as if you run a series of commands, and then writes the com-
mands to the file system, see
How to record SCPI lists automatically
You can also add a SCPI command manually to the recording list during auto-
matic SCPI recording, or after it has been stopped.
●
Generating all settings at once
Generates the SCPI commands of the current instrument settings in one step, and
writes the command list in a temporary list, see
How to create a SCPI list with the
current instrument settings in one step
Note:
This function lists all commands in alphabetical order, in contrast to the
recording or manual creation, which consider the order the settings are configured.
This can slow down the run time or cause errors during execution. Therefore,
always check and revise a script if necessary, see
●
Manually create a command script with "Copy" and paste
Enables you to copy the SCPI command and the current setting, see
ter 11.11.1, "Show SCPI Command"
Some parameters cannot be set by a SCPI command.
If so,
no SCPI command found
is entered instead of a command when you record or
generate all settings at once.
Automating Tasks with Remote Command Scripts