EasyManua.ls Logo

Rohde & Schwarz SMBV100B - Show SCPI Command

Rohde & Schwarz SMBV100B
1030 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
®
SMBV100B
591User Manual 1178.4460.02 ─ 03
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 SMBV100B provides the following predefined code templates by default:
Plain SCPI
Represents SCPI base format, that is ASCII format, saved as text file (*.txt).
MATLAB
A programming environment, frequently used in signal processing and test and
measurement applications (*.m).
You can directly use this format with MATLAB(c) Toolkit. For comprehensive infor-
mation on this topic, refer to the application note 1GP60: MATLAB Toolkit for R&S
Signal Generators.
NICVI
An ANSI C programming environment designed for measurements and tests (*.c).
You can directly use this format with National Instruments LabWindows CVI.
You can also convert a script to a user-specific format. In this case, you need a code
template with the extension *.expcodetmpl.
For information on how to select the code template and save the script in a file, see
Chapter 11.11.3, "SCPI Recording Export Settings", on page 592.
Executing an SCPI script
An SCPI script primarily runs on the controller PC. In addition, you can execute a script
directly on the instrument, by assigning the script to the [ (User)] key.
See Chapter 10.3.3, "Assigning Actions to the [ (User)] Key", on page 529.
11.11.1 Show SCPI Command
Access:
1. Select the parameter.
2. Open the context-sensitive menu (tap and hold).
3. Select "Show SCPI Command".
This function provides the syntax of the remote command with the current setting.
Copy
Copies the command and the current setting.
Close
Exits the "SCPI Command" dialog.
Automating Tasks with Remote Command Scripts

Table of Contents

Related product manuals