Anritsu MG369 C Series Programming Manual
Anritsu MG369 C Series Programming Manual

Anritsu MG369 C Series Programming Manual

Synthesized signal generators
Hide thumbs Also See for MG369 C Series:
Table of Contents

Advertisement

SCPI Programming Manual
MG369xC Series
Synthesized Signal Generators
Anritsu Company
Part Number: 10370-10375
490 Jarvis Drive
Revision: E
Morgan Hill, CA 95037-2809
Published: February 2020
USA
Copyright 2020 Anritsu Company

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MG369 C Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Anritsu MG369 C Series

  • Page 1 SCPI Programming Manual MG369xC Series Synthesized Signal Generators Anritsu Company Part Number: 10370-10375 490 Jarvis Drive Revision: E Morgan Hill, CA 95037-2809 Published: February 2020 Copyright 2020 Anritsu Company...
  • Page 3: Table Of Contents

    Table of Contents Chapter 1—General GPIB Information Introduction ..............1-1 Scope of Manual.
  • Page 4 Table of Contents (Continued) Chapter 2—Programming with SCPI Commands Introduction ..............2-1 Introduction to SCPI Programming .
  • Page 5 Table of Contents (Continued) 3-10 [:SOURce] Subsystems ........... . . 3-12 [:SOURce]:AM Commands .
  • Page 6 Contents-4 PN: 10370-10375 Rev. E MG369xC SCPI PM...
  • Page 7: Chapter 1-General Gpib Information

    IEEE 488 General Purpose Interface Bus (GPIB). It contains a general description of the GPIB and bus data transfer and control functions, a complete listing and description of all MG369xC GPIB product specific commands, and several programming examples. The Anritsu part number for the GPIB programming manual is 10370-10374.
  • Page 8: Chapter Introduction

    1-4 Chapter Introduction General GPIB Information Chapter Introduction This chapter provides a general description of the GPIB and the bus data transfer and control functions. It also contains a listing of the MG369xC’s GPIB interface function subset capability and response to IEEE-488 interface function messages.
  • Page 9 General GPIB Information 1-5 IEEE-488 Interface Bus Description Figure 1-1. Interface Connections and GPIB Bus Structure MG369xC SCPI PM PN: 10370-10375 Rev. E...
  • Page 10: Functional Elements

    1-5 IEEE-488 Interface Bus Description General GPIB Information Functional Elements Effective communications between devices on the GPIB requires three functional elements; a talker, a listener, and a controller. Each device on the GPIB is categorized as one of these elements depending on its current interface function and capabilities.
  • Page 11: Data Bus Description

    General GPIB Information 1-5 IEEE-488 Interface Bus Description Data Bus Description The data bus is the conduit for the transfer of data and commands between the devices on the GPIB. It contains eight bi-directional, active-low signal lines—DIO 1 thru DIO 8. Data and commands are transferred over the data bus in byte-serial, bit-parallel form.
  • Page 12: General Interface Management Bus Description

    1-5 IEEE-488 Interface Bus Description General GPIB Information General Interface Management Bus Description The general interface management bus is a group of five signal lines used to manage the flow of information across the GPIB. A description of the function of each of the individual control lines is provided below. ATN (Attention) The active controller uses the ATN line to define whether the information on the data bus is a command or is data.
  • Page 13: Message Types

    General GPIB Information 1-5 IEEE-488 Interface Bus Description Table 1-2. MG369xC Interface Function Capability Function Identifier Function MG369xC Capability Acceptor Handshake Complete Capability Source Handshake Complete Capability Talker No Talk Only (TON) Listener No Listen Only (LON) Service Request Complete Capability Remote/Local Complete Capability Parallel Poll...
  • Page 14 1-5 IEEE-488 Interface Bus Description General GPIB Information Data and Instrument Status Messages These messages are sent by the device to the external controller via the GPIB. They contain measurement results, instrument status, or data files that the device transmits over the data bus in response to specific requests from the external controller.
  • Page 15: Mg369Xc Gpib Operation

    General GPIB Information 1-6 MG369xC GPIB Operation MG369xC GPIB Operation All Series MG369xC Synthesized Signal Generator functions, settings, and operating modes (except for power on/standby) are controllable using commands sent from an external controller via the GPIB. When in the remote (GPIB) mode, the signal generator functions as both a listener and a talker. The GPIB interface function capability of the MG369xC is listed in Table 1-2 on page 1-7.
  • Page 16: Remote Programming Setup And Interface

    MG369xC supports. Anritsu recommends NI-VISA, the National Instruments implementation of the VISA I/O standard. Anritsu recommends that you use the full version of NI-VISA (not just the runtime) for the best Note support of the latest .NET Framework, USB, and TCP/IP updates. Check with National Instruments for details.
  • Page 17: Gpib Interconnection And Setup

    The only interconnection required for GPIB operation is between the signal generator and the controller. This interconnection is via a standard GPIB cable. The Anritsu part number for such a cable is 2100-1, -2, or -4 (1, 2, or 4 meters in length).
  • Page 18: Selecting The Line Terminator

    1-8 GPIB Interconnection and Setup General GPIB Information 3. To access the Configure GPIB menu from this menu, press the GPIB > soft key. The Configure GPIB menu (Figure 1-4) is displayed. Figure 1-4. GPIB Configuration Menu 4. Press the menu soft key GPIB Address [ADD] to change the current GPIB address of the signal generator. 5.
  • Page 19: Ethernet Lan Tcp/Ip Requirements And Setup

    General GPIB Information 1-9 Ethernet LAN TCP/IP Requirements and Setup Ethernet LAN TCP/IP Requirements and Setup The MG3690C supports Ethernet 10/100 BASE-T. The instrument is connected directly to the LAN via the rear panel RJ-45 Ethernet Port using a standard CAT-7 Ethernet cable. Information about Ethernet LAN general reqirements, configuration, use, and restoring defaults are discussed in the following sections.
  • Page 20: Ethernet Setup - Static Ip Configuration

    Configuration” on page 1-17 for configuring DHCP. For best results when configuring the Ethernet connection, Anritsu recommends that you first connect the MG369xC directly to a PC using a crossover cable and then set the TCP/IP settings. To set up using STATIC TCP/IP configuration: 1.
  • Page 21 General GPIB Information 1-9 Ethernet LAN TCP/IP Requirements and Setup 5. In the IP Address field, enter the IP address as indicated by your network administrator. 6. Enter the correct subnet mask and gateway for your network, if applicable. 7. Click the Update Flash button to complete the configuration. The TCP/IP Confirmation Page appears as shown in Figure 1-7 on page 1-16 (refer to...
  • Page 22 1-9 Ethernet LAN TCP/IP Requirements and Setup General GPIB Information 8. Click Reboot button for the changes to take effect or power cycle the unit later to activate the changes. Note When rebooting, it can take three to five minutes for the changes to take effect. Figure 1-7.
  • Page 23: Ethernet Setup - Dhcp With Autoip Configuration

    “Ethernet Setup - Static IP Configuration” on page 1-14. For best results when configuring the Ethernet connection, Anritsu recommends that you first connect the MG369xC directly to a PC using a crossover cable and then set the TCP/IP settings. To set up using DHCP with AutoIP TCP/IP configuration: 1.
  • Page 24 1-9 Ethernet LAN TCP/IP Requirements and Setup General GPIB Information 5. Select DHCP with AutoIP. The configuration page is altered for DHCP as shown in Figure 1-9. 6. Click the Update Flash button to complete the configuration. The TCP/IP Confirmation Page appears as shown in Figure 1-10 on page 1-19 (refer to...
  • Page 25: Testing The Tcp/Ip Connection Over Lan

    General GPIB Information 1-9 Ethernet LAN TCP/IP Requirements and Setup 7. Click Reboot button for the changes to take effect or power cycle the unit later to activate the changes. Note When rebooting, it can take three to five minutes for the changes to take effect. Figure 1-10.
  • Page 26: Example Pc Control Of Mg369Xc Via Lan

    1-9 Ethernet LAN TCP/IP Requirements and Setup General GPIB Information Example PC Control of MG369xC via LAN Following is an example of controlling the MG369xC using the NI-MAX utility. 1. On the host machine, run NI MAX and expand Devices and Interfaces. 2.
  • Page 27 General GPIB Information 1-9 Ethernet LAN TCP/IP Requirements and Setup 5. In the same Basic I/O tab and execute a read by clicking in the viRead tab. The Buffer area should display the instrument ID. Figure 1-13. NI MAX TCP-IP Basic I/O Read MG369xC SCPI PM PN: 10370-10375 Rev.
  • Page 28: Ethernet Control Example In C# Programming Using Ni Visa

    1-9 Ethernet LAN TCP/IP Requirements and Setup General GPIB Information Ethernet Control Example in C# Programming using NI VISA Note NI is a trademark of the National Instruments Corporation. //Ethernet control example in C# programming using National Instruments Visa using System;...
  • Page 29 General GPIB Information 1-9 Ethernet LAN TCP/IP Requirements and Setup Thread.Sleep(3000); // Stop sweeping mbSession.Write("INITiate:CONTinuous OFF"); mbSession.Write("ABORt"); Console.WriteLine("Auto Trigger Sweep Setup Complete"); catch (Exception Console.WriteLine(ex.Message); finally (mbSession != null) mbSession.Dispose(); MG369xC SCPI PM PN: 10370-10375 Rev. E 1-23...
  • Page 30: Resetting Ethernet Ip Address To Factory Default

    1-9 Ethernet LAN TCP/IP Requirements and Setup General GPIB Information Resetting Ethernet IP Address to Factory Default The MG369xC MAC address can be used to find its IP address on the Network by sending the com- mand “arp -a” via a DOS command prompt. The MAC address can be found on the back panel of the instrument and is also shown on the Welcome web page for the instrument.
  • Page 31 General GPIB Information 1-9 Ethernet LAN TCP/IP Requirements and Setup Figure 1-15. Factory IP Address Reset Verification MG369xC SCPI PM PN: 10370-10375 Rev. E 1-25...
  • Page 32 1-9 Ethernet LAN TCP/IP Requirements and Setup General GPIB Information 1-26 PN: 10370-10375 Rev. E MG369xC SCPI PM...
  • Page 33: Chapter 2-Programming With Scpi Commands

    Chapter 2 — Programming with SCPI Commands Introduction This chapter provides an introduction to SCPI programming that includes descriptions of the command types, hierarchal command structure, data parameters, and notational conventions. Information on MG369xC status system and trigger system programming is also provided. Introduction to SCPI Programming The Standard Commands for Programmable Instruments (SCPI) defines a set of standard programming commands for use by all SCPI compatible instruments.
  • Page 34: Required And Optional Scpi Commands

    2-2 Introduction to SCPI Programming Programming with SCPI Commands Required and Optional SCPI Commands The required SCPI commands are listed in Table 2-2 and are described in detail in Section 3-11 Section 3-12. The optional SCPI commands and MG369xC unique commands comprise the remainder (major portion) of the MG369xC command set.
  • Page 35: Hierarchical Command Structure

    Programming with SCPI Commands 2-2 Introduction to SCPI Programming Hierarchical Command Structure All SCPI commands, except the common commands, are organized in a hierarchical structure similar to the inverted tree file structure used in most computers. The SCPI standard refers to this structure as “the Command Tree.”...
  • Page 36: Data Parameters

    2-2 Introduction to SCPI Programming Programming with SCPI Commands Data Parameters Data parameters, referred to simply as “parameters,” are the quantitative values used as arguments for the command keywords. The parameter type associated with a particular SCPI command is determined by the type of information required to control the particular instrument function.
  • Page 37: Notational Conventions

    Programming with SCPI Commands 2-3 Notational Conventions Notational Conventions The SCPI interface standardizes command syntax and style that simplifies the task of programming across a wide range of instrumentation. As with any programming language, the exact command keywords and command syntax must be used. Unrecognized commands, or improper syntax, will generate an error (refer to Chapter 4 for error reporting).
  • Page 38: Notational Examples

    2-4 SCPI Interface Language Selection Programming with SCPI Commands Notational Examples The following is an example showing command syntax (It is not an actual command): [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.
  • Page 39: Status System Programming

    Programming with SCPI Commands 2-5 Status System Programming Status System Programming The MG369xC status system (shown in Figure 2-3 on page 2-8) consists of the following SCPI-defined status-reporting structures: • The Instrument Summary Status Byte Group • The Standard Event Status Group •...
  • Page 40 2-5 Status System Programming Programming with SCPI Commands Figure 2-3. MG369xC Status-Reporting Structure PN: 10370-10375 Rev. E MG369xC SCPI PM...
  • Page 41: Status Group Reporting

    Programming with SCPI Commands 2-5 Status System Programming Status Group Reporting The state of certain MG369xC hardware and operational events and conditions can be determined by programming the status system. As shown in Figure 2-3, the three lower status groups provide status information to the Summary Status Byte group.
  • Page 42 2-5 Status System Programming Programming with SCPI Commands 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 43 Programming with SCPI Commands 2-5 Status System Programming Questionable Status Group The Questionable Status group, consisting of the Questionable Condition register, the Questionable Positive Transition register, the Questionable Negative Transition register, the Questionable Event register, and the Questionable Event Enable register, is used to determine the specific condition that set bit 3 in the Summary Status Byte.
  • Page 44: Trigger System Programming

    2-6 Trigger System Programming Programming with SCPI Commands Trigger System Programming The MG369xC trigger system is used to synchronize signal generator actions with software trigger commands. The MG369xC follows the layered trigger model used in SCPI instruments. The following paragraphs describe operation and programming of the signal generator trigger system.
  • Page 45 Programming with SCPI Commands 2-6 Trigger System Programming Upon sweep completion, if :INITiate:CONTinuous is set OFF, the trigger system returns to the idle state. If :INITiate:CONTinuous is set to ON, the trigger system returns to the armed (wait for trigger) state. Auto Trigger Mode Setting the command :INITiate:CONTinuous to ON and the command :TRIGger[:SEQuence]:SOURce to IMMediate, places the trigger system in an auto trigger mode.
  • Page 46 2-14 PN: 10370-10375 Rev. E MG369xC SCPI PM...
  • Page 47: Chapter 3-Programming Commands

    Chapter 3 — Programming Commands Introduction This chapter contains information on all SCPI programming commands accepted and implemented by the Series MG369xC Synthesized Signal Generator. Common Commands Common commands are used to control instrument status registers, status reporting, synchronization, data storage, and other common functions.
  • Page 48: Optional Common Commands

    3-2 Common Commands Programming Commands *RST (Reset Command Resets the MG369xC to a pre-defined condition with all user programmable parameters set to their default values. These default parameter values are listed under each SCPI command in this manual. This command does not affect the Output Queue, Status Byte Register, Standard Event Register, or calibration data.
  • Page 49: Subsystem Commands

    Programming Commands 3-3 Subsystem Commands *TRG (Trigger Command) Triggers instrument if :TRIGger:SOURce command data parameter is BUS. Refer to INITiate and TRIGger subsystem commands.) Performs the same function as the Group Execute Trigger <GET> command defined in IEEE 488.1. Subsystem Commands Subsystem commands control all signal generator functions and some general purpose functions.
  • Page 50: Abort Subsystem

    3-4 :ABORt Subsystem Programming Commands :ABORt Subsystem The :ABORt command is a single command subsystem. There are no subcommands or associated data parameters, as shown below. The :ABORt command, along with the :TRIGger and :INITiate commands, comprise the “Trigger Group” of commands. :ABORt Description: Forces the trigger system to the idle state.
  • Page 51: Control Subsystem

    Programming Commands 3-5 :CONTrol Subsystem :CONTrol Subsystem The :CONTrol subsystem sets the state of the following rear panel control outputs; RETRACE BLANK OUT, PENLIFT OUT, and HORIZ OUT. The subsystem commands and parameters are described below: Table 3-1. :CONTrol Subsystem Parameter Keyword Form...
  • Page 52 3-5 :CONTrol Subsystem Programming Commands :CONTrol:RAMP:REST <char> :CONTrol:RAMP:REST? 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. STOP sets the sweep to rest at the top of the sweep ramp. Parameters: STARt | STOP Default: STOP Examples: :CONTrol:RAMP:REST STOP...
  • Page 53: Diagnostic Subsystem

    Programming Commands 3-6 :DIAGnostic Subsystem :DIAGnostic Subsystem The :DIAGnostic subsystem consists of the query command described below: :DIAGnostic:SNUM? Description: This query returns the serial number of the instrument. MG369xC SCPI PM PN: 10370-10375 Rev. E...
  • Page 54: Display Subsystem

    3-7 :DISPlay Subsystem Programming Commands :DISPlay Subsystem The :DISPlay subsystem controls the display of all frequency, power level, and modulation parameters on the front panel data display. Table 3-2. :DISPlay Subsystem Parameter Keyword Form Parameter Data or Units Notes :DISPlay [:WINDow] :TEXT <boolean>...
  • Page 55: Initiate Subsystem

    Programming Commands 3-8 :INITiate Subsystem :INITiate Subsystem The :INITiate subsystem controls the state of the MG369xC trigger system. The subsystem commands and parameters are described below. The :INITiate commands, along with the :ABORt and :TRIGger commands, comprise the Trigger Group of commands. Table 3-3.
  • Page 56: Output Subsystem

    3-9 :OUTPut Subsystem Programming Commands :OUTPut Subsystem The :OUTPut subsystem controls the MG369xC 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 57 Programming Commands 3-9 :OUTPut Subsystem :OUTPut:PROTection:RETRace <boolean> :OUTPut:PROTection:RETRace? Description: ON causes the MG369xC RF output to be turned off during sweep retrace. OFF leaves RF output turned on. Parameters: ON | OFF | 1 | 0 Default: OFF Examples: :OUTPut:PROTection:RETRace ON Turns the MG369xC RF output off during sweep retrace.
  • Page 58: 3-10 [:Source] Subsystems

    3-10 [:SOURce] Subsystems Programming Commands 3-10 [:SOURce] Subsystems The [:SOURce] subsystem provides control of a majority of the MG369xC 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 Table 3-5.
  • Page 59 Programming Commands 3-10 [:SOURce] Subsystems Table 3-5. [:SOURce] Subsystems (2 of 4) Parameter Keyword Form Parameter Data or Units Notes <nv> numeric value [:CW | :FIXed] STEP <NRf> numeric value [:INCRement] <NRf> numeric value CENTer <char> CW | FIXed | SWEep[1] | SWCW | :MODE ALSW | LIST[1] | LIST2 | LIST3 | LIST4 <NRf>...
  • Page 60 3-10 [:SOURce] Subsystems Programming Commands Table 3-5. [:SOURce] Subsystems (3 of 4) Parameter Keyword Form Parameter Data or Units Notes <char> SINE | GAUSsian | RDOWn | RUP | :WAVE SQUARe | TRIangle | UNIForm <NRf> numeric value :FREQuency <NRf> numeric value :SENSitivity <char>...
  • Page 61 Programming Commands 3-10 [:SOURce] Subsystems Table 3-5. [:SOURce] Subsystems (4 of 4) Parameter Keyword Form Parameter Data or Units Notes <char> INTernal1 | INTernal2 | EXTernal1 | :SOURce EXTernal2 <boolean> 1 | 0 | ON | OFF :STATe :PULSe <NR1> numeric value :COUNt <NRf...
  • Page 62: [:Source]:Am Commands

    3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:AM Commands The [:SOURce]:AM command and its subcommands comprise the AM Subsystem within the :SOURce subsystem. These commands control the Amplitude Modulation function of the MG369xC. [:SOURce]:AM:LOGSens <NRf> [:SOURce]:AM:LOGSens? Description: Sets the AM sensitivity for the external AM Log mode. Parameters: Sensitivity (in dB/V) Range: 0 to 25 dB/V Default: 3 dB/V...
  • Page 63 Programming Commands 3-10 [:SOURce] Subsystems [:SOURce]:AM:INTernal:WAVE <char> [:SOURce]:AM:INTernal:WAVE? Description: Selects the modulating waveform (from the internal AM generator) for the internal AM function, as follows: Sine wave SINE Guassian noise GAUSsian Negative ramp RDOWn Positive ramp Square wave SQUare Triangle wave TRIangle Uniform noiseParameters: UNIForm...
  • Page 64 3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:AM:SOURce <char> [:SOURce]:AM:SOURce? Description: Selects the source of the AM modulating signal, as follows: = Internal AM generator INTernal = Not used EXTernal1 = Rear panel AM IN connector EXTernal2 Parameters: INTernal | EXTernal1 | EXTernal2 Default: EXTernal1 Examples: [:SOURce]:AM:SOURce EXTernal2 Selects the rear panel AM IN connector as the active AM modulating signal source.
  • Page 65: [:Source]:Correction Commands

    Programming Commands 3-10 [:SOURce] Subsystems [:SOURce]:CORRection Commands The [:SOURce]:CORRection command and its subcommands comprise the Correction Subsystem within the :SOURce subsystem. These commands are used to select and apply level flatness correction to the MG369xC RF output. (Refer to “Leveling Operations” in Chapter 3 of the MG369xC Operation Manual.) [:SOURce]:CORRection[:STATe] <boolean>...
  • Page 66 3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:FM:INTernal:FREQuency <NRf> [:SOURce]:FM:INTernal:FREQuency? Description: Sets the frequency of the modulating waveform for the internal FM function (see :FM:INTernal:WAVE). Parameters: Frequency Range: 0.1 Hz to 1 MHz for sine wave 0.1 Hz to 100 kHz for square, triangle, and ramp waveforms Default: 1 kHz Examples: [:SOURce]:FM:INTernal:FREQuency 50 kHz Sets the frequency of the modulating waveform for the internal FM function to 50 kHz.
  • Page 67 Programming Commands 3-10 [:SOURce] Subsystems [:SOURce]:FM:MODE <char> [:SOURce]:FM:MODE? Description: Sets the synthesis mode employed in generating the FM signal, as follows: LOCKed[1] = Locked Narrow FM = Locked Narrow Low-Noise FM LOCKed2 UNLocked = Unlocked FM If LOCKed[1] or LOCKed2 is set, the YIG phase-locked loop is used in synthesizing the FM signal.
  • Page 68 3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:FM:SENSitivity <NRf> [:SOURce]:FM:SENSitivity? Description: Sets the FM sensitivity for the external FM function. Parameters: Sensitivity (in Hz/V) Range: ±10 kHz/V to ±20 MHz/V in Locked, Locked Low-Noise, and Unlocked Narrow modes ±100 kHz/V to ±100 MHz/V in Unlocked Wide mode Default: 1 MHz/Volt Examples: [:SOURce]:FM:SENSitivity 20 MHz/V Set the FM sensitivity for the external FM function to 20 MHz/Volt.
  • Page 69: [:Source]:Frequency Commands

    Programming Commands 3-10 [:SOURce] Subsystems [:SOURce]:FREQuency Commands The [:SOURce]:FREQuency command and its subcommands make up the Frequency Subsystem within the :SOURce subsystem. These commands control the frequency characteristics of the MG369xC. [:SOURce]:FREQuency[:CW|:FIXed] <nv> [:SOURce]:FREQuency[:CW]? Description: Sets the RF output frequency of the MG369xC to the value entered. Parameters UP | DOWN increment/decrement the frequency by the value set by [:SOURce]:FREQuency:STEP:INCRement command.
  • Page 70 3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:FREQuency[:CW |:FIXed]:STEP[:INCRement] <NRf> [:SOURce]:FREQuency[:CW]:STEP[:INCRement]? Description: Sets the step increment size used with the :FREQuency:CW command. Parameters: Frequency (in Hz) Range: 0.01 Hz to (MAX – MIN) (see note below) Default: 0.1 GHz Examples: [:SOURce]:FREQuency:CW:STEP:INCRement 1 MHz or :FREQ:STEP 1 MHz Set the step increment value for the frequency parameter to 1 MHz.
  • Page 71 Programming Commands 3-10 [:SOURce] Subsystems [:SOURce]:FREQuency:MODE <char> [:SOURce]:FREQuency:MODE? Description: Specifies which command subsystem controls the MG369xC frequency, as follows: = [:SOURce]:FREQuency:CW|FIXed CW|FIXed = [:SOURce]:SWEep[1] (see notes) SWEep[1] = (see notes) SWCW = (see notes) ALSW = [:SOURce]:LIST<n> (see notes) LIST<n> :SWEep and :SWEep1may be used interchangeably.
  • Page 72 3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:FREQuency:SPAN:FULL Description: Sets frequency span for SWEep[1] to (MAX – MIN) (see notes under [:SOURce]:FREQuency:CW|FIXed). Parameters: None Example: [:SOURce]:FREQuency:SPAN:FULL Set the SWEep[1] frequency span to its maximum value. [:SOURce]:FREQuency:SPAN2 <NRf> [:SOURce]:FREQuency:SPAN2? Description: Sets sweep span for the alternate sweep to value entered. :SPAN and :CENTer are coupled values (see note below).
  • Page 73 Programming Commands 3-10 [:SOURce] Subsystems [:SOURce]:FREQuency:STARt <nv> [:SOURce]:FREQuency:STARt? Description: Sets start frequency for SWEep[1] to the value entered. (MIN is defined in the notes under [:SOURce]:FREQuency:CW|FIXed). Parameters: Frequency (in Hz) | MIN Range: MIN to MAX (see note) Stepped Sweep Start Range = MIN to MAX, where: MAX = MAX – 2  minimum frequency step size Note Analog Sweep Start Range = MIN to MAX, where;...
  • Page 74 3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:FREQuency:STOP <nv> [:SOURce]:FREQuency:STOP? Description: Sets stop frequency for SWEep[1] to the value entered. (MAX is defined in the notes under [:SOURce]:FREQuency:CW|FIXed). Parameters: Frequency (in Hz) | MAX Range: MIN to MAX (see notes) Stepped Sweep Stop Range = MIN to MAX, where: MIN = MIN + 2  minimum frequency step size Note Analog Sweep Stop Range = MIN to MAX, where;...
  • Page 75: [:Source]:List Commands

    Programming Commands 3-10 [:SOURce] Subsystems [:SOURce]:FREQuency:MULTiplier <nv> [:SOURce]:FREQuency:MULTiplier? Description: Sets the value of the reference multiplier for the frequency scaling function. This command affects all entered and displayed frequencies, but it does not affect the output of the instrument. Parameters: Reference multiplier value | MIN | MAX Range: 0.1 to 14;...
  • Page 76 3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:LIST<n>:FREQuency <nv>{,<nv>} [:SOURce]:LIST<n>:FREQuency? (1  n  4 = selected list) Description: Sets the list frequencies 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. Any number of frequencies can follow this command.
  • Page 77 Programming Commands 3-10 [:SOURce] Subsystems [:SOURce]:LIST<n>:FREQuency:POINts? (1  n  4 = selected list) Description: Queries the number of frequency points in the selected list. The number of points is 2000 and is not settable. Parameters Returned: number of frequency points in <NR1> format [:SOURce]:LIST<n>:MODE <char>...
  • Page 78 3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:LIST<n>:POWer:POINts? (1  n  4 = selected list) Description: Queries the number of power level points in the selected list. The number of points is 2000 and is not settable. Parameters Returned: Number of power level points in <NR1> format. [:SOURce]:LIST<n>:DWELl <nv>...
  • Page 79 Programming Commands 3-10 [:SOURce] Subsystems [:SOURce]:LIST<n>:CALCulate (1  n  4 = selected list) Description: Performs all the calculations necessary to set the frequencies and power levels for the active list (see notes below). During the initial sweep of the active list, the MG369xC performs calculations to set the frequencies and power levels.
  • Page 80: [:Source]:Marker Commands

    3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:MARKer Commands The [:SOURce]:MARKer command and its subcommands comprise the Marker Subsystem within the :SOURce subsystem. These commands control the Frequency Marker function of the MG369xC. [:SOURce]:MARKer<n>:AOFF A numeric suffix <n> may be appended to any of the MARKer command headers. This specifies which of the 10 markers (1 to 10) is being altered by the command.
  • Page 81 Programming Commands 3-10 [:SOURce] Subsystems [:SOURce]:MARKer<n>:STATe <boolean> [:SOURce]:MARKer<n>:STATe? (1  n  10 = selected marker) Description: Turns selected marker on/off (tags/untags the selected marker). Parameters: ON | OFF | 1 | 0 Default: OFF Examples: [:SOURce]:MARKer4:STATe ON Turn marker #4 on. [:SOURce]:MARKer7:STATe? Requests current state of marker #7.
  • Page 82 3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:MARKer<n>:POLarity <char> [:SOURce]:MARKer:POLarity? 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 83: [:Source]:Pm Commands

    Programming Commands 3-10 [:SOURce] Subsystems [:SOURce]:PM Commands 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 MG369xC. If the phase modulation function is not installed in the instrument, the PM command and its Note subcommands produce syntax errors.
  • Page 84 3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:PM:INTernal:WAVE <char> [:SOURce]:PM:INTernal:WAVE? Description: Selects the modulating waveform (from the internal M generator) for the internal phase modulation function, as follows: = Sine wave SINE GAUSsian = Gaussian noise = Negative ramp RDOWn = Positive ramp = Square wave SQUare TRIangle = Triangle wave...
  • Page 85 Programming Commands 3-10 [:SOURce] Subsystems [:SOURce]:PM:SENSitivity <NRf> [:SOURce]:PM:SENSitivity? Description: Sets the M sensitivity for the external phase modulation function. Parameters: Sensitivity (in radians/V) Range: ±0.0025 to ±5.0 radians/V in narrow mode ±0.25 to ±500.0 radians/V in wide mode Default: 1.0000 radians/V Examples: [:SOURce]:PM:SENsitivity 1.25 RAD/V Sets the M sensitivity for the external phase modulation function to 1.25 radians/volt.
  • Page 86: [:Source]:Power Commands

    3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:POWer Commands 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 MG369xC. [:SOURce]:POWer[:LEVel][:IMMediate][:AMPLitude] <nv> [:SOURce]:POWer[:LEVel][:IMMediate][:AMPLitude]? Description: Sets the power level of the unswept RF output signal (see notes below). Parameters: Power level (in dBm) | UP | DOWN | MIN | MAX Range: MIN to MAX (see notes below) Default: 0 dBm...
  • Page 87 Programming Commands 3-10 [:SOURce] Subsystems [:SOURce]:POWer[:LEVel][:IMMediate][:AMPLitude]:STEP[:INCRement] <NRf> [:SOURce]:POWer[:LEVel][:IMMediate][:AMPLitude]:STEP[:INCRement]? Description: Sets the step increment size used with the :POWer:LEVel:IMMediate:AMPLitude command. Parameters: Power level (in dB) Range: Model dependent (see notes below) Default: 0.1 dB Examples: [:SOURce]:POWer:LEVel:IMMediate:AMPLitude:STEP:INCRement 5 dBm Set the step increment value for RF output power level parameter to 5 dBm. [:SOURce]:POWer:LEVel:IMMediate:AMPLitude:STEP:INCRement? Requests the current step increment value for the RF output power level parameter.
  • Page 88 3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:POWer:ALC:SOURce <char> [:SOURce]:POWer:ALC:SOURce? Description: Selects (1) whether the ALC loop controls the output power level and (2) the source of the feedback signal for the ALC. FIXed places the instrument in a fixed gain power level mode (ALC off). RF output power is unleveled;...
  • Page 89 Programming Commands 3-10 [:SOURce] Subsystems [:SOURce]:POWer:ATTenuation <nv> [:SOURce]:POWer:ATTenuation? Description: This command applies only to MG369xCs equipped with an internal step attenuator (Option 2). This command sets the step attenuator (in 10 dB increments) throughout its 110 dB range (90 dB range for MG3695C and MG3697C models). This command decouples the step attenuator from the automatic leveling control (ALC) system (see the command :POWer:ATTenuation:AUTO OFF).
  • Page 90 3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:POWer:ATTenuation:AUTO <boolean> [:SOURce]:POWer:ATTenuation:AUTO? Description: This command applies only to MG369xCs 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. Parameters: ON | OFF | 1 | 0 Default: ON Examples: [:SOURce]:POWer:ATTenuation:AUTO ON...
  • Page 91 Programming Commands 3-10 [:SOURce] Subsystems [:SOURce]:POWer:DISPlay:OFFSet:STATe <boolean> [:SOURce]:POWer:DISPlay:OFFSet:STATe? 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. A negative offset value decreases the displayed power level.
  • Page 92 3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:POWer:SLOPe:STATe <boolean> [:SOURce]:POWer:SLOPe:STATe? Description: Turns ALC power slope function on/off (refer to “Leveling Operations” in Chapter 3 of the MG369xC Operation Manual). Parameters: ON | OFF | 1 | 0 Default: OFF Example: [:SOURce]:POWer:SLOPe:STATe ON Turns the ALC power slope function on.
  • Page 93 Programming Commands 3-10 [:SOURce] Subsystems [:SOURce]:POWer:CENTer <NRf> [:SOURce]:POWer:CENTer? Description: Sets the RF output power level at the center of the power sweep to the value entered. See notes below. Parameters: Power level (in dbm) Range: MIN to MAX (see note below) Default: (MIN + MAX) / 2 Examples: [:SOURce]:POWer:CENTer –20 dBm Set the RF output power level at the center of the power sweep span to –20 dBm.
  • Page 94 3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:POWer:STARt <nv> [:SOURce]:POWer:STARt? Description: Sets start RF output power level for the power sweep to the value entered. See notes under :POWer:SPAN command. Parameters: Power level (in dBm) | MIN Range: MIN to MAX Default: MIN Examples: [:SOURce]:POWer:STARt –10 dBm Set the start RF output power level for the power sweep to –10 dBm.
  • Page 95: [:Source]:Pulm Commands

    Programming Commands 3-10 [:SOURce] Subsystems [:SOURce]:PULM Commands 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 MG369xC. [:SOURce]:PULM:INTernal:FREQuency <NRf> [:SOURce]:PULM:INTernal:FREQuency? Description: Sets the pulse repetition frequency (PRF) of the internal pulse generator to the value entered.
  • Page 96 3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:PULM:SOURce <char> [:SOURce]:PULM:SOURce? 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 input EXTernal2 selects the rear panel external pulse input...
  • Page 97: [:Source]:Pulse Commands

    Programming Commands 3-10 [:SOURce] Subsystems [:SOURce]:PULSe Commands 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 MG369xC. [:SOURce]:PULSe:COUNt <NR1> [:SOURce]:PULSe:COUNt? Description: Sets the number of pulses generated by the internal pulse generator for each period of the pulsed waveform.
  • Page 98 3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:PULSe:PERiod <NRf> [:SOURce]:PULSe:PERiod? Description: Sets the pulse period of the internal pulse generator to the value entered. The pulse period range is determined by the pulse generator clock rate (see notes below). Parameters: Pulse period (in seconds) Range: 100 ns to 160 ms (at 100 MHz pulse generator clock rate);...
  • Page 99 Programming Commands 3-10 [:SOURce] Subsystems [:SOURce]:PULSe:STEP <boolean> [:SOURce]:PULSe:STEP? Description: Turns the internal pulse stepped delay mode on/off. When on, stepped delay mode automatically increments or decrements the pulse delay 1 value according to step delay parameters (see notes below). Parameters: ON | OFF | 1 | 0 Default: OFF Examples: [:SOURce]:PULSe:STEP ON Turn the internal pulse stepped delay mode on.
  • Page 100 3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:PULSe:STEP:STOP <NRf> [:SOURce]:PULSe:STEP:STOP? Description: Sets the pulse delay 1 ending time used with the :PULSe:STEP command to the value entered. The pulse delay range is determined by the pulse generator clock rate (see note). Parameters: Pulse delay 1 ending time (in seconds) Range: 100 ns to 160 ms (at 100 MHz pulse generator clock rate) 300 ns to 1.6 s (at 10 MHz pulse generator clock rate) Default: 100 s...
  • Page 101: [:Source]:Roscillator Commands

    Programming Commands 3-10 [:SOURce] Subsystems [:SOURce]:PULSe:STEP:TIME <nv> [:SOURce]:PULSe:STEP:TIME? Description: Sets the dwell time for each step used with the :PULSe:STEP command to the value entered. Parameters: Dwell time (in seconds) | MIN | MAX Range: 100 s to 10 sec Default: 1 ms Examples: [:SOURce]:PULSe:STEP:TIME 100 MS Set the dwell-time-per-step for the stepped delay mode to 100 ms.
  • Page 102: [:Source]:Scan Commands

    3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:SCAN Commands The [:SOURce]:SCAN command and its subcommands comprise the Scan Modulation Subsystem within the :SOURce subsystem. These commands control the scan modulation function of the MG369xC. [:SOURce]:SCAN:STATe <boolean> [:SOURce]:SCAN:STATe? Description: Enables/disables scan modulation of the MG369xC RF output signal (see notes below). Parameters: ON | OFF | 1 | 0 Default: OFF Examples: [:SOURce]:SCAN:STATe ON...
  • Page 103 Programming Commands 3-10 [:SOURce] Subsystems [:SOURce]SWEep<n>:DWELl <nv> [:SOURce]:SWEep:DWELl? (1 n  2) Description: Sets the dwell time for each step in a stepped frequency sweep or power level sweep to the value entered (see notes below). Parameters: Dwell time (in seconds) | MIN | MAX Range: 1 ms to 99 sec Default: 1 ms Examples: [:SOURce]:SWEep:DWELl 100 ms...
  • Page 104 3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:SWEep<n>:DWELl:AUTO <boolean> [:SOURce]:SWEep:DWELl:AUTO? (1 n  2) Description: ON signifies that :DWELl  :TIME/:POINts. See note below. Parameters: ON | OFF | 1 | 0 Default: ON Examples: [:SOURce]:SWEep:DWELl:AUTO ON Set :SWEep:DWELl to its default value. [:SOURce]:SWEep:DWELl:AUTO? Requests the currently programmed :SWEep:DWELl setting (on/off).
  • Page 105 Programming Commands 3-10 [:SOURce] Subsystems [:SOURce]:SWEep<n>:GENeration <char> [:SOURce]:SWEep:GENeration? (1 n  2) Description: Selects between analog and stepped frequency sweeps, in the SWEep[1] (frequency sweep) mode only. Refer to Table 3-11. Parameters: ANALog | STEPped (see note) Default: SWEep1 is ANAlog; SWEep2 is STEPped Examples: [:SOURce]:SWEep:GENeration ANAlog Set SWEep[1] for analog frequency sweep.
  • Page 106 3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:SWEep<n>:POINts <nv> [:SOURce]:SWEep:POINts? (1 n  2) Description: Sets the number of points in each sweep in the stepped frequency sweep or power level sweep to the valued entered. See notes below. Parameters: Number of points | MIN | MAX Range: 2 to 10,001 (MAXimum) for Stepped Frequency sweeps Default: 10,001 for SWEep1 The default value for SWEep2 depends on the power range of the particular MG369xC...
  • Page 107 Programming Commands 3-10 [:SOURce] Subsystems [:SOURce]:SWEep<n>[:FREQuency]:STEP <nv> [:SOURce]:SWEep:FREQuency:STEP? (n  1; see note below) Description: Sets the step size for each step in SWEep[1] (frequency) linear stepped sweep to the value entered. See notes below. Parameters: Frequency (in Hz) | MIN | MAX Range: (see notes below) Default: (MAX –...
  • Page 108 3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:SWEep<n>:POWer:STEP <nv> [:SOURce]:SWEep<n>:POWer:STEP? (1 n  2) Description: Sets the step size for each step in a power level sweep to the value entered. See notes below. Parameters: Power level (in dB) | MIN | MAX Range: MINimum = 0.01 dB MAXimum is model dependent (see notes below) Default: 0.01 dB for SWEep1...
  • Page 109 Programming Commands 3-10 [:SOURce] Subsystems [:SOURce]:SWEep<n>:TIME <nv> [:SOURce]:SWEep<n>:TIME? (1 n  2) Description: Sets the sweep time for the associated SWEep[1] or SWEep2 sweep to the value entered. See notes below. Parameters: Sweep time (in seconds) | MIN | MAX Range: 30 ms to 99 sec Default: 30 ms for SWEep1 The default value for SWEep2 depends on the power range of the particular MG369xC...
  • Page 110 3-10 [:SOURce] Subsystems Programming Commands [:SOURce]:SWEep<n>:TIME:AUTO <boolean> [:SOURce]:SWEep:TIME:AUTO? (1 n  2) Description: ON specifies that the sweep time for the associated sweep (SWEep[1] or SWEep2) is to be calculated internally and is dependent on the sweep SPAN value. See note below. Parameters: ON | OFF | 1 | 0 Default: ON Examples: [:SOURce]:SWEep:TIME:AUTO ON...
  • Page 111: Status Subsystem

    Programming Commands 3-11 :STATus Subsystem 3-11 :STATus Subsystem The :STATus subsystem controls the SCPI-defined status-reporting structures of the MG369xC. The subsystem commands and parameters are described below. Table 3-12. :STATus Subsystems Parameter Keyword Form Parameter Data or Units Notes :STATus :OPERation Query Only [:EVENt]?
  • Page 112 3-11 :STATus Subsystem Programming Commands :STATus:OPERation:ENABle <NRf> :STATus:OPERation:ENABle? Description: Sets the bits of the Operational Enable register associated with the Operational Event register to the binary weighted integer value specified by the mask parameter. Parameters: Mask Range: 0 to 32767 Default: 0 (All 0’s) Examples: :STATus:OPERation:ENABle 8 Set the MG369xC Operational Enable register to a value of 8.
  • Page 113 Programming Commands 3-11 :STATus Subsystem :STATus:PRESet Description: This command is an event that configures the SCPI and device-dependent status reporting structures so that device-dependent events are summarized and reported. This command performs the following functions: Sets the Operational Enable register to all 0’s. Sets the Operational Positive Transition Filter to all 1’s.
  • Page 114 3-11 :STATus Subsystem Programming Commands :STATus:QUEStionable:PTRansition <NRf> :STATus:QUEStionable:PTRansition? Description: Sets the bits of the positive transition filter for the Questionable Condition register to the binary weighted integer value specified by the mask parameter. Parameters: Mask Range: 0 to 32767 Default: 32767 (All 1’s) Examples: :STATus:QUEStionable:PTRansition 512 Sets the MG369xC Positive Transition Filter for the Questionable Condition register to a value of 512.
  • Page 115 Programming Commands 3-11 :STATus Subsystem :STATus:QUEue[:NEXT]? Parameters Returned: Error code, error message string Description: Returns in <NR1><string> format 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 MG369xC are listed in Chapter Example: :STATus:QUEue:NEXT?
  • Page 116: 3-12 :System Subsystem

    3-12 :SYSTem Subsystem Programming Commands 3-12 :SYSTem Subsystem The :SYSTem subsystem commands are used to implement functions that are not related to MG369xC performance. These include error query, interface language selection, system preset, and version query. The subsystem commands and parameters are described below. Table 3-13.
  • Page 117 Programming Commands 3-12 :SYSTem Subsystem :SYSTem:LANGuage <string> :SYSTem:LANGuage? Description: Selects the instrument’s external interface language. “TMSL” is an alias for “SCPI”. Entering either will return “SCPI” when queried. The double quotes are required and will be returned with the query reply. “NATIVE”...
  • Page 118: 3-13 :Trigger Subsystem

    3-13 :TRIGger Subsystem Programming Commands 3-13 :TRIGger Subsystem The :TRIGger subsystem commands are used to control the sweep triggering functions of the MG369xC. The subsystem commands and parameters are described below. The :TRIGger command, along with the :ABORt and :INITiate commands, comprise the Trigger Group of commands. Table 3-14.
  • Page 119 Programming Commands 3-13 :TRIGger Subsystem :TRIGger:SEQuence3:SLOPe <char> :TRIGger:SEQuence3:SLOPe? (see note below) Description: Selects whether the internal pulse generator is triggered on the rising edge (POSitive) or falling edge (NEGative) of the external trigger signal. Parameters: POSitive | NEGative Default: POSitive Example: :TRIGger:SEQuence3:SLOPe NEGative Select triggering of the internal pulse generator on the falling edge of the external trigger signal.
  • Page 120: 3-14 :Tsweep Command

    3-14 :TSWeep Command Programming Commands :TRIGger:SEQuence3:SOURce <char> :TRIGger:SEQuence3:SOURce? Description: Selects the source of the external trigger signal for the internal pulse generator as follows: EXTernal1 – the front panel PULSE TRIGGER IN connector. EXTernal2 – the rear panel PULSE TRIGGER IN connector. Parameters: EXTernal1 | EXTernal2 Default: EXTernal1 Example: :TRIGger:SEQuence3:SOURce EXTernal2...
  • Page 121: 3-15 :Unit Subsystem

    Programming Commands 3-15 :UNIT Subsystem 3-15 :UNIT Subsystem The :UNIT subsystem commands set the default units for the frequency and time parameters that are used with all MG369xC SCPI commands described in this manual. The units selected apply to the designated command parameters for both command and response.
  • Page 122 3-15 :UNIT Subsystem Programming Commands 3-76 PN: 10370-10375 Rev. E MG369xC SCPI PM...
  • Page 123: Chapter 4-Error Messages

    Chapter 4 — Error Messages Introduction This chapter lists and describes each of the error messages related to MG369xC signal generator operation. In addition, it provides information about the error message elements, the error query command, the error queue, and the classes of error messages. Error Query The :SYSTem:ERRor? query command is a request for the next entry in the instrument’s error queue.
  • Page 124: Error Codes

    4-4 Error Codes Error Messages Error Codes The system-defined error codes are chosen on an enumerated (“1 of N”) basis. The SCPI-defined error codes and the <error description> portions of the query response are listed here. The first error described in each class (for example –100, –200, –300, –400) is a “generic”...
  • Page 125: Command Errors

    Error Messages 4-6 Command Errors Command Errors An <error code> in the range [–199, –100] indicates that an IEEE 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 126 4-6 Command Errors Error Messages Table 4-2. Command Errors (2 of 3) Error Code Error Description [description/explanation/examples] –121 “Invalid character in number” 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”...
  • Page 127 Error Messages 4-6 Command Errors Table 4-2. Command Errors (3 of 3) Error Code Error Description [description/explanation/examples] –160 “Block data error” This error, as well as errors –161 through –169, are generated when parsing a block data element. This particular error message should be used if the device cannot detect a more specific error.
  • Page 128: Execution Errors

    4-7 Execution Errors Error Messages Execution Errors An <error code> in the range [–299,–200] indicates that an error has been detected by the instrument’s execution control block. The occurrence of any error in this class should cause the execution error bit (bit 4) of the standard event status register to be set.
  • Page 129 Error Messages 4-7 Execution Errors Table 4-3. Execution Errors (2 of 4) Error Code Error Description [description/explanation/examples] –221 “Settings conflict” Indicates that a legal program data element was parsed but could not be executed due to the current device state (see IEEE 488.2, 6.4.5.3 and 11.5.1.1.5). –222 “Data out of range”...
  • Page 130 4-7 Execution Errors Error Messages Table 4-3. Execution Errors (3 of 4) Error Code Error Description [description/explanation/examples] –255 “Directory full” Indicates that a legal program command or query could not be executed because the media directory was full. The definition of what constitutes a full media directory is device-specific. –256 “File name not found”...
  • Page 131 Error Messages 4-7 Execution Errors Table 4-3. Execution Errors (4 of 4) Error Code Error Description [description/explanation/examples] –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). –278 “Macro header not found”...
  • Page 132: Device-Specific Errors

    4-8 Device-Specific Errors Error Messages Device-Specific Errors An <error code> in the range [–399,–300] or [1, 32767] indicates that the instrument has detected an error which is not a command error, a query error, or an execution error; some device operations did not properly complete, possibly due to an abnormal hardware or firmware condition.
  • Page 133: Query Errors

    Error Messages 4-9 Query Errors Query Errors An <error code> in the range [–499,–400] indicates that the output queue control of the instrument has detected a problem with the message exchange protocol described in IEEE 488.2, Chapter 6. The occurrence of any error in this class should cause the query error bit (bit 2) in the standard event status register to be set.
  • Page 134: 4-10 Parser Errors

    4-10 Parser Errors Error Messages 4-10 Parser Errors An <error code> in the range [201, 212] is generated by the instrument’s parser in response to the error condition described. Table 4-6. Error Code Error Description [description/explanation/examples] “Query only” Indicates the command is a query command only. “No query allowed”...
  • Page 135: Self-Test Errors

    Error Messages 4-11 Self-Test Errors 4-11 Self-Test Errors An <error code> in the range [100, 199] indicates that a failure has occurred during instrument self-test. The error messages are placed in the error queue in the order they occur. Table 4-7. Self-Test Errors (1 of 3) Error Code Error Description [description/explanation/examples]...
  • Page 136 4-11 Self-Test Errors Error Messages Table 4-7. Self-Test Errors (2 of 3) Error Code Error Description [description/explanation/examples] “Failed: Center Frequency circuit” Indicates failure of the Center Frequency circuit on the A12 PCB. “Failed: Delta-F Ramp circuit” Indicates failure of the DF Ramp circuit on the A12 PCB. “Failed: Unleveled indicator”...
  • Page 137 Error Messages 4-11 Self-Test Errors Table 4-7. Self-Test Errors (3 of 3) Error Code Error Description [description/explanation/examples] “Failed: 20-26.5 GHz section of freq extension unit” Indicates failure of the 20 to 26.5 GHz section of the FEU. “Failed: Sample and hold circuit” Indicates failure of the sample and hold circuitry on the A10 PCB.
  • Page 138 4-16 PN: 10370-10375 Rev. E MG369xC SCPI PM...
  • Page 139: Appendix A-Overall Command Tree

    Appendix A — Overall Command Tree Introduction This appendix provides an overall command tree for the Series MG369xC Synthesized High Performance Signal Generator SCPI command set. The command tree is shown in Figure A-1. Refer to Chapter 3 information on the individual SCPI commands. MG369xC SCPI PM PN: 10370-10375 Rev.
  • Page 140 Figure A-1. Overall MG369xC SCPI Command Tree (Sheet 1 of 2) PN: 10370-10375 Rev. E MG369xC SCPI PM...
  • Page 141 Figure A-2. Overall MG369xC SCPI Command Tree (Sheet 2 of 2 MG369xC SCPI PM PN: 10370-10375 Rev. E...
  • Page 142 PN: 10370-10375 Rev. E MG369xC SCPI PM...
  • Page 143: Appendix B-Scpi Conformance Information

    Appendix B — SCPI Conformance Information Introduction This appendix provides SCPI conformance information for the MG369xC SCPI command set in the form of a command summary. The MG369xC SCPI command set commands and queries are described individually in Chapter 3, “Programming Commands”.
  • Page 144 B-1 Introduction Table B-2. Other SCPI Commands (1 of 4) SCPI Command Status Page :ABORt SCPI Confirmed :CONTrol:BLANking:POLarity(?) Non-SCPI :CONTrol:PENLift:POLarity(?) Non-SCPI :CONTrol:RAMP:REST(?) Non-SCPI :CONTrol:RAMP[:STATe](?) Non-SCPI :CONTrol:RAMP:TIME(?) Non-SCPI :DIAGnostic:SNUM? Non-SCPI :DISPlay[:WINDow]:TEXT:STATe(?) SCPI Confirmed :INITiate[:IMMediate] SCPI Confirmed :INITiate:CONTinuous(?) SCPI Confirmed :OUTPut[:STATe](?) SCPI Confirmed 3-10 :OUTPut:PROTection(?) Non-SCPI...
  • Page 145 B-1 Introduction Table B-2. Other SCPI Commands (2 of 4) SCPI Command Status Page [:SOURce]:FREQuency:SPAN:FULL SCPI Confirmed 3-26 [:SOURce]:FREQuency:STARt(?) SCPI Confirmed 3-27 [:SOURce]:FREQuency:STARt2(?) SCPI Confirmed 3-27 [:SOURce]:FREQuency:STOP(?) SCPI Confirmed 3-28 [:SOURce]:FREQuency:STOP2(?) SCPI Confirmed 3-28 [:SOURce]:FREQuency:MULTiplier(?) SCPI Confirmed 3-29 [:SOURce]:LIST<n>:INDex(?) Non-SCPI 3-29 [:SOURce]:LIST<n>:FREQuency(?) SCPI Confirmed...
  • Page 146 B-1 Introduction Table B-2. Other SCPI Commands (3 of 4) SCPI Command Status Page [:SOURce]:POWer:SLOPe:STATe(?) Non-SCPI 3-46 [:SOURce]:POWer:SLOPe:PIVot(?) Non-SCPI 3-46 [:SOURce]:POWer:MODE(?) SCPI Confirmed 3-46 [:SOURce]:POWer:CENTer(?) SCPI Confirmed 3-47 [:SOURce]:POWer:SPAN(?) SCPI Confirmed 3-47 [:SOURce]:POWer:SPAN:FULL SCPI Confirmed 3-47 [:SOURce]:POWer:START(?) SCPI Confirmed 3-48 [:SOURce]:POWer:STOP(?) SCPI Confirmed 3-48...
  • Page 147 B-1 Introduction Table B-2. Other SCPI Commands (4 of 4) SCPI Command Status Page :STATus:PRESet SCPI Confirmed 3-67 :STATus:QUEStionable[:EVENt]? SCPI Confirmed 3-67 :STATus:QUEStionable:CONDition? SCPI Confirmed 3-67 :STATus:QUEStionable:ENABle(?) SCPI Confirmed 3-67 :STATus:QUEStionable:PTRansition(?) SCPI Confirmed 3-68 :STATus:QUEStionable:NTRansition(?) SCPI Confirmed 3-68 :STATus:QUEue[:NEXT]? SCPI Confirmed 3-69 :SYSTem:ERRor? SCPI Confirmed...
  • Page 148 PN: 10370-10375 Rev. E MG369xC SCPI PM...
  • Page 149: Index

    A to T Index Interface Function Messages ....1-7 ABORt Subsystem ......3-4 Listener .
  • Page 150 U to V TRIGger Subsystem ..... . 3-72 Trigger System Programming ....2-12 VISA .
  • Page 152 Anritsu Company 490 Jarvis Drive Anritsu utilizes recycled paper and environmentally conscious inks and toner. Morgan Hill, CA 95037-2809 http://www.anritsu.com...

This manual is also suitable for:

Mg3690c

Table of Contents