Command Reference - Base Software
R&S
®
CMW500
198User Manual 1173.9463.02 ─ 06
R&S CMW500-specific command properties
The following macro command properties differ from SCPI stipulations:
●
The *RST state of *EMC is OFF. Macro execution must be enabled deliberately for
every remote connection.
●
Normal remote control execution has priority over macro execution. Macros which
have the same name as a remote command supported by the R&S CMW500 are
ignored.
*DMC............................................................................................................................198
*EMC............................................................................................................................199
*GMC?..........................................................................................................................199
*LMC?..........................................................................................................................199
*PMC............................................................................................................................200
*RMC............................................................................................................................200
MMEMory:LOAD:MACRo................................................................................................200
MMEMory:STORe:MACRo..............................................................................................200
SYSTem:RECord:MACRo:FILE:STARt............................................................................201
SYSTem:RECord:MACRo:FILE:STOP.............................................................................201
*DMC '<MacroLabel>', <MacroSequence>
Creates a macro, defined by an identifier string '<MacroLabel>' and the macro contents
<MacroSequence>. If the macro label exists already, the macro contents are overwritten.
Macro execution must be enabled using *EMC ON. Macros are deleted when a remote
connection is closed but can be saved to a macro file (MMEMory:STORe:MACRo) for later
re-use.
Note: Avoid using macro labels which are identical with any of the remote control com-
mands supported by the R&S CMW500. In contrast to SCPI stipulations, remote com-
mands have priority over macros.
Parameters:
'<MacroLabel>' String parameter, used to execute the created macro and to ref-
erence it in other macro commands (e.g. MMEMory:STORe:
MACRo, *GMC?, *RMC).
<MacroSequence> Block data element defining the macro contents, typically a
sequence of remote control commands. #0 introduces a data block
of indefinite length. See chapter 5.7.1, "Macro Contents and
Macro Commands", on page 182.
Alternative data format: Shorter command sequences may be
entered as strings with a maximum length of 1023 characters.
Example:
See Macro Programming Examples
Usage: Event
Firmware/Software: V2.1.10
Instrument-Control Commands