Command Reference - Base Software
R&S
®
CMW500
199User Manual 1173.9463.02 ─ 06
*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> Boolean value to enable or disable macro execution. In the disa-
bled ("OFF") state, macros in a command sequence are not
expanded. The R&S CMW500 will generally issue an error mes-
sage –113, "Undefined header;<MacroLabel>".
*RST: OFF
Example:
See Macro Programming Examples
Firmware/Software: V2.1.10
*
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> <dblock>
Block data element containing the macro contents. See chap-
ter 5.7.1, "Macro Contents and Macro Commands", on page 182.
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
Instrument-Control Commands