Page 1
Keysight N9322C Spectrum Analyzer Notice: This document contains references to Agilent. Please note that Agilent’s Test and Measurement business has become Keysight Technologies. For more information, go to www.keysight.com. Programmer’s Guide...
Page 2
PERFORMANCE OF THIS to the public to use, modify, DOCUMENT OR ANY INFORMATION reproduce, release, perform, CONTAINED HEREIN. SHOULD display, or disclose commercial KEYSIGHT AND THE USER HAVE A computer software or SEPARATE WRITTEN AGREEMENT commercial computer software WITH WARRANTY TERMS...
Contents Getting Started Remotely Operating the Analyzer Computer Requirement for Remote Operation Connecting the Analyzer via the USB Port Connecting the Analyzer via the LAN Port Programming Fundamentals Overview Command Categories Command Syntax Creating Valid Commands Program and Response Messages Parameters in Commands Status Registers Overview...
Page 4
Contents Command Reference IEEE Common Commands System Subsystem Memory Subsystem Instrument Subsystem Sense Subsystem Frequency Subsection Amplitude Subsection Bandwidth Subsection Trace Subsection Detector Subsection Average Subsection Sweep Subsection Display Subsection Calculate Subsystem Limit Line Subsection Marker Subsection Initiate Subsystem Trigger Subsystem Power Measurement Subsystem ACPR Subsection CHP Subsection...
Page 5
Contents Channel Scanner Option Subsystem Demodulation Option Subsystem AM Demodulation Subsection FM Demodulation Subsection ASK Demodulation Subsection FSK Demodulation Subsection Power Meter Option Subsystem Tracking Generator Option Subsystem...
Getting Started Getting Started The purpose of this chapter is to serve as a reminder of SCPI (Standard Commands for Programmable Instruments) fundamentals to those who have previous experience in programming SCPI. This chapter is not intended to teach you everything about the SCPI programming language.
Getting Started Remotely Operating the Analyzer Remotely Operating the Analyzer The analyzer provides both the USB and LAN connection which allows you to set up a remote operation environment with a controller computer. A controller computer could be a personal computer (PC), a minicomputer. Some intelligent instruments also function as controllers.
Connecting the Analyzer via the USB Port No extra driver is required to connect the analyzer via the USB port to a PC. All you need is the Keysight IO libraries suite and you can find this IO libraries suite in the documentation CD in the shipment along with your analyzer.
Page 10
Getting Started Remotely Operating the Analyzer After a while, the PC finds your analyzer as a new hardware and prompts a message saying “Found new hardware...”. A Found New Hardware Wizard is initiated immediately. Select Display a list...
Page 11
Test and Measurement Device” displays in the pop- up window. Select it and press Next. The wizard will guide you through the rest of installation till the driver is installed. Run Keysight IO libraries suite, the analyzer will be detected automatically.
Connecting the Analyzer via the LAN Port No extra driver is required to connect the analyzer via the LAN port to a PC. All you need is the Keysight IO libraries suite in the Product CD Help Kit. Or refer to the link below to download the IO libraries suite: http://www.keysight.com/find/iolib...
Page 13
Getting Started Remotely Operating the Analyzer Press “Test Connection” to check the LAN connection. The figure below indicates that the connection is ready. Check “*IDN query” and press “Identify Instrument”. The instrument information shows the firmware revision and product number. The analyzer is ready for your further programming.
Page 14
Getting Started Remotely Operating the Analyzer...
Programming Fundamentals Programming Fundamentals Overview Command Categories Command Syntax Creating Valid Commands Program and Response Messages Parameters in Commands The purpose of this chapter is to serve as a reminder of SCPI (Standard Commands for Programmable Instruments) fundamentals to those who have previous experience in programming SCPI. This chapter is not intended to teach you everything about the SCPI programming language.
Programming Fundamentals Overview Overview This section is not intended to teach you everything about the SCPI (Standard Commands for Programmable Instruments) programming language. The SCPI Consortium or IEEE provides that level of detailed information. Programming with SCPI requires knowledge of: •...
Page 17
Programming Fundamentals Overview Common Terms used in this Book Terms Description Controller Any computer used to communicate with an instrument. A controller can be a personal computer (PC), a minicomputer, or a plug- in card in a card cage. Some intelligent instruments can also function as controllers.
Programming Fundamentals Command Categories Command Categories The SCPI command falls into two categories: • Subsystem commands that simulate front panel keystrokes • Common commands that are unique and have no front panel equivalent Use a computer to control the instrument (but operate the power/standby switch manually).
Programming Fundamentals Command Syntax Command Syntax A command consists of mnemonics (keywords), parameters and punctuation. Before you start to program your signal generator, familiarize yourself with the standard notation of each of them. Command Many commands have both a long and a short form: use either Mnemonics one.
Page 20
Programming Fundamentals Command Syntax Command Statement Rules Overview Besides the standard notation of SCPI described above, please remember the following rules in programming: • command statements read from left to right • use either long form or short form of keywords, but do not use both •...
Programming Fundamentals Creating Valid Commands Creating Valid Commands Commands are not case sensitive and there are often many different ways of writing a particular command. These are examples of valid commands for a given command syntax: Command Syntax Sample Valid Commands [:SENSe]:BANDwidth[:RESolution]<freq>...
Programming Fundamentals Program and Response Messages Program and Response Messages To understand how your instrument and controller communicate using SCPI, you must understand the concepts of program and response messages. Program Messages Program messages are the formatted data sent from the controller to the instrument.
Programming Fundamentals Parameters in Commands Parameters in Commands There are four basic types of parameters: boolean, key words, variables and arbitrary block program data. Boolean The expression OFF|ON|0|1 is a two state boolean- type parameter. The numeric value 0 is equivalent to OFF. Any numeric value other than 0 is equivalent to ON.
Page 24
Programming Fundamentals Parameters in Commands Variable Parameters <ampl>, The <ampl> (amplitude) parameter and the <rel_ampl> <rel_ampl> (relative amplitude) parameter consist of a rational number followed by optional units. Acceptable units for <ampl> include: V, mV, V, dBm, dBmV, dBuV, Watts, W. <rel_ampl> units are given in dB.
Status Registers Status Registers Overview How to use the Status Registers Status Register System This chapter contains a comprehensive description of status registers explaining what status registers are and how to use them so you can use a program to monitor the instrument. Information about all of the bits of the status registers is also provided.
Page 26
Status Registers Overview Overview When you are programming the instrument you may need to monitor instrument status to check for error conditions or monitor changes. You need to determine the state of certain instrument events/conditions by programming the status register system. IEEE common commands (those beginning with *) access the higher- level summary registers.
Page 27
Status Registers Overview Negative This filter register controls which signals will set a bit in the Transition event register when the signal makes a high to low transition Register (when the condition bit changes from 1 to 0). Event Register It latches any signal state changes, in the way specified by the filter registers.
Page 28
Status Registers Overview What are Status Register SCPI Commands Most monitoring of the instrument conditions is done at the highest level using the IEEE common commands indicated below. Complete command descriptions are available in the IEEE commands section at the beginning of the language reference.
Status Registers How to use the Status Registers How to use the Status Registers A program often needs to detect and manage error conditions or changes in instrument status. The polling method for you to programmatically access the information in status registers. In the polling method, the instrument has a passive role.
Page 30
Status Registers How to use the Status Registers this condition occurred even if the condition no longer exists. The event register can only be cleared by querying it or sending the *CLS command. • Monitor a particular type of change in a condition (bit). —...
See the following diagram of the status system for information about the bit assignments and status register interconnections. Figure 1 Keysight N9322C Status Register System Status Byte Register (*STB?) Unused Unused...
Page 32
Status Registers Status Register System The results of a query are evaluated in a similar way. If the *STB? command returns a decimal value of 140, (140 = 128 + 8 + 4) then bit 7 is true, bit 3 is true, and bit 2 is true. The Status Byte Register Status Byte Register Unused...
Page 33
Status Registers Status Register System The status byte register contains the following bits: Description 0,1 Unused: These bits are always set to 0. 2 Error/Event Queue Summary Bit: A 1 in this bit position indicates that the SCPI error queue is not empty. The SCPI error queue contains at least one error message.
Page 34
Status Registers Status Register System In addition to the status byte register, the status byte group also contains the service request enable register. The status byte service request enable register lets you choose which bits in the Status Byte Register will trigger a service request. Standard Event Status Register The standard event status register is used to determine the specific event that sets bit 5 in the status byte register.
Page 35
Status Registers Status Register System “Setting and Querying the Status Register” on page 25 more information. Figure 2 Standard Event Status Register Diagram Operation Complete Request Bus Control Query Error Device Dependent Error Execution Error Command Error User Request Power On Standard Event 0 1 2 3 4 5 6 7...
Page 36
Status Registers Status Register System Bit Description 4 Execution Error: A 1 in this bit position indicates that an execution error has occurred. Execution errors have SCPI error numbers from –299 to –200. 5 Command Error: A 1 in this bit position indicates that a command error has occurred.
Page 37
Status Registers Status Register System The standard event status enable register presets to zeros (0). Figure 3 Standard Event Status Event Enable Register...
Page 38
Status Registers Status Register System...
Programming Example Programming Example Overview Programming in C using the VTL Checking USB Connection Using C with Marker Peak Search and Peak Excursion Using Marker Delta Mode and Marker Minimum Search Measuring Phase Noise This chapter provides some programming conventions and examples for your further reference.
You have a royalty-free right to use, modify, reproduce and distribute the sample application files in any way you find useful, provided that you agree that Keysight has no warranty, obligations, or liability for any sample application files.
Programming in C using the VTL Programming in C using the VTL This section includes some basic information about programming in the C language using Keysight VISA transition library (VTL). Note that some of this information may not be relevant to your particular application. For example, if you are not using VXI instruments, the VXI references will not be relevant.
Page 42
Programming Example Programming in C using the VTL This function synchronously sends the data pointed to by buf to the viWrite device specified by vi. Only one synchronous write operation van occur at any one time. viWrite(vi, buf, count, &retCount) This function synchronously reads raw data from the session specified viRead by the vi parameter and stores the result in location where buf is...
Page 43
Programming Example Programming in C using the VTL viStatus=viOpen(defaultRM,"USB0::2391::8472::000 0000000::0::INSTR",VI_NULL,VI_NULL,&viN9322C); /*Initialize device */ viPrintf(viN9322C, "*RST\n"); /*Send an *IDN? string to the device */ printf(viN9322C, "*IDN?\n"); /*Read results */ viScanf(viN9322C, "%t", &buf); /*Print results */ printf("Instrument identification string: %s\n", buf); /* Close the sessions */ viClose(viN9322C);...
Page 44
Programming Example Programming in C using the VTL Opening a Session A session is a channel of communication. Sessions must first be opened on the default resource manager, and then for each device you will be using. The following is a summary of sessions that can be opened: •...
Page 45
Programming Example Programming in C using the VTL Next, you open a session with a specific device with the viOpen function. This function uses the session returned from viOpenDefaultRM and returns its own session to identify the device session. The following shows the function syntax: viOpenDefaultRM (sesn);...
Page 46
Programming Example Programming in C using the VTL Addressing a Session As seen in the previous section, the rsrcName parameter in the viOpen function is used to identify a specific device. This parameter is made up of the VTL interface name and the device address.
/************************************************************/ /* Using Marker Peak Search and Peak Excursion */ /* */ /* This example is for the N9322C Spectrum Analyzer. /* */ /* This C programming example does the following. */ /* The SCPI instrument commands used are given as reference. */...
Page 49
Programming Example Using C with Marker Peak Search and Peak Excursion #include <stdio.h> #include <stdlib.h> #include <math.h> #include <ctype.h> #include <string.h> #include "visa.h" ViSession defaultRM, viN9322C; ViStatus errStatus; ViChar cIdBuff[256]= {0}; char cEnter = 0; int iResult = 0; /*Set the input port to 50MHz amplitude reference*/ void Route50MHzSignal() viQueryf(viN9322C, "*IDN?\n", "%t", &cIdBuff);...
Page 50
Programming Example Using C with Marker Peak Search and Peak Excursion /*Open a USB session.*/ viStatus=viOpenDefaultRM(&defaultRM); viStatus=viOpen(defaultRM,"USB0::2391::8472::0000000000::0::INSTR",V I_NULL,VI_NULL,&viN9322C); if(viStatus) printf("Could not open a session to USB device\n"); exit(0); /*Clear the instrument*/ viClear(viN9322C); /*Reset the instrument*/ viPrintf(viN9322C,"*RST\n"); /*Set Y-Axis units to dBm*/ viPrintf(viN9322C,"UNIT:POW DBM\n");...
Page 51
Programming Example Using C with Marker Peak Search and Peak Excursion /*Set the peak excursion*/ viPrintf(viN9322C,"CALC:MARK:PEAK:EXC %1fDB \n",fPeakExcursion); /*Set the peak thresold */ viPrintf(viN9322C,"CALC:MARK:PEAK:THR -90 \n"); /*Trigger a sweep and wait for completion*/ viPrintf(viN9322C,"INIT:IMM \n"); /*Set the marker to the maximum peak*/ viPrintf(viN9322C,"CALC:MARK:MAX \n");...
/************************************************************/ /* Using Marker Delta Mode and Marker Minimum Search */ /* */ /* This example is for the N9322C Spectrum Analyzers */ /* */ /* This C programming example does the following. */ /* The SCPI instrument commands used are given as reference. */...
Page 53
Programming Example Using Marker Del ta Mode and Marker Minimum Search #include <stdio.h> #include <stdlib.h> #include <math.h> #include <ctype.h> #include <string.h> #include "visa.h" ViSession defaultRM, viN9322C; ViStatus errStatus; ViChar cIdBuff[256] ={0}; char cEnter = 0; int iResult =0; /*Set the input port to the 50MHz amplitude reference*/ void Route50MHzSignal() viQueryf(viN9322C, "*IDN?\n", "%t", &cIdBuff);...
Page 54
Programming Example Using Marker Del ta Mode and Marker Minimum Search /* Open an USB session*/ viStatus=viOpenDefaultRM(&defaultRM); viStatus=viO- pen(defaultRM,"USB0::2391::8472::9876543210::0::INSTR",VI_NULL,V I_NULL,&viN9322C); if(viStatus) printf("Could not open a session to USB device!\n"); exit(0); /*Clear the instrument*/ viClear(viN9322C); /*Reset the instrument*/ viPrintf(viN9322C,"*RST\n"); /*Display the program heading */ printf("\n\t\t Marker Delta Program \n\n"...
Page 55
Programming Example Using Marker Del ta Mode and Marker Minimum Search /*Set the analyzer to the values given by the user*/ //viPrintf(viN9322C,"SENS:FREQ:STAR %lf //MHZ;:SENS:FREQ:STOP %lf MHZ\n",dStartFreq,dStopFreq); viPrintf(viN9322C,":SENS:FREQ:STAR %lf MHz\n",dStart- Freq); viPrintf(viN9322C,":SENS:FREQ:STOP %lf MHZ\n",dStopFreq); /*Trigger a sweep, delay for completion*/ viPrintf(viN9322C,"INIT:IMM\n"); //delay(1);...
IEEE Standard 488.2- 1992, IEEE Standard Codes, Formats, Protocols and Common Commands for Use with ANSI/IEEE Std. 488.1- 1987. New York, NY, 1992. Following these commands, the Keysight N9322C spectrum analyzers SCPI commands are listed. Clear Status *CLS Clears the status byte register.
Page 59
The response is organized into four fields separated by commas. The field definitions are manufacturer, model, serial number and software version. Example: *IDN? returns instrument information, such as: Keysight Technologies, N9322C, 45310116, A.04.20 SYS > More > Show System Key access: Operation Complete Query *OPC *OPC? Sets bit 0 in the standard event status register to “1”...
Page 60
Command Reference IEEE Common Commands Reset *RST This command presets the instrument to a factory defined condition that is appropriate for remote programming operation. *RST is equivalent to performing the two commands :SYSTem:PRESet and *CLS. This command always performs a factory preset. The preset performed by is always a factory preset.
Page 61
Command Reference IEEE Common Commands Self Test Query *TST? This query is used by some instruments for a self test. Range: Integer, 0 to 255 Wait-to-Continue *WAI This command causes the instrument to wait until all pending commands are completed before executing any additional commands.
Command Reference System Subsystem System Subsystem This subsystem is used to set the controls and parameters associated with the overall system communication. These functions are not related to instrument performance. Screen Brightness Setting :SYSTem:SCReen:BRIGhtness <value> :SYSTem:SCReen:BRIGhtness? This command sets the screen brightness of the instrument. Range: 0 to 10 Example:...
Page 63
Command Reference System Subsystem Set System Date :SYSTem:DATE <“yyyymmdd”> :SYSTem:DATE? Sets the system date of the real- time clock of the instrument. Year is a 4- digit integer. Month is an integer 1 to 12. Day is an integer 1 to 31 (depending on the month) Example: :SYSTem:DATE “20120912”...
Page 64
Command Reference System Subsystem Enable Option :SYSTem:LKEY <"option">,<"license key"> Use this command to enable the specified option with the license key. Example: :SYSTem:LKEY "PA3","ABCDEFGH" System > More > Service > Add Option Key access: Disable Option :SYSTem:LKEY:DISable <"license key"> Use this command to disable the installed options. Example: :SYSTem:LKEY: DISable "ABCDEFGH"...
Page 65
Command Reference System Subsystem Query Time Base Calibration Result :SYSTem:CALibration:TBASe:FREQuency? Use this command to query the time base calibration result. Calibration Amplitude :CALibration Use this command to trigger the amplitude calibration. Connect the amplitude calibration reference output port to the RF input port, and turn on the amplitude calibration reference output Example: :CALibration...
Page 66
Command Reference System Subsystem Probe Power :SYSTem:PORT:PROBe OFF|ON|0|1 :SYSTem:PORT:PROBe? This command turns on/off the probe power port on the top panel. System > More > Port Setting > Probe Power Key access: IP Config Host Name :SYSTem:PORT:IP:HNAMe <"string"> :SYSTem:PORT:IP:HNAMe? Sets a host name for the analyzer in network. System >...
Page 67
Command Reference System Subsystem Gateway Setting :SYSTem:PORT:IP:GWAY <“xxx.xxx.xxx.xxx”> :SYSTem:PORT:IP:GWAY? Sets the gateway for the analyzer in the network. The gateway will be fetched automatically if the IP assignment is set to DHCP. Example: :SYSTem:PORT:IP:GWAY "192.168.0.1" System > More > Port Setting > IP Admin > Gateway Key access: Subnet Mask :SYSTem:PORT:IP:SMASk <“xxx.xxx.xxx.xxx”>...
Page 68
Command Reference System Subsystem System Preset :SYSTem:PRESet Use this command to preset the instrument. The preset type is based on the setting of Preset Type: DFT, User or Last. Preset Key access: Factory Default :SYSTem:FDEFault Set both the measure and setting parameters to factory preset parameters.
Page 69
Command Reference System Subsystem Time Power On Time :SYSTem:TIMed:PON:TIME <“HHMMSS”> :SYSTem:TIMed:PON:TIME? Sets the power on time, then the analyzer will be turned on automatically. Example: :SYSTem:TIMed:PON:TIME “122332” Shift > System > Pwr On/Off Preset > Time Pwr On > Time Key access: Time Power On Date :SYSTem:TIMed:PON:DATE <“YYYMMDD”>...
Page 70
Command Reference System Subsystem Time Power Off Time :SYSTem:TIMed:POFF:TIME <“HHMMSS”> :SYSTem:TIMed:POFF:TIME? Sets the power off time of the instrument. Example: :SYSTem:TIMed:POFF:TIME “122332” Key access: Shift > System > Pwr On/Off Preset > Time Pwr Off > Time Time Power Off Date :SYSTem:TIMed:POFF:DATE <“YYYMMDD”>...
Page 71
Command Reference System Subsystem Save User Preset :SYSTem:PRESet[:USER]:SAVE Uses this command to save the current instrument state as the user state for the power on setting and preset type. System > Pwr On/Off Preset > Save User Key access: Power Reset :SYSTem:POWer:RESet Use this command to restart the instrument.
Page 72
Command Reference System Subsystem Hardware Message :SYSTem:CONFigure:HARDware? Use this command to query the hardware message of the instrument. Software Message :SYSTem:CONFigure:SOFTware? Use this command to query the software message of the instrument. System Message :SYSTem:CONFigure:SYSTem? Use this command to query the system message of the instrument.
Items>, <item_listing>. Each < item listing> indicates the name, type, and size of each item list: <name>, <type>, <size(Byte)>, <modified time>. “C:\” is N9322C internal memory address, and “E:\” is the external USB storage device address. Example: :MMEMory:CATalog? "C:\" Shift >File...
Page 74
Command Reference Memory Subsystem Move Data to File :MMEMory:DATA <file_name>,<definite_length_block> :MMEMory:DATA? <file_name> Loads <definite_length_block> into the memory location <file_name>. The query returns the contents of the <file_name> in the format of a definite length block. This command can be used for copying files out of the analyzer over the remote bus.
Page 75
Shift > Peak > More > Peak Table > Export Table to CSV Key access: Create A New Directory :MMEMory:MDIRectory <“dir_path”> Use this command to create a new directory to the N9322C internal memory or external USB memory. Example: :MMEMory:MDIRectory “C:\User”...
Page 76
Command Reference Memory Subsystem Load Correction File :MMEMory:LOAD:CORRection ANTenna|CABLe|OTHer|USER, "oldname.cor" This command loads correction file saved on the instrument. Example: :MMEMory:LOAD:CORRection ANTenn,"oldname.cor" Amptd > More > Correction > Correction 1 > Load User, then choose a Key access: file with knob and “Enter” button...
:INSTrument[:SELect] SA|TGENerator|MA|POWme- ter|CAT :INSTrument[:SELect]? This command selects the instrument mode of N9322C. All the instrument modes are under Mode list of N9322C unit. SA - Spectrum Analyzer mode. TGENerator - Tracking Generator mode. MA - Modulation Analysis mode. POWmeter - Power Meter mode.
Command Reference Sense Subsystem Sense Subsystem The Sense Subsystem provides you the SCPI command reference for normal spectrum analyzer function. It is used to set the spectrum analyzer parameters such as frequency, span, attenuation and detector. Frequency Subsection Center Frequency [:SENSe]:FREQuency:CENTer <freq>...
Page 80
Command Reference Sense Subsystem Stop Frequency [:SENSe]:FREQuency:STOP <freq> [:SENSe]:FREQuency:STOP? Set the stop frequency of the spectrum analyzer. *RST: 7.0 GHz Default Unit: Example: :FREQuency:STOP 3 GHZ Freq > Stop Freq Key access: Center Frequency Step [:SENSe]:FREQuency:CENTer:STEP[:INCRement] <freq> [:SENSe]:FREQuency:CENTer:STEP[:INCRement]? Specifies the center frequency step size. *RST: 300 MHz Example:...
Page 81
Command Reference Sense Subsystem Frequency Offset [:SENSe]:FREQuency:OFFSet <freq> [:SENSe]:FREQuency:OFFSet? Sets the frequency offset. *RST: 0.0 Hz Example: :FREQuency:OFFSet 1 GHZ Freq > More > Freq Offset Key access: Center Frequency Step Size Automatic [:SENSe]:FREQuency:CENTer:STEP:AUTO OFF|ON|0|1 [:SENSe]:FREQuency:CENTer:STEP:AUTO? Specifies whether the step size is set automatically based on the span.
Page 82
Command Reference Sense Subsystem Full Frequency Span [:SENSe]:FREQuency:SPAN:FULL Set the frequency span to full scale. *RST: 3.0 GHz Example: :FREQuency:SPAN:FULL Span > Full Span Key access: Zero Span [:SENSe]:FREQuency:SPAN:ZERO Set the frequency span to zero span. Span > Zero Span Key access: Last Frequency Span [:SENSe]:FREQuency:SPAN:PREVious...
Command Reference Sense Subsystem Amplitude Subsection Reference level :DISPlay:WINDow:TRACe:Y[:SCALe]:RLEVel: <value> :DISPlay:WINDow:TRACe:Y[:SCALe]:RLEVel? This command sets the reference level for the Y- axis. *RST: 0 dB Range: –140.00 to +20.00 dBm Example: :DISPlay:WINDow:TRACe:Y:RLEVel 10dBm Amptd > Ref Level Key access: Attenuation [:SENSe]:POWer[:RF]:ATTenuation <value> [:SENSe]:POWer[:RF]:ATTenuation? Set the input attenuator of the spectrum analyzer.
Page 84
Command Reference Sense Subsystem Input Port Preamplifer [:SENSe]:POWer[:RF]:GAIN[:STATe] OFF|ON|0|1 [:SENSe]:POWer[:RF]:GAIN[:STATe]? Turns the internal preamp on/off. *RST: Remarks: This command is only available when PA7 option is installed. Example: :POWer:GAIN ON AMPTD > Preamp On/Off Key access: Scale/DIV :DISPlay:WINDow:TRACe:Y[:SCALe]:PDIVision DIV1|DIV2|DIV5|DIV10 :DISPlay:WINDow:TRACe:Y[:SCALe]:PDIVision? This command sets the per- division display scaling for the y- axis when scale type of Y axis is set to Log.
Page 85
Command Reference Sense Subsystem Power Units of Measure ( Y Axis Unit ) :UNIT:POWer DBM|DBMV|DBMVEMF|DBUV|DBU- VEMF|V|W|VEMF :UNIT:POWer? Specifies amplitude units for the input, output and display. *RST: dBm in log amplitude scale Volts in linear amplitude scale Example: :UNIT:POWer DBMV Key access: Amptd >...
Page 86
Command Reference Sense Subsystem Correction Apply State [:SENSe]:CORRection:CSET:ALL[:STATe] OFF|ON|0|1 [:SENSe]:CORRection:CSET:ALL[:STATe]? Turns On or Off the amplitude corrections. When turned On, only the correction sets that were turned on are enabled. When turned Off, all of the correction sets are disabled. If there is no correction enabled, state can not be set to on Example: :CORRection:CSET:ALL ON...
Page 87
Command Reference Sense Subsystem Current Correction Select [:SENSe]:CORRection:SELect COR1|COR2|COR3|COR4 [:SENSe]:CORRection:SELect? Set current correction for load COR file onto proper CorrectionX. Example: :CORRection:SELect? Input Impedance selection [:SENSe]:CORRection:IMPedance[:INPut][:MAGNitude] OHM50|OHM75 [:SENSe]:CORRection:IMPedance[:INPut][:MAGNitude]? Toggles the input impedance correction between 50 Ω and 75 Ω. in spectrum analyzer. *RST: OHM50 Example:...
Command Reference Sense Subsystem Bandwidth Subsection Resolution Bandwidth [:SENSe]:BANDwidth|BWIDth[:RESolution] <freq> [:SENSe]:BANDwidth|BWIDth[:RESolution]? Specifies the resolution bandwidth. For numeric entries, all RBW types choose the nearest (arithmetically, on a linear scale, rounding up) available RBW to the value entered. Range: 10 Hz to 3 MHz Default Unit: Example: :BAND 1 kHz...
Page 89
Command Reference Sense Subsystem Auto Video Bandwidth State [:SENSe]:BANDwidth|BWIDth:VIDeo:AUTO OFF|ON|0|1 [:SENSe]:BANDwidth|BWIDth:VIDeo:AUTO? This command turns on/off auto video bandwidth state. *RST: BW > VBW Auto/Man Key access: Video to Resolution Bandwidth Ratio [:SENSe]:BANDwidth|BWIDth:VIDeo:RATio <number> [:SENSe]:BANDwidth|BWIDth:VIDeo:RATio? Specifies the ratio of the video bandwidth to the resolution bandwidth.
Command Reference Sense Subsystem Trace Subsection Select Trace Display Mode :TRACe1|2|3|4:MODE WRITe|MAXHold|MIN- Hold|VIEW|BLANk :TRACe1|2|3|4:MODE? Selects the display mode for the selected trace. WRITe puts the trace in the normal mode, updating the data. MAXHold displays the highest measured trace value for all the data that has been measured since the function was turned on.
Page 91
Command Reference Sense Subsystem Subtract Trace :TRACe:MATH:SUBTract <destination_trace>,<source_trace1>,<source_trace2> This command subtract the selected trace from the activated trace. Example: :TRAC:MATH:SUBT TRACE2,TRACE1,TRACE3 Query Trace Data :TRACe[:DATA]? TRACe1|TRACe2|TRACe3|TRACe4| This query command returns the current displayed data. Example: :TRACe:DATA? TRACE1 Trace Math By :TRACe:MATH:TYPE LOGPwr|POWer :TRACe:MATH:TYPE? This command toggles the trace math by log power and...
Command Reference Sense Subsystem Detector Subsection Type of Detection [:SENSe]:DETector:TRACe[1]|2|3|4[:FUNCtion]NEGa- tive|POSitive|SAMPle|AVERage|NORMAL [:SENSe]:DETector:TRACe[1]|2|3|4[:FUNCtion]? Specifies the detection mode. For each trace interval (bucket), average detection displays the average of all the samples within the interval. • Negative peak detection displays the lowest sample taken during the interval being displayed.
Command Reference Sense Subsystem Average Subsection Average Type [:SENSe]:AVERage:TYPE LOGPower|POWer|VOLTage [:SENSe]:AVERage:TYPE? Toggle the average type between Log power, power and voltage. Example: :AVERage:TYPE POW Key access: BW > Average Type Average Number On/Off [:SENSe]:AVERage:TRACe[1]|2|3|4:COUNt <integer> [:SENSe]:AVERage:TRACe[1]|2|3|4:COUNt? Specifies the number of measurements that are combined. Range: 1 to 8192 [:SENSe]:AVERage:TRACe[1]|2|3|4[:STATe]...
Command Reference Sense Subsystem Average Restart [:SENSe]:AVERage:TRACe[1]|2|3|4:CLEar Restarts the trace average. This command is only available when average is on. Example: :AVERage:TRACe1:CLEar Trace > More > Average Restart Key access: Sweep Subsection Sweep Time [:SENSe]:SWEep:TIME <time> [:SENSe]:SWEep:TIME? Specifies the time in which the instrument sweeps the display.
Page 95
Command Reference Sense Subsystem Sweep Mode [:SENSe]:SWEep:MODE AUTO|FFT|SWEep [:SENSe]:SWEep:MODE? Sets the sweep mode manually. *RST: AUTO Shift > Sweep > Sweep Setup > Sweep Type Key access: Gated Sweep State [:SENSe]:SWEep:EGATe[:STATe] OFF|ON|0|1 [:SENSe]:SWEep:EGATe[:STATe]? Use this command to turn on/off gated sweep mode. Example: :SWEep:EGATe ON Shift >...
Page 96
Command Reference Sense Subsystem Gate Delay [:SENSe]:SWEep:EGATe:DELay <time> [:SENSe]:SWEep:EGATe:DELay? Set the gate delay time. Example: :SWEep:EGATe:DELay 0.003 Shift > Sweep > Sweep Setup > Gated Sweep > Gate Delay Key access: Gate Length [:SENSe]:SWEep:EGATe:LENGth <time> [:SENSe]:SWEep:EGATe:LENGth? Set the gate length of the gated sweep. Example: :SWEep:EGATe:LENGth 0.5 Shift >...
Command Reference Sense Subsystem Display Subsection Graticule State :DISPlay:WINDow:TRACe:GRATicule:GRID[:STATe] OFF|ON|0|1 :DISPlay:WINDow:TRACe:GRATicule:GRID[:STATe]? This command toggles the graticule between on and off. Example: :DISPlay:WINDow:TRACe:GRATicule:GRID OFF Shift > Disp > Graticule On/Off Key access: Y Scale State :DISPlay:WINDow:TRACe:YSCale[:STATe] OFF|ON|0|1 :DISPlay:WINDow:TRACe:YSCale[:STATe]? This command toggles the Y Scale between on and off. Example: :DISPlay:WINDow:TRACe:YSCale ON Shift >...
Command Reference Calculate Subsystem Calculate Subsystem This subsystem is used to perform post- acquisition data processing. In effect, the collection of new data triggers the CALCulate subsystem. In this instrument, the primary functions in this subsystem are markers and limits. Limit Line Subsection Limit lines can be defined for your measurement.
Page 99
Command Reference Calculate Subsystem Limit Line Y-axis Value :CALCulate:LLINe[1]:Y <value> :CALCulate:LLINe[1]:Y? Sets the Y- axis value of a limit line. Limit line Y- axis value is set independently and is not affected by the X- axis units. *RST: 0 dBm Example: :CALCulate:LLINe:Y -20dBm Shift >...
Page 100
Command Reference Calculate Subsystem Limit Beep State :CALCulate:LLINe:CONTrol:BEEP OFF|ON|0|1 :CALCulate:LLINe:CONTrol:BEEP? Use this command to turn on/off the limit beep status. Example: :CALCulate:LLINe:CONTrol:BEEP ON Shift > Limit > X Axis Units Key access: Define Limits Values :CALCulate:LLINe[1]|2:DATA <x-axis>,<ampl>,<connected>{,<x-axis>,<ampl>,<co nnected>} :CALCulate:LLINe[1]|2:DATA? Use this command to define the limits values. Example: :CALC:LLIN1:DATA 10000000,-20,0,20000000,-30,1 Shift >...
Page 101
Command Reference Calculate Subsystem Set the limits Margin Value :CALCulate:LLINe[1]|2:MARGin <value> :CALCulate:LLINe[1]|2:MARGin? Use this command to define the limits margin values. Example: :CALCulate:LLINe1:MARGin 20 Shift > Limit > Limit 1 > More > Margin Key access: Set Limits Margin State :CALCulate:LLINe[1]|2:MARGin:STATe OFF|ON|0|1 :CALCulate:LLINe[1]|2:MARGin:STATe? Use this command to turn on/off limit margin.
Command Reference Calculate Subsystem Marker Subsection Markers All Off on All Traces :CALCulate:MARKer:AOFF Turns off all markers on all the traces. Marker > All Off Key access: Continuous Peaking Marker :CALCulate:MARKer[1]|2|3|4|5|6:CPEak[:STATe] OFF|ON|0|1 :CALCulate:MARKer[1]|2|3|4|5|6:CPEak[:STATe]? Toggles the continuous peak search function between on and off.
Page 103
Command Reference Calculate Subsystem Marker Function :CALCulate:MARKer[1]|2|3|4|5|6:FUNCtion FCOunt|NOISe|OFF :CALCulate:MARKer[1]|2|3|4|5|6:FUNCtion? This command selects the marker function for the designated marker. COunt refers to the frequency counter function. NOISe refers to the noise measurement function. OFF refers to the normal function. *RST: 1 kHz Example: :CALCulate:MARKer1:FUNCtion NOISe...
Page 104
Command Reference Calculate Subsystem Marker Peak Left/Right Search :CALCulate:MARKer[1]|2|3|4|5|6:MAXimum:LEFT :CALCulate:MARKer[1]|2|3|4|5|6:MAXimum:RIGHt Places the selected marker on the next highest signal peak to the left/right of the current marked peak. Example: :CALCulate:MARKer1:MAXimum:LEFT Shift >Peak > Next Left\Right Peak Key access: Marker Mode :CALCulate:MARKer[1]|2|3|4|5|6:MODE POSi- tion|DELTa|OFF :CALCulate:MARKer[1]|2|3|4|5|6:MODE?
Page 105
Command Reference Calculate Subsystem Peak Search Type :CALCulate:MARKer:PEAK:SEARch:MODE MAXimum|MINi- :CALCulate:MARKer:PEAK:SEARch:MODE? Specifies the peak search type. When it is set to maximum, the places the selected marker on the highest point on the assigned trace. When it is set to minimum, the places the selected marker on the lowest point on the assigned trace.
Page 106
Command Reference Calculate Subsystem Marker to Center :CALCulate:MARKer[1]|2|3|4|5|6[:SET]:CENTer This command sets the center frequency equal to the specified marker frequency, which moves the marker to the center of the screen. In delta marker mode, the center frequency is set to the marker delta value. This command is not available in zero span.
Page 107
Command Reference Calculate Subsystem Marker On/Off :CALCulate:MARKer[1]|2|3|4|5|6:STATe OFF|ON|0|1 :CALCulate:MARKer[1]|2|3|4|5|6:STATe? This command toggles the selected marker status between on and off. Example: :CALCulate:MARKer1:STATe 0 Marker > Mode > Normal/Off Key access: Marker to Trace :CALCulate:MARKer[1]|2|3|4|5|6:TRACe <integer> :CALCulate:MARKer[1]|2|3|4|5|6:TRACe? This command assigns the specified marker to the designated trace 1, 2, 3 or 4.
Page 108
Command Reference Calculate Subsystem Toggles the marker X- Axis readout between frequency, time and period. Marker > More > Read Out Key access: Query Marker Readout: Y Value :CALCulate:MARKer[1]|2|3|4|5|6:Y? This command reads the current Y value for the designated marker or delta on its assigned trace. The value is in the Y- axis units for the current trace.
Command Reference Initiate Subsystem Initiate Subsystem The INITiate subsystem is used to control the initiation of the spectrum analyzer sweep operation. Continuous or Single Sweep :INITiate:CONTinuous OFF|ON|0|1 :INITiate:CONTinuous? Selects whether the sweep operation is continuously initiated or not. This command affects sweep if not in a measurement, and affects trigger when in a measurement.
Page 110
Command Reference Initiate Subsystem • The query returns 1 or 0 into the output buffer. 1 is returned when in a continuous measurement state. 0 is returned when there is only a single measurement. *RST: Continuous Sweep > Sweep Single/Cont Key access: Initiate a Single Sweep :INITiate[:IMMediate]...
Command Reference Trigger Subsystem Trigger Subsystem The TRIGger subsystem is used to set the controls and parameters associated with triggering the data acquisitions. This subsystem is only valid when the analyzer is in zero span. Trigger Source :TRIGger[:SEQuence]:SOURce IMMediate|VIDeo|EXTer- nal|RFBurst :TRIGger[:SEQuence]:SOURce? Specifies the source (or type) of triggering used to start a measurement.
Page 112
Command Reference Trigger Subsystem Video Trigger Level Amplitude :TRIGger[:SEQuence]:VIDeo:LEVel <value> :TRIGger[:SEQuence]:VIDeo:LEVel? Specifies the level at which a video trigger will occur. Video is adjusted using this command, but must also be selected using the command :TRIGger[:SEQuence]:SOURce VIDeo Range: 10 display divisions below reference level to reference level Default Unit: current amplitude units Example:...
Page 113
Command Reference Trigger Subsystem RF Burst Trigger Slope :TRIGger[:SEQuence]:RFBurst:SLOPe POSitive|NEGative :TRIGger[:SEQuence]:RFBurst:SLOPe? This command activates the trigger condition that allows the next sweep to start when the external RF signal (connected to RF IN connector) passes RF burst trigger level. Before you set the trigger slope, The external trigger source must be selected using the command :TRIGger[:SEQuence]:SOURce RF Burst.
Page 114
Command Reference Trigger Subsystem Synchronization Source :TRIGger[:SEQuence]:FRAMe:SYNC OFF|EXTernal |RFBurst :TRIGger[:SEQuence]:FRAMe:SYNC? Specifies the source of period timer under gate sweep mode. Example: :TRIGger:FRAMe:SYNC OFF Shift > Sweep > Gated Sweep > Gate Source >Periodic Timer, then Key access: Timer Setup > Sync Source...
Power Measurement Subsystem The Power Measurement Subsystem provides you the SCPI commands reference for the N9322C built in one button power measurement function, such as Adjacent Channel Power Ratio ( ACPR ) , Channel Power ( CHP ) , Occupied Bandwidth ( OBW ) and Spectrum Emission Mask ( SEM ).
Page 116
Command Reference Power Measurement Subsystem Adjacent Channel State [:SENSe]:ACPRatio:OFFSet:LIST:STATe OFF|ON|0|1,OFF|ON|0|1,OFF|ON|0|1,OFF|ON|0|1,OFF| ON|0|1,OFF|ON|0|1 [:SENSe]:ACPRatio:OFFSet:LIST:STATe? Specifies the range of integration used in calculating the power in the adjacent channel. *RST: 1 MHz Range: 300 Hz to 25 MHz Example: :ACPRatio:OFFSet:LIST:STATe 1,1,1,1,1,1 Meas > Adj Chn State Key access: Adjacent Channel Bandwidth [:SENSe]:ACPRatio:OFFSet:LIST:BAND-...
Page 117
Command Reference Power Measurement Subsystem Channel Space [:SENSe]:ACPRatio:OFFSet:LIST[FREQuency] <freq>,<freq>,<freq>,<freq>,<freq> [:SENSe]:ACPRatio:OFFSet:LIST[FREQuency]? Sets the space value between the center frequency of main channel power and that of the adjacent channel power. [:SENSe]:ACPRatio:OFFSet:LIST[FREQuency]:AUTO OFF|ON|0|1,OFF|ON|0|1,OFF|ON|0|1,OFF|ON|0|1,OFF|ON|0| 1,OFF|ON|0|1 [:SENSe]:ACPRatio:OFFSet:LIST[FREQuency]ATUO? Sets the space value between the center frequency of main channel power and that of the adjacent channel power to auto mode.
Command Reference Power Measurement Subsystem Query Upper Adjacent Channel Power Ratio :MEASure:ACPRatio:UPPer? Return the upper adjacent channel power to main channel power ratio. ACPR RRC Filter State [:SENSe]:ACPRatio:RRC[:STATe] OFF|ON|0|1 [:SENSe]:ACPRatio:RRC[:STATe]? Use this command to turn on/off the RRC filter. Example: :ACPRatio:RRC 1 Meas >...
Page 119
Command Reference Power Measurement Subsystem Integration BW [:SENSe]:CHPower:BWIDth|BANDwidth:INTegration <freq> [:SENSe]:CHPower:BWIDth|BANDwidth:INTegration? Specifies the integration bandwidth to calculate the power. Example: :CHPower:BWIDth:INTegration 40 MHz Meas > Integrated BW Key access: Channel Span [:SENSe]:CHPower:FREQuency:SPAN <freq> [:SENSe]:CHPower:FREQuency:SPAN? Sets the analyzer span for the channel power measurement. Be sure the span is set between 1 and 10 times the integration bandwidth.
Page 120
Command Reference Power Measurement Subsystem Channel Power Auto Range [:SENSe]:CHPower:METer:RANGe:AUTO OFF|ON|0|1 [:SENSe]:CHPower:METer:RANGe:AUTO? Toggles the channel power auto range between on and off. It’s only available when the display mode is set to Meter. *RST: Example: :CHPower:METer:RANGe:AUTO 0 Meas > Disp Range > Auto Range Key access: Channel Power Range Top [:SENSe]:CHPower:METer:RANGe:TOP <value>...
Page 121
Command Reference Power Measurement Subsystem Query Channel Power and Density Result :MEASure:CHPower? This command returns scalar results of main channel power, and power density. :MEASure:CHPower:CHPower? This command returns the value of the channel power in amplitude units. :MEASure:CHPower:DENSity? This command returns the value of the channel power density in amplitude units/Hz.
Command Reference Power Measurement Subsystem Channel Power RRC Filter Bandwidth [:SENSe]:CHPower:RRC:BW <value> [:SENSe]:CHPower:RRC:BW? Use this command to set the bandwidth of RRC filter in channel power test. Example: :CHPower:RRC:BW 2 MHZ Meas > More > Filter BW Key access: OBW Subsection Select the measurement method of OBW [:SENSe]:OBW:METHod PERCent|DBC [:SENSe]:OBW:METHod?
Page 123
Command Reference Power Measurement Subsystem Set dBc method of OBW [:SENSe]:OBWidth:XDB <value> [:SENSe]:OBWidth:XDB? specify the power level used to determine the emission bandwidth as the number of dB down from the highest signal point, within the occupied bandwidth span. *RST: Range: 0.10 to 100 Example:...
Command Reference Power Measurement Subsystem Query OBW Result :MEASure:OBW:OBW? :FETCh:OBW:OBW? Use this command to query the occupied bandwidth according to the method you set. Query Centroid Result :MEASure:OBW:CENTroid? :FETCh:OBW:CENTroid? Use this command to query the occupied bandwidth according to the method you set. SEM Subsection SEM Average Number [:SENSe]:SEMask:AVERage:COUNt <integer>...
Page 125
Command Reference Power Measurement Subsystem SEM Channel Integrate Bandwidth [:SENSe]:SEMask:BANDwidth|BWIDth:INTegration <freq> [:SENSe]:SEMask:BANDwidth|BWIDth:INTegration? Use this command to specify reference channel integrate bandwidth in SEM measurement. Example: :SEMask:BANDwidth:INTegration 2 MHz Meas > SEM > Ref Channel > Chan Integ BW Key access: SEM Resolution Bandwidth [:SENSe]:SEMask:BANDwidth|BWIDth <freq>...
Page 126
Command Reference Power Measurement Subsystem SEM Channel Span [:SENSe]:SEMask:FREQuency:SPAN <freq> [:SENSe]:SEMask:FREQuency:SPAN? Use this command to specify reference channel span in SEM measurement. Example: :SEMask:FREQuency:SPAN 20MHz Meas > SEM > Ref Channel > Chan Span Key access: SEM Center Frequency [:SENSe]:SEMask:FREQuency:CENTer <freq> [:SENSe]:SEMask:FREQuency:CENTer? Use this command to set center frequency in SEM measurement.
Page 127
Command Reference Power Measurement Subsystem Query SEM Marker Y Value [:SENSe]:SEMask:MARKer[1]|2|3|4|5|6:Y? Use this command to query the marker readout of Y axis in SEM measurement. Example: :SEMask:MARKer1:Y? SEM Marker All Off [:SENSe]:SEMask:MARKer:AOFF Use this command to turn off all the marker in SEM measurement.
Page 128
Command Reference Power Measurement Subsystem SEM Offset Measurement Bandwidth [:SENSe]:SEMask:OFFSet:LIST:BAND- width|BWIDth:MEASure <Integer>, <Integer>, <Integer>, <Integer>,<Integer> [:SENSe]:SEMask:OFFSet:LIST:BAND- width|BWIDth:MEASure? Use this command to set the measurement bandwidth of offset channel in SEM measurement. Example: :SENSe:SEMask:OFFSet:LIST:BANDwidth:MEASure 1,1,1,1,1 Meas > SEM > Offset/Limit > More > More > Meas BW Key access: SEM Offset Start Freq [:SENSe]:SEMask:OFFSet:LIST:FREQuency:STARt...
Page 129
Command Reference Power Measurement Subsystem SEM Offset Sweep Time [:SENSe]:SEMask:OFFSet:LIST:SWEeptime <time>,<time>,<time>,<time>,<time> [:SENSe]:SEMask:OFFSet:LIST:SWEeptime? Use this command to specify the related sweep time of offset channels in SEM measurement. The unit for the time in this command is second. [:SENSe]:SEMask:OFFSet:LIST:SWEeptime:AUTO OFF|ON|0|1,... [:SENSe]:SEMask:OFFSet:LIST:SWEeptime:AUTO? Use this command to turn on/off automatically setting of sweep time of reference channels in SEM measurement.
Page 130
Command Reference Power Measurement Subsystem SEM Offset Rel StartAmpt [:SENSe]:SEMask:OFFSet:LIST:STARt:RCARrier <ampl>,<ampl>,<ampl>,<ampl>,<ampl> [:SENSe]:SEMask:OFFSet:LIST:STARt:RCARrier? Use this command to specify the start frequency amplitude of offset channel relative limit mask in SEM measurement. Before use this command, the fail mask type should be set to “Relative”...
Page 131
Command Reference Power Measurement Subsystem SEM Offset Fail Mask [:SENSe]:SEMask:OFFSet:LIST:TEST ABSolute|RELa- tive|AND|OR,ABSolute|RELative|AND|OR,ABSo- lute|RELative|AND|OR,ABSolute|RELative|AND|OR,AB Solute|RELative|AND|OR [:SENSe]:SEMask:OFFSet:LIST:TEST? Use this command to choose the mask type in SEM measurement. Range: ABSolute, RELative, AND, OR Example: :SENSe:SEMask:OFFSet:LIST:TEST ABSolute,ABSolute, RELative, AND, OR Meas > SEM > Offset/Limit > More 1 of 3 > More 2 of 3 > Fail Mask Key access: SEM Meas Type [:SENSe]:SEMask:TYPE TPRef|PSDRef...
Page 132
Command Reference Power Measurement Subsystem Query SEM Lower Offset Peak Frequency [:SENSe]:SEMask:OFFSet:LIST:LOWer:PEAK:FRE- Quency? Use this command to query the peak power frequency of each lower offset channel in SEM measurement. Example: :SEMask:OFFSet:LIST:LOWer:PEAK:FREQuency? Query SEM Upper Offset Fail Flag [:SENSe]:SEMask:OFFSet:LIST:Upper:FAIL? Use this command to query fail flag of each upper offset channel in SEM measurement.
Page 133
Command Reference Power Measurement Subsystem SEM Fail Setting Hold [:SENSe]:SEMask:FAIL:LOG OFF|ON|0|1 [:SENSe]:SEMask:FAIL:LOG? Use this command to switch the Fail log status of SEM measurement. Example: :SEMask:FAIL:LOG ON Meas > SEM > Fail Setting > Log Key access: SEM Fail Setting Hold [:SENSe]:SEMask:FAIL:HOLD OFF|ON|0|1 [:SENSe]:SEMask:FAIL:HOLD? Use this command to switch the Fail hold status of SEM...
Command Reference Spectrum Monitor Option Subsystem Spectrum Monitor Option Subsystem The spectrum monitor subsystem provides you the SCPI commands reference for the spectrum monitor with spectrogram record and playback function. Use the command :INSTrument SA, and:INSTrument:MEASure SPECtrogram to access this subsystem. Option MNT is required to enable this function.
Page 135
Command Reference Spectrum Monitor Option Subsystem Example: :SPECtrogram:UINTerval:STATe ON Meas > Update Int. Key access: Spectrogram Palette [:SENSe]:SPECtrogram:PALette FCOLor|GRAY [:SENSe]:SPECtrogram:PALette? This command switches the display palette between Color and Gray. Example: :SPECtrogram:PALette GRAY Meas > Palette > Color /Gray Key access: Spectrogram Display Mode [:SENSe]:SPECtrogram:DMODe SPCTrg|TRACe|BOTH [:SENSe]:SPECtrogram:DMODe?
Page 136
Command Reference Spectrum Monitor Option Subsystem Use this command to set the frequency of marker in spectrogram measurement. Example: :SPECtrogram:MARKer2:FREQuency 1GHz Marker > Frequency Key access: Spectrogram Marker Time [:SENSe]:SPECtrogram:MARKer[1]|2:TIME <value> [:SENSe]:SPECtrogram:MARKer[1]|2:TIME? Use this command to locate the marker to specific time point in spectrogram measurement.
Page 137
[:SENSe]:SPECtrogram:MARKer:ALERt:STATe OFF|ON|0|1 [:SENSe]:SPECtrogram:MARKer:ALERt:STATe? Use this command to turn on or off the Marker audio alert state. If the Marker audio alert state is set to on, N9322C will alert when there is signal beyond the audio alert limit value. Example: :SPECtrogram:MARKer:ALERt:STATe ON Meas >...
Page 138
Command Reference Spectrum Monitor Option Subsystem Spectrogram Marker Audio Alert Limit [:SENSe]:SPECtrogram:MARKer:ALERt:LIMit <value> [:SENSe]:SPECtrogram:MARKer:ALERt:LIMit? Use this command to set the Marker audio alert limit line value. Example: :SPECtrogram:MARKer:ALERt:LIMit -50 dBm Marker > More > Audio Alert Key access: Spectrogram Start Save [:SENSe]:SPECtrogram:SAVE:STARt [:SENSe]:SPECtrogram:SAVE[:STATe]? Use this command to start to save the spectrogram...
Page 139
Command Reference Spectrum Monitor Option Subsystem Spectrogram Save Start Date [:SENSe]:SPECtrogram:SAVE:TIMed:STARt:DATE <“str”> [:SENSe]:SPECtrogram:SAVE:TIMed:STARt:DATE? Use this command to set the start date of timed save operation. Example: :SPECtrogram:SAVE:TIMed:STARt:DATE "20121016" Meas > File Logging > Time Setting > Start Date Key access: Spectrogram Save Start Time [:SENSe]:SPECtrogram:SAVE:TIMed:STARt:TIME <“str”>...
Page 140
Command Reference Spectrum Monitor Option Subsystem Spectrogram Save File Type [:SENSe]:SPECtrogram:SAVE:FTYPe TRC|CSV [:SENSe]:SPECtrogram:SAVE:FTYPe? Use this command to switch the spectrogram test result type between TRC and CSV. Example: :SPECtrogram:SAVE:FTYPe TRC Meas > File Logging > File Type Key access: Spectrogram Save File Size [:SENSe]:SPECtrogram:SAVE:FSIZe <int>...
Command Reference Reflection Measurement Option Subsystem Reflection Measurement Option Subsystem The Reflection Measurement Option Subsystem provides you the SCPI command reference for the reflection measurement function. Use the command :INSTrument CAT to access this subsystem. Option RM7 and TG7 are required to enable the reflection measurement function.
Page 142
Command Reference Reflection Measurement Option Subsystem Reflection Measurement IIM State [:SENSe]:CAT:IIM[:STATe] OFF|ON|0|1 [:SENSe]:CAT:IIM[:STATe]? Use this command to turn on/off the IIM state for reflection measurement. Example: :CAT:IIM ON Meas > IIM Key access: Reflection Measurement Display Type [:SENSe]:CAT:DISPlay:TYPE RL|VSWR|LIN [:SENSe]:CAT:DISPlay:TYPE? Toggles the reflection measurement display mode between RL, VSWR and LIN.
Page 143
Command Reference Reflection Measurement Option Subsystem Select A Cable in Reflection Measurement [:SENSe]:CAT:CABLe:LOAD <string> Use this command to select a cable from built- in cable list. Example: :CAT:CABLe:LOAD "5088" Meas > More 1 of 2 > Cable Specification > Select Cable Key access: Reflection Measurement Cable Attenuation [:SENSe]:CAT:CABLe:ATTenuation <value>...
Page 144
Command Reference Reflection Measurement Option Subsystem Reflection Measurement Windows Select [:SENSe]:CAT:WINDow NONE|RECTangular|HAMMing|S3BLackman|S4BLackman [:SENSe]:CAT:WINDow? This command toggles the measurement window between Rectangular Window, Hamming Window, 3- Sample Blackman Window and 4- Sample Blackman Window. Range: NONE, RECTangular, HAMMing, S3BLackman, S4BLackman Example: :CAT:WINDow RECT Meas >...
Page 145
Command Reference Reflection Measurement Option Subsystem Reflection Measurement Center Frequency [:SENSe]:CAT:FREQuency:CENTer <freq> [:SENSe]:CAT:FREQuency:CENTer? Use this command to define the center frequency of reflection measurement. Range: 5 MHz to 7 GHz Example: :CAT:FREQuency:CENTer 200 MHz Freq > Center Freq Key access: Reflection Measurement Frequency Span [:SENSe]:CAT:FREQuency:SPAN <freq>...
Page 146
Command Reference Reflection Measurement Option Subsystem Reflection Measurement Distance Unit [:SENSe]:CAT:DISTance:UNIT METers|FEET [:SENSe]:CAT:DISTance:UNIT? Use this command to toggle the distance unit between meter and feet. Example: :CAT:DISTance:UNIT FEET Meas > Unit > Meter/Feet Key access: Reflection Measurement DTF Frequency Domain State [:SENSe]:CAT:DTF:FVIew OFF|ON|0|1 [:SENSe]:CAT:DTF:FVIew? Use this command to turn on/off frequency domain display...
Page 147
Command Reference Reflection Measurement Option Subsystem Reflection Measurement Amplitude Scale Per Division [:SENSe]:CAT:SCALe:DIV <value> [:SENSe]:CAT:SCALe:DIV? This command defines the amplitude display scale per division. Range: 0.1 to 10 Example: :CAT:SCALe:DIV 5 Meas > Start Distance Key access: Reflection Measurement Save Trace Data to Memory [:SENSe]:CAT:TRACe:SAVE Use this command to save the current trace data to memory.
Page 148
Command Reference Reflection Measurement Option Subsystem Reflection Measurement Trace Math Type [:SENSe]:CAT:TRACe:MATH OFF|ADD|SUB|DIV [:SENSe]:CAT:TRACe:MATH? This command toggles the trace math type of reflection measurement. RM7 option support three trace type, measurement trace data plus memory saved trace data, immurement trace data minus memory saved trace data, and memory saved data minus measurement trace data.
Page 149
Command Reference Reflection Measurement Option Subsystem Reflection Measurement Trace Data Query :TRACe[:DATA]? DATA|MEM Use this command to query the current trace data. Example: :TRACe? DATA Reflection Measurement Sweep Continuos State :INITiate:CONTinuous OFF|ON|0|1 :INITiate:CONTinuous? Use this command to turn on/off continuos sweep state of current test.
Page 150
Command Reference Reflection Measurement Option Subsystem Reflection Measurement Marker Continuous Peak State :CALCulate:MARKer[1]|2|3|4|5|6:CPEak OFF|ON|0|1 :CALCulate:MARKer[1]|2|3|4|5|6:CPEak? This command turns on/off marker continuous peak state in reflection measurement. Example: :CALCulate:MARKer1:CPEak ON Marker > Cont Peak Key access: Reflection Measurement Marker Continuous Valley State :CALCulate:MARKer[1]|2|3|4|5|6:CVALley OFF|ON|0|1 :CALCulate:MARKer[1]|2|3|4|5|6:CVALley?
Page 151
Command Reference Reflection Measurement Option Subsystem Query Reference Marker X axis Value in Reflection Measurement :CALCulate:MARKer[1]|2|3|4|5|6:RX? This command query current reference marker X axis value. Example: :CALCulate:MARKer1:RX? Query Reference Marker Y axis Value in Reflection Measurement :CALCulate:MARKer[1]|2|3|4|5|6:RY? This command query current reference marker Y axis value. Example: :CALCulate:MARKer1:RY? Marker Peak Search in Reflection Measurement...
Page 152
Command Reference Reflection Measurement Option Subsystem Reflection Measurement Limit Type :CALCulate:LLINe[1]|2:TYPE UPPer|LOWer :CALCulate:LLINe[1]|2:TYPE? This command toggles the limit type between upper limit and lower limit. Example: :CALCulate:LLINe:TYPE UPPer Shift > Limit > Limit1 > Type Key access: Reflection Measurement Limit Line State :CALCulate:LLINe[1]|2:STATe OFF|ON|0|1 :CALCulate:LLINe[1]|2:STATe? This command turns on/off the limit line in CAT test.
Page 153
Command Reference Reflection Measurement Option Subsystem Get Limits Result in Reflection Measurement :CALCulate:LLINe[1]|2:FAIL? This command query the result of limit line or limit in reflection measurement. Example: :CALCulate:LLINe1:FAIL? Define Limit Value in Reflection Measurement :CALCulate:LLINe[1]|2:DATA <x-axis>,<ampl>,<connected>{,<x-axis>,<ampl>,<co nnected>} :CALCulate:LLINe[1]|2:DATA? Use this command to define the limit value in reflection measurement function.
Page 154
Command Reference Reflection Measurement Option Subsystem Define Limit Value in Reflection Measurement :CALCulate:LLINe[1]|2:DATA <x-axis>,<ampl>,<connected>{,<x-axis>,<ampl>,<co nnected>} :CALCulate:LLINe[1]|2:DATA? This command defines the limit value in reflection measurement. Example: :CALC:LLIN1:DATA 1000000000,-20,0,200000000,-30,1 Shift > Limit > Limit1 > Edit Limits Key access:...
Command Reference Channel Scanner Option Subsystem Channel Scanner Option Subsystem The Channel Scanner Option Subsystem provides you the SCPI command reference for the channel scanner function. Use the command :INSTrument SA, and command :INSTrument:MEASure CHScanner to access this subsystem. Option SCN is required to enable the channel scanner function.
Page 156
Command Reference Channel Scanner Option Subsystem Bottom N Number :CHSCanner:SWEep:BOTTom <value> :CHSCanner:SWEep:BOTTom? This command specify the scanner channel number of Bottom N mode. Need to switch to Bottom N sweep mode before using this command. Range: 1 to 20 Example: :CHSCanner:SWEep:BOTTom 10 Meas >...
Page 157
Command Reference Channel Scanner Option Subsystem Min Hold Dwell Time :CHSCanner:SWEep:MINHold:DWELltime <value> :CHSCanner:SWEep:MINHold:DWELltime? Use this command to define the min hold dwell time of channel scanner measurement mode. Example: :CHSCanner:SWEep:MINHold:DWELltime 10s Trace > Min Hold Key access: Average State :CHSCanner:SWEep:AVERage[:STATe] OFF|ON|0|1 :CHSCanner:SWEep:AVERage[:STATe]? Use this command to turn on/off average state in channel scanner mode.
Page 158
Command Reference Channel Scanner Option Subsystem Measurement Interval State :CHSCanner:SWEep:INTerval[:STATe] OFF|ON|0|1 :CHSCanner:SWEep:INTerval [:STATe]? Use this command to turn on/off measurement interval state. Example: :CHSCanner:SWEep:INTerval ON Meas > Setup > Meas Interval Key access: Measurement Interval Time :CHSCanner:SWEep:INTerval:TIME <value> :CHSCanner:SWEep:INTerval:TIME? Use this command to define the measurement interval time. Range: 100 ms to 3600 s Example:...
Page 159
Command Reference Channel Scanner Option Subsystem Top Cycle :CHSCanner:SWEep:TOP:CYCLe[:STATe] OFF|ON|0|1 :CHSCanner:SWEep:TOP:CYCLe[:STATe]? Use this command to turn on/off Top Cycle state. It’s only available for Top N sweep mode. :CHSCanner:SWEep:TOP:CYCLe:VALue <value> :CHSCanner:SWEep:TOP:CYCLe:VALue? This command set the Top Cycle value. Range: 1 to 10000 Example: :CHSCanner:SWEep:TOP:CYCLe:VALue 30 Meas >...
Page 160
Command Reference Channel Scanner Option Subsystem Channel Scanner Edit Subsection Set Channel Edit Method for List Sweep :CHSCanner:EDIT:LIST:METHod <index>,<0|1>{,<index>,< 0|1>} :CHSCanner:EDIT:LIST:METHod? This command specify the channel edit method for list sweep. In list sweep mode, there are two method to insert or edit a scan channel, custom method and signal standard method.
Page 161
Command Reference Channel Scanner Option Subsystem Example: :CHSCanner:EDIT:LIST:ADD:STD "d:/CDMA-AWS_DL.STD,11" Meas > List Edit > Insert > Edit Method Std > Signal Std Key access: Modify Channel By Custom For List Sweep :CHSCanner:EDIT:LIST:MODify:CUSTom <index>,<freq>,<band- width>{,<index>,<freq>,<bandwidth>} This command edit the sweep channel by custom, and it requires to input the channel index, new center frequency and new bandwidth.
Page 162
Command Reference Channel Scanner Option Subsystem Delete All Channels For List Sweep :CHSCanner:EDIT:LIST:DELete:ALL This command delete all channels for list sweep mode. Example: :CHSCanner:EDIT:LIST:DELete:ALL Meas > List Edit > Delete All Key access: Query Channel Information For List Sweep :CHSCanner:EDIT:LIST? This command query the scan channel information for list sweep.
Page 163
Command Reference Channel Scanner Option Subsystem Set Scan Channel For Top N Sweep By Signal Standard :CHSCanner:EDIT:TOP:STD <value> :CHSCanner:EDIT:TOP:STD? This command defines the signal standard for Top N sweep method. Example: :CHSCanner:EDIT:TOP:STD “d:/CDMA-AWS_DL.STD” Meas > Range Edit > Edit Method Std > Signal Std Key access: Set Scan Channel Range For Top N Sweep By Signal Standard...
Page 164
Command Reference Channel Scanner Option Subsystem :CHSCanner:EDIT:TOP:CUSTom:STARt? This command specify the start frequency of custom scan channels for Top N sweep mode. Example: :CHSCanner:EDIT:TOP:CUSTom:STARt 20000000 Meas > Range Edit > Edit Method Custom, then > Start Freq Key access: Set Frequency Step for Customer Scan Channel For Top N Sweep :CHSCanner:EDIT:TOP:CUSTom:STEP <value>...
Page 165
Command Reference Channel Scanner Option Subsystem Set Edit Method For Bottom N Sweep :CHSCanner:EDIT:BOTTom:METHod STD|CUSTom :CHSCanner:EDIT:BOTTom:METHod? This command specify the edit method for Bottom N sweep mode. Example: :CHSCanner:EDIT:BOTTom:METHod CUST Meas > Scan Mode > Bottom N > Return > Range Edit > Edit Method Key access: Set Scan Channel For Bottom N Sweep By Signal Standard :CHSCanner:EDIT:BOTTom:STD <value>...
Page 166
Command Reference Channel Scanner Option Subsystem Example: :CHSCanner:EDIT:BOTTom:CUSTom 10000000,1000000,10000,100 Meas > Range Edit > Edit Method Custom Key access: Set Start Frequency For Custom Scan Channel For Bottom N Sweep :CHSCanner:EDIT:BOTTom:CUSTom:STARt <value> :CHSCanner:EDIT:BOTTom:CUSTom:STARt? This command specify the start frequency of custom scan channels for Bottom N sweep mode.
Page 167
Command Reference Channel Scanner Option Subsystem Set Custom Scan Channel Quantity For Bottom N Sweep :CHSCanner:EDIT:BOTTom:CUSTom:CHNumber <value> :CHSCanner:EDIT:BOTTom:CUSTom:CHNumber? This command defines custom scan channel quantity for Bottom N sweep mode. Example: :CHSCanner:EDIT:BOTTom:CUSTom:CHNumber 200 Meas > Range Edit > Edit Method Custom, then > Number of Chn Key access: Channel Scanner Display Subsection Display Switch...
Page 168
Command Reference Channel Scanner Option Subsystem Display Threshold State :CHSCanner:DISPlay:THReshold [:STATe] OFF|ON|0|1 :CHSCanner:DISPlay:THReshold [:STATe]? This command toggles display threshold state. Then the display threshold is turned on, only the channels with higher channel power than the threshold value will be displayed on the screen.
Page 169
Command Reference Channel Scanner Option Subsystem Limit Type :CHSCanner:DISPlay:LIMit:TYPE UPPer|LOWer :CHSCanner:DISPlay:LIMit:TYPE? This command toggles limit type between upper and lower. Example: :CHSCanner:DISPlay:LIMit:TYPE LOWer Shift > Limit > Limit Type Key access: Display Sort Type :CHSCanner:DISPlay:SORT ID|POWer :CHSCanner:DISPlay:SORT? This command toggles display sort type between by ID and by power.
Page 170
Command Reference Channel Scanner Option Subsystem Logging File Type :CHSCanner:LOG:TYPE CSV|KML :CHSCanner:LOG:TYPE? This command switch the logging file type between CSV and KML. Example: :CHSCanner:LOG:TYPE KML Meas > Logging Start Key access: Channel Scanner Measure Subsection Query Result :CHSCanner:MEASure? Use this command to query the channel scanner measurement result.
Command Reference Demodulation Option Subsystem Demodulation Option Subsystem The Demodulation Option Subsystem provides you the SCPI command reference for the demodulation function. Use the command :INSTrument MA to access this subsystem. Option AMA is required to perform AM and FM demodulation analysis, and option DMA is required to perform ASK and FSK demodulation analysis Switch Demodulation Mode...
Page 172
Command Reference Demodulation Option Subsystem Carrier Frequency Step [:SENSe]:FREQuency:CARRier:STEP <freq> [:SENSe]:FREQuency:CARRier:STEP? This command sets the carrier frequency step of the demodulation analysis. Example: :FREQuency:CARRier:STEP 50MHz Freq > CarrFreq Step Key access: Auto Carrier Frequency State [:SENSe]:FREQuency:CARRier:AUTO OFF|ON|1|0 [:SENSe]:FREQuency:CARRier:AUTO? Use this command to turn on/off auto carrier frequency detection.
Page 173
Command Reference Demodulation Option Subsystem Preamp [:SENSe]:POWer[:RF]:GAIN[:STATe] OFF|ON|0|1 [:SENSe]:POWer[:RF]:GAIN[:STATe]? Use this command to turn on/off preamplifier in demodulation mode. Example: :POWer:GAIN ON Amptd > Preamp Key access: Single Sweep :INITiate[:IMMediate] Use this command to perform a single sweep (measurement). Example: :INITiate Shift >...
Command Reference Demodulation Option Subsystem Restart Meas [:SENSe]:MEASure:RESTart Use this command to restart measurement of current demodulation analysis. Example: :MEASure:RESTart Meas > Restart Meas Key access: Read Measurement Data :CALCulate:DATA? Use this command to query the measurement result of current demodulation analysis. Example: :CALCulate:DATA? AM Demodulation Subsection...
Page 175
Command Reference Demodulation Option Subsystem Read Current AM Modulation Rate :CALCulate:AMA:MRATe? Use this command to query the AM Modulation rate result. Example: :CALCulate:AMA:MRATe? AM Average Count [:SENSe]:AMA:AVERage:COUNt <integer> [:SENSe]:AMA:AVERage:COUNt? Use this command to set average count number in AM or FM demodulation analysis.
Page 176
Command Reference Demodulation Option Subsystem AM Detector PeakHold [:SENSe]:AMA:DEMod:DETector[:FUNCtion]:PEAKhold OFF|ON|0|1 [:SENSe]:AMA:DEMod:DETector[:FUNCtion]:PEAKhold? Use this command to turn on/off Peak hold state of AM detector. Example: :AMA:DEMod:DETector:PEAKhold ON Meas > Detector > PeakHold Key access: AM IF Bandwidth [:SENSe]:AMA:IFBWidth 1.2MHz|960kHz|600kHz|480kHz|300kHz|240kHz|120kHz |96kHz|60kHz [:SENSe]:AMA:IFBWidth? This command sets the IF bandwidth of AM demodulation analysis.
Page 177
Command Reference Demodulation Option Subsystem AM Equal Low Pass Filter [:SENSe]:AMA:EQLPfilter AUTO|OFF|IFBW6|IFBW20|IFBW60|IFBW200|IFBW600|IFB W2000 [:SENSe]:AMA:EQLPfilter? Use this command to set the equal low pass filter in AM demodulation analysis. Range: AUTO, OFF, IFBW6, IFBW20, IFBW60, IFBW200, IFBW600, IFBW2000 Example: :AMA:EQLPfilter IFBW6 Meas >...
Page 178
Command Reference Demodulation Option Subsystem AM Depth Upper Limit :CALCulate:AM:LIMit:MDEPth:UPPer <value> :CALCulate:AM:LIMit:MDEPth:UPPer? Use this command to set the upper limit of AM depth. Range: 0.1% to 100% Example: :CALCulate:AM:LIMit:MDEPth:UPPer 50 Shift > Limit> AMod Depth Up Key access: AM Depth Lower Limit :CALCulate:AM:LIMit:MDEPth:LOWer <value>...
Page 179
Command Reference Demodulation Option Subsystem AM X Scale/DIV :DISPlay:AMA:VIEW:WINDow:TRACe:X[:SCALe]:PDIVi- sion < value > :DISPlay:AMA:VIEW:WINDow:TRACe:X[:SCALe]:PDIVi- sion? Use this command to set the Scale per division of X axis. The unit of this parameter is second. This command is only available when the scale coupling state is set to off. Range: 1e–9 to 1 Example:...
Page 180
Command Reference Demodulation Option Subsystem AM X Scale Coupling State :DISPlay:AMA:VIEW:WINDow:TRACe:X[:SCALe]:COUPle 0|1|OFF|ON :DISPlay:AMA:VIEW:WINDow:TRACe:X[:SCALe]:COUPle? Use this command to turn on/off scale coupling state. Example: :DISPlay:AMA:VIEW:WINDow:TRACe:X:COUPle ON Shift > Disp >X Scale > Scale Coupling Key access: AM Y Reference Value :DISPlay:AM:VIEW:WINDow:TRACe:Y[:SCALe]:RVALue < value>...
Command Reference Demodulation Option Subsystem AM Y Ref Position :DISPlay:AMA:VIEW:WINDow:TRACe:Y[:SCALe]:RPOSi- tion TOP|CENTer|BOTTom :DISPlay:AMA:VIEW:WINDow:TRACe:Y[:SCALe]:RPOSi- tion? Use this command to set the reference position of Y axis. Range: TOP, CENTer, BOTTom Example: :DISPlay:AMA:VIEW:WINDow:TRACe:Y:RPOSition TOP Shift > Disp >Y Scale > Ref Position Key access: AM Y Scale Coupling State :DISPlay:AMA:VIEW:WINDow:TRACe:Y[:SCALe]:COUPle...
Page 182
Command Reference Demodulation Option Subsystem Query FM Modulation Rate :CALCulate:AMA:MRATe? Use this command to query FM modulation rate measurement result in FM demodulation analysis. Example: :CALCulate:AMA:MRATe? Query FM Frequency Deviation :CALCulate:FM:FDEViation? Use this command to query FM frequency deviation test result.
Page 183
Command Reference Demodulation Option Subsystem FM Detector [:SENSe]:AMA:DEMod:DETector[:FUNCtion] PPK|NPK|PNPK|RMS [:SENSe]:AMA:DEMod:DETector[:FUNCtion]? Use this command to specify the detector in FM demodulation analysis. Example: :AMA:DEMod:DETector PPK Meas > Detector Key access: FM Detector PeakHold [:SENSe]:AMA:DEMod:DETector[:FUNCtion]:PEAKhold OFF|ON|0|1 [:SENSe]:AMA:DEMod:DETector[:FUNCtion]:PEAKhold? Use this command to turn on/off peak hold state of detector. Example: :AMA:DEMod:DETector:PEAKhold ON Meas >...
Page 184
Command Reference Demodulation Option Subsystem FM Equal Low Pass Filter [:SENSe]:AMA:EQLPfilter AUTO|OFF|IFBW6|IFBW20|IFBW60|IFBW200|IFBW600|IFB W2000 [:SENSe]:AMA:EQLPfilter? This command specifies the equal low pass filter type. Range: AUTO, OFF, IFBW6, IFBW20, IFBW60, IFBW200, IFBW600, IFBW2000 Example: :AMA:EQLPfilter IFBW6 Meas > Equal LPF Key access: FM Limit State :CALCulate:AMA:LIMit OFF|ON|0|1 :CALCulate:AMA:LIMit?
Page 185
Command Reference Demodulation Option Subsystem FM Frequency Deviation Upper Limit :CALCulate:FM:LIMit:FDUL:UPPer <freq> :CALCulate:FM:LIMit:FDUL:UPPer? Use this command to specify frequency deviation upper limit of FM demodulation analysis. Range: 1 Hz to 500 kHz Example: :CALCulate:FM:LIMit:FDUL:UPPer 2kHz Shift > Limit > FreqDev Upper Key access: FM frequency Deviation Lower Limit :CALCulate:FM:LIMit:FDLL:LOWer <freq>...
Page 186
Command Reference Demodulation Option Subsystem FM X Scale/DIV :DISPlay:AMA:VIEW:WINDow:TRACe:X[:SCALe]:PDIVi- sion <real_time> :DISPlay:AMA:VIEW:WINDow:TRACe:X[:SCALe]:PDIVi- sion? This command specifies scale per division of X axis. Range: 1e–1 to 1 Example: :DISPlay:AMA:VIEW:WINDow:TRACe:X:PDIVision 1e–8 Shift > Disp > X Scale > Scale/DIV Key access: FM X Reference Value :DISPlay:AMA:VIEW:WINDow:TRACe:X[:SCALe]:RVALue <...
Page 187
Command Reference Demodulation Option Subsystem FM X Scale Coupling State :DISPlay:AMA:VIEW:WINDow:TRACe:X[:SCALe]:COUPle 0|1|OFF|ON :DISPlay:AMA:VIEW:WINDow:TRACe:X[:SCALe]:COUPle? Use this command to turn on/off scale coupling state of X axis. Example: :DISPlay:AMA:VIEW:WINDow:TRACe:X:COUPle ON Shift > X Scale > Scale Coupling Key access: FM Y Reference Value :DISPlay:FM:VIEW:WINDow:TRACe:Y[:SCALe]:RVALue <freq >...
Command Reference Demodulation Option Subsystem FM Y Reference Position :DISPlay:AMA:VIEW:WINDow:TRACe:Y[:SCALe]:RPOSi- tion TOP|CENTer|BOTTom :DISPlay:AMA:VIEW:WINDow:TRACe:Y[:SCALe]:RPOSi- tion? Use this command to specify reference position of Y axis. Range: TOP, CENTer, BOTTom Example: :DISPlay:AMA:VIEW:WINDow:TRACe:Y:RPOSition TOP Shift > Disp > Y Scale > Ref Position Key access: FM Y Scale Coupling State :DISPlay:AMA:VIEW:WINDow:TRACe:Y[:SCALe]:COUPle...
Page 189
Command Reference Demodulation Option Subsystem ASK Average Count [:SENSe]:DMA:AVERage:COUNt <value> [:SENSe]:DMA:AVERage:COUNt? Use this command to specify average count number in ASK demodulation analysis. Example: :DMA:AVERage:COUNt 20 Meas > Average Number Key access: ASK Symbol Rate [:SENSe]:DMA:RADio:STANdard:SRATe <value> [:SENSe]:DMA:RADio:STANdard:SRATe? Use this command to specify symbol rate for ASK demodulation analysis.
Page 191
Command Reference Demodulation Option Subsystem ASK Measurement Length [:SENSe]:DMA:MEASurement:LENGth <value> [:SENSe]:DMA:MEASurement:LENGth? Use this command to specify measurement length of ASK demodulation analysis. Range: 20 to 1100 Example: :DMA:MEASurement:LENGth 200 Meas > Meas Length Key access: ASK Trigger Type :TRIGger:DMA[:SEQuence]:SOURce IMMediate|EXTer- nal|RFTRigger :TRIGger:DMA[:SEQuence]:SOURce? Use this command to specify the trigger type used in current...
Page 192
Command Reference Demodulation Option Subsystem ASK External Trigger Type :TRIGger:DMA[:SEQuence]:EXTernal:SLOPe POSi- tive|NEGative :TRIGger:DMA[:SEQuence]:EXTernal:SLOPe? This command switch external trigger type between rise slope and fall slope. It’s only available for external trigger. Range: POSitive, NEGative Example: :TRIGger:DMA:EXTernal:SLOPe NEGative Meas > Trigger >External > Trigger Slope Key access: ASK Trigger Delay Time :TRIGger:DMA[:SEQuence]:DELay <time>...
Page 193
Command Reference Demodulation Option Subsystem ASK Carrier Power Upper Limit :CALCulate:DMA:LIMit:POWer:UPPer <value> :CALCulate:DMA:LIMit:POWer:UPPer? Use this command to specify the carrier power upper limit value of ASK demodulation analysis. Range: –100 to 30 dBm Example: :CALCulate:DMA:LIMit:POWer:UPPer 20dBm Shift > Limit > CarrPwr Upper Key access: ASK Depth Upper Limit :CALCulate:ASK:LIMit:AMDepth:UPPer <real>...
Page 194
Command Reference Demodulation Option Subsystem ASK Carrier Frequency Offset Upper Limit :CALCulate:DMA:LIMit:FOFFset:UPPer <frequency> :CALCulate:DMA:LIMit:FOFFset:UPPer? Use this command to specify carrier frequency offset upper limit of ASK demodulation analysis. Range: -2 to 2 MHz Example: :CALCulate:DMA:LIMit:FOFFset:UPPer 20 kHz Shift > Limit > CarrFreqOfstUp Key access: ASK View Type :DISPlay:DMA:VIEW WAVeform |SYMBol|EYE|ERRor...
Page 195
Command Reference Demodulation Option Subsystem ASK X Reference Value DISPlay:DMA:VIEW:WINDow:TRACe:X[:SCALe]:RVALue <integer> :DISPlay:DMA:VIEW:WINDow:TRACe:X[:SCALe]:RVALue? Use this command to specify the reference value of X axis. Range: –400 to 400 Example: :DISPlay:DMA:VIEW:WINDow:TRACe:X:RVALue 2 Shift > Disp > X Scale > Ref Value Key access: ASK X Reference Position :DISPlay:DMA:VIEW:WINDow:TRACe:X[:SCALe]:RPOSi- tion LEFT|CENTer|RIGHt...
Page 196
Command Reference Demodulation Option Subsystem ASK Y Reference Value :DISPlay:ASK:VIEW:WINDow:TRACe:Y[:SCALe]:RVALue <real> :DISPlay:ASK:VIEW:WINDow:TRACe:Y[:SCALe]:RVALue? Use this command to specify reference value of Y axis. Range: –150% to 150% Example: :DISPlay:ASK:VIEW:WINDow:TRACe:Y:RVALue –1 Shift > Disp > Y Scale > Ref Value Key access: ASK Y Scale/DIV DISPlay:ASK:VIEW:WINDow:TRACe:Y[:SCALe]:PDIVi- sion <real>...
Command Reference Demodulation Option Subsystem ASK Y Scale Coupling State :TRACe[:DATA]? Use this command to query measurement trace data. Example: :DISPlay:DMA:VIEW:WINDow:TRACe:Y:COUPle 1 Shift > Disp > Y Scale > Scale Coupling Key access: Read ASK Trace Data :DISPlay:FM:VIEW:WINDow:TRACe:Y[:SCALe]:RVALue <freq > :DISPlay:FM:VIEW:WINDow:TRACe:Y[:SCALe]:RVALue? Use this command to specify reference value of Y axis.
Page 198
Command Reference Demodulation Option Subsystem FSK Symbol Rate [:SENSe]:DMA:RADio:STANdard:SRATe <sps> [:SENSe]:DMA:RADio:STANdard:SRATe? Use this command to specify symbol rate of ASK demodulation analysis. Range: 100 sps to 100 ksps Example: :DMA:RADio:STANdard:SRATe 2ksps Meas > Symbol Rate Key access: FSK Measurement Filter [:SENSe]:DMA:RADio:STANdard:FILTer:MEASurement NONE|RNYQuist|NYQuist|GAUSsian [:SENSe]:DMA:RADio:STANdard:FILTer:MEASurement?
Page 199
Command Reference Demodulation Option Subsystem FSK Filter Symbols [:SENSe]:DMA:RADio:STANdard:FILTer:SYMBol < integer > [:SENSe]:DMA:RADio:STANdard:FILTer:SYMBol? Use this command to specify FSK filter symbols. Range: 2 to 25 Example: :DMA:RADio:STANdard:FILTer:SYMBol 4 Meas > Filter Setup > FilterSymbols Key access: FSK Alpha/BbT [:SENSe]:DMA:RADio:STANdard:ALPHa <real> [:SENSe]:DMA:RADio:STANdard:ALPHa? Use this command to specify the filter Alpha/Bbt value.
Page 200
Command Reference Demodulation Option Subsystem FSK Trigger Type :TRIGger:DMA[:SEQuence]:SOURce IMMediate|EXTer- nal|RFTRigger :TRIGger:DMA[:SEQuence]:SOURce? Use this command to specify the trigger type used in current FSK demodulation analysis. Example: :TRIGger:DMA:SOURce EXTernal Meas > Trigger Key access: FSK RF Trigger Level :TRIGger:DMA[:SEQuence]:LEVel:ABSolute <value> :TRIGger:DMA[:SEQuence]:LEVel:ABSolute? Use this command to turn on/off scale coupling state of X axis.
Page 201
Command Reference Demodulation Option Subsystem FSK Trigger Delay Time :TRIGger:DMA[:SEQuence]:DELay <time> :TRIGger:DMA[:SEQuence]:DELay? Use this command to specify trigger delay time. Range: 0 to 200 s Example: :TRIGger:DMA:DELay 2us :TRIGger:DMA[:SEQuence]:DELay:STATe OFF|ON|0|1 :TRIGger:DMA[:SEQuence]:DELay:STATe? Use this command to turn on/off trigger delay state. Example: :TRIGger:DMA:DELay:STATe ON Meas >...
Page 202
Command Reference Demodulation Option Subsystem FSK Frequency Deviation Upper Limit :CALCulate:FSK:LIMit:FDEViation:UPPer <fre- quency> :CALCulate:FSK:LIMit:FDEViation:UPPer? Use this command to specify the FSK frequency deviation upper limit value. Range: 1 Hz to 500 kHz Example: :CALCulate:FSK:LIMit:FDEViation:UPPer 1000 Shift > Limit > FreqDev Upper Key access: FSK Frequency Deviation Lower Limit :CALCulate:FSK:LIMit:FDEViation:LOWer <fre-...
Page 203
Command Reference Demodulation Option Subsystem FSK View Type :DISPlay:DMA:VIEW WAVeform|SYMBol|EYE|ERRor :DISPlay:DMA:VIEW? Use this command to toggle the different view type of ASK demodulation analyses. Range: SYMBol, WAVeform, EYE, ERRor Example: :DISPlay:DMA:VIEW SYMBol Shift > Disp > Display Key access: FSK X Scale/DIV DISPlay:DMA:VIEW:WINDow:TRACe:X[:SCALe]:PDIVi- sion <real>...
Page 204
Command Reference Demodulation Option Subsystem FSK X Reference Position :DISPlay:DMA:VIEW:WINDow:TRACe:X[:SCALe]:RPOSi- tion LEFT|CENTer|RIGHt :DISPlay:DMA:VIEW:WINDow:TRACe:X[:SCALe]:RPOSi- tion? Use this command to specify the reference position of X axis in FSK demodulation analysis. Range: LEFT, CENTer, RIGHt Example: :DANalyse:ASK:VIEW:X:RPOSition CENTer Shift > Disp > X Scale > Ref Position Key access: FSK X Scale Coupling State :DISPlay:DMA:VIEW:WINDow:TRACe:X[:SCALe]:COUPle...
Page 205
Command Reference Demodulation Option Subsystem FSK Y Scale/DIV DISPlay:FSK:VIEW:WINDow:TRACe:Y[:SCALe]:PDIVi- sion <real> DISPlay:FSK:VIEW:WINDow:TRACe:Y[:SCALe]:PDIVi- sion? Use this command to specify the scale per division of Y axis. Range: 1 Hz to 150 kHz Example: :DISPlay:FSK:VIEW:WINDow:TRACe:Y:PDIVision 200 Shift > Disp > Y Scale > Scale /DIV Key access: FSK Y Reference Position :DISPlay:DMA:VIEW:WINDow:TRACe:Y[:SCALe]:RPOSi-...
Page 206
Command Reference Demodulation Option Subsystem Read FSK Trace Data :TRACe[:DATA]? Use this command to query FSK measurement trace data. Example: :TRACe?
:INSTrument POWmeter to access this subsystem. Option PWM or PWP is required to enable this function. Option PWM supports Keysight U2000 series USB average power sensor, and Option PWP supports Keysight U2020 X series peak power sensor. Power Sensor Zeroing :CALibration[1]:ZERO:ONCE This command perform power sensor zeroing operation.
Page 208
Meas > General Setup > Power Range > Range > Upper / Lower Key access: Set Power Auto Range State [:SENSe]:POWer:AC:RANGe:AUTO OFF|ON|0|1 [:SENSe]:POWer:AC:RANGe:AUTO? This command turns on/off power auto range state. N9322C will choose the power range according to current measurement power. Example: :POWer:AC:RANGe:AUTO 1 Meas >...
Page 209
Command Reference Power Meter Option Subsystem Power Meter Reference Power State [:SENSe]:CORRection:CSET1:STATe OFF|ON|0|1 [:SENSe]:CORRection:CSET1:STATe? Use this command to turn on/off reference power state. Example: :CORRection:CSET1:STATe 1 Meas > General Setup > Rel/Offset > Rel > On/Off Key access: Set Power Meter Reference Power Value [:SENSe]:CORRection:CSET1[:INPut][:MAGNitude] <value>...
Page 210
Command Reference Power Meter Option Subsystem Set Power Meter Average State [:SENSe]:AVERage[:STATe] OFF|ON|0|1 [:SENSe]:AVERage[:STATe]? Use this command to turn on/off power meter average state. Example: :AVERage:STATe 1 Meas > General Setup > Average > Average On/Off Key access: Set Power Meter Average Count Number [:SENSe]:AVERage:COUNt <value>...
Page 211
Command Reference Power Meter Option Subsystem Set Power Meter Measurement Interval Time [:SENSe]:MEASure:INTerval:TIME <value> [:SENSe]:MEASure:INTerval:TIME? This command defines the power meter measurement interval time. Range: 1 ms to 200 s Example: :MEASure:INTerval:TIME 1ms Meas > General Setup > More 1 of 2 > Meas Interval Key access: Set Power Meter Video Bandwidth Type [:SENSe]:BANDwidth|BWIDth HIGH|MEDium|LOW|OFF...
Page 212
Command Reference Power Meter Option Subsystem Set Trace X Start Time :SENSe:TRACe:OFFSet:TIME <value> :SENSe:TRACe:OFFSet:TIME? This command defines the trace X start time of peak power sensor. Range: 0 to 1 s Example: :SENSe:TRACe:OFFSet:TIME 0.15 Meas > Peak Setup > Trace Setup > X Start Key access: Set Trace X Scale Time :SENSe:TRACe:TIME <value>...
Page 213
Command Reference Power Meter Option Subsystem This command defines trace Y scale value of peak power sensor. Example: :SENSe:TRACe:Y:TIME 1 Meas > Peak Setup > Trace Setup > Y Max Key access: Set Gate Start Time [:SENSe]:SWEep[1]:OFFSet:TIME <value> [:SENSe]:SWEep[1]|:OFFSet:TIME? This command specify the gate start time of peak power meter.
Page 214
Command Reference Power Meter Option Subsystem Set Display Auto Range State :DISPlay[:WINDow]:DISPrange:AUTO OFF|ON|0|1 :DISPlay[:WINDow]:DISPrange:AUTO? This command turns on/off the display auto range state. Example: :DISPlay:WINDow:DISPrange:AUTO 1 Meas > Meas Disp > Disp Range > Auto Range Key access: Set Top Value of Display Range :DISPlay[:WINDow]:DISPrange:TOP <value>...
Page 215
Command Reference Power Meter Option Subsystem Set Chart View to Home :DISPlay[:WINDow]:CHARt:HOME This command set the chart view page to home. Example: :DISPlay:CHARt:HOME Meas > Meas Disp > Chart View > Home Key access: Set Chart View to End :DISPlay[:WINDow]:CHARt:END This command set the chart view page to end.
Page 216
Command Reference Power Meter Option Subsystem Use this command to turn on/off limit state. Example: :CALCulate1:LIMit:STATe 1 Shift > Limit > Limits Key access: Set Limit Upper Value :CALCulate1:LIMit:UPPer[:DATA] <value> :CALCulate1:LIMit:UPPer[:DATA]? This command defines the upper limit value. Range: –199.99 to +200 dBm Example: :CALCulate1:LIMit:UPPer:DATA 12 Shift >...
Page 217
Command Reference Power Meter Option Subsystem Query Limit Fail Result :CALCulate:LIMit:FAIL? Use this command to query the limit result. If get the result 0, it means power meter test result pass the limit. If get the result 1, it means the power meter test result fail the limit. Example: :CALCulate:LIMit:FAIL? Query Limit Failure Count...
Page 218
Command Reference Power Meter Option Subsystem Set Trigger Source :TRIGger1:SOURce EXTernal|INTernal :TRIGger1:SOURce? Use this command to toggle the trigger source between external and internal. It’s only available for continuous trigger or single trigger. Example: :TRIGger1:SOURce EXTernal Meas > Peak Setup > Trig/Acq > Source Key access: Power Meter Auto Trigger Level State :TRIGger[:SEQuence]:LEVel:AUTO OFF|ON|0|1...
Page 219
Command Reference Power Meter Option Subsystem This command defines trigger delay time of power meter measurement. Range: 0 to 1 s Example: :TRIGger:SEQuence:DELay 1 Meas > Peak Setup > Trig/Acq > Delay Key access: Power Meter Trigger Slope Mode :TRIGger[:SEQuence]:SLOPe POSitive|NEGative :TRIGger[:SEQuence]:SLOPe? This command toggles trigger slope mode between rise and fall.
Command Reference Tracking Generator Option Subsystem Tracking Generator Option Subsystem The Tracking Generator Option Subsystem provides you the SCPI command reference for the Tracking Generator funciton.Use the command :INSTrument TGENerator to access this subsystem. Option TG7 is required to enable this function. Tracking Generator Output Amplitude :SOURce:POWer[:LEVel][:IMMediate][:AMPLitude] <value>...
Page 221
Command Reference Tracking Generator Option Subsystem Tracking Generator Amplitude Step :SOURce:POWer:STEP[:INCRement] <value> :SOURce:POWer:STEP[:INCRement]? This command sets the amplitude step size of the tracking generator output. This command is valid after tracking generator is enabled. Range: 0 to –10 dBm Example: :SOURce:POWer:STEP 1 dB Key access: Meas >...
Page 222
Command Reference Tracking Generator Option Subsystem Normalization Reference Level :DISPlay:WINDow:TRACe:Y[:SCALe]:NRLevel <value> :DISPlay:WINDow:TRACe:Y[:SCALe]:NRLevel? Use this command to set the normalization reference level. *RST: 0 dB Range: –327.6 to 327.6 dB Example: :DISPlay:WINDow:TRACe:Y:NRLevel -10 dB Meas > Normalize > Norm Ref Lvl Key access: Normalization Reference Position :DISPlay:WINDow:TRACe:Y[:SCALe]:NRPosition <integer>...