Remote Control
R&S
®
CMW500
180User Manual 1173.9463.02 ─ 06
Event Switching on sup-
ply voltage
Power-On-Status-
Clear
DCL, SDC
(Device
Clear,
Selected
Device Clear)
*RST or
SYS-
Tem:PRE-
Set:ALL
STA-
Tus:PRE-
Set
*CLS
Clear output buffer yes yes yes 1) 1) 1)
Clear command processing
and input buffer
yes yes yes
1) Every command being the first in a command line, i.e. immediately following a
<PROGRAM MESSAGE TERMINATOR> clears the output buffer.
5.6.6 Regular Expressions
Some remote control commands (for examples see STATus:OPERation (Overall Eval-
uation)) support the application of filters. A filter allows to limit the results returned by the
command (or the objects affected by the command) to a specific set of strings. This set
can be defined via a regular expression without having to list all elements.
The most basic filter expression consists of a simple string containing no meta characters,
e.g. 'CDM'. Strings match to this filter if they contain the defined filter string. Matching
examples: 'CDMA2000', 'WCDMA', 'WCDMA network standard'.
More sophisticated filter expressions can be defined using the meta characters listed in
the following table. A string matches to a filter example given in the table if it contains any
of the given matching strings.
Meta Character Meaning
. Matches any single character.
[] Matches a single character given within the brackets. Example: '[ABC]' matches 'A', 'B'
and 'C'.
[ - ] specifies a range. Example: '[ABCX-Z]' matches 'A', 'B', 'C', 'X', 'Y' and 'Z', as does
'[A-CX-Z]'.
[^ ] Matches a single character not given within the brackets. Example: '[^ABC]' matches
any character other than 'A', 'B' and 'C'.
^ If given at the beginning of a filter, matches the beginning of the string. Example:
'^[ABC]' matches any string starting with 'A', 'B' or 'C'.
$ If given at the end of a filter, matches the end of the string. Example: '[ABC]$' matches
any string ending with 'A', 'B' or 'C'.
? Matches the preceding element zero or one time. Example: 'M[0-9][0-9]?' matches 'M1',
'M25', 'M0', 'M00', ...
+ Matches the preceding element one or more times. Example: 'TR[AB]+' matches 'TRA',
'TRB', 'TRABBBABA', ...
* Matches the preceding element zero or more times. Example: 'A*B' matches 'B', 'AB',
'AAAAAAB', ...
() Groupes the content for other operators. Example: 'A(BCD)?E' matches 'AE' and
'ABCDE'.
Status Reporting System