![Rohde & Schwarz CMW500 Series Скачать руководство пользователя страница 197](http://html1.mh-extra.com/html/rohde-and-schwarz/cmw500-series/cmw500-series_user-manual_1477718197.webp)
Command Reference
R&S
®
CMW500
197
User Manual 1173.9463.02 ─ 02
..............................................................................................199
*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 (
) 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.
*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 6.7.1, "Macro Contents and
Alternative data format:
Shorter command sequences may be
entered as strings with a maximum length of 1023 characters.
Example:
See
Usage:
Event
Firmware/Software:
V2.1.10
*EMC
<Boolean>
Enables or disables the execution of all macros that are defined for the active remote
connection.
Note:
In contrast to SCPI specifications, macro execution is disabled by default.
Parameters:
<Boolean>
ON | OFF
Enable or disable macro execution. In the disabled ("OFF") state,
macros in a command sequence are not expanded. The R&S
CMW500 will generally issue an error message
–
113, "Undefined
header;<MacroLabel>".
*RST:
OFF
Example:
See
Firmware/Software:
V2.1.10
Instrument-Control Commands