Rubidium™ MG362x1A SeriesLow-Noise RF/Microwave SignalGenerators : Native Programming : Commands
 
Commands
This section provides an alphabetical listing of the SCPI and Native commands used to program the series MG362x1A Synthesized Signal Generator.
*IDN?
Description:
Requests device identification.
Returns an identification string in IEEE 488.2 specified <NR1> format (four fields separated by commas). The fields are <manufacturer>, <model>, <serial #>, <firmware version>.
Functional Category
OUTPUT
Front Panel Key:
N/A
ACW
Description:
Activates the currently open frequency parameter as CW.
Activates the frequency parameter that is currently open for data entry as CW, switches to CW if not in CW mode.
Functional Category
CW FREQUENCY
Example:
F1, ACW
Related Commands:
CF1
Front Panel Key:
N/A
AT0
Description:
Deselects step attenuator decoupling.
Deselects the step attenuator decoupling function. This returns the MG362x1A to its normal (coupled) leveling mode. In this mode, when the desired power level is set, the correct combination of level and step attenuator setting is determined by the instrument firmware.
Functional Category
POWER LEVELING
Related Commands:
AT1, ATT(xx)
Front Panel Key:
Level | Attenuator
AT1
Description:
Selects ALC step attenuator decoupling.
This function decouples the step attenuator (if equipped) from the ALC system. This permits separate setting the ALC level and step attenuator.
Functional Category
POWER LEVELING
Related Commands:
AT0, ATT(xx)
Front Panel Key:
Level | Attenuator | Auto Attenuation
ATT(xx)
Description:
Sets the step attenuator value to xx (times 10 dB).
Permits setting the step attenuator value to xx (times 10 dB) in the ALC step attenuator decoupling mode.
Functional Category
POWER LEVELING
Value:
xx: unsigned integer between 00 (0 dB attenuation) and 11 (110 dB attenuation)
Example:
AT1, ATT08
Decouples the step attenuator from the ALC system and sets the step attenuator value to 80 dB.
Related Commands:
AT0, AT1
Front Panel Key:
Level | Attenuator | Auto Attenuation to On | Attenuation
CF0 or CF0 <value> <unit>
Description:
Sets CW mode at F0 and opens the F0 parameter.
Places the MG362x1A in CW mode at the preset (or previously set) F0 frequency and causes F0 to be output. Also permits setting the F0 parameter. The frequency setting is determined by the frequency range of the particular MG362x1A model.
Functional Category
CW FREQUENCY
Value:
Frequency range of the MG362x1A model
Units:
GH, MH, KH, HZ
Example:
CF0 5.5 GH
Places the MG362x1A at the preset (or previously set) CW F0 frequency and opens the F0 parameter for data entry. Sets the F0 frequency to 5.5 GHz.
Output Command:
OF0
Related Commands:
ACW
Front Panel Key:
Frequency | F(x)
If in swept mode:
Frequency | ENABLE CW MODE | F(x)
CF1 <value> <unit>
Description:
Sets CW mode at F1 and opens the F1 parameter.
Places the MG362x1A in CW mode at the preset (or previously set) F1 frequency and causes F1 to be output. Also permits setting the F1 parameter. The frequency setting is determined by the frequency range of the particular MG362x1A model.
Functional Category
CW FREQUENCY
Value:
Frequency range of the MG362x1A model
Units:
GH, MH, KH, HZ
Output Command:
OF1
Related Commands:
CF1, ACW
Front Panel Key:
Frequency | F1
CLR
Description:
Clears the data entry.
Functional Category
DATA ENTRY
Front Panel Key:
Clear Entry Key
CSB
Description:
Clears all Native status bytes.
Functional Category
STATUS
Front Panel Key:
N/A
D1 <value> <unit>
Description:
Opens the internal pulse delay1 parameter.
Functional Category
PARAMETER ENTRY
Value:
See MG362x1A TDS (11410-00928) for clock rates.
Units:
SEC, MS, US, NS
Example:
PTG3; D1 100 US; IP
Turns on internal pulse trigger delayed by 100 μs.
Output Command:
OD1 (μs)
Related Commands:
IP, PMD(x), PTG(x)
Front Panel Key:
Modulation | Pulse (internal) | Arrow Key | Wdth/Dly List. . . | Edit Selected
DS0
Description:
Turns on the secure mode.
In the secure mode, the front panel display of all frequency, power level, and modulation parameters is disabled. The instrument continues to function normally in all other respects.
Functional Category
MISCELLANEOUS
Front Panel Key:
System | Secure Mode
DS1
Description:
Turns off the secure mode.
Restores the front panel display of all frequency, power level, and modulation parameters.
Functional Category
MISCELLANEOUS
Front Panel Key:
System | Reset
EL0
Description:
Inhibits updating of the ESB2 bit 4.
Blocks updating of the Extended Status Byte two bit four (RF Unlocked). This is the default setting because it is normal for the RF to be momentarily unlocked during sweeps and sweep retrace.
Functional Category
STATUS
Related Commands:
SB0, SQ0
Front Panel Key:
N/A
EL1
Description:
Enables RF Unlocked bit update. ESB2 bit 4.
Unblocks updating of the Extended Status Byte bit four (RF Unlocked).
Functional Category
STATUS
Example:
C code snippet to enable unlocked SRQ:
strcpy(buf, “csb sb1 mb2 sq1 el1");
buf[11] = 16; /*mb2 command mask value*/snd(source_addr, buf);
Output Command:
OES (outputs value of the three status bytes)
Related Commands:
SQ1
Front Panel Key:
N/A
F1 <value> <unit>
Description:
Sets output frequency to F1. Opens the F1 parameter.
Permits setting the F1 parameter. The frequency setting is determined by the frequency range of the particular MG362x1A model.
Functional Category
PARAMETER ENTRY
Value:
Frequency range of the MG362x1A model
Units:
GH, MH, KH, HZ
Front Panel Key:
Frequency | F1
Output Command:
F1 returns the F1 frequency value (in MHz) to the controller.
FB0
Description:
Inhibits extended status byte 1 SRQ generation.
Inhibits an SRQ from being generated when the Extended Status Byte one bit is set. This is the default mode.
Functional Category
STATUS
Related Commands:
SQ0, FB1
Front Panel Key:
N/A
FB1
Description:
Enables extended status byte 1 SRQ generation.
Enables an SRQ to be generated when Primary Status Byte bit zero (Extended Status Byte one) is set and SQ1 has been programmed. The Extended Status Byte one bit is set whenever one (or more) of the unmasked status reporting functions in Extended Status Byte one is true. SQ1 enables the SRQ generation function.
Functional Category
STATUS
Related Commands:
SQ1, MB1, FB0
Example:
C code snippet to enable RF locked SRQ:
strcpy(buf, “csb fb1 mb1 sq1 ls1");
buf[11] = 8; /*mb1 command mask value*/snd(source_addr, buf);
Output Command:
OSB (output primary status byte)
Front Panel Key:
N/A
IP
Description:
Turns on internal pulse modulation.
Disables the external pulse modulation function, if previously programmed.
Functional Category
MODULATION
Related Commands:
P0
Front Panel Key:
Modulation | Pulse (internal) | State On
L0 or L0 <value> <unit>
Description:
Sets RF output power level to L0. Opens L0 parameter.
Causes the RF output power level to be set to the preset (or previously set) L0 power level. Also permits setting the L0 parameter. The power level setting is determined by the power level range of the particular MG362x1A model.
Functional Category
POWER LEVELING
Value:
Power level range of the MG362x1A model
Units:
DM (log), VT (linear)
Example:
L0 5 DM
Places the RF output power level at the preset (or previously set) L0 power level and opens the L0 parameter for data entry. Sets the L0 power level to 5 dBm.
Output Command:
OL0 returns the L0 power level (in dBm when in log mode; in mV when in linear mode) to the controller.
Related Commands:
LOG, LIN, PU0, PU1, PU2
Front Panel Key:
Level | Level | L0
 
L1 <value> <unit>
Description:
Sets RF output power level to L1. Opens L1 parameter.
Causes the RF output power level to be set to the preset (or previously set) L1 power level. Also permits setting the L1 parameter. The power level setting is determined by the power level range of the particular MG362x1A model.
Functional Category
POWER LEVELING
Value:
Power level range of the MG362x1A model
Units:
DM (log), VT (linear)
Output Command:
OL1 returns the L1 power level (in dBm when in log mode; in mV when in linear mode) to the controller.
Related Commands:
L1
Front Panel Key:
Level | L1
LE0
Description:
Inhibits lock error SRQ generation.
Inhibits an SRQ from being generated when the Lock Error bit (Primary Status Byte bit three) is set. This is the default mode.
Functional Category
STATUS
Front Panel Key:
N/A
Functional Category
STATUS
 
LE1
Description:
Enables lock error SRQ generation. Enables Lock Error bit update. Primary byte bit 3.
Enables an SRQ to be generated when Primary Status Byte bit three (Lock Error) is set and SQ1 has been programmed.
Example:
CSB, SQ1
Enable an SRQ on lock error.
Front Panel Key:
N/A
LO0
Description:
Turns off the level offset function.
Functional Category
POWER LEVELING
Related Commands:
LO1, LOS
Front Panel Key:
Level | Offset | Offset to Off
LO1
Description:
Turns on the level offset function. Can apply a constant offset to the displayed level value.
Functional Category
POWER LEVELING
Related Commands:
LO0, LOS
Output Command:
LO1 returns the Level Offset value (in dB when in Log mode; in mV when in Linear mode) to the controller.
Front Panel Key:
Level | Offset | Offset to On
LOS <value> <unit>
Description:
Opens the level offset parameter.
Functional Category
PARAMETER ENTRY
Value:
–100dB to 100dB (logarithmic); +xxx mV to xxx mV (linear)
Units:
DB (log), VT (linear)
Output Command:
LO1 returns the Level Offset value (in dB when in Log mode; in mV when in Linear mode) to the controller.
Related Commands:
LO0, LO1
Front Panel Key:
Level | Offset | Level Offset
LS0
Description:
Inhibits updating of the ESB1 bit 3.
Blocks updating of the Extended Status Byte one bit three (RF Locked). This is the default setting.
Functional Category
STATUS
Front Panel Key:
N/A
LS1
Description:
Enables updating of the ESB1 bit 3.
Unblocks updating of the Extended Status Byte one bit three (RF Locked).
Functional Category
STATUS
Example:
C code snippet to enable the RF locked SRQ:
strcpy(buf, “csb fb1 mb1 sq1 ls1");
buf[11] = 8; /*mb1 command mask value*/snd(source_addr, buf);
Related Commands:
SQ1, MB1, LS0
Front Panel Key:
N/A
MB0
Description:
Sets the enable mask byte for the primary status byte.
Sets an eight-bit data mask that is used to enable specific bits of the primary status byte. This enables any or all of the bits (except for bit six) in the primary status byte to generate an SRQ using one eight-bit byte. This command can be equivalent to sending FB1, LE1, PE1, SE1, SB1, and UL1.
Functional Category
STATUS
Front Panel Key:
N/A
MB1
Description:
Sets the enable mask byte for extended status byte 1.
Sets an eight-bit data mask that is used to enable specific bits of the extended status byte one. This enables any or all of the bits in the extended status byte one to generate an SRQ using one eight-bit byte.
Functional Category
STATUS
Example:
C code snippet to enable RF locked bit:
strcpy(buf, “mb1 ”); buf[3] = 8; snd(source_addr, buf);
Front Panel Key:
N/A
 
 
 
MB2
Description:
Sets the enable mask byte for extended status byte 2.
Sets an eight-bit data mask that is used to enable specific bits of the extended status byte two. This enables any or all of the bits in the extended status byte two to generate an SRQ using one eight-bit byte.
Functional Category
STATUS
Example:
C code snippet to enable the RF unlocked bit:
strcpy(buf, “mb2 ”); buf[3] = 16; snd(source_addr, buf);
Front Panel Key:
N/A
OEM
Description:
Returns the Extended SRQ Mask bytes (3 binary bytes) to the controller
Functional Category
OUTPUT
Related Commands
MB0, MB1, MB2
Front Panel Key:
N/A
OES
Description:
Returns the GPIB Status bytes (3 binary bytes) to the controller.
Returns the contents of the primary status byte and the two extended status bytes to the controller.
Functional Category
OUTPUT
Front Panel Key:
N/A
OPP
Description:
Returns the internal pulse period value (in ms) to the controller.
Returns the contents of the primary status byte and the two extended status bytes to the
controller.
Functional Category
OUTPUT
Front Panel Key:
N/A
OSB
Description:
Returns the primary GPIB status byte to the controller.
Functional Category
OUTPUT
Front Panel Key:
N/A
 
OSR
Description:
Returns the self-test results (6 binary bytes) to the controller. Can apply a constant offset to the displayed level value.
Functional Category
OUTPUT
Related Commands:
TST
Front Panel Key:
N/A
P0
Description:
Turns off the internal or external pulse modulation function (This is the default mode).
Functional Category
MODULATION
Related Commands:
XP
Front Panel Key:
Modulation | Pulse | On/Off to Off
P3
Description:
Valid for the MG369xC product series and made available to avoid a syntax error when programming the MG362x1A product.
P4
Description:
Valid for the MG369xC product series and made available to avoid a syntax error when programming the MG362x1A product.
PC4
Description:
Selects the 100 MHz internal pulse clock rate.
Functional Category
MODULATION
Front Panel Key:
Modulation | Pulse (internal) | Clock 100
PDY <value> <unit>
Description:
Opens the internal pulse delay1 parameter (Same as D1).
Functional Category
PARAMETER ENTRY
Value:
See MG362x1A TDS (11410-00928) for clock rates.
Units:
SEC, MS, US, NS
Front Panel Key:
Modulation | Pulse (internal) | Wdth/Dly List. . . | Edit Selected
PE0
Description:
Inhibits parameter range error SRQ generation.
Inhibits an SRQ from being generated when the primary status byte bit four (parameter range error) is set. This is the default mode.
Functional Category
STATUS
Front Panel Key:
N/A
PE1
Functional Category
STATUS
PE1
Description:
Enables parameter range error SRQ generation.
Enables an SRQ to be generated when primary status byte bit four (parameter range error) is set and SQ1 has been programmed. SQ1 enables the SRQ generation function.
Related Commands:
SQ1
Example:
CSB; SQ1; PE1
Enables an SRQ on a parameter range error.
Front Panel Key:
N/A
PER <value> <unit>
Description:
Opens the internal pulse period parameter.
Functional Category
PARAMETER ENTRY
Value:
See MG362x1A TDS (11410-00928) for clock rates.
Units:
SEC, MS, US, NS
Example:
PER 500 US; W1 50 US; IP
Output Command:
OPP (in μs)
Turns internal pulse on with a period of 500 μs and pulse width of 50 μs.
Related Commands:
PR
Front Panel Key:
Modulation | Pulse (internal) | Edit Period
PMD(x)
Description:
Selects the internal pulse mode.
Disables the internal ΦM function or the external ΦM function in Narrow mode, had either of these modes been previously programmed. If the ΦM function is not installed, this command produces a syntax error.
Functional Category
MODULATION
Value:
x: 1 = Single, 2 = Doublet, 3 = Triplet, 4 = Quadruplet
Example:
PMD2; W1 10 US; IP
Turns internal pulse on and sets pulse doublet, 10 μs width, 15 μs delay (from start of first pulse), and 10 μs width.
Output Command:
OMD (text)
Front Panel Key:
Modulation | Pulse (internal) | More > | Mode. . . | Select
PTG(x)
Description:
Selects the internal pulse trigger.
Functional Category
MODULATION
Value:
x: 1 = Free Run, 2 = Gated, 3 = Delayed, 4 = Triggered, 5 = Triggered with Delay
Front Panel Key:
N/A
PW <value> <unit>
Description:
Opens the internal pulse width1 parameter (Same as W1).
Functional Category
PARAMETER ENTRY
Value:
See MG362x1A TDS (11410-00928) for clock rates.
Units:
SEC, MS, US, NS
Related Commands:
W1
Front Panel Key:
Modulation | Pulse (internal) | Wdth/Dly List. . . | Edit Selected
Example:
PMD1; PTG1; PW 50 US; IP
Turns internal pulse on with a single pulse, free run of width 50 μs.
Output Command:
OPW (in μs)
RF0
Description:
Turns off the RF output.
Functional Category
POWER LEVELING
Front Panel Key:
Output - LED is Off
RF1
Description:
Turns on the RF output. This is the default mode.
Functional Category
POWER LEVELING
Front Panel Key:
Output - On (LED is green)
RL
Description:
Returns the instrument to local (front panel) control.
Functional Category
MISCELLANEOUS
Front Panel Key:
System | Return to Local
System | Reset
RO0
Description:
Selects RF to be on at reset.
This is the default mode.
Functional Category
CONFIGURATION
Front Panel Key:
System | Config | RF | Reset State to On
RO1
Description:
Selects RF to be off at reset.
Functional Category
CONFIGURATION
Front Panel Key:
System | Config | RF | Reset State to Off
RST
Description:
Resets the MG362x1A to its default settings.
Sending this command clears the current instrument setup. If this setup is needed for future testing, save it as a stored setup using the command SSN(M1-9) or SAF before sending RST.
Remote settings are not reset, e.g. Remote language, Ethernet settings, GPIB settings are not reset.
Functional Category
MISCELLANEOUS
Front Panel Key:
System | Reset | System Reset - Application Reset
SB0
Description:
Inhibits extended status byte 2 SRQ generation.
Inhibits an SRQ from being generated when the Extended Status Byte two bit is set. This is the default mode.
Functional Category
STATUS
Front Panel Key:
N/A
SB1
Description:
Enables extended status byte 2 SRQ generation.
Enables an SRQ to be generated when primary status byte bit seven (extended status byte two) is set and SQ1 has been programmed. The extended status byte two bit is set whenever one (or more) of the unmasked status reporting functions in extended status byte two is true.
Functional Category
STATUS
Example:
C code snippet to enable unlocked SRQ:
strcpy(buf, “csb sb1 mb2 sq1 el1");
buf[11] = 16; /*mb2 command mask value*/snd(source_addr, buf);
Related Commands:
SQ1, MB2
Front Panel Key:
N/A
SQ0
Description:
Disables the SRQ generation function. This is the default mode.
Functional Category
STATUS
Front Panel Key:
N/A
SQ1
Description:
Enables the SRQ generation function. Enables SRQ generation when a Primary byte bit is set.
This command allow a status reporting function, that is true and enabled, to pull the SRQ line LOW (true) and request service from the controller.
Functional Category
STATUS
Front Panel Key:
N/A
SYST:LANG "SCPI”
Description:
Selects the instrument's external interface language. The double quotes are required and will be returned with the query reply.
"NATIVE" changes the instrument's external interface language to the Anritsu Native language mode. Any commands issued within 1 second of the change may be garbled or lost.
Note: When changing from NATIVE to SCPI interface language, use the command SYST:LANG "SCPI". Do not use the long form of the command, do not use a leading colon (:), and use exactly one space ( ) between the 'G' and the opening double quote ("). Deviations from this exact command may result in a syntax error.
Related Commands:
SYST:LANG
Default Value:
SCPI
TST
Description:
Starts an instrument self-test.
When a TST command is received, the signal generator performs a self test, then returns a single byte, unterminated. A "P" (for pass) or an "F" (for fail). Extended Status Byte one bit zero is set if self test fails; bit two is set when self test is complete.
Functional Category
SELF TEST
Output Command:
OSR returns the six self test results bytes to the controller.
Front Panel Key:
System | Diagnostics | Self-Test
UL0
Description:
Inhibits RF unleveled SRQ generation.
Inhibits an SRQ from being generated when the RF Unleveled bit is set. This is the default mode.
Functional Category
STATUS
Front Panel Key:
N/A
UL1
Description:
Enables RF unleveled SRQ generation. Enables RF Unleveled bit update. Primary byte bit 2.
Enables an SRQ to be generated when Primary Status Byte bit two (RF Unleveled) is set and SQ1 has been programmed.
Functional Category
STATUS
Example:
SQ1; UL1
Enables an unleveled SRQ generation.
Front Panel Key:
N/A
W1 <value> <unit>
Description:
Opens the internal pulse width 1 parameter.
Functional Category
PARAMETER ENTRY
Value:
See MG362x1A TDS (11410-00928) for clock rates.
Units:
SEC, MS, US, NS
Example:
W1 50 US; PER 100 US; PMD1; PTG1; IP
Turns internal pulse on with a 50 μs pulse every 100 μs.
Output Command:
OW1 (in μs)
Front Panel Key:
Modulation | Pulse (internal) | Wdth/Dly List. . . | Edit Selected
XP
Description:
Turns on the external pulse modulation function. Disables the internal pulse modulation function, if previously programmed.
Turns on the pulse modulation function. If pulse modulation is not installed, this command produces a syntax error.
Functional Category
MODULATION
Related Commands:
PO
Front Panel Key:
Modulation | Pulse | On/Off to On