
Network Operation and Remote Control
R&S
®
AREG100A
168
User Manual 1178.7417.02 ─ 04
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.
Using this function can slow down the runtime 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 8.11.1, "Show SCPI Command"
Some parameters cannot be set by an SCPI command.
If so,
no SCPI command found
is entered instead of a command when you record or
generate all settings at once.
The difference between "Show SCPI Command" and the provided cross-refer-
ence
If you want to enter your settings in a script, or use a remote control program, you must
know the corresponding SCPI command and the exact syntax.
If you need to look up the SCPI command, the instrument offers two ways to figure it
out quickly.
●
"Show SCPI command" (context-sensitive menu)
Displays the SCPI command syntax of a selected parameter including the current
setting value, see
Chapter 8.12, "How to Find Out the SCPI Command Corre-
sponding to the Manual Operation via Show SCPI Command"
"Copy" function enables you to write an SCPI script conveniently by hand.
●
Instrument help ([Help] key)
Opens a help topic that describes the selected parameter or instrument function,
including a cross-reference to the corresponding SCPI command. The reference
leads you to the description of the SCPI command comprising the complete SCPI
syntax, all available setting values, value ranges, etc., see
Find Out the SCPI Command Corresponding to the Manual Operation Using the
Online Help"
Creating and exporting a script file
When the script list is completed, a code generator translates the SCPI commands into
the source code of a proprietary programming language, using a code template. There-
fore, each language requires an appropriate code template. When converted, you can
save the script in a file with an extension corresponding to the programming language.
The R&S
AREG100A provides the following predefined code templates by default:
●
Plain SCPI
Represents SCPI base format, that is ASCII format, saved as text file (
*.txt
).
●
MATLAB
Automating Tasks with Remote Command Scripts