Page 1
SERIES MG369XA SYNTHESIZED SIGNAL GENERATOR SCPI PROGRAMMING MANUAL 490 JARVIS DRIVE P/N: 10370-10359 REVISION: B MORGAN HILL, CA 95037-2809 PRINTED: JANUARY 2003 COPYRIGHT 2003 ANRITSU CO.
WARRANTY The Anritsu product(s) listed on the title page is (are) warranted against defects in materials and workmanship for one year from the date of shipment. Anritsu’s obligation covers repairing or replacing products which prove to be defective during the warranty period.
This manual is intended to be used in conjunction with the Series MG369XA Synthesized Signal Generator Operation Manual, P/N: 10370-10353. Refer to that manual for general information about the MG369XA, including equipment set up and front panel (manual mode) operating instructions. Electronic...
Page 9
L O W S T A T E O N T H E S E T W O L I N E S * * I F U S E D Figure 1-1. Interface Connections and GPIB Bus Structure MG369XA SCPI PM...
This chapter provides a general description of the GPIB and the bus data transfer and control functions. It also contains a listing of the MG369XA’s GPIB interface function subset capability and response to IEEE-488 interface function messages. The GPIB information presented in this chapter is general in nature.
Even if it is not the active controller, the system controller maintains control of the Interface Clear (IFC) and Remote Enable (REN) interface management lines and can thus take control of the GPIB at anytime. MG369XA SCPI PM...
(stable). NRFD (Not Ready For Data) This line is used by the listeners to inform the talker when they are ready to accept new data. The talker must wait for each listener to set the NRFD MG369XA SCPI PM...
When the bus is in remote and a device is ad- dressed, it receives instructions from the GPIB rather than from its front panel. When REN is set FALSE (high), the bus and all devices return to local operation. MG369XA SCPI PM...
The contents of these messages are instrument specific and may be in the form of ASCII strings or binary data. MG369XA SCPI PM 1-11...
Page 17
National Instruments software driver. On the other hand, the command *RST (Reset) is sent in a command string to the addressed device. In the case of the National Instruments example, this would be done by using the ibwrt function call. 1-12 MG369XA SCPI PM...
The GPIB interface function capability of the MG369XA is listed in Table 1-2 (page 1-10). Setting GPIB The MG369XA leaves the factory with the GPIB ad- Operating dress value set to 5 and the data delimiting termi- Parameters nator set to carriage return and line feed (CR/LF).
Page 19
GENERAL GPIB MG369XA GPIB INFORMATION OPERATION Table 1-3. MG369XA Response to GPIB Interface Function Messages Addressed Interface Function Message MG369XA Response Command Device Clear (DCL) Resets the MG369XA to its default Selected Device Clear state. (Equivalent to sending the *RST command.)
Page 20
Chapter 2 Programming with SCPI Commands Table of Contents INTRODUCTION ....2-3 INTRODUCTION TO SCPI PROGRAMMING . . . 2-3 SCPI Command Types ....2-3 Common Commands .
SCPI compatible instruments. The IEEE-488 (GPIB) interface for the MG369XA was designed to conform to the requirements of SCPI 1993.0. The set of SCPI commands implemented by the MG369XA GPIB interface provides a comprehensive set of programming func- tions covering all the major functions of the MG369XA signal genera- tor.
MG369XA unique commands com- [:EVENt]? prise the remainder (major portion) of the :CONDition? MG369XA command set. They control the majority :ENABle of the programmable functions of the MG369XA. :PRESet They are described in detail in Chapter 3 starting in :QUEStionable Section 3-3.
The syntax of the individual commands is described in detail in Chapter 3. Unrecognized versions of long form or short form commands, or improper syntax, will generate an error. Error reporting is described in Chapter 4. MG369XA SCPI PM...
The :CONTrol command subsystem is shown below. :CONTrol :BLANking :RAMP :PENLift :POLarity :REST [:STATe] :TIME :POLarity An overall command tree for the MG369XA SCPI command set is shown in Figure A-1 of Appendix A. MG369XA SCPI PM...
Unit suffixes are not required for data parameters, provided the values are scaled for the global default units. The MG369XA SCPI default units are: Hz (Hertz) for frequency related parameters and S (sec- onds) for time related parameters. For example, the command below sets the MG369XA output fre- quency to 3 GHz.
It must not be used be- tween keywords, or inside keywords XXX indicates a root command name For further information about SCPI command syn- tax and style, refer to the Standard Commands for Programmable Instruments (SCPI) 1993.0 docu- ment. MG369XA SCPI PM...
<nv> ::=SCPI numeric value: <NRf>|MIN|MAX|UP |DOWN|DEF|NAN|INF|NINF or other types <char> ::=<CHARACTER PROGRAM DATA> Examples: CW, FIXed, UP, and DOWN <string> ::=<STRING PROGRAM DATA> ASCII characters surrounded by double quotes, example: “OFF” <block> ::=IEEE-488.2 block data format <NA> ::=Not Applicable MG369XA SCPI PM...
The following is an example of a multiple command statement that uses two seperate commands in a single statement. Note the semicolon used to join the commands. (Also note the leading colon used im- mediately after the semicolon.) :FREQuency:STARt 10E6;:FREQuency:STOP 20E9 2-10 MG369XA SCPI PM...
LANGUAGE SELECTION operated using one of two external interface languages—Native or SCPI. (The Native interface language uses a set of MG369XA GPIB product specific commands to control the instrument.) Before pro- gramming with SCPI commands it is necessary to select SCPI as the external interface language.
PROGRAMMING WITH STATUS SYSTEM SCPI COMMANDS PROGRAMMING STATUS SYSTEM The MG369XA status system (shown in Figure 2-1) consists of the fol- PROGRAMMING lowing SCPI-defined status-reporting structures: The Instrument Summary Status Byte Group The Standard Event Status Group The Operational Status Group...
Page 31
Bit Weight & Not Used EVENT Self Test In Progress Not Used 1024 Not Used 2048 Not Used 4096 Not Used 8192 Not Used 16384 Not Used (= 0) 32768 b0-b15 Figure 2-1. MG369XA Status-Reporting Structure MG369XA SCPI PM 2-13...
The command :STATus:PRESet sets the Operational Status Enable register and the Questionable Status Enable register to all 0’s. Status Group The state of certain MG369XA hardware and opera- Reporting tional events and conditions can be determined by programming the status system. As shown in...
Page 33
The Summary Status Byte group, consisting of the Summary Status Byte Enable register and the Sum- mary Status Byte, is used to determine the general nature of a MG369XA event or condition. The bits in the Summary Status Byte provide the following in- formation: Description Not Used.
Page 34
Summary Status Byte. The bits in the Standard Event Status register provide the following informa- tion: Description Set to indicate that all pending MG369XA operations were completed following execution of the “*OPC” command. Not Used. The bit is always set to 0.
Page 35
Set to indicate that a sweep is in progress. Set to indicate that the MG369XA is measuring. Set to indicate that the MG369XA is in an armed “wait for trigger” state. Not Used. The bit is always set to 0.
Page 36
Set to indicate an analog sweep phase-lock error. Set to indicate a failure of the crystal oven. 12-14 Not Used. The bits are always set to 0. Always 0. The use of Bit 15 is not allowed by SCPI. 2-18 MG369XA SCPI PM...
TRIGGER SYSTEM SCPI COMMANDS PROGRAMMING TRIGGER SYSTEM The MG369XA trigger system is used to synchronize signal generator PROGRAMMING actions with software trigger commands. The MG369XA follows the layered trigger model used in SCPI instruments. The following para- graphs describe operation and programming of the signal generator trigger system.
Page 38
This causes continuous generation of the selected sweep. ABORt The :ABORt command resets any sweep in progress and immediately returns the trigger system to the idle state. Unlike *RST, :ABORt does not change the settings programmed by other commands. 2-20 MG369XA SCPI PM...
Page 39
Chapter 3 Programming Commands Table of Contents INTRODUCTION ....3-3 COMMON COMMANDS ....3-3 IEEE 488.2 Mandated Commands .
Chapter 3 Programming Commands INTRODUCTION This chapter contains information on all SCPI programming com- mands accepted and implemented by the Series MG369XA Synthesized Signal Generator. COMMON COMMANDS Common commands are used to control instrument status registers, status reporting, synchronization, data storage, and other common functions.
Page 41
The fields are: <Manu- facturer>, <Model>, <Serial #>, <Firmware revision level>; where the actual model number, serial num- ber, and firmware version of the MG369XA queried will be passed. *OPC (Operation Complete Command) Enables the Operation Complete bit in the Standard Event Status Register after all pending operations are complete.
For example, the command *TRG;*WAI permits synchronous sweep operation. It causes the MG369XA to start a sweep and wait until the sweep is complete before execut- ing the next command.
An example of the use of the command Where necessary, notes are included to provide additional infor- mation about the command and its usage An overall command tree for the MG369XA SCPI command set is shown in Figure A-1 of Appendix A. MG369XA SCPI PM...
None Description: Forces the trigger system to the idle state. Any sweep in progress is aborted as soon as possible. Query Form: None Example: :ABORt Sets MG369XA trigger system to idle state. Associated commands: :TRIGger and :INITiate MG369XA SCPI PM...
Query Form :CONTrol:BLANking:POLarity? :CONTrol:BLANking:POLarity sp INVerted Examples: Set a –5V level for the rear panel blanking signal out- put during sweep retrace. :CONTrol:BLANking:POLarity? Requests the currently programmed level for the rear panel blanking signal output during sweep retrace. MG369XA SCPI PM...
Page 46
NORMal sets the relay contacts to be normally open. INVerted sets the relay contacts to be normally closed. Query Form: :CONTrol:PENLift:POLarity? :CONTrol:PENLift:POLarity sp INVerted Examples: Set the penlift relay contacts to be normally closed. :CONTrol:PENLift:POLarity? Requests the currently programmed state of the penlift relay contacts. MG369XA SCPI PM...
Page 47
STOP sets the sweep to rest at the top of the sweep ramp. Query Form: :CONTrol:RAMP:REST? :CONTrol:RAMP:REST sp STOP Examples: Set the sweep to rest at the top of the sweep ramp. :CONTrol:RAMP:REST? Requests the currently programmed rest point for the sweep ramp. 3-10 MG369XA SCPI PM...
Page 48
Turns the rear panel HORIZ OUT sweep ramp signal on/off. Query Form: :CONTrol:RAMP[:STATe]? :CONTrol:RAMP:STATe sp ON Examples: Turns the rear panel HORIZ OUT sweep ramp signal on. :CONTrol:RAMP:STATe? Requests the currently programmed state of the HORIZ OUT sweep ramp signal. MG369XA SCPI PM 3-11...
Page 49
May not be changed while the unit is sweeping. Query Form: :CONTrol:RAMP:TIME? :CONTrol:RAMP:TIME sp 100 ms Examples: Sets the rear panel HORIZ OUT sweep ramp signal time to 100 ms. :CONTrol:RAMP:TIME? Requests the currently programmed time for the HORIZ OUT sweep ramp signal. 3-12 MG369XA SCPI PM...
: S N U M ? DIAGNOSTIC The :DIAGnostic subsystem consists of the query command described SUBSYSTEM below: KEYWORD :DIAGnostic :SNUM? :DIAGnostic :SNUM? Description: Allows the serial number of the instrument to be read. Query Form :DIAGnostic:SNUM? MG369XA SCPI PM 3-13...
Query Form :DISPlay:TEXT:STATe? :DISPlay:TEXT:STATe sp OFF Example: Turns off the display of the frequency, power level, and modulation parameters on the MG369XA front panel data display (Secure mode of operation). 3-14 MG369XA SCPI PM...
COMMANDS [:IMMediate] INITIATE SUBSYSTEM The :INITiate subsystem controls the state of the MG369XA trigger sys- tem. The subsystem commands and parameters are described below. The :INITiate commands, along with the :ABORt and :TRIGger com- mands, comprise the Trigger Group of commands.
Page 53
:CONTinuous Parameters: ON | OFF | 1 | 0 Type: <boolean> Default: Description: Continuously rearms the MG369XA trigger system af- ter completion of a triggered sweep. Query Form: :INITiate:CONTinuous? :INITiate:CONTinuous sp ON Examples: Sets MG369XA trigger to continuously armed state.
COMMANDS [:STATe] OUTPUT SUBSYSTEM The :OUTPut subsystem controls the MG369XA RF output power. The commands are used to turn the RF output power on/off and to set the state of the RF output power during frequency changes in CW and step sweep modes and during sweep retrace.
Page 55
ON | OFF | 1 | 0 Type: <boolean> Default: Description: ON causes the MG369XA RF output to be turned off (blanked) during frequency changes in CW or step sweep mode. OFF leaves RF output turned on (unblanked). Query Form...
Page 56
Parameters: ON | OFF | 1 | 0 Type: <boolean> Default: Description: ON causes the MG369XA RF output to be turned off during sweep retrace. OFF leaves RF output turned Query Form :OUTPut:PROTection:RETRace? :OUTPut:PROTection:RETRace sp ON Example: Turns the MG369XA RF output off during sweep re- trace.
Page 57
PROGRAMMING :OUTPut SUBSYSTEM COMMANDS :IMPedance? :OUTPut :IMPedance? Description: Queries the MG369XA RF output impedance. The im- pedance is nominally 50 ohms and is not settable. Query Form :OUTPut:IMPedance? 3-20 MG369XA SCPI PM...
SOURCE SUBSYSTEM The [:SOURce] subsystem provides control of a majority of the MG369XA functions. The subsystem commands are used to control the frequency, power level, and modulation of the RF output signal. The [:SOURce] subsystem commands and parameters are listed in the ta- ble contained on this and the following three pages.
Page 61
<numeric_value> Default: (See Command) [:FREQuency] :STEP <numeric_value> Default: (See Command) :POWer :STEP <numeric_value> Default: (See Command) :SPACing LINear | LOGarithmic Default: LINear :TIME <numeric_value> Default: (See Command) :LLIMint <numeric_value> Default: 2 ms :AUTO <boolean> Default: ON 3-24 MG369XA SCPI PM...
Page 62
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :AM:LOGSens The [:SOURce]:AM command and its subcommands comprise the AM Subsystem within the :SOURce subsystem. These commands control the Amplitude Modulation function of the MG369XA. [:SOURce] :LOGSens Parameters: sensitivity (in dB/V) Type: <NRf> Range: 0 to 25 dB/V...
Page 63
Query Form: [:SOURce]:AM:SENSitivity? [:SOURce]:AM:SENSitivity sp 80 Pct/V Example: Set the AM sensitivity for the external AM Linear mode to 80 %/V. [:SOURce]:AM:SENSitivity? Requests the currently programmed AM sensitivity value for the external AM Linear mode. 3-26 MG369XA SCPI PM...
Page 64
AM Log mode. Query Form: [:SOURce]:AM:LOGDepth? [:SOURce]:AM:LOGDepth sp 20 dB Example: Set the modulation depth in the internal AM Log mode to 20 dB. [:SOURce]:AM:LOGDepth? Requests the currently programmed modulation depth value for the internal AM Log mode. MG369XA SCPI PM 3-27...
Page 65
Triangle wave UNIForm Uniform noise Query Form: [:SOURce]:AM:INTernal:WAVE? [:SOURce]:AM:INTernal:WAVE sp TRIangle Example: Selects a triangle wave as the modulating waveform for the internal AM function. [:SOURce]:AM:INTernal:WAVE? Requests the currently selected modulating waveform for the internal AM function. 3-28 MG369XA SCPI PM...
Page 66
[:SOURce]:AM:INTernal:FREQuency? [:SOURce]:AM:INTernal:FREQuency sp 50 kHz Example: Sets the frequency of the modulating waveform for the internal AM function to 50 kHz. [:SOURce]:AM:INTernal:FREQuency? Requests the currently programmed modulating wave- form frequency value for the internal AM function. MG369XA SCPI PM 3-29...
Page 67
AM Linear mode. Query Form: [:SOURce]:AM:DEPTh? [:SOURce]:AM:DEPTh sp 80 Pct Example: Set the modulation depth in the internal AM Linear mode to 80%. [:SOURce]:AM:DEPTh? Requests the currently programmed modulation depth value for the internal AM Linear mode. 3-30 MG369XA SCPI PM...
Page 68
EXTernal2 Rear panel AM IN connector Query Form [:SOURce]:AM:EXTernal:SOURce? [:SOURce]:AM:SOURce sp EXTernal2 Example: Selects the rear panel AM IN connector as the active AM modulating signal source. [:SOURce]:AM:SOURce? Requests the currently programmed AM modulating signal source. MG369XA SCPI PM 3-31...
Page 69
:AM:STATe [:SOURce] :STATe Parameters: ON | OFF | 1 | 0 Type: <boolean> Default: Description: Enable/disable amplitude modulation of MG369XA RF output signal. Query Form [:SOURce]:AM:STATe? [:SOURce]:AM:STATe sp ON Example: Turns amplitude modulation on. [:SOURce]:AM:STATe? Requests currently programmed amplitude modula- tion state (on/off).
Page 70
[:SOURce] :TYPE Parameters: LINear | LOGarithmic Type: <char> Default: LINear Description: Selects the AM operating mode. Query Form [:SOURce]:AM:TYPE? [:SOURce]:AM:TYPE sp LOGarithmic Example: Selects the AM Log mode. [:SOURce]:AM:TYPE? Requests the currently programmed AM operating mode. MG369XA SCPI PM 3-33...
Page 71
The [:SOURce]:CORRection command and its subcommands comprise the Correction Subsystem within the :SOURce subsystem. These com- mands are used to select and apply level flatness correction to the MG369XA RF output. (Refer to “Leveling Operations” in Chapter 3 of the MG369XA Operation Manual.) [:SOURce]...
Page 72
NONE | USER1 | USER2 | USER3 | USER4 | USER5 Type: <char> Default: NONE Description: Selects the user level flatness correction power-offset table to be applied to the MG369XA output by the command [:SOURce]:CORRection:STATe sp ON. Query Form [:SOURce]:CORRection:CSET:SELect? [:SOURce]:CORRection:CSET:SELect sp Example: USER3 Selects user level flatness correction power-offset ta- ble #3.
Page 73
[:SOURce] SUBSYSTEM COMMANDS :FM:INTernal:WAVE The [:SOURce]:FM command and its subcommands comprise the FM Subsystem within the :SOURce subsystem. These commands control the Frequency Modulation function of the MG369XA. [:SOURce] :INTernal :WAVE Parameters: SINE | GAUSsian | RDOWn | RUP | SQUare |...
Page 74
[:SOURce]:FM:INTernal:FREQuency? [:SOURce]:FM:INTernal:FREQuency sp 50 kHz Example: Sets the frequency of the modulating waveform for the internal FM function to 50 kHz. [:SOURce]:FM:INTernal:FREQuency? Requests the currently programmed modulating wave- form frequency value for the internal FM function. MG369XA SCPI PM 3-37...
Page 75
[:SOURce]:FM:DEViation sp 10 MHz Example: Set the modulation deviation of the FM signal for the internal FM function to 10 MHz. [:SOURce]:FM:DEViation? Requests the currently programmed modulation devia- tion of the FM signal for the internal FM function. 3-38 MG369XA SCPI PM...
Page 76
Set the synthesis mode used to generate the FM signal to Locked Narrow FM. [:SOURce]:FM:MODE? Requests the currently programmed synthesis mode used to generate the FM signal. NOTES: UNLocked FM synthesis mode can be set for wide or narrow mode of operation. (See [:SOURce]:FM:BWIDth) MG369XA SCPI PM 3-39...
Page 77
±10 MHz for DC to 8 MHz rates. Query Form [:SOURce]:FM:BWIDth? [:SOURce]:FM:BWIDth sp MAX Example: Set the Unlocked FM synthesis mode to Wide mode of operation. [:SOURce]:FM:BWIDth? Requests the currently programmed Unlocked FM syn- thesis mode of operation (narrow or wide). 3-40 MG369XA SCPI PM...
Page 78
Sets the FM sensitivity for the external FM function. Query Form [:SOURce]:FM:SENSitivity? [:SOURce]:FM:SENSitivity sp 20 MHz/V Example: Set the FM sensitivity for the external FM function to 20 MHz/Volt. [:SOURce]:FM:SENSitivity? Requests the currently programmed FM sensitivity for the external FM function. MG369XA SCPI PM 3-41...
Page 79
Rear panel FM IN connector Query Form [:SOURce]:FM:SOURce? [:SOURce]:FM:SOURce sp EXTernal2 Example: Selects the rear panel FM IN connector as the active ex- ternal FM modulating signal source. [:SOURce]:FM:SOURce? Requests the currently programmed FM modulating signal source. 3-42 MG369XA SCPI PM...
Page 80
[:SOURce] :STATe Parameters: ON | OFF | 1 | 0 Type: <boolean> Default: Description: Enable/disable frequency modulation of MG369XA RF output signal. Query Form [:SOURce]:FM:STATe? [:SOURce]:FM:STATe sp ON Example: Turns frequency modulation on. [:SOURce]:FM:STATe? Requests the currently programmed frequency modula- tion state (on/off).
Page 81
MIN £ frequency ³ MAX; values for the MINimum and MAXimum frequencies for each MG369XA model are listed in the table on the fol- lowing page. The query [:SOURce]:FREQuency:CW? sp MAX will return the upper frequency to which the particular model MG369XA may be pro- grammed.
Page 82
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :FREQuency[:CW |:FIXed] Model MG369XA Minimum and Maximum Frequencies Model Minimum* Maximum MG3691A 10 MHz 8.4 GHz MG3692A 10 MHz 20 GHz MG3693A 10 MHz 30 GHz MG3694A 10 MHz 40 GHz MG3695A 10 MHz 50 GHz...
Page 83
For MG369XAs equipped with Option 11, the minimum value for fre- quency step increment is 0.1 Hz. (The frequency resolution for stan- dard models is 1.0 kHz; for models with Option 11 it is 0.1 Hz.) 3-46 MG369XA SCPI PM...
Page 84
Default: (MIN + MAX) / 2 Description: Sets the MG369XA RF output center frequency to the value entered. :CENTER and :SPAN frequencies are coupled values. Entering the value for one will cause the other to be recalculated. (See notes under...
Page 85
In LIST mode, frequency is determined by programmed values for :LIST<n>:FREQuency, where LIST<n> = LIST[1], LIST2, LIST3, or LIST4. :LIST and :LIST1 may be used interchangeably. Setting ALSW will cause the MG369XA to do alternate sweeping when properly triggered. Setting FIXed will return CW upon query.
Page 86
Requests the current value for SWEep[1] sweep span. NOTES: :SPAN, :CENTer, :STARt, and :STOP are coupled values. Entering the value for :SPAN causes the values for :STARt and :STOP to be recalcu- lated. At *RST, :SPAN = Fmax – Fmin MG369XA SCPI PM 3-49...
Page 87
[:SOURce] :FREQuency :SPAN :FULL Parameters: None Description: Sets frequency span for SWEep[1] to (MAX – MIN) (see notes under [:SOURce]:FREQuency:CW | FIXed). Query Form: None Example: [:SOURce]:FREQuency:SPAN:FULL Set the SWEep[1] frequency span to its maximum value. 3-50 MG369XA SCPI PM...
Page 88
Requests the current value of the sweep span for the al- ternate sweep. NOTES: :SPAN, :CENTer, :STARt, and :STOP are coupled values. Entering the value for :SPAN causes the values for :STARt and :STOP to be recalcu- lated. At *RST, :SPAN = Fmax – Fmin MG369XA SCPI PM 3-51...
Page 89
None Description: Sets frequency span for the alternate sweep to (MAX – MIN) (see notes under [:SOURce]:FREQuency:CW | FIXed). Query Form: None Example: [:SOURce]:FREQuency:SPAN:FULL Set the frequency span for the alternate sweep to its maximum value. 3-52 MG369XA SCPI PM...
Page 90
NOTES: Stepped Sweep Start Range = MIN to MAX, where: MAX = MAX – 2 ´ minimum frequency step size Analog Sweep Start Range = MIN to MAX, where; MAX = MAX – minimum analog span MG369XA SCPI PM 3-53...
Page 91
NOTES: Stepped Sweep Start Range = MIN to MAX, where: MAX = MAX – 2 ´ minimum frequency step size Analog Sweep Start Range = MIN to MAX, where; MAX = MAX – minimum analog span 3-54 MG369XA SCPI PM...
Page 92
NOTES: Stepped Sweep Stop Range = MIN to MAX, where: MIN = MIN + 2 ´ minimum frequency step size Analog Sweep Stop Range = MIN to MAX, where; MIN = MIN + minimum analog span MG369XA SCPI PM 3-55...
Page 93
NOTES: Stepped Sweep Stop Range = MIN to MAX, where: MIN = MIN + 2 ´ minimum frequency step size Analog Sweep Stop Range = MIN to MAX, where; MIN = MIN + minimum analog span 3-56 MG369XA SCPI PM...
Page 94
Set the frequency scaling reference multiplier value to [:SOURce]:FREQuency:MULTiplier? Requests the current value for the frequency scaling reference multiplier. NOTES: The coupling equation is: Entered/Displayed Frequency = (Hardware Frequency x Multiplier) At *RST, the value is set to 1 MG369XA SCPI PM 3-57...
Page 95
LIST2, LIST3, and LIST4 are stored in volatile RAM and all settings are lost when power to the MG369XA is turned off. At power up, these lists are set to their default state of 2000 index entries of 5 GHz at 0 dBm.
Page 96
[:SOURce]:LIST3:FREQuency? Requests the frequency set at list 3 index 1235. NOTES: MIN £ frequency ³ MAX; values for the MINimum and MAXimum fre- quencies for each MG369XA model are listed in the table on page 3-49. MG369XA SCPI PM 3-59...
Page 97
(1 £ n £ 4 = selected list) :LIST<n> :FREQuency :POINts? Parameters Returned: number of frequency points Type: <NR1> Description: Querys the number of frequency points in the selected list. The number of points is 2000 and is not settable. Query Form: [:SOURce]:LIST<n>:FREQuency:POINts? 3-60 MG369XA SCPI PM...
Page 98
Requests the power level set at list 3 index 1235. NOTES: MIN £ power level ³ MAX; values for MINimum and MAXimum power levels for each MG369XA model are listed in the table on page 3-85. MG369XA SCPI PM 3-61...
Page 99
:POINts? Parameters Returned: number of power level points Type: <NR1> Description: Querys the number of power level points in the se- lected list. The number of points is 2000 and is not settable. Query Form: [:SOURce]:LIST<n>:POWer:POINts? 3-62 MG369XA SCPI PM...
Page 100
Query Form: [:SOURce]:LIST<n>:DWELl? [:SOURce]:LIST2:DWELl sp 40 ms Examples: Set dwell time for each step in a sweep of list 2 to 40 ms. [:SOURce]:LIST3:DWELl? Requests the currently programmed value for list 3 sweep step dwell time. MG369XA SCPI PM 3-63...
Page 101
Query Form: [:SOURce]:LIST<n>:STARt? [:SOURce]:LIST2:STARt sp 85 Examples: Set the list start index for a sweep of list 2 to 85. [:SOURce]:LIST3:STARt? Requests the currently programmed value for the list start index for a sweep of list 3. 3-64 MG369XA SCPI PM...
Page 102
Query Form: [:SOURce]:LIST<n>:STOP? [:SOURce]:LIST2:STOP sp 1035 Examples: Set the list stop index for a sweep of list 2 to 1035. [:SOURce]:LIST3:STOP? Requests the currently programmed value for the list stop index for a sweep of list 3. MG369XA SCPI PM 3-65...
Page 103
2. NOTES: During the initial sweep of the active list, the MG369XA performs cal- culations to set the frequencies and power levels. This causes the ini- tial list sweep to take longer than each subsequent sweep. The com- mand, [:SOURce]:LIST<n>:CALCulate (where n = the active list),...
Page 104
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :MARKer<n>:AOFF The [:SOURce]:MARKer command and its subcommands comprise the Marker Subsystem within the :SOURce subsystem. These commands control the Frequency Marker function of the MG369XA. [:SOURce] :MARKer<n> (see note) :AOFF Parameters: None Description: Turns all markers off. This command is an event, therefore there is no data parameter and no query form.
Page 105
When MG369XA is powered up, or when *RST command is issued, markers 1 – 10 are set to their default frequency values as follows: MARKER: FREQ (GHz): Marker 10 accesses what is displayed as Marker 0 on the MG369XA front panel data display. 3-68 MG369XA SCPI PM...
Page 106
ON | OFF | 1 | 0 Type: <boolean> Default: Description: Turns selected marker on/off (tags/untags the selected marker). Query Form: [:SOURce]:MARKer<n>:STATe? [:SOURce]:MARKer4:STATe sp ON Examples: Turn marker #4 on. [:SOURce]:MARKer7:STATe? Requests current state of marker #7. MG369XA SCPI PM 3-69...
Page 107
:SWEep[1] mode of operation (refer to :FREQuency: MODE command). For further informa- tion about frequency markers, refer to Frequency Markers in Chapter 3 of the Series MG369XA Opera- tion Manual. Query Form: [:SOURce]:MARKer:INTensity?
Page 108
Turns video markers on/off. Video markers are avail- able in both analog and step sweep frequency mode. For further information about frequency markers, re- fer to Frequency Markers in Chapter 3 of the Series MG369XA Operation Manual. Query Form: [:SOURce]:MARKer:VIDeo? [:SOURce]:MARKer:VIDeo sp ON Examples: Turns on video markers.
Page 109
This command is active only in the video marker mode (see :MARKer :VIDeo command). Query Form: [:SOURce]:MARKer:POLarity? [:SOURce]:MARKer:POLarity sp NEGative Examples: Specifies –5V pulse output for each video marker. [:SOURce]:MARKer:POLarity? Requests current polarity of the pulse output for each video marker. 3-72 MG369XA SCPI PM...
Page 110
Selects the phase modulation wide operating mode. [:SOURce]:PM:BWIDth? Requests the currently programmed phase modulation operating mode. NOTE: If the phase modulation function is not installed in the instrument, the PM command and its subcommands produce syntax errors. MG369XA SCPI PM 3-73...
Page 111
[:SOURce]:PM:DEViation? Requests the currently programmed modulation devia- tion value for the internal phase modulation function. NOTE: If the phase modulation function is not installed in the instrument, the PM command and its subcommands produce syntax errors. 3-74 MG369XA SCPI PM...
Page 112
[:SOURce]:PM:INTernal:WAVE? Requests the currently selected modulating waveform for the internal phase modulation function. NOTE: If the phase modulation function is not installed in the instrument, the PM command and its subcommands produce syntax errors. MG369XA SCPI PM 3-75...
Page 113
Requests the currently programmed modulating wave- form frequency value for the internal phase modula- tion function. NOTE: If the phase modulation function is not installed in the instrument, the PM command and its subcommands produce syntax errors. 3-76 MG369XA SCPI PM...
Page 114
1.25 radians/volt. [:SOURce]:PM:SENSitivity? Requests the currently programmed FM sensitivity for the the external phase modulation function. NOTE: If the phase modulation function is not installed in the instrument, the PM command and its subcommands produce syntax errors. MG369XA SCPI PM 3-77...
Page 115
FM modulating signal source. [:SOURce]:PM:SOURce? Requests the currently programmed FM modulating signal source. NOTE: If the phase modulation function is not installed in the instrument, the PM command and its subcommands produce syntax errors. 3-78 MG369XA SCPI PM...
Page 116
[:SOURce] :STATe Parameters: ON | OFF | 1 | 0 Type: <boolean> Default: Description: Enable/disable phase modulation of the MG369XA RF output signal. Query Form: [:SOURce]:PM:STATe? [:SOURce]:PM:STATe sp ON Example: Turns phase modulation on. [:SOURce]:PM:STATe? Requests the currently programmed phase modulation...
Page 117
NOTES: The MINimum and MAXimum RF output power levels that can be en- tered for each MG369XA model are listed in the table on the following page. Note that these power levels are the limits of what can be en- tered, but do not guarantee leveled operation.
Page 118
Not Available Notes: The power levels listed above represent the maximum and minimum front panel settings. Refer to the Series MG369XA Synthesized Signal Generators Operation Manual for instrument performance specifications. À units with a step attenuator (Option 2) and :POWer:ATTenuation:AUTO OFF Á...
Page 119
NOTES: For standard MG369XA models, a maximum step size up to 33 dB may be used (up to 149 dB for models with Option 2 step attenuator). For MG369XA models with Option 15, a maximum step size up to 25 dB can be used (up to 141 dB with Option 2 step attenuator).
Page 120
NOTES: The MINimum and MAXimum RF output power levels that can be en- tered for each MG369XA model are listed in the table on page 3-85. Note that these power levels are the limits of what can be entered, but do not guarantee leveled operation.
Page 121
Examples: Select external power meter output connected to the rear panel EXT ALC IN input as the feedback signal for the ALC. [:SOURce]?:POWer:ALC:SOURce? Requests the currently programmed source of the feed- back signal for the ALC. 3-84 MG369XA SCPI PM...
Page 122
Parameters UP and DOWN can be used to increase/decrease the step attenuator setting in 10 dB steps. MIN = 0 dB attenuation, MAX = 110 dB(or 90 dB) attenuation. If the MG369XA does not have a step attenuator installed, sending this command will result in –241,"Hardware missing;Attenuator" .
Page 123
0 dB or 10 dB. Query Form: [:SOURce]:POWer:ATTenuation:STEP [:INCRement]? Examples: [:SOURce]:POWer:ATTenuation:STEP :INCRement sp 10 Sets the step increment value to 10 dB. [:SOURce]:POWer:ATTenuation:STEP :INCRement? Requests the current step increment size for the step attenuator. 3-86 MG369XA SCPI PM...
Page 124
0. If this could possibly damage equipment, set :OUTput[:STATe] sp OFF before issuing this command. NOTES: In MG369XAs without a step attenuator, this command’s value is al- ways OFF. Attempting to set it ON results in the error message –241,"Hardware missing;Attenuator". MG369XA SCPI PM 3-87...
Page 125
Sets the offset value for the power level display offset function (see :POWer:DISPlay:OFFSet:STATe). Query Form: [:SOURce]:POWer:DISPlay:OFFSet? [:SOURce]:POWer:DISPlay:OFFSet sp 3 dB Examples: Sets the power level display offset value to +3 dB. [:SOURce]:POWer:DISPlay:OFFSet? Requests the current power level display offset value. 3-88 MG369XA SCPI PM...
Page 126
Query Form: [:SOURce]:POWer:DISPlay:OFFSet:STATe? Examples: [:SOURce]:POWer:DISPlay:OFFSet :STATe sp ON Turns on the power level display offset function. [:SOURce]:POWer:DISPlay:OFFSet:STATe? Requests the current state of the power level display offset function. MG369XA SCPI PM 3-89...
Page 127
Sets the value of the slope characteristic parameter for the ALC power slope function (refer to “Leveling Operations” in Chapter 3 of the MG369XA Operation Manual). This parameter is a relative number that de- fines the slope characteristic; a value of 128 produces a 0 dB/V slope.
Page 128
:SLOPe command (ALC power slope function). Query Form: [:SOURce]:POWer:SLOPe:STEP[:INCRement]? Examples: [:SOURce]:POWer:SLOPe:STEP :INCRement sp 5 Sets the step increment size to 5 for the ALC power slope function parameter. [:SOURce]:POWer:SLOPe:STEP:INCRement? Requests the current step increment size for the ALC power slope parameter. MG369XA SCPI PM 3-91...
Page 129
ON | OFF | 1 | 0 Type: <boolean> Default: Description: Turns ALC power slope function on/off (refer to “Lev- eling Operations” in Chapter 3 of the MG369XA Oper- ation Manual). Query Form: [:SOURce]:POWer:SLOPe:STATe? [:SOURce]:POWer:SLOPe:STATe sp ON Examples: Turns the ALC power slope function on.
Page 130
:PIVot Parameters: frequency (in Hz) Type: <NR1> Range: Frequency range of the MG369XA model Default: 2 GHz Description: Sets the frequency where the ALC power slope func- tion correction is zero (pivot point). The frequency range for this function is model dependent (see notes under [:SOURce]:FREQuency[:CW | :FIXed]).
Page 131
[:SOURce]:LIST<n> (see notes) Query Form: [:SOURce]:POWer:MODE? [:SOURce]:POWer:MODE sp CW Examples: Specifies that the MG369XA RF output power level is to be controlled by [:SOURce]:POWer:CW | FIXed commands. [:SOURce]:POWer:MODE? Requests the currently selected programming mode for RF output power level control.
Page 132
NOTES: The MINimum and MAXimum RF output power levels that can be en- tered for each MG369XA model are listed in the table on page 3-85. Note that these power levels are the limits of what can be entered, but do not guarantee leveled operation.
Page 133
(MIN + MAX) / 2. The MINimum and MAXimum RF output power levels that can be en- tered for each MG369XA model are listed in the table on page 3-85. Note that these power levels are the limits of what can be entered, but do not guarantee leveled operation.
Page 134
:POWer:SPAN:FULL [:SOURce] :POWer :SPAN :FULL Parameters: None Description: Sets the power sweep span to (MAX – MIN). See notes under :POWer:SPAN command. Query Form: None Example: [:SOURce]:POWer:SPAN:FULL Set the power sweep span to its maximum value. MG369XA SCPI PM 3-97...
Page 135
Query Form: [:SOURce]:POWer:STARt? [:SOURce]:POWer:STARt sp –10 dBm Examples: Set the start RF output power level for the power sweep to –10 dBm. [:SOURce]:POWer:STARt? Requests the currently programmed start RF output power level for the power sweep. 3-98 MG369XA SCPI PM...
Page 136
Query Form: [:SOURce]:POWer:STOP? [:SOURce]:POWer:STOP sp 10 dBm Examples: Set the stop RF output power level for the power sweep to +10 dBm. [:SOURce]:POWer:STOP? Requests the currently programmed stop RF output power level for the power sweep. MG369XA SCPI PM 3-99...
Page 137
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :PULM:INTernal:FREQuency The [:SOURce]:PULM command and its subcommands make up the Pulse Modulation Subsystem within the :SOURce subsystem. These commands control the pulse modulation function of the MG369XA. [:SOURce] :PULM :INTernal :FREQuency Parameters: frequency (in Hz) Type: <NRf>...
Page 138
[:SOURce]:PULM:POLarity? [:SOURce]:PULM:POLarity sp INVerted Examples: Selects a negative true (TTL-low level) signal to turn the RF on during pulse modulation. [:SOURce]:PULM:POLarity? Requests the currently programmed signal polarity that will turn the RF on during pulse modulation. MG369XA SCPI PM 3-101...
Page 139
EXTernal2 selects the rear panel external pulse input Query Form: [:SOURce]:PULM:SOURce? [:SOURce]:PULM:SOURce sp EXTernal2 Examples: Selects the rear panel pulse input as the pulse modula- tion signal source. [:SOURce]:PULM:SOURce? Requests the currently programmed pulse modulation signal source. 3-102 MG369XA SCPI PM...
Page 140
:STATe Parameters: ON | OFF | 1 | 0 Type: <boolean> Default: Description: Turns the MG369XA pulse modulation function on/off. Query Form: [:SOURce]:PULM:STATe? [:SOURce]:PULM:STATe sp ON Examples: Turns on the MG369XA pulse modulation function. [:SOURce]:PULM:STATe? Requests the currently programmed state of the pulse modulation function.
Page 141
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :PULSe:COUNt The [:SOURce]:PULSe command and its subcommands make up the Pulse Subsystem within the :SOURce subsystem. These commands control the internal pulse generation function of the MG369XA. [:SOURce] :PULSe :COUNt Parameters: number of pulses Type: < NR1>...
Page 142
0 to 1.6s Pulse 2 100 ns to 419 ms 300 ns to 1.6s Pulse 3 100 ns to 419 ms 300 ns to 1.6s Pulse 4 100 ns to 419 ms 300 ns to 1.6s MG369XA SCPI PM 3-105...
Page 143
125 ns longer than the sum of the pulse widths and delays; at a 10 MHz pulse generator clock rate, the pulse period must be 500 ns longer than the sum of the pulse widths and delays . 3-106 MG369XA SCPI PM...
Page 144
[:SOURce]:PULM:SOURce sp INTernal1 | INTernal2 is used to select the internal pulse generator and its clock rate. Setting INTernal1 selects the internal pulse generator operating at a 40 MHz clock rate; setting INTernal2 selects the internal pulse generator operating at a 10 MHz clock rate. MG369XA SCPI PM 3-107...
Page 145
This mode is only available when one of the following triggering modes is specified: Delayed (:TRIGger:SEQuence3:TYPE sp DELayed) or Triggered w/delay (:TRIGger:SEQuence3:TYPE sp TRGDelay). If the step delay parameters that are set result in a fractional number of increments, then the last (fractional) one is not taken. 3-108 MG369XA SCPI PM...
Page 146
[:SOURce]:PULM:SOURce sp INTernal1 | INTernal2 is used to select the internal pulse generator and its clock rate. Setting INTernal1 selects the internal pulse generator operating at a 40 MHz clock rate; setting INTernal2 selects the internal pulse generator operating at a 10 MHz clock rate. MG369XA SCPI PM 3-109...
Page 147
[:SOURce]:PULM:SOURce sp INTernal1 | INTernal2 is used to select the internal pulse generator and its clock rate. Setting INTernal1 selects the internal pulse generator operating at a 40 MHz clock rate; setting INTernal2 selects the internal pulse generator operating at a 10 MHz clock rate. 3-110 MG369XA SCPI PM...
Page 148
[:SOURce]:PULM:SOURce sp INTernal1 | INTernal2 is used to select the internal pulse generator and its clock rate. Setting INTernal1 selects the internal pulse generator operating at a 40 MHz clock rate; setting INTernal2 selects the internal pulse generator operating at a 10 MHz clock rate. MG369XA SCPI PM 3-111...
Page 149
Sets the dwell time for each step used with the :PULSe:STEP command to the value entered. Query Form: [:SOURce]:PULSe:STEP:TIME? [:SOURce]:PULSe:STEP:TIME sp 100 MS Examples: Set the dwell-time-per-step for the stepped delay mode to 100 ms. [:SOURce]:PULSe:STEP:TIME? Requests the currently programmed stepped delay mode dwell-time-per-step. 3-112 MG369XA SCPI PM...
Page 150
[:SOURce] SUBSYSTEM COMMANDS :SCAN:STATe The [:SOURce]:SCAN command and its subcommand comprise the Scan Modulation Subsystem within the :SOURce subsystem. These commands control the scan modulation function of the MG369XA. [:SOURce] :SCAN :STATe Parameters: ON | OFF | 1 | 0 Type: <boolean>...
Page 151
The [:SOURce]:SWEep command and its subcommands comprise the Sweep Subsystem within the :SOURce subsystem. These commands control the standard stepped and analog frequency sweep functions and the step power level sweep function of the MG369XA. [:SOURce] (1 £ n £ 2; see note) :SWEep<n>...
Page 152
Set dwell time for each step in the sweep to 100 milli- seconds. [:SOURce]:SWEep:DWELl? Requests the currently programmed value for sweep step dwell time. NOTES: The value entered for dwell time cannot be less than :TIME/:POINts. When encountered, the command :SWEep:DWELl <param> command sets :SWEep:DWELl:AUTO to off. MG369XA SCPI PM 3-115...
Page 153
If :SWEep:GENerator ANALog, then :SWEep:TIME = the larger of :SWEep:TIME:LLIMit or 30 ms SWEep:DWELl is unaffected by changes in :TIME or:POINts If :SWEep:GENerator STEPped, then :SWEep:DWELl = :DWELl Min (the larger of .001 or :TIME:LLIMit/:POINts) :SWEep:TIME = :DWELl Min ´ :POINts 3-116 MG369XA SCPI PM...
Page 154
Requests the currently programmed :SWEep:DWELl setting (on/off). NOTES: :DWELl = (:TIME/:POINts – internal settling time) :DWELl, :SPAN, :TIME, :STEP, and :POINts are all interrelated. Enter- ing too large a value for :DWELl may invalidate the setting for :TIME. MG369XA SCPI PM 3-117...
Page 155
SWEep[1] (frequency sweep) mode only. Query Form: [:SOURce]:SWEep:GENeration? [:SOURce]:SWEep:GENeration sp ANAlog Examples: Set SWEep[1] for analog frequency sweep. [:SOURce]:SWEep:GENeration? Requests the currently programmed frequency sweep mode. NOTES: SWEep2 (power level sweeps) are always stepped sweeps. 3-118 MG369XA SCPI PM...
Page 156
Alternate X Sweep Fixed F1-F2 Trigger n F3-F4 Trigger n+1 ALSW ALSW ANAL Alternate Analog Sweep Alternate values F1-F2 Trigger n F3-F4 Trigger n+1 ALSW ALSW STEP Alternate Stepped Sweep Alternate values F1-F2 Trigger n F3-F4 Trigger n+1 MG369XA SCPI PM 3-119...
Page 157
The default values for SWEep2 points and time are set up to give the maximum number of points at the minimum step size for the particu- lar MG369XA model. The default values are dependent on the instru- ment’s available power range.
Page 158
The maximum frequency sweep step size is equal to the maximum fre- quency span for the particular MG369XA model/(minimum points – 1). For the model MG3692A with Option 11 (0.1 Hz Frequency Resolu- tion) and Option 4 or Option 5, the minimum step size is 0.1 Hz and the maximum step size is 19,990,000,000 Hz.
Page 159
:SWEep:POINts command. For standard MG369XA models, a maximum step size up to 33 dB may be used (up to 149 dB for models with Option 2 step attenuator). For MG369XA models with Option 15, a maximum step size up to 27 dB can be used (up to 141 dB with Option 2 step attenuator).
Page 160
In LOGarithmic stepped sweep mode, step size increases logarith- mically with frequency and is determined by a logarithmic curve fitted between the sweep start and stop frequencies. The number of steps is set using the command :SWEep:POINts. MG369XA SCPI PM 3-123...
Page 161
The default values for SWEep2 points and time are set up to give the maximum number of points at the minimum step size for the particu- lar MG369XA model. The default values are dependent on the instru- ment’s available power range.
Page 162
When :SWEep<n>:TIME:AUTO is set ON, the internally computed sweep time will not be smaller than the sweep time set with the :SWEep<n>:Time:LLIMit command :SWEep2:TIME:LLIMit will be set to the same value as :SWEep:TIME :LLImit and vice versa. MG369XA SCPI PM 3-125...
Page 163
Specifies that the SWEep[1] sweep time is to be calcu- lated internally. [:SOURce]:SWEep:TIME:AUTO? Requests the currently programmed mode for sweep time determination. NOTES: When the MG369XA is powered up, or when *RST command is issued, :SWEep:TIME:AUTO is set to ON. 3-126 MG369XA SCPI PM...
PROGRAMMING :STATus SUBSYSTEM COMMANDS :OPERation[:EVENt]? 3-11 STATUS SUBSYSTEM The :STATus subsystem controls the SCPI-defined status-reporting stuctures of the MG369XA. The subsystem commands and parameters are described below. KEYWORD PARAMETER FORM NOTES :STATus :OPERation [:EVENt]? :CONDition? :ENABle <numeric_value> Default: 0 :PTRansition <numeric_value>...
Page 165
Parameters Returned: condition register contents Type: <NR1> Description: Returns the the contents of the MG369XA Opera- tional Condition register. When executed, this com- mand does not clear the Operational Condition regis- ter. Example: :STATus:OPERation:CONDition? Requests that the contents of the the Operational Condition register be returned.
Page 166
Query Form :STATus:OPERation:ENABle? :STATus:OPERation:ENABle sp 8 Example: Set the MG369XA Operational Enable register to a value of 8. (This will unmask the Sweeping status bit). Example: :STATus:OPERation:ENABle? Requests the current value of the MG369XA Opera- tional Enable register.
Page 167
Operational Condition register to a value of 512. When the filter detects a False to True transition in bit 9 of the Operational Condition register, indicating that MG369XA self-test is in progress, bit 9 of the Opera- tional Event register will be set to “1”. Example:...
Page 168
Operational Condition register to a value of 8. When the filter detects a True to False transition in bit 3 of the Operational Condition register, indicating that the MG369XA is finished sweeping, bit 3 of the Opera- tional Event register will be set to “1”. Example:...
Page 169
Sets the Questionable Enable register to all 0’s. Sets the Questionable Positive Transition Filter to all 1’s. Sets the Questionable Negative Transition Filter to all 0’s. Query Form None Example: :STATus:PRESet Configure the status reporting structures for device- dependent event reporting. 3-132 MG369XA SCPI PM...
Page 170
Parameters Returned: event register contents Type: <NR1> Description: Returns the the contents of the MG369XA Question- able Event register. When executed, this command clears the Questionable Event register. Example: :STATus:QUEStionable:EVENt? Requests that the contents of the the Questionable Event register be returned.
Page 171
Parameters Returned: condition register contents Type: <NR1> Description: Returns the the contents of the MG369XA Question- able Condition register. When executed, this com- mand does not clear the Questionable Condition regis- ter. Example: :STATus:QUEStionable:CONDition? Requests that the contents of the the Questionable Con- dition register be returned.
Page 172
Query Form :STATus:QUEStionable:ENABle? :STATus:QUEStionable:ENABle sp 32 Example: Set the MG369XA Questionable Enable register to a value of 32. (This will unmask the Lock Error or RF Unlocked status bit). Example: :STATus:QUEStionable:ENABle? Requests the current value of the MG369XA Question- able Enable register.
Page 173
Questionable Condition register to a value of 512. When the filter detects a False to True transition in bit 9 of the Questionable Condition register, indicating that MG369XA self-test failed, bit 9 of the Question- able Event register will be set to “1”. Example:...
Page 174
:STATus:QUEStionable:NTRansition? :STATus:QUEStionable:NTRansition sp 8 Example: Sets the MG369XA Negative Transition Filter for the Questionable Condition register to a value of 8. When the filter detects a True to False transition in bit 3 of the Questionable Condition register, indicating that the RF is no longer unleveled, bit 3 of the Questionable Event register will be set to “1”.
Page 175
Returns and deletes the oldest uncleared error code and error description from the error queue. Optional device dependent information about the error event may also be included. See notes below. The error codes and error description information for the MG369XA are listed in Chapter 4. Example: :STATus:QUEue:NEXT? Requests that the oldest error code/error description be returned from the error queue.
3-12 SYSTEM SUBSYSTEM The :SYSTem subsystem commands are used to implement functions that are not related to MG369XA performance. These include error query, interface language selection, system preset, and version query. The subsystem commands and parameters are described below. KEYWORD...
Page 177
Parameters: “SCPI” | “NATIVE” | “TMSL” Type: <string> Default: Dependent upon the selection made at the MG369XA front panel Configure GPIB menu. Description: Selects the instrument’s external interface language. “TMSL” is an alias for “SCPI”. Entering either will re- turn “SCPI” when queried. The double quotes are re- quired and will be returned with the query reply.
Page 178
:PRESet Parameters: None This command is synonomous with *RST and is in- Description: cluded for programming compatibility with other in- struments. Query Form: None Example: :SYSTem:PRESet Sets all user programmable MG369XA parameters to their default values. MG369XA SCPI PM 3-141...
Page 179
Requests the SCPI version number that the instrument software complies with. NOTE: The query response shall have the form YYYY.V where the Ys repre- sent the year-version (i.e.1993) and the V represents the approved re- vision number for that year. 3-142 MG369XA SCPI PM...
TRIGGER SUBSYSTEM The :TRIGger subsystem commands are used to control the sweep trig- gering functions of the MG369XA. The subsystem commands and pa- rameters are described below. The :TRIGger command, along with the :ABORt and :INITiate commands, comprise the Trigger Group of com- mands.
Page 181
Requests the currently programmed sweep trigger source. NOTES: Only one trigger source can be specified at a time, and all others will be ignored. Sending :TRIGger:SOURce IMM;INITiate:CONTinuous ON places the se- lected sweep in auto trigger mode. 3-144 MG369XA SCPI PM...
Page 182
NOTES: :SEQuence3 is the trigger sequence for the internal pulse generation function of the MG369XA (see the [:SOURce]:PULSe subsystem com- mands). The command :TRIGger:SEQuence3:SLOPe sp POSitive | NEGative only affects the triggering of the internal pulse generator when :TRIGger:SEQuence3:TYPE is set to GATed, TRIGgered, or TRGDelay.
Page 183
Only one mode of triggering can be specified at a time, and all others will be ignored. GATed and COMPosite triggering modes are available in single pulse ([:SOURce]:PULSe:COUNt sp 1) mode only. Pulse delay1 ([:SOURce]:PULSe:DELay1) is not used with FREerun, GATed, and TRIGgered modes of triggering. 3-146 MG369XA SCPI PM...
Page 184
Example: Selects the external trigger signal from the rear panel PULSE TRIGGER IN connector. NOTES: The command :TRIGger:SEQuence3:SOURce sp EXTernal1 | EXTernal2 is only active when :TRIGger:SEQuence3:TYPE is set to GATed, TRIG- gered, TRGDelay, or COMPosite. MG369XA SCPI PM 3-147...
PROGRAMMING COMMANDS :TSWeep 3-14 :TSWeep COMMAND The :TSWeep command is a convenience command. It is equivalent to sending :ABORt;:INITiate[:IMMediate]. 3-148 MG369XA SCPI PM...
UNIT SUBSYSTEM The :UNIT subsystem commands set the default units for the fre- quency and time parameters that are used with all MG369XA SCPI commands described in this manual. The units selected apply to the designated command parameters for both command and response. The subsystem commands and parameters are described below.
Page 187
S | MS | US | NS Type: <char> Default: Description: Selects the global default for all time related parame- ters used with all MG369XA SCPI commands. S = second MS = millisecond US = microsecond NS = nanosecond Query Form...
INTRODUCTION This chapter lists and describes each of the error messages related to MG369XA signal generator operation. In addition, it provides informa- tion about the error message elements, the error query command, the error queue, and the classes of error messages.
This message indicates that the device has no errors. Error Error Description Code [description/explanation/examples] “No error” The queue is completely empty. Every error in the queue has been read or the queue was purposely cleared by power-on, *CLS, etc. MG369XA SCPI PM...
(see IEEE 488.2, 7.7). –108 “Parameter not allowed” More parameters were received than expected for the header; for example, the *SAV command only ac- cepts one parameter, so receiving *SAV 0,1 is not al- lowed. MG369XA SCPI PM...
Page 192
An invalid character for the data type being parsed was encountered; for example, an alpha in a decimal numeric or a “9” in octal data. –123 “Exponent too large” The magnitude of the exponent was larger than 32000 (see IEEE 488.2, 7.7.2.4.1). MG369XA SCPI PM...
Page 193
–144 “Character data too long” The character data element contains more than 12 characters (see IEEE 488.2, 7.7.1.4). –148 “Character data not allowed” A legal character data element was encountered where prohibited by the device. MG369XA SCPI PM...
Page 194
The expression data element was invalid (see IEEE 488.2, 7.7.7.2); for example, unmatched parentheses or an illegal character. –178 “Expression data not allowed” A legal expression data element was encountered but was not allowed by the device at this point in parsing. MG369XA SCPI PM...
Indicates that the program message unit sequence, sent with a *DDT or *DMC command, is syntacti- cally invalid (see IEEE 488.2, 10.7.6.3). –184 “Macro parameter error” Indicates that a command inside the macro defini- tion had the wrong number or type of parameters. MG369XA SCPI PM...
Indicates that a setting associated with a hard local control (see IEEE 488.2, 5.6.1.5) was lost when the device was changed to LOCS from REMS or to LWLS from RWLS. –210 “Trigger error” A trigger error occurred in the signal generator. 4-10 MG369XA SCPI PM...
Page 197
“Data out of range” Indicates that a legal program data element was parsed but could not be executed because the inter- preted value was outside the legal range as defined by the device (see IEEE 488.2, 11.5.1.1.5). MG369XA SCPI PM 4-11...
Page 198
“Missing mass storage” Indicates that a legal program command or query could not be executed because of missing mass stor- age; for example, an option that was not installed. Definition of what constitutes missing mass storage is device-specific. 4-12 MG369XA SCPI PM...
Page 199
Indicates that a legal program command or query could not be executed because the media was pro- tected; for example, the write-protect tab on a disk was present. The definition of what constitutes pro- tected media is device-specific. MG369XA SCPI PM 4-13...
Page 200
–275 “Macro definition too long” Indicates that a syntactically legal macro program data sequence could not be executed because the string or block contents were too long for the device to handle (see IEEE 488.2, 10.7.6.1). 4-14 MG369XA SCPI PM...
Page 201
–285 “Program syntax error” Indicates that a syntax error appears in a down- loaded program. The syntax used when parsing the downloaded program is device-specific. –286 “Program runtime error” MG369XA SCPI PM 4-15...
*PUD command has been lost. –313 “Calibration memory lost” Indicates that nonvolatile calibration data used by the *CAL? command has been lost. –314 “Save/recall memory lost” Indicates that the nonvolatile data saved by the *SAV? command has been lost. 4-16 MG369XA SCPI PM...
Page 203
“Queue overflow” A specific code entered into the queue in lieu of the code that caused the error. This code indicates that there is no room in the queue and an error occurred but was not recorded. MG369XA SCPI PM 4-17...
–440 “Query UNTERMINATED after indefinite response” Indicates that a query was received in the same pro- gram message after a query requesting an indefinite response was executed (see IEEE 488.2, 6.5.7.5.7). 4-18 MG369XA SCPI PM...
“Run out of memory handle” Indicates an internal parser problem. “Unit not matched” Indicates the parameter unit does not match any de- fined unit for this parameter. “Unit not required” Indicates no unit is required with this parameter. MG369XA SCPI PM 4-19...
“Not locked: High Stability crystal” Indicates the reference loop is not phase-locked to the high stability 10 MHz crystal oscillator. “Not locked: Fine Loop” Indicates one or more of the oscillators within the fine loop is not phase-locked. 4-20 MG369XA SCPI PM...
Page 207
Indicates failure of the level reference circuit on the A10 PCB. “Failed: Detector log amp” Indicates failure of the level detector log amplifier circuit on the A10 PCB. “Unleveled and not locked: Full band” Indicates failure of both YIG-tuned oscillators. MG369XA SCPI PM 4-21...
Page 208
Indicates failure of either the 13.25 to 20 GHz switched filter path or the level detector circuitry. “Failed: A9 modulator or driver” Indicates failure of either the modulator in the switched filter assembly or the modulator driver cir- cuitry on the A9 PCB. 4-22 MG369XA SCPI PM...
Page 209
“Failed: A12 +10V ref.” Indicates failure of the +10 Volt reference circuit on the A12 PCB. “Failed: A12 –10V ref.” Indicates failure of the –10 Volt reference circuit on the A12 PCB. “Self Test Complete” MG369XA SCPI PM 4-23/4-24...
Overall Command Tree INTRODUCTION This appendix provides an overall command tree for the Series MG369XA Synthesized High Performance Signal Generator SCPI command set. The command tree is shown in Figure A-1. Refer to Chapter 3 for information on the individual SCPI commands.
Page 213
Conformance Information INTRODUCTION This appendix provides SCPI conformance information for the MG369XA SCPI command set in the form of a command summary. The MG369XA SCPI command set commands and queries are de- scribed individually in Chapter 3—Programming Commands. The SCPI version that the MG369XA software supports is Standard Commands for Programmable Instruments (SCPI) 1993.0.
Need help?
Do you have a question about the MG369XA and is the answer not in the manual?
Questions and answers