EasyManua.ls Logo

Rohde & Schwarz SMW200A - Programming Examples

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...
Remote Control Commands
R&S
®
SMW200A
769User Manual 1175.6632.02 ─ 16
13.4 Programming Examples
The corresponding sections of the same title provide simple programming examples for
the R&S SMW. The purpose of the examples is to present all commands for a given
task. In real applications, one would rather reduce the examples to an appropriate sub-
set of commands.
The programming examples have been tested with a software tool which provides an
environment for the development and execution of remote tests. To keep the examples
as simple as possible, only the "clean" SCPI syntax elements are reported. Non-exe-
cutable command lines (for example comments) start with two // characters.
At the beginning of the most remote control program, an instrument (p)reset is recom-
mended to set the R&S SMW to a definite state. The commands *RST and
SYSTem:PRESet are equivalent for this purpose. *CLS also resets the status registers
and clears the output buffer.
In all the examples we assume that:
A remote PC is connected to the instrument
The remote PC and the instrument are switched on
A connection between them is established
The security setting "System Config > Setup > Security > SCPI over LAN" is
enabled.
13.5 Common Commands
Common commands are described in the IEEE 488.2 (IEC 625-2) standard. These
commands have the same effect and are employed in the same way on different devi-
ces. The headers of these commands consist of "*" followed by three letters. Many
common commands are related to the Status Reporting System.
Available common commands:
*CLS.............................................................................................................................770
*ESE.............................................................................................................................770
*ESR?...........................................................................................................................770
*IDN?............................................................................................................................770
*IST?............................................................................................................................ 771
*OPC............................................................................................................................771
*OPT?...........................................................................................................................771
*PRE............................................................................................................................ 771
*PSC............................................................................................................................ 771
*RCL.............................................................................................................................772
*RST.............................................................................................................................772
*SAV.............................................................................................................................772
*SRE............................................................................................................................ 773
*STB?...........................................................................................................................773
Common Commands

Table of Contents

Related product manuals