Command Reference
R&S
®
CMW500
198User Manual 1173.9463.02 ─ 02
*GMC? '<MacroLabel>'
Returns the contents of a macro identified by its <MacroLabel>.
Query parameters:
'<MacroLabel>' String parameter, also used to execute the macro and to reference
it in other macro commands (e.g. MMEMory:STORe:MACRo,
*DMC, *RMC).
Return values:
<MacroSequence> Block data element containing the macro contents. See chap-
ter 6.7.1, "Macro Contents and Macro Commands", on page 181.
Example: See Macro Programming Examples
Usage: Query only
Firmware/Software: V2.1.10
*LMC?
Returns the macro labels of all macros of the active connection.
Return values:
'<Macro Label 1>',
'<Macro Label 2>' ...
Comma-separated list of string parameters. An empty string indi-
cates that no macros are defined for the active connection. The
macro labels are also used to execute the macros and to reference
them in other macro commands (e.g. MMEMory:STORe:MACRo,
*DMC, *RMC).
Example: See Macro Programming Examples
Usage: Query only
Firmware/Software: V2.1.10
*PMC
Deletes all macros of the active remote connection.
Example:
See Macro Programming Examples
Usage: Event
Firmware/Software: V2.1.10
*RMC '<MacroLabel>'
Deletes a macro identified by its <MacroLabel>.
Parameters:
'<MacroLabel>' String parameter, used to execute the macro and to reference it
in other macro commands (e.g. MMEMory:STORe:MACRo,
*GMC?, *DMC).
Instrument-Control Commands