Page 1
SERIES MG369XB SYNTHESIZED SIGNAL GENERATOR SCPI PROGRAMMING MANUAL 490 JARVIS DRIVE P/N: 10370-10368 MORGAN HILL, CA 95037-2809 REVISION: C PRINTED: AUGUST 2009 COPYRIGHT 2007- 2009 ANRITSU www.valuetronics.com...
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.
Table of Contents Chapter 1 General GPIB Information SCOPE OF MANUAL ....1-3 GPIB Programming Manual ... 1-3 INTRODUCTION .
Page 6
Table of Contents (Continued) SCPI INTERFACE LANGUAGE SELECTION. . . 2-11 Front Panel Selection ....2-11 Remote Selection ....2-11 STATUS SYSTEM PROGRAMMING .
Page 7
Table of Contents (Continued) NO ERROR ..... . 4-4 COMMAND ERRORS....4-5 EXECUTION ERRORS .
Chapter 1 General GPIB Information This manual provides information for remote operation of the Series SCOPE OF MANUAL MG369XB Synthesized High Performance Signal Generators using commands sent from an external controller via the IEEE-488 General Purpose Interface Bus (GPIB). It includes the following: A general description of the GPIB and the bus data transfer and control functions A listing of the IEEE-488 Interface Function Messages recog-...
GENERAL GPIB IEEE-488 INTERFACE INFORMATION BUS DESCRIPTION Most instruments in the MG3690B series are compatible with SCPI INSTRUMENT programming commands; however, some early production instruments COMPATIBILITY offered SCPI programmability as a special option SM5821. SCPI pro- grammability became standard starting with instrument serial num- ber 082001.
Page 13
GENERAL GPIB IEEE-488 INTERFACE INFORMATION BUS DESCRIPTION The devices on the GPIB are connected in parallel, as shown in Fig- ure 1-1. The interface consists of 16 signal lines and 8 ground lines in a shielded cable. Eight of the signal lines are the data lines, DIO 1 thru DIO 8.
GENERAL GPIB IEEE-488 INTERFACE INFORMATION BUS DESCRIPTION The following paragraphs provide an overview of the GPIB including a description of the functional elements, bus structure, bus data transfer process, interface management bus, device interface function require- ments, and message types. Effective communications between devices on the Functional GPIB requires three functional elements;...
GENERAL GPIB IEEE-488 INTERFACE INFORMATION BUS DESCRIPTION The GPIB uses 16 signal lines to carry data and Bus Structure commands between the devices connected to the bus. The interface signal lines are organized into three functional groups. Data Bus (8 lines) Data Byte Transfer Control Bus (3 lines) General Interface Management Bus (5 lines) The signal lines in each of the three groups are des-...
GENERAL GPIB IEEE-488 INTERFACE INFORMATION BUS DESCRIPTION 1st Data Byte 2nd Data Byte DIO1-DIO8 (composite) Valid Valid Valid Valid None None Ready Ready Ready Ready NRFD None None Accept Accept Accept Accept NDAC Figure 1-2. Typical GPIB Handshake Operation Control of the transfer of each byte of data on the Data Byte data bus is accomplished by a technique called the Transfer...
GENERAL GPIB IEEE-488 INTERFACE INFORMATION BUS DESCRIPTION line FALSE (high) which they will do at their own rate. This assures that all devices that are to accept the data are ready to receive it. NDAC (Not Data Accepted) This line is also controlled by the listeners and is used to inform the talker that each device addressed to listen has accepted the data.
GENERAL GPIB IEEE-488 INTERFACE INFORMATION BUS DESCRIPTION SRQ (Service Request) The SRQ line is set TRUE (low) by any device re- questing service by the active controller. An interface function is the GPIB system element Device which provides the basic operational facility through Interface which a device can receive, process, and send mes- Function...
GENERAL GPIB IEEE-488 INTERFACE INFORMATION BUS DESCRIPTION There are three types of information transmitted Message Types over the GPIB—interface function messages, device-specific commands, and data and instrument status messages. Interface Function Messages The controller manages the flow of information on the GPIB using interface function messages, usually called commands or command messages.
Page 20
GENERAL GPIB MG369XB INFORMATION GPIB OPERATION In some cases data messages will be transmitted from the external controller to the device. For exam- ple, messages to load calibration data. An SRQ (service request) is an interface function message sent from the device to the external control- ler to request service from the controller, usually due to some predetermined status condition or error.
GENERAL GPIB MG369XB GPIB INFORMATION OPERATION Table 1-3. MG369XB Response to GPIB Interface Function Messages MG369XB GPIB Series OPERATION Addressed Interface Function Message MG369XB Response MG36 Command Device Clear (DCL) Resets the MG369XB to its default Syn- Selected Device Clear state.
Page 22
GENERAL GPIB MG369XB INFORMATION GPIB OPERATION Series MG369XB Synthesized Signal Generators Selecting the with the SCPI option can be remotely operated us- Interface ing one of two external interface languages—Native Language or SCPI. The Native interface language uses a set of MG369XB GPIB product specific commands to con- trol the instrument;...
Page 23
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 .
Chapter 2 Programming with SCPI Commands This chapter provides an introduction to SCPI programming that in- INTRODUCTION cludes descriptions of the command types, hierarchial command struc- ture, data parameters, and notational conventions. Information on MG369XB status system and trigger system programming is also pro- vided.
PROGRAMMING WITH INTRODUCTION TO SCPI COMMANDS SCPI PROGRAMMING Common Commands The required common commands are IEEE-488.2 Common mandated commands that are defined in Commands *CLS *RST IEEE-488.2 and must be implemented by all SCPI *ESE *SRE compatible instruments. These commands (see table at left) are identified by the asterisk (*) at the *ESE? *SRE?
PROGRAMMING WITH INTRODUCTION TO SCPI COMMANDS SCPI PROGRAMMING Typical SCPI commands consist of one or more key- Command words, parameters, and punctuation. SCPI com- Names mand keywords can be a mixture of upper and lower case characters. Except for common commands, each keyword has a long and a short form.
PROGRAMMING WITH INTRODUCTION TO SCPI COMMANDS SCPI PROGRAMMING All SCPI commands, except the common commands, Hierarchical are organized in a hierarchical structure similar to Command the inverted tree file structure used in most comput- Structure ers. The SCPI standard refers to this structure as “the Command Tree.”...
PROGRAMMING WITH INTRODUCTION TO SCPI COMMANDS SCPI PROGRAMMING Data parameters, referred to simply as “parame- Data ters,” are the quantitative values used as arguments Parameters for the command keywords. The parameter type as- sociated with a particular SCPI command is deter- mined by the type of information required to control the particular instrument function.
PROGRAMMING WITH NOTATIONAL SCPI COMMANDS CONVENTIONS The SCPI interface standardizes command syntax and style that sim- NOTATIONAL plifies the task of programming across a wide range of instrumenta- CONVENTIONS tion. As with any programming language, the exact command key- words and command syntax must be used. Unrecognized commands, or improper syntax, will generate an error (refer to Chapter 4 for error reporting).
PROGRAMMING WITH NOTATIONAL SCPI COMMANDS CONVENTIONS The following syntax conventions are used for all Parameter data parameter descriptions in this manual Notations <arg> ::=a generic command argument consisting of one or more of the other data types <bNR1> ::=boolean values in <NR1> format; numeric 1 or 0 <boolean>...
PROGRAMMING WITH NOTATIONAL SCPI COMMANDS CONVENTIONS The following is an example showing command syn- Notational tax (It is not an actual command): Examples [SOURce]:POWer[:LEVel][:IMMediate][:AMPLitude] :STEP[:INCRement] sp dBm|DOWN|UP Command statements read from left to right and from top to bottom. In the command statement above, the :STEP keyword immediately follows the :AMPLitude keyword with no separating space.
PROGRAMMING WITH SCPI INTERFACE SCPI COMMANDS LANGUAGE SELECTION The Series MG369XB Synthesized Signal Generator can be remotely SCPI INTERFACE operated using one of two external interface languages—Native or LANGUAGE SELECTION SCPI. (The Native interface language uses a set of MG369XB 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 The MG369XB status system (shown in Figure 2-1) consists of the fol- STATUS SYSTEM lowing SCPI-defined status-reporting structures: PROGRAMMING The Instrument Summary Status Byte Group The Standard Event Status Group The Operational Status Group The Questionable Status Group The following paragraphs describe the registers that make up a status group and explain the status information that each status group pro-...
Page 35
PROGRAMMING WITH STATUS SYSTEM SCPI COMMANDS PROGRAMMING QUESTIONABLE STATUS :STAT:QUES:ENAB? :STAT:QUES:EVEN? :STAT:QUES:NTR Error Queue :STAT:QUES:PTR :STAT:QUES:COND? CONDition EVENt ENABle Not Used Not Used *CLS Not Used RF Unleveled Not Used Lock Error or RF Unlocked Not Used Error Code/Error Description Modulation Range Error QUESTIONABLE &...
Page 36
PROGRAMMING WITH STATUS SYSTEM SCPI COMMANDS PROGRAMMING Enable Register The enable register specifies the bits in the event register that can produce a summary bit. The MG369XB logically ANDs corresponding bits in the event and enable registers, and ORs all the result- ing bits to obtain a summary bit.
Page 37
PROGRAMMING WITH STATUS SYSTEM SCPI COMMANDS PROGRAMMING Summary Status Byte Group 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 MG369XB event or condition. The bits in the Summary Status Byte provide the following in- formation: Description...
Page 38
PROGRAMMING WITH STATUS SYSTEM SCPI COMMANDS PROGRAMMING Standard Event Status Group The Standard Event Status group, consisting of the Standard Event Status register (an Event register) and the Standard Event Status Enable register, is used to determine the specific event that set bit 5 of the Summary Status Byte.
Page 39
PROGRAMMING WITH STATUS SYSTEM SCPI COMMANDS PROGRAMMING Operational Status Group The Operational Status group, consisting of the Op- erational Condition register, the Operational Posi- tive Transition register, the Operational Negative Transition register, the Operational Event register, and the Operational Event Enable register, is used to determine the specific condition that set bit 7 in the Summary Status Byte.
Page 40
PROGRAMMING WITH STATUS SYSTEM SCPI COMMANDS PROGRAMMING Questionable Status Group The Questionable Status group, consisting of the Questionable Condition register, the Questionable Positive Transition register, the Questionable Nega- tive Transition register, the Questionable Event reg- ister, and the Questionable Event Enable register, is used to determine the specific condition that set bit 3 in the Summary Status Byte.
PROGRAMMING WITH TRIGGER SYSTEM SCPI COMMANDS PROGRAMMING The MG369XB trigger system is used to synchronize signal generator TRIGGER SYSTEM actions with software trigger commands. The MG369XB follows the PROGRAMMING layered trigger model used in SCPI instruments. The following para- graphs describe operation and programming of the signal generator trigger system.
Page 42
PROGRAMMING WITH TRIGGER SYSTEM SCPI COMMANDS PROGRAMMING Once initiated, the trigger system enters an armed (wait for trigger) state. The trigger signal selected by the command :TRIGger[:SEQuence]:SOURce is examined until a TRUE condition is detected. The trigger signal selections are: IMMediate the trigger signal is always TRUE.
Page 43
Chapter 3 Programming Commands Table of Contents INTRODUCTION ....3-3 COMMON COMMANDS ....3-3 IEEE 488.2 Mandated Commands .
Chapter 3 Programming Commands This chapter contains information on all SCPI programming com- INTRODUCTION mands accepted and implemented by the Series MG369XB Synthesized Signal Generator. Common commands are used to control instrument status registers, COMMON COMMANDS status reporting, synchronization, data storage, and other common functions.
Page 46
PROGRAMMING COMMON COMMANDS COMMANDS This query returns an instrument identification string in IEEE- 488.2 specified <NR1> format (four fields separated by commas). The fields are: <Manu- facturer>, <Model>, <Serial #>, <Firmware revision level>; where the actual model number, serial num- ber, and firmware version of the MG369XB queried will be passed.
PROGRAMMING COMMON COMMANDS COMMANDS *STB? (Read Status Byte Query) Returns the content of the Status Byte Register (bits 0–5 and 7). Bit 6 is the Master Summary Status bit value. This command does not reset the status byte values. *TST? (Self-Test Query) Causes the MG369XB to perform a full internal CAUTION self-test.
PROGRAMMING SUBSYSTEM COMMANDS COMMANDS *TRG (Trigger Command) Triggers instrument if :TRIGger:SOURce command data parameter is BUS. Refer to INITiate and TRIG- ger subsystem commands.) Performs the same function as the Group Execute Trigger <GET> command defined in IEEE 488.1. Subsystem commands control all signal generator functions and some SUBSYSTEM general purpose functions.
PROGRAMMING :ABORt SUBSYSTEM COMMANDS :ABORt The :ABORt command is a single command subsystem. There are no ABORT COMMAND subcommands or associated data parameters, as shown below. The (SUBSYSTEM) :ABORt command, along with the :TRIGger and :INITiate commands, comprise the “Trigger Group” of commands. :ABORt Parameters: None...
PROGRAMMING :CONTrol SUBSYSTEM COMMANDS :BLANking:POLarity The :CONTrol subsystem sets the state of the following rear panel con- CONTROL SUBSYSTEM trol outputs; RETRACE BLANK OUT, PENLIFT OUT, and HORIZ OUT. The subsystem commands and parameters are described below: KEYWORD PARAMETER FORM NOTES :CONTrol :BLANking...
Page 51
PROGRAMMING :CONTrol SUBSYSTEM COMMANDS :PENLift:POLarity :CONTrol :PENLift :POLarity NORMal | INVerted Parameters: <char> Type: NORMal Default: Description: Sets the internal penlift relay contacts to control the state of the rear panel PENLIFT OUT signal as fol- lows: NORMal sets the relay contacts to be normally open. INVerted sets the relay contacts to be normally closed.
Page 52
PROGRAMMING :CONTrol SUBSYSTEM COMMANDS :RAMP:REST :CONTrol :RAMP :REST STARt | STOP Parameters: <char> Type: STOP Default: Description: Sets the sweep rest point for the rear panel HORIZ OUT sweep ramp as follows: STARt sets the sweep to rest at the bottom of the sweep ramp.
Page 53
PROGRAMMING :CONTrol SUBSYSTEM COMMANDS :RAMP[:STATe] :CONTrol :RAMP [:STATe] ON | OFF | 1 | 0 Parameters: <boolean> Type: Default: Description: Turns the rear panel HORIZ OUT sweep ramp signal on/off. :CONTrol:RAMP[:STATe]? Query Form: :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.
Page 54
PROGRAMMING :CONTrol SUBSYSTEM COMMANDS :RAMP:TIME :CONTrol :RAMP :TIME sweep time (in seconds) | MIN | MAX Parameters: <nv> Type: 30 ms to 99 sec Range: 30 ms Default: Description: Sets the rear panel HORIZ OUT sweep ramp signal time by changing the analog sweep time. [:SOURce]:SWEep:TIME will also be changed.
PROGRAMMING :DIAGnostic SUBSYSTEM COMMANDS : S N U M ? The :DIAGnostic subsystem consists of the query command described DIAGNOSTIC below: SUBSYSTEM KEYWORD :DIAGnostic :SNUM? :DIAGnostic :SNUM? Description: Allows the serial number of the instrument to be read. :DIAGnostic:SNUM? Query Form MG369XB SCPI PM 3-13 www.valuetronics.com...
PROGRAMMING :DISPlay SUBSYSTEM COMMANDS :WINDow:TEXT:STATE The :DISPlay subsystem controls the display of all frequency, power DISPLAY SUBSYSTEM level, and modulation parameters on the front panel data display. KEYWORD PARAMETER FORM NOTES :DISPlay [:WINDow] :TEXT Default ON :STATe <boolean> :DISPlay [:WINDow] :TEXT :STATe ON | OFF | 1 | 0...
PROGRAMMING :INITiate SUBSYSTEM COMMANDS [:IMMediate] The :INITiate subsystem controls the state of the MG369XB trigger sys- INITIATE SUBSYSTEM 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. KEYWORD PARAMETER FORM NOTES...
Page 58
PROGRAMMING :INITiate SUBSYSTEM COMMANDS :CONTinuous :INITiate :CONTinuous ON | OFF | 1 | 0 Parameters: <boolean> Type: Default: Description: Continuously rearms the MG369XB trigger system af- ter completion of a triggered sweep. :INITiate:CONTinuous? Query Form: :INITiate:CONTinuous sp ON Examples: Sets MG369XB trigger to continuously armed state. Associated commands: :ABORt and TRIGger...
PROGRAMMING :OUTPut SUBSYSTEM COMMANDS [:STATe] The :OUTPut subsystem controls the MG369XB RF output power. The OUTPUT SUBSYSTEM 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 60
PROGRAMMING :OUTPut SUBSYSTEM COMMANDS :PROTection :OUTPut :PROTection ON | OFF | 1 | 0 Parameters: <boolean> Type: Default: ON causes the MG369XB RF output to be turned off Description: (blanked) during frequency changes in CW or step sweep mode. OFF leaves RF output turned on (unblanked).
Page 61
PROGRAMMING :OUTPut SUBSYSTEM COMMANDS :PROTection:RETRace :OUTPut :PROTection :RETRace ON | OFF | 1 | 0 Parameters: <boolean> Type: Default: ON causes the MG369XB RF output to be turned off Description: during sweep retrace. OFF leaves RF output turned :OUTPut:PROTection:RETRace? Query Form :OUTPut:PROTection:RETRace sp ON Example: Turns the MG369XB RF output off during sweep re-...
Page 62
PROGRAMMING :OUTPut SUBSYSTEM COMMANDS :IMPedance? :OUTPut :IMPedance? Description: Queries the MG369XB RF output impedance. The im- pedance is nominally 50 ohms and is not settable. :OUTPut:IMPedance? Query Form 3-20 MG369XB SCPI PM www.valuetronics.com...
PROGRAMMING SOURCE COMMANDS SUBSYSTEM 3-10 The [:SOURce] subsystem provides control of a majority of the SOURCE SUBSYSTEM MG369XB 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 66
PROGRAMMING SOURCE COMMANDS SUBSYSTEM :SOURce Subsystem Commands (4 of 4) KEYWORD PARAMETER FORM NOTES [:SOURce] :PULM :INTernal Default: 1 kHz :FREQuency <numeric_value> Default: NORMal :POLarity NORMal | INVerted Default: INTernal1 :SOURce INTernal1 | INTernal2 | EXTernal1 | EXTernal2 Default: OFF :STATe <boolean>...
Page 67
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 MG369XB. [:SOURce] :LOGSens sensitivity (in dB/V) Parameters: <NRf> Type: 0 to 25 dB/V Range: 3 dB/V Default:...
Page 68
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :AM:SENSitivity [:SOURce] :SENSitivity sensitivity (in Pct/V) Parameters: <NRf> Type: 0 to 100 %/V Range: 50 %/V Default: Description: Sets the AM sensitivity for the external AM Linear mode. [:SOURce]:AM:SENSitivity? Query Form: [:SOURce]:AM:SENSitivity sp 80 Pct/V Example: Set the AM sensitivity for the external AM Linear mode to 80 %/V.
Page 69
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :AM:LOGDepth [:SOURce] :LOGDepth modulation depth (in dB) Parameters: <NRf> Type: 0 to 25 dB Range: 3 dB Default: Description: Sets the modulation depth of the AM signal in the in- ternal AM Log mode. [:SOURce]:AM:LOGDepth? Query Form: [:SOURce]:AM:LOGDepth sp 20 dB Example: Set the modulation depth in the internal AM Log mode...
Page 70
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :AM:INTernal:WAVE [:SOURce] :INTernal :WAVE SINE | GAUSsian | RDOWn | RUP | SQUare | Parameters: TRIangle | UNIForm <char> Type: SINE Default: Description: Selects the modulating waveform (from the internal AM generator) for the internal AM function, as fol- lows: SINE Sine wave...
Page 71
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :AM:INTernal:FREQuency [:SOURce] :INTernal :FREQuency frequency Parameters: <NRf> Type: 0.1 Hz to 1 MHz for sine wave; Range: 0.1 Hz to 100 kHz for square, triangle, and ramp wave- forms 1 kHz Default: Description: Sets the frequency of the modulating waveform for the internal AM function (see :AM:INTernal:WAVE).
Page 72
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :AM:DEPTh [:SOURce] :DEPTh modulation depth (in Pct) Parameters: <NRf> Type: 0 to 100% Range: Default: Description: Sets the modulation depth of the AM signal in the in- ternal AM Linear mode. [:SOURce]:AM:DEPTh? Query Form: [:SOURce]:AM:DEPTh sp 80 Pct Example: Set the modulation depth in the internal AM Linear mode to 80%.
Page 73
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :AM:SOURce [:SOURce] :SOURce INTernal | EXTernal1 | EXTernal2 Parameters: <char> Type: EXTernal1 Default: Description: Selects the source of the AM modulating signal, as fol- lows: INTernal Internal AM generator EXTernal1 Not used EXTernal2 Rear panel AM IN connector [:SOURce]:AM:EXTernal:SOURce? Query Form [:SOURce]:AM:SOURce sp EXTernal2...
Page 74
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :AM:STATe [:SOURce] :STATe ON | OFF | 1 | 0 Parameters: <boolean> Type: Default: Description: Enable/disable amplitude modulation of MG369XB RF output signal. [:SOURce]:AM:STATe? Query Form [:SOURce]:AM:STATe sp ON Example: Turns amplitude modulation on. [:SOURce]:AM:STATe? Requests currently programmed amplitude modula- tion state (on/off).
Page 75
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :AM:TYPE [:SOURce] :TYPE LINear | LOGarithmic Parameters: <char> Type: LINear Default: Description: Selects the AM operating mode. [:SOURce]:AM:TYPE? Query Form [:SOURce]:AM:TYPE sp LOGarithmic Example: Selects the AM Log mode. [:SOURce]:AM:TYPE? Requests the currently programmed AM operating mode.
Page 76
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :CORRection[:STATe] 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 MG369XB RF output. (Refer to “Leveling Operations” in Chapter 3 of the MG369XB Operation Manual.) [:SOURce] :CORRection...
Page 77
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :CORRection:CSET:SELect [:SOURce] :CORRection :CSET :SELect NONE | USER1 | USER2 | USER3 | USER4 | USER5 Parameters: <char> Type: NONE Default: Description: Selects the user level flatness correction power-offset table to be applied to the MG369XB output by the command [:SOURce]:CORRection:STATe sp ON.
Page 78
PROGRAMMING [: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 MG369XB. [:SOURce] :INTernal :WAVE SINE | GAUSsian | RDOWn | RUP | SQUare | Parameters: TRIangle | UNIForm <char>...
Page 79
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :FM:INTernal:FREQuency [:SOURce] :INTernal :FREQuency frequency Parameters: <NRf> Type: 0.1 Hz to 1 MHz for sine wave; Range: 0.1 Hz to 100 kHz for square, triangle, and ramp wave- forms 1 kHz Default: Description: Sets the frequency of the modulating waveform for the internal FM function (see :FM:INTernal:WAVE).
Page 80
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :FM:DEViation [:SOURce] :DEViation modulation deviation (in Hz) Parameters: <NRf> Type: 10 kHz to 20 MHz in Locked, Locked Low-Noise, and Range: Unlocked Narrow modes; 100 kHz to 100 MHz in Unlocked Wide mode 1 MHz Default: Description: Set the modulation deviation of the FM signal for the internal FM function.
Page 81
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :FM:MODE [:SOURce] :MODE LOCKed[1] | LOCKed2 | UNLocked Parameters: <char> Type: UNLocked Default: Description: Sets the synthesis mode employed in generating the FM signal, as follows: LOCKed[1] Locked Narrow FM LOCKed2 Locked Narrow Low-Noise FM UNLocked Unlocked FM If LOCKed[1] or LOCKed2 is set, the YIG phase-locked loop is used in synthesizing the FM signal.
Page 82
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :FM:BWIDth [:SOURce] :BWIDth MIN | MAX Parameters: <nv> Type: MIN = narrow mode; MAX = wide mode Range: Default: Description: Sets the Unlocked FM synthesis mode to wide or nar- row mode of operation. The Unlocked Wide FM synthesis mode allows maxi- mum deviations of ±100 MHz for DC to 100 Hz rates.
Page 83
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :FM:SENSitivity [:SOURce] :SENSitivity sensitivity (in Hz/V) Parameters: <NRf> Type: ±10 kHz/V to ±20 MHz/V in Locked, Locked Low-Noise, Range: and Unlocked Narrow modes; ±100 kHz/V to ±100 MHz/V in Unlocked Wide mode 1 MHz/Volt Default: Description: Sets the FM sensitivity for the external FM function.
Page 84
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :FM:SOURce [:SOURce] :SOURce INTernal | EXTernal1 | EXTernal2 Parameters: <char> Type: EXTernal1 Default: Description: Selects the source of the FM modulating signal, as fol- lows: INTernal Internal FM generator EXTernal1 Not used EXTernal2 Rear panel FM IN connector [:SOURce]:FM:SOURce? Query Form [:SOURce]:FM:SOURce sp EXTernal2...
Page 85
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :FM:STATe [:SOURce] :STATe ON | OFF | 1 | 0 Parameters: <boolean> Type: Default: Description: Enable/disable frequency modulation of MG369XB RF output signal. [:SOURce]:FM:STATe? Query Form [:SOURce]:FM:STATe sp ON Example: Turns frequency modulation on. [:SOURce]:FM:STATe? Requests the currently programmed frequency modula- tion state (on/off).
Page 86
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :FREQuency[:CW |:FIXed] The [:SOURce]:FREQuency command and its subcommands make up the Frequency Subsystem within the :SOURce subsystem. These com- mands control the frequency characteristics of the MG369XB. [:SOURce] :FREQuency [:CW | :FIXed] frequency (in Hz) | UP | DOWN | MIN | MAX Parameters: <nv>...
Page 87
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :FREQuency[:CW |:FIXed] Model MG369XB Minimum and Maximum Frequencies Model Minimum* Maximum MG3691B 10 MHz 8.4 GHz MG3692B 10 MHz 20 GHz MG3693B 10 MHz 30 GHz MG3694B 10 MHz 40 GHz MG3695B 10 MHz 50 GHz MG3696B 10 MHz 65 GHz...
Page 88
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :FREQuency[:CW |:FIXed]:STEP[:INCRement] [:SOURce] :FREQuency [:CW | :FIXed] :STEP [:INCRement] frequency (in Hz) Parameters: <NRf> Type: 1 kHz to (MAX – MIN) (see note below) Range: 0.1 GHz Default: Description: Sets the step increment size used with the :FREQuency:CW command.
Page 89
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :FREQuency:CENTer [:SOURce] :FREQuency :CENTer frequency ( in Hz) Parameters: <NRf> Type: MIN to MAX (see notes below) Range: (MIN + MAX) / 2 Default: Description: Sets the MG369XB RF output center frequency to the value entered. :CENTER and :SPAN frequencies are coupled values.
Page 91
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :FREQuency:SPAN [:SOURce] :FREQuency :SPAN frequency (in Hz) Parameters: <NRf> Type: 1 kHz to (MAX – MIN) Range: MAX – MIN Default: Sets sweep span for SWEep[1] to value entered. :SPAN Description: and :CENTer are coupled values (see notes below). [:SOURce]:FREQuency:SPAN? Query Form: [:SOURce]:FREQuency:SPAN sp 2 GHz...
Page 92
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :FREQuency:SPAN:FULL [:SOURce] :FREQuency :SPAN :FULL None Parameters: Sets frequency span for SWEep[1] to (MAX – MIN) Description: (see notes under [:SOURce]:FREQuency:CW | FIXed). None Query Form: [:SOURce]:FREQuency:SPAN:FULL Example: Set the SWEep[1] frequency span to its maximum value.
Page 93
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :FREQuency:SPAN2 [:SOURce] :FREQuency :SPAN2 frequency (in Hz) Parameters: <NRf> Type: 1 kHz to (MAX – MIN) Range: MAX – MIN Default: Description: Sets sweep span for the alternate sweep to value en- tered. :SPAN and :CENTer are coupled values (see notes below).
Page 94
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :FREQuency:SPAN2:FULL [:SOURce] :FREQuency :SPAN2 :FULL None Parameters: Description: Sets frequency span for the alternate sweep to (MAX – MIN) (see notes under [:SOURce]:FREQuency:CW | FIXed). None Query Form: [:SOURce]:FREQuency:SPAN:FULL Example: Set the frequency span for the alternate sweep to its maximum value.
Page 95
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :FREQuency:STARt [:SOURce] :FREQuency :STARt frequency (in Hz) | MIN Parameters: <nv> Type: MIN to MAX (See Notes) Range: Default: Sets start frequency for SWEep[1] to the value en- Description: tered. (MIN is defined in the notes under [:SOURce] :FREQuency:CW | FIXed).
Page 96
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :FREQuency:STARt2 [:SOURce] :FREQuency :STARt2 frequency (in Hz) | MIN Parameters: <nv> Type: MIN to MAX (See Notes) Range: Default: Description: Sets start frequency for the alternate sweep to the value entered. (MIN is defined in the notes under [:SOURce]:FREQuency:CW | FIXed).
Page 97
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :FREQuency:STOP [:SOURce] :FREQuency :STOP frequency (in Hz) | MAX Parameters: <nv> Type: MIN to MAX (See Notes) Range: Default: Sets stop frequency for SWEep[1] to the value entered. Description: (MAX is defined in the notes under [:SOURce] :FREQuency:CW | FIXed).
Page 98
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :FREQuency:STOP2 [:SOURce] :FREQuency :STOP2 frequency (in Hz) | MAX Parameters: <nv> Type: MIN to MAX (See Notes) Range: Default: Description: Sets stop frequency for the alternate sweep to the value entered. (MAX is defined in the notes under [:SOURce]:FREQuency:CW | FIXed).
Page 99
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :FREQuency:MULTiplier [:SOURce] :FREQuency :MULTiplier reference multiplier value | MIN | MAX Parameters: <nv> Type: 0.1 to 14; MIN = 0.1; MAX = 14 Range: Default: Description: Sets the value of the reference multiplier for the fre- quency scaling function.
Page 100
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :LIST<n>:INDex The [:SOURce]:LIST command and its subcommands comprise the List Subsystem within the :SOURce subsystem. These commands control the List Sweep function of the MG369XB (see notes below). [:SOURce] (1 £ n £ 4 = selected list, see notes) :LIST<n>...
Page 101
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :LIST<n>:FREQuency [:SOURce] (1 £ n £ 4 = selected list) :LIST<n> :FREQuency frequency (in Hz) |MIN | MAX Parameter: <nv>{,<nv>} Type: MIN to MAX (see notes below) Range: 5 GHz Default: Description: Sets the list frequencies of the selected list starting at the list index specified by :LIST<n>:INDex or at list in- dex 0 if no list index is specified.
Page 102
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :LIST<n>:FREQuency:POINts? [:SOURce] (1 £ n £ 4 = selected list) :LIST<n> :FREQuency :POINts? Parameters number of frequency points Returned: <NR1> Type: Description: Querys the number of frequency points in the selected list. The number of points is 2000 and is not settable. [:SOURce]:LIST<n>:FREQuency:POINts? Query Form: 3-60...
Page 103
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :LIST<n>:POWer [:SOURce] (1 £ n £ 4 = selected list) :LIST<n> :POWer power level (in dBm) | MIN | MAX Parameters: <nv>{,<nv>} Type: Range: MIN to MAX (see notes below) 0 dBm Default: Description: Sets the list power levels of the selected list starting at the list index specified by :LIST<n>:INDex or at list index 0 if no list index is specified.
Page 104
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :LIST<n>:POWer:POINts? [:SOURce] (1 £ n £ 4 = selected list) :LIST<n> :POWer :POINts? Parameters number of power level points Returned: <NR1> Type: Description: Querys the number of power level points in the se- lected list. The number of points is 2000 and is not settable.
Page 105
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :LIST<n>:DWELl [:SOURce] (1 £ n £ 4 = selected list) :LIST<n> :DWELl dwell time (in seconds) | MIN | MAX Parameters: <nv> Type: 0 ms to 99 sec Range: 50 ms Default: Description: Sets the dwell time for each step in a sweep of the selected list to the value entered.
Page 106
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :LIST<n>:STARt [:SOURce] (1 £ n £ 4 = selected list) :LIST<n> :STARt List index number | MIN | MAX Parameters: <nv> Type: 0 to 1999; MIN = 0; MAX= 1999 Range: Default: Description: Sets list start index for a sweep of the selected list to the value entered.
Page 107
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :LIST<n>:STOP [:SOURce] (1 £ n £ 4 = selected list) :LIST<n> :STOP List index number | MIN | MAX Parameters: <nv> Type: 0 to 1999; MIN = 0; MAX = 1999 Range: 1999 Default: Description: Sets list stop index for a sweep of the selected list to the value entered.
Page 108
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :LIST<n>:CALCulate [:SOURce] (1 £ n £ 4 = active list) :LIST<n> :CALCulate None Parameters: Description: Performs all the calculations necessary to set the fre- quencies and power levels for the active list (see notes below). None Query Form: [:SOURce]:FREQuency:MODE sp LIST2 Example:...
Page 109
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 MG369XB. [:SOURce] :MARKer<n> (see note) :AOFF None Parameters: Description: Turns all markers off. This command is an event, therefore there is no data parameter and no query form.
Page 110
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :MARKer<n>:FREQuency [:SOURce] :MARKer<n> (1 £ n £ 10 = selected marker; see notes) :FREQuency frequency (in Hz) | MIN | MAX Parameters: <nv> Type: MIN to MAX Range: Default: See default values in notes below Description: Sets frequency of selected marker to value entered.
Page 111
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :MARKer<n>:STATe [:SOURce] (1 £ n £ 10 = selected marker) :MARKer<n> :STATe ON | OFF | 1 | 0 Parameters: <boolean> Type: Default: Description: Turns selected marker on/off (tags/untags the selected marker). [:SOURce]:MARKer<n>:STATe? Query Form: [:SOURce]:MARKer4:STATe sp ON Examples: Turn marker #4 on.
Page 112
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :MARKer<n>:INTensity [:SOURce] :MARKer<n> :INTensity ON | OFF | 1 | 0 Parameters: <boolean> Type: Default: Description: Turns intensity markers on/off. Intensity markers are available only in analog sweep frequency mode; i.e. only with :SWEep[1] mode of operation (refer to :FREQuency: MODE command).
Page 113
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :MARKer<n>:VIDeo [:SOURce] :MARKer<n> :VIDeo ON | OFF | 1 | 0 Parameters: <boolean> Type: Default: Description: 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 MG369XB Operation Manual.
Page 114
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :MARKer<n>:POLarity [:SOURce] :MARKer<n> :POLarity POSitive | NEGative Parameters: <char> Type: POSitive Default: Description: Selects +5V or –5V pulse output for each video marker as follows: POSitive selects a +5V pulse output for each marker. NEGative selects a –5V pulse output for each marker. This command is active only in the video marker mode (see :MARKer :VIDeo command).
Page 115
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :PM:BWIDth The [:SOURce]:PM command and its subcommands comprise the Phase Modulation Subsystem with the :SOURce subsystem. These commands control the phase modulation subsystem function of the MG369XB. [:SOURce] :BWIDth MIN | MAX Parameters: <nv> Type: MIN = narrow mode; MAX = wide mode Range: Default: Description:...
Page 116
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :PM:DEViation [:SOURce] :DEViation modulation deviation (in radians) Parameters: <NRf> Type: 0.0025 to 5.0 radians in narrow mode; Range: 0.25 to 500.0 radians in wide mode 1.0000 radians Default: Description: Set the modulation deviation of the FM signal for the internal phase modulation function.
Page 117
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :PM:INTernal:WAVE [:SOURce] :INTernal :WAVE SINE | GAUSsian | RDOWn | RUP | SQUare | TRIangle | Parameters: UNIForm <char> Type: SINE Default: Description: Selects the modulating waveform (from the internal FM generator) for the internal phase modulation function, as follows: SINE Sine wave...
Page 118
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :PM:INTernal:FREQuency [:SOURce] :INTernal :FREQuency frequency (in Hz) Parameter: <NRf> Type: 0.1 Hz to 1 MHz for sine wave; Range: 0.1 Hz to 100 kHz for square, triangle, and ramp wave- forms. 1 kHz Default: Description: Sets the frequency of the modulating waveform for the internal phase modulation (see :PM:INTernal:WAVE) [:SOURce]:PM:INTernal:FREQuency? Query Form:...
Page 119
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :PM:SENSitivity [:SOURce] :SENSitivity sensitivity (in radians/V) Parameters: <NRf> Type: ±0.0025 to ±5.0 radians/V in narrow mode Range: ±0.25 to ±500.0 radians/V in wide mode 1.0000 radians/V Default: Description: Sets the FM sensitivity for the external phase modu- lation function.
Page 120
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :PM:SOURce [:SOURce] :SOURce INTernal | EXTernal1 | EXTernal2 Parameters: <char> Type: EXTernal1 Default: Description: Selects the source of the FM modulating signal, as fol- lows: INTernal Internal FM generator EXTernal1 Not used EXTernal2 Rear Panel FM/FM IN connector [:SOURce]:PM:SOURce? Query Form: [:SOURce]:PM:SOURce sp EXTernal2...
Page 121
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :PM:STATe [:SOURce] :STATe ON | OFF | 1 | 0 Parameters: <boolean> Type: Default: Description: Enable/disable phase modulation of the MG369XB RF output signal. [:SOURce]:PM:STATe? Query Form: [:SOURce]:PM:STATe sp ON Example: Turns phase modulation on. [:SOURce]:PM:STATe? Requests the currently programmed phase modulation state (on/off) NOTE:...
Page 122
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :POWer[:LEVel][:IMMediate][:AMPLitude] The [:SOURce]:POWer command and its subcommands comprise the Power Subsystem within the :SOURce subsystem. These commands control the RF power output level of the MG369XB. [:SOURce] :POWer [:LEVel] [:IMMediate] [:AMPLitude] power level (in dBm) | UP | DOWN | MIN | MAX Parameters: <nv>...
Page 123
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :POWer[:LEVel][:IMMediate][:AMPLitude] Use related command :OUTPut[:STATe] sp ON | OFF to turn the MG369XB RF power output on/off. Model MG369XB Minimum and Maximum Settable Power Levels W/Step Attenuator (Option 2) W/O Step Attenuator Model Minimum Maximum Minimum Maximum MG3691B –20 dBm...
Page 124
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :POWer[:LEVel][:IMMediate][:AMPlitude]:STEP[:INCRement] [:SOURce] :POWer [:LEVel] [:IMMediate] [:AMPLitude] :STEP [:INCRement] power level ( in dB) Parameters: <NRf> Type: Range Model dependent (see notes below) 0.1 dB Default: Description: Sets the step increment size used with the :POWer:LEVel:IMMediate:AMPLitude command. [:SOURce]:POWer[:LEVel][:IMMediate] Query Form: [:AMPLitude]:STEP[:INCRement]?
Page 125
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :POWer[:LEVel]:ALTernate [:SOURce] :POWer [:LEVel] :ALTernate power level ( in dBm) | MIN | MAX Parameters: <nv> Type: MIN to MAX (see notes below) Range: 0 dBm Default: Description: Sets the RF output power level for the alternate sweep if the command :POWer:MODE sp ALSW is set.
Page 126
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :POWer:ALC:SOURce [:SOURce] :POWer :ALC :SOURce INTernal | DIODe[1] | DIODe2 | PMETer[1] | Parameters: PMETer2 | FIXed <char> Type: INTernal Default: Description: Selects (1) whether the ALC loop controls the output power level and (2) the source of the feedback signal for the ALC.
Page 127
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :POWer:ATTenuation [:SOURce] :POWer :ATTenuation attenuation (in dB) | UP | DOWN | MIN | MAX Parameters: <nv> Type: 0 – 110 dB Range: (0 – 90 dB for MG3695B and MG3696B models) 0 dB Default: Description: This command applies only to MG369XBs equipped with an internal step attenuator (Option 2).
Page 128
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :POWer:ATTenuation:STEP[:INCRement] [:SOURce] :POWer :ATTenuation :STEP [:INCRement] attenuator step increment size (in dB) Parameters: <NR1> Type: 0 dB | 10 dB Range: 10 dB Default: Description: Sets the attenuator step increment size used with the :POWer:ATTenuation command. The step size can only be set to 0 dB or 10 dB.
Page 129
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :POWer:ATTenuation:AUTO [:SOURce] :POWer :ATTenuation :AUTO ON | OFF | 1 | 0 Parameters: < boolean> Type: Default: Description: This command applies only to MG369XBs equipped with an internal step attenuator (Option 2). Setting to ON couples the step attenuator to the ALC system; setting to OFF decouples the step attenuator from the ALC system.
Page 130
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :POWer:DISPlay:OFFSet [:SOURce] :POWer :DISPlay :OFFSet power level display offset (in dB) Parameters: <NRf> Type: –100.00 to +100.00 dB Range: 0 dB Default: Description: Sets the offset value for the power level display offset function (see :POWer:DISPlay:OFFSet:STATe). [:SOURce]:POWer:DISPlay:OFFSet? Query Form: [:SOURce]:POWer:DISPlay:OFFSet sp 3 dB...
Page 131
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :POWer:DISPlay:OFFSet:STATe [:SOURce] :POWer :DISPlay :OFFSet :STATe ON | OFF | 1 | 0 Parameters: <boolean> Type: Default: Description: Turns the power level display offset function on/off. When the function it turned on, the offset value, set by the command :POWer:DISPlay:OFFSet <arg>, is added to the displayed RF output power level.
Page 132
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :POWer:SLOPe [:SOURce] :POWer :SLOPe slope characteristic value | UP | DOWN | MIN | MAX | Parameters: <nv> Type: 0 to 255; MIN = 0; MAX = 255 Range: Default: Description: Sets the value of the slope characteristic parameter for the ALC power slope function (refer to “Leveling Operations”...
Page 133
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :POWer:SLOPe:STEP[:INCRement] [:SOURce] :POWer :SLOPe :STEP [:INCRement] slope step increment size Parameters: <NR1> Type: 0 to 255 Range: Default: Sets the step increment size used with the :POWer Description: :SLOPe command (ALC power slope function). [:SOURce]:POWer:SLOPe:STEP[:INCRement]? Query Form: [:SOURce]:POWer:SLOPe:STEP Examples: :INCRement sp 5...
Page 134
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :POWer:SLOPe:STATe [:SOURce] :POWer :SLOPe :STATe ON | OFF | 1 | 0 Parameters: <boolean> Type: Default: Description: Turns ALC power slope function on/off (refer to “Lev- eling Operations” in Chapter 3 of the MG369XB Oper- ation Manual). [:SOURce]:POWer:SLOPe:STATe? Query Form: [:SOURce]:POWer:SLOPe:STATe sp ON...
Page 135
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :POWer:SLOPe:PIVot [:SOURce] :POWer :SLOPe :PIVot frequency (in Hz) Parameters: <NR1> Type: Range: Frequency range of the MG369XB model 2 GHz Default: 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 136
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :POWer:MODE [:SOURce] :POWer :MODE CW | FIXed | SWEep[1] | SWEep2 | ALSW | LIST[1] | Parameters: LIST2 | LIST3 | LIST4 <char> Type: FIXed Default: Description: Specifies which set of commands controls the MG369XB RF output power level determining func- tion, as follows: CW | FIXed [:SOURce]:POWer[:LEVel]...
Page 137
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :POWer:CENTer [:SOURce] :POWer :CENTer power level (in dbm) Parameters: <NRf> Type: MIN to MAX (see notes below) Range: (MIN + MAX) / 2 Default: Description: Sets the RF output power level at the center of the power sweep to the value entered.
Page 138
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :POWer:SPAN [:SOURce] :POWer :SPAN power level (in dBm) Parameters: <NRf> Type: MIN to MAX (see text). Range: Default: Leveled power span of the instrument Description: Sets sweep span for power sweep to value entered. See notes below. [:SOURce]:POWer:SPAN? Query Form: [:SOURce]:POWer:SPAN sp 10 dBm...
Page 139
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :POWer:SPAN:FULL [:SOURce] :POWer :SPAN :FULL Parameters: None Sets the power sweep span to (MAX – MIN). See notes Description: under :POWer:SPAN command. Query Form: None [:SOURce]:POWer:SPAN:FULL Example: Set the power sweep span to its maximum value. MG369XB SCPI PM 3-97 www.valuetronics.com...
Page 140
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :POWer:STARt [:SOURce] :POWer :STARt power level (in dBm) | MIN Parameters: <nv> Type: MIN to MAX Range: Default: Description: Sets start RF output power level for the power sweep to the value entered. See notes under :POWer:SPAN command.
Page 141
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :POWer:STOP [:SOURce] :POWer :STOP power level (in dBm) | MAX Parameters: <nv> Type: MIN to MAX Range: Default: Description: Sets stop RF output power level for the power sweep to the value entered. See notes under :POWer:SPAN command.
Page 142
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 MG369XB. [:SOURce] :PULM :INTernal :FREQuency frequency (in Hz) Parameters: <NRf> Type: 5.96 Hz to 25 MHz (at 100 MHz pulse generator clock Range:...
Page 143
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :PULM:POLarity [:SOURce] :PULM :POLarity NORMal | INVerted Parameters: <char> Type: NORMal Default: Description: Selects the polarity of the signal that turns the RF on during pulse modulation, as follows: NORMAL specifies positive-true operation; a TTL- high level will turn on the RF output signal INVerted specifies negative-true operation;...
Page 144
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :PULM:SOURce [:SOURce] :PULM :SOURce INTernal1 | INTernal2 | EXTernal1 | EXTernal2 Parameters: <char> Type: INTernal1 Default: Description: Selects the pulse modulation signal source, as follows: INTernal1 selects the signal from the internal pulse generator operating at a 100 MHz clock rate INTernal2 selects the signal from the internal pulse generator operating at a 10 MHz clock rate EXTernal1 selects the front panel external pulse...
Page 145
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :PULM:STATe [:SOURce] :PULM :STATe ON | OFF | 1 | 0 Parameters: <boolean> Type: Default: Description: Turns the MG369XB pulse modulation function on/off. [:SOURce]:PULM:STATe? Query Form: [:SOURce]:PULM:STATe sp ON Examples: Turns on the MG369XB pulse modulation function. [:SOURce]:PULM:STATe? Requests the currently programmed state of the pulse modulation function.
Page 146
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 MG369XB. [:SOURce] :PULSe :COUNt number of pulses Parameters: < NR1> Type: 1 to 4 Range:...
Page 147
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :PULSe:DELay<n> [:SOURce] :PULSe :DELay<n> (1 £ n £ 4) pulse delay (in seconds) Parameters: < NRf> Type: Range: See Notes 100 ms Default: Description: Sets the pulse delay for the selected pulse to the value entered. The pulse delay range for each pulse is deter- mined by the pulse generator clock rate (see note).
Page 148
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :PULSe:PERiod [:SOURce] :PULSe :PERiod pulse period (in seconds) Parameters: < NRf> Type: 40 ns to 167 ms (at 100 MHz pulse generator clock Range: rate); 600 ns to 1.6s (at 10 MHz pulse generator clock rate) 1 ms Default: Description:...
Page 149
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :PULSe:WIDth<n> [:SOURce] :PULSe :WIDTh<n> (1 £ n £ 4) pulse width (in seconds) Parameters: < NRf> Type: 30 ns to 167 ms (at 100 MHz pulse generator clock Range: rate); 300 ns to 1.6s (at 10 MHz pulse generator clock rate.) 500 ms Default: Description:...
Page 150
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :PULSe:STEP [:SOURce] :PULSe :STEP ON | OFF | 1 | 0 Parameters: <boolean> Type: Default: Description: Turns the internal pulse stepped delay mode on/off. When on, stepped delay mode automatically incre- ments or decrements the pulse delay 1 value accord- ing to step delay parameters (see notes below).
Page 151
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :PULSe:STEP:STARt [:SOURce] :PULSe :STEP :STARt pulse delay 1 starting time (in seconds) Parameters: <NRf> Type: 30 ns to 167 ms (at 100 MHz pulse generator clock Range: rate); 300 ns to 1.6s (at 10 MHz pulse generator clock rate) 100 ms Default: Description:...
Page 152
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :PULSe:STEP:STOP [:SOURce] :PULSe :STEP :STOP pulse delay 1 ending time (in seconds) Parameters: <NRf> Type: 30 ns to 167 ms (at 100 MHz pulse generator clock Range: rate); 300 ns to 1.6s (at 10 MHz pulse generator clock rate) 100 ms Default: Description:...
Page 153
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :PULSe:STEP:INCRement [:SOURce] :PULSe :STEP :INCRement step size time (in seconds) Parameters: <NRf> Type: 10 ns to 10 ms (at 100 MHz pulse generator clock Range: rate); 100 ns to 1s (at 10 MHz pulse generator clock rate) 100 ms Default: Description:...
Page 154
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :PULSe:STEP:TIME [:SOURce] :PULSe :STEP :TIME dwell time (in seconds) | MIN | MAX Parameters: <nv> Type: 100 ms to 10 sec Range: 1 ms Default: Description: Sets the dwell time for each step used with the :PULSe:STEP command to the value entered.
Page 155
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :ROSCillator:SOURce The [:SOURce]:ROSCillator command and its subcommands comprise the Reference Oscillator subsystem within the :SOURce subsystem. These commands control the reference oscillator function of the MG369XB. [:SOURce] :ROSCillator :BANDwidth :EXTernal bandwidth (in Hz) 10 | 30 | 100 | 300 Parameters: <integer>...
Page 156
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :ROSCillator:BANDwidth:EXTernal [:SOURce] :ROSCillator :SOURce? Parameters INT | EXT Returned: <char> Type: Description: Returns the current setting for the reference oscillator source of the instrument. [:SOURce]:ROSCillator:SOURce? Query Form: 3-114 MG369XB SCPI PM www.valuetronics.com...
Page 157
PROGRAMMING [: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 MG369XB. [:SOURce] :SCAN :STATe ON | OFF | 1 | 0 Parameters: <boolean>...
Page 158
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :SWEep<n>:DIRection 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 MG369XB. [:SOURce] (1 £...
Page 159
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :SWEep<n>:DWELl [:SOURce] (1 £ n £ 2) SWEep<n> :DWELl dwell time (in seconds) | MIN | MAX Parameters: <nv> Type: 1 ms to 99 sec Range: 1 ms Default: Description: Sets the dwell time for each step in a stepped fre- quency sweep or power level sweep to the value entered (see notes below).
Page 160
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :SWEep<n>:DWELl Interaction between Dwell, Sweep Time, and Points :SWEep:XXXX:AUTO switches Interaction :DWELl :TIME No coupling between :SWEep:DWELl, :SWEep:TIME, and :SWEep:POINts. :SWEep:TIME is always set to the minimum value that is compatible with other settings, as follows: If :SWEep:GENeration ANALog, then :SWEep:TIME = the larger of :SWEep:TIME:LLIMit or 30 ms If :SWEep:GENeration STEPped, then :SWEep:TIME =...
Page 161
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :SWEep:DWELl:AUTO [:SOURce] (1 £ n £ 2) :SWEep<n> :DWELl :AUTO ON | OFF | 1 | 0 Parameters: <boolean> Type: Default: ON signifies that :DWELl » :TIME/:POINts. See note be- Description: low. [:SOURce]:SWEep:DWELl:AUTO? Query Form: [:SOURce]:SWEep:DWELl:AUTO sp ON Examples: Set :SWEep:DWELl to its default value.
Page 162
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :SWEep<n>:GENeration [:SOURce] (1 £ n £ 2) :SWEep<n> :GENeration ANALog | STEPped (see notes) Parameters: <char> Type: SWEep1 is ANAlog; SWEep2 is STEPped Default: Description: Selects between analog and stepped frequency sweeps, in the SWEep[1] (frequency sweep) mode only. [:SOURce]:SWEep:GENeration? Query Form: [:SOURce]:SWEep:GENeration sp ANAlog...
Page 163
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :SWEep<n>:GENeration Sweep Mode Compatibility and Action Chart Mode Sweep Frequency Action Power Action :FREQ :POW :SWE:GEN :SWE2:GEN CW, F1 Fixed, L0 SWCW CW, F1, Ramp on Fixed, L0 ANAL Analog Sweep, F1-F2 Fixed, L0 STEP Stepped Sweep, F1-F2 Fixed, L0 STEP Stepped Sweep...
Page 164
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :SWEep<n>:POINts [:SOURce] (1 £ n £ 2) :SWEep<n> :POINts number of points | MIN | MAX Parameters: <nv> Type: 2 to 10,001 (MAXimum) for Stepped Frequency Range: sweeps 10,001 for SWEep1 Default: The default value for SWEep2 depends on the power range of the particular MG369XB model (see notes).
Page 165
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :SWEep<n>[:FREQuency]:STEP [:SOURce] (1 £ n £ 1) :SWEep<n> [:FREQuency] :STEP frequency (in Hz) | MIN | MAX Parameters: <nv> Type: Range: (see notes below) Default: MAX MIN 10,000 Description: Sets the step size for each step in SWEep[1] (fre- quency) linear stepped sweep to the value entered.
Page 166
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :SWEep<n>:POWer:STEP [:SOURce] (1 £ n £ 2) :SWEep<n> :POWer :STEP power level (in dB) | MIN | MAX Parameters: <nv> Type: MINimum = 0.01 dB Range: MAXimum is model dependent (see notes below) 0.01 dB for SWEep1 Default: 0.02 dB for SWEep2 Description:...
Page 167
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :SWEep<n>:SPACing [:SOURce] (1 £ n £ 1) :SWEep<n> :SPACing LINear | LOGarithmic Parameters: <char> Type: LINear Default: Description: Selects the type of SWEep[1] stepped frequency sweep (see notes). [:SOURce]:SWEep:SPACing? Query Form: [:SOURce]:SWEep:SPACing sp LOGarithmic Examples: Selects logarithmic type stepped frequency sweep. [:SOURce]:SWEep:SPACing? Requests the currently programmed type of stepped fre- quency sweep.
Page 168
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :SWEep<n>:TIME [:SOURce] (1 £ n £ 2) :SWEep<n> :TIME sweep time (in seconds) | MIN | MAX Parameters: <nv> Type: 30 ms to 99 sec Range: 30 ms for SWEep1 Default: The default value for SWEep2 depends on the power range of the particular MG369XB model (see notes).
Page 169
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :SWEep<n>:TIME:LLIMit [:SOURce] (1 £ n £ 2) :SWEep<n> :TIME :LLIMit sweep time (in seconds) | MIN | MAX Parameters: <nv> Type: 2 ms to 98.998 sec Range: 2 ms Default: Sets the lower limit for :SWEep<n>:TIME to the value Description: entered.
Page 170
PROGRAMMING [:SOURce] SUBSYSTEM COMMANDS :SWEep<n>:TIME:AUTO [:SOURce] (1 £ n £ 2) :SWEep<n> :TIME :AUTO ON | OFF | 1 | 0 Parameters: <boolean> Type: Default: ON specifies that the sweep time for the associated Description: sweep (SWEep[1] or SWEep2) is to be calculated inter- nally and is dependent on the sweep SPAN value.
PROGRAMMING :STATus SUBSYSTEM COMMANDS :OPERation[:EVENt]? 3-11 The :STATus subsystem controls the SCPI-defined status-reporting STATUS SUBSYSTEM stuctures of the MG369XB. The subsystem commands and parameters are described below. KEYWORD PARAMETER FORM NOTES :STATus :OPERation [:EVENt]? :CONDition? Default: 0 :ENABle <numeric_value> Default: 32767 :PTRansition <numeric_value>...
Page 172
PROGRAMMING :STATus SUBSYSTEM COMMANDS :OPERation:CONDition? :STATus :OPERation :CONDition? Parameters condition register contents Returned: <NR1> Type: Description: Returns the the contents of the MG369XB Opera- tional Condition register. When executed, this com- mand does not clear the Operational Condition regis- ter. :STATus:OPERation:CONDition? Example: Requests that the contents of the the Operational...
Page 173
PROGRAMMING :STATus SUBSYSTEM COMMANDS :OPERation:ENABle :STATus :OPERation :ENABle mask Parameters: <NRf> Type: 0 – 32767 Range: 0 (All 0’s) Default: Description: Sets the bits of the Operational Enable register asso- ciated with the Operational Event register to the bi- nary weighted integer value specified by the mask pa- rameter.
Page 174
PROGRAMMING :STATus SUBSYSTEM COMMANDS :OPERation:PTRansition :STATus :OPERation :PTRansition mask Parameters: <NRf> Type: 0 – 32767 Range: 32767 (All 1’s) Default: Description: Sets the bits of the positive transition filter for the Operational Condition register to the binary weighted integer value specified by the mask parameter. :STATus:OPERation:PTRansition? Query Form :STATus:OPERation:PTRansition sp 512...
Page 175
PROGRAMMING :STATus SUBSYSTEM COMMANDS :OPERation:NTRansition :STATus :OPERation :NTRansition mask Parameters: <NRf> Type: 0 – 32767 Range: 0 (All 0’s) Default: Description: Sets the bits of the negative transition filter for the Operational Condition register to the binary weighted integer value specified by the mask parameter. :STATus:OPERation:NTRansition? Query Form :STATus:OPERation:NTRansition sp 8...
Page 176
PROGRAMMING :STATus SUBSYSTEM COMMANDS :PRESet :STATus :PRESet None Parameters: Description: This command is an event that configures the SCPI and device-dependent status reporting structures so that device-dependent events are summarized and re- ported. This command performs the following func- tions: Sets the Operational Enable register to all 0’s.
Page 177
PROGRAMMING :STATus SUBSYSTEM COMMANDS :QUEStionable[:EVENt]? :STATus :QUEStionable [:EVENt]? Parameters event register contents Returned: <NR1> Type: Description: Returns the the contents of the MG369XB Question- able Event register. When executed, this command clears the Questionable Event register. :STATus:QUEStionable:EVENt? Example: Requests that the contents of the the Questionable Event register be returned.
Page 178
PROGRAMMING :STATus SUBSYSTEM COMMANDS :QUEStionable:CONDition? :STATus :QUEStionable :CONDition? Parameters condition register contents Returned: <NR1> Type: Description: Returns the the contents of the MG369XB Question- able Condition register. When executed, this command does not clear the Questionable Condition register. :STATus:QUEStionable:CONDition? Example: Requests that the contents of the the Questionable Con- dition register be returned.
Page 179
PROGRAMMING :STATus SUBSYSTEM COMMANDS :QUEStionable:ENABle :STATus :QUEStionable :ENABle mask Parameters: <NRf> Type: 0 – 32767 Range: 0 (All 0’s) Default: Description: Sets the bits of the Questionable Enable register asso- ciated with the Questionable Event register to the bi- nary weighted integer value specified by the mask pa- rameter.
Page 180
PROGRAMMING :STATus SUBSYSTEM COMMANDS :QUEStionable:PTRansition :STATus :QUEStionable :PTRansition mask Parameters: <NRf> Type: 0 – 32767 Range: 32767 (All 1’s) Default: Description: Sets the bits of the positive transition filter for the Questionable Condition register to the binary weighted integer value specified by the mask parame- ter.
Page 181
PROGRAMMING :STATus SUBSYSTEM COMMANDS :QUEStionable:NTRansition :STATus :QUEStionable :NTRansition mask Parameters: <NRf> Type: 0 – 32767 Range: 0 (All 0’s) Default: Description: Sets the bits of the negative transition filter for the Questionable Condition register to the binary weighted integer value specified by the mask parame- ter.
Page 182
PROGRAMMING :STATus SUBSYSTEM COMMANDS :QUEue[:NEXT]? :STATus :QUEue [:NEXT]? Parameters error code, error message string Returned: <NR1><string> Type: Description: 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.
PROGRAMMING :SYSTem SUBSYSTEM COMMANDS :ERRor? 3-12 The :SYSTem subsystem commands are used to implement functions SYSTEM SUBSYSTEM that are not related to MG369XB performance. These include error query, interface language selection, system preset, and version query. The subsystem commands and parameters are described below. KEYWORD PARAMETER FORM NOTES...
Page 184
PROGRAMMING :SYSTem SUBSYSTEM COMMANDS :LANGuage :SYSTem :LANGuage “SCPI” | “NATIVE” | “TMSL” Parameters: <string> Type: Default: Dependent upon the selection made at the MG369XB 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”...
Page 185
PROGRAMMING :SYSTem SUBSYSTEM COMMANDS :PRESet :SYSTem :PRESet Parameters: None Description: This command is synonomous with *RST and is in- cluded for programming compatibility with other in- struments. Query Form: None :SYSTem:PRESet Example: Sets all user programmable MG369XB parameters to their default values. MG369XB SCPI PM 3-143 www.valuetronics.com...
Page 186
PROGRAMMING :SYSTem SUBSYSTEM COMMANDS :VERSion? :SYSTem :VERSion? Parameters Returned: version number (see note) <NR2> Type: Description: Returns the SCPI version number that the instru- ment software complies with. :SYSTem:VERSion? Example: 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-...
PROGRAMMING :TRIGger SUBSYSTEM COMMANDS [:IMMediate] 3-13 The :TRIGger subsystem commands are used to control the sweep trig- TRIGGER SUBSYSTEM gering functions of the MG369XB. 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 188
PROGRAMMING :TRIGger SUBSYSTEM COMMANDS :SOURce :TRIGger :SOURce BUS | IMMediate | HOLD Parameters <char> Type: Default: Description: Selects the trigger source for the previously selected sweep. The source selections are: BUS – The source is the group execute trigger com- mand from the GPIB.
Page 189
PROGRAMMING :TRIGger SUBSYSTEM COMMANDS :SEQuence3: S L O Pe :TRIGger :SEQuence3 (see notes) :SLOPe POSitive | NEGative Parameters <char> Type: POSitive Default: Description: Selects whether the internal pulse generator is trig- gered on the rising edge (POSitive) or falling edge (NEGative) of the external trigger signal.
Page 190
PROGRAMMING :TRIGger SUBSYSTEM COMMANDS :SEQuence 3:TYP E :TRIGger :SEQuence3 :TYPE FREerun | GATed | DELayed | TRIGgered | TRGDelay | Parameters COMPosite <char> Type: FREerun Default: Description: Selects the mode of triggering the internal pulse gen- erator. The selections are: FREerun –...
Page 191
PROGRAMMING :TRIGger SUBSYSTEM COMMANDS :SEQuence 3: SOU Rce :TRIGger :SEQuence3 :SOURce EXTernal1 | EXTernal2 Parameters <char> Type: EXTernal1 Default: Description: Selects the source of the external trigger signal for the internal pulse generator as follows: EXTernal1 – the front panel PULSE TRIGGER IN connector.
Page 192
PROGRAMMING COMMANDS :TSWeep 3-14 The :TSWeep command is a convenience command. It is equivalent to :TSWeep COMMAND sending :ABORt;:INITiate[:IMMediate]. 3-150 MG369XB SCPI PM www.valuetronics.com...
PROGRAMMING :UNIT SUBSYSTEM COMMANDS :FREQuency 3-15 The :UNIT subsystem commands set the default units for the fre- UNIT SUBSYSTEM quency and time parameters that are used with all MG369XB SCPI commands described in this manual. The units selected apply to the designated command parameters for both command and response.
Page 194
PROGRAMMING :UNIT SUBSYSTEM COMMANDS :TIME :UNIT :TIME S | MS | US | NS Parameters <char> Type: Default: Description: Selects the global default for all time related parame- ters used with all MG369XB SCPI commands. S = second MS = millisecond US = microsecond NS = nanosecond :UNIT:TIME?
Chapter 4 Error Messages This chapter lists and describes each of the error messages related to INTRODUCTION MG369XB 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. The :SYSTem:ERRor? query command is a request for the next entry ERROR QUERY in the instrument’s error queue.
ERROR MESSAGES ERROR QUEUE As errors are detected, error messages are placed in a queue. This ERROR QUEUE queue is first in, first out and can hold a maximum of 10 messages. If the queue overflows, the last error message in the queue is replaced with the error message –350, “Queue overflow”...
ERROR COMMAND MESSAGES ERRORS An <error code> in the range [–199, –100] indicates that an IEEE COMMAND ERRORS 488.2 syntax error has been detected by the instrument’s parser. The occurrence of any error in this class should cause the command error bit (bit 5) in the standard event status register to be set.
Page 200
ERROR COMMAND MESSAGES ERRORS –109 “Missing parameter” Fewer parameters were received than required for the header; for example, the *SAV common com- mand requires one parameter, so receiving *SAV is not allowed. –110 “Command Header Error” An error was detected in the header. This error mes- sage should be used when the device cannot detect the more specific errors described for errors –111 through –119.
Page 201
ERROR COMMAND MESSAGES ERRORS –124 “Too many digits” The mantissa of a decimal numeric data element contained more than 255 digits excluding leading zeros (see IEEE 488.2, 7.7.2.4.1). –128 “Numeric data not allowed” A legal numeric data element was received, but the device does not accept one in this position for the header.
Page 202
ERROR COMMAND MESSAGES ERRORS –150 “String data error” This error, as well as errors –151 through –159, are generated when parsing a string data element. This particular error message should be used if the de- vice cannot detect a more specific error. –151 “Invalid string data”...
ERROR COMMAND MESSAGES ERRORS –180 “Macro error” This error, as well as errors –181 through –189, are generated when defining a macro or executing a macro. This particular error message should be used if the device cannot detect a more specific error. –181 “Invalid outside macro definition”...
ERROR EXECUTION MESSAGES ERRORS An <error code> in the range [–299,–200] indicates that an error has EXECUTION ERRORS been detected by the instrument’s execution control block. The occur- rence of any error in this class should cause the execution error bit (bit 4) of the standard event status register to be set.
Page 205
ERROR EXECUTION MESSAGES ERRORS –211 “Trigger Ignored” Indicates that a GET, *TRG, or triggering signal was received and recognized by the device but was ig- nored because of device timing considerations; for example, the device was not ready to respond. Note: a DTO device always ignores GET and treats *TRG as a command error.
Page 206
ERROR EXECUTION MESSAGES ERRORS –223 “Too much data” Indicates that a legal program data element of block, expression, or string type was received that contained more data than the device could handle due to memory or related device-specific require- ments. –224 “Illegal parameter value”...
Page 207
ERROR EXECUTION MESSAGES ERRORS –252 “Missing media” Indicates that a legal program command or query could not be executed because of missing media; for example, no disk. Definition of what constitutes missing media is device-specific. –253 “Corrupt media” Indicates that a legal program command or query could not be executed because of corrupt media;...
Page 208
ERROR EXECUTION MESSAGES ERRORS –260 “Expression error” Indicates that an expression program data element related error occurred. This error message should be used when the device cannot detect the more spe- cific errors described for errors –261 through –269. –261 “Math error in expression”...
Page 209
ERROR EXECUTION MESSAGES ERRORS –276 “Macro recursion error” Indicates that a syntactically legal macro program data sequence could not be executed because the de- vice found it to be recursive (see IEEE 488.2, 10.7.6.6). –277 “Macro redefinition not allowed” Indicates that a syntactically legal macro label in the *DMC command could not be executed because the macro label was already defined (see IEEE 488.2, 10.7.6.4).
ERROR DEVICE-SPECIFIC MESSAGES ERRORS An <error code> in the range [–399,–300] or [1, 32767] indicates that DEVICE-SPECIFIC the instrument has detected an error which is not a command error, a ERRORS query error, or an execution error; some device operations did not prop- erly complete, possibly due to an abnormal hardware or firmware con- dition.
Page 211
ERROR DEVICE-SPECIFIC MESSAGES ERRORS –315 “Configuration memory lost” Indicates that nonvolatile configuration data saved by the device has been lost. The meaning of this er- ror is device-specific. –330 “Self-test failed” –350 “Queue overflow” A specific code entered into the queue in lieu of the code that caused the error.
ERROR QUERY MESSAGES ERRORS An <error code> in the range [–499,–400] indicates that the output QUERY ERRORS queue control of the instrument has detected a problem with the mes- sage exchange protocol described in IEEE 488.2, Chapter 6. The occur- rence of any error in this class should cause the query error bit (bit 2) in the standard event status register to be set.
ERROR PARSER MESSAGES ERRORS 4-10 An <error code> in the range [201, 212] is generated by the instru- PARSER ERRORS ment’s parser in response to the error condition described. Error Error Description Code [description/explanation/examples] “Query only” Indicates the command is a query command only. “No query allowed”...
ERROR SELF-TEST MESSAGES ERRORS 4-11 An <error code> in the range [100, 199] indicates that a failure has oc- SELF-TEST ERRORS curred during instrument self-test. The error messages are placed in the error queue in the order they occur. Error Error Description Code [description/explanation/examples]...
Page 215
ERROR SELF-TEST MESSAGES ERRORS “Not locked: Coarse Loop” Indicates the coarse loop oscillator is not phase- locked. “Not locked: YIG Loop” Indicates the YIG loop is not phase-locked. “Not locked: Down Converter” Indicates the local oscillator in the down converter assembly is not phase-locked.
Page 216
ERROR SELF-TEST MESSAGES ERRORS “Unleveled and not locked: 8.4-20 GHz range” Indicates failure of the 8.4 to 20 GHz YIG-tuned oscillator. “Unleveled and not locked: 2-8.4 GHz range” Indicates failure of the 2 to 8.4 GHz YIG-tuned oscillator. “Failed: A10 Detector input circuit” Indicates failure of the level detector input circuit on the A10 PCB.
Page 217
ERROR SELF-TEST MESSAGES ERRORS “Failed: Freq extension unit or driver” Indicates failure of the frequency extension unit (FEU) or FEU driver circuitry on the A9 PCB. “Failed: 33-40 GHz section of freq extension unit” Indicates failure of the 33 to 40 GHz section of the FEU.
Appendix A Overall Command Tree This appendix provides an overall command tree for the Series INTRODUCTION MG369XB 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. MG369XB SCPI PM www.valuetronics.com...
Page 223
Appendix B SCPI Conformance Information This appendix provides SCPI conformance information for the INTRODUCTION MG369XB SCPI command set in the form of a command summary. The MG369XB SCPI command set commands and queries are de- scribed individually in Chapter 3—Programming Commands. The SCPI version that the MG369XB software supports is Standard Commands for Programmable Instruments (SCPI) 1993.0.
Need help?
Do you have a question about the MG369 B Series and is the answer not in the manual?
Questions and answers