Network and Remote Operation
R&S
®
FSVA3000/ R&S
®
FSV3000
693
User Manual 1178.8520.02 ─ 01
If multiple commands are possible, for example to query different measurement
results, all possible commands are displayed.
4. To display the SCPI command dialog box for a query command, select the query
command you are interested in from the list.
13.4.4
How to Create and Export SCPI Scripts
Using the SCPI Recorder functions, you can create a SCPI script directly on the instru-
ment and then export the script for use on the controller. The SCPI Recorder allows
you to record SCPI command lists either automatically or manually.
How to record SCPI commands automatically
The following procedure explains how to record SCPI commands automatically during
operation.
1. Define the setting or navigate to the function you want to record.
To query trace or marker results, select the result diagram.
2. On the screen, tap and hold, or right-click the measurement setting, function, or
result display.
The context-sensitive menu containing the SCPI command for that particular set-
ting, function, or result is displayed.
Tip:
If the SCPI command menu is not displayed, you probably tapped outside of a
softkey or input field, for example in a block diagram. Tap within the corresponding
softkey, button or input field, or in a result display, to display the context-sensitive
SCPI command menu.
3. Select "Show SCPI result query commands" or "Show SCPI command", depending
on which item you selected.
4. On the toolbar, select the SCPI Recorder icon.
The SCPI Recorder dialog box is displayed.
5. Select "Auto Recording": "On".
From now on, the commands required to execute all steps you perform on the
instrument are recorded.
6. To query results in the SCPI script:
a) Right-click (or tap and hold) in the result display.
All possible commands to query the results in the diagram are displayed in the
SCPI command menu.
b) Select the results you want to query.
c) Select "Add SCPI Command to Recording".
7. To stop SCPI recording, select the SCPI Recorder icon again.
The SCPI Recorder dialog box with the recorded command list is displayed.
8. Select "Auto Recording": "Off".
Automating Tasks with Remote Command Scripts