Agilent N9340A Handheld Spectrum Analyzer User’s Guide
Notices © Agilent Technologies, Inc. 2007 No part of this manual may be reproduced in any form or by any means (including electronic storage and retrieval or translation into a foreign language) without prior agreement and written consent from Agilent Technologies, Inc. as governed by United States and international copyright laws. Manual Part Number N9340-90001 Edition Second edition, April 2007 Printed in China Agilent Technologies, Inc.
Notices © Agilent Technologies, Inc. 2007 No part of this manual may be reproduced in any form or by any means (including electronic storage and retrieval or translation into a foreign language) without prior agreement and written consent from Agilent Technologies, Inc. as governed by United States and international copyright laws. Manual Part Number N9340-90001 Edition Second edition, April 2007 Printed in China Agilent Technologies, Inc.
CAU CAU TI O- N WA RN ING A CAUTION notice denotes a hazard. It calls attention to an operating procedure, practice, or the like that, if not correctly performed or adhered to, could result in damage to the product or loss of important data. Do not proceed beyond a CAUTION notice until the indicated conditions are fully understood and met. A WARNING notice denotes a hazard.
Table of Contents 1 N9340A Overview Introduction 2 Functionality 2 Optimized Usability 3 Front Panel Overview 4 Top Panel Overview 5 Display Annotations 6 Working with Batteries 7 Installing a Battery 7 Viewing Battery Status 7 Charging a Battery 8 2 Getting Started Checking Shipment and Order List Power Requirements AC Power Cords 10 11 12 Safety Considerations 13 Electrical Requirements 15 Electrostatic Discharge (ESD) Precautions 15 Instrument Markings 16 Powering on the Analyzer for
Measuring a Low-Level Signal 31 Improving Frequency Resolution and Accuracy Making Distortion Measurements 36 37 One-button Power Measurement 43 Making a Stimulus Response Transmission Measurement Measuring Stop Band Attenuation of a Low-pass Filter Making a Reflection Calibration Measurement 47 49 51 Measuring Return Loss Using the Reflection Calibration Routine 4 System Setting Visual and Audio Adjustment 56 Quick Display Adjustment 56 Manual Display Adjustment 56 Setting Key Beep 56 System
Y Axis Units BW/SWP 72 73 RBW 73 VBW 74 VBW/RBW 74 Avg Type 74 Sweep Time 76 Sweep 77 Enter 79 ESC/CLR 80 Frequency 81 Center Frequency 81 Start Frequency 81 Stop Frequency 81 CF Step 82 Marker 83 Marker 83 Normal 83 Delta 84 Off 84 Mode 86 Marker Trace All Off 87 Meas 88 Span 89 87 Span 89 Full 89 Zero 89 Last Span 89 TRACE 90 Trace 90 Clear Write 90 Max Hold 90 Minimum Hold 91 View 91 Blank 91 Detector 91 Average 93 3
Save Trace 94 Save As 94 Recall Trace 94 Limit 95 Limit Line 95 Limit Pattern 95 Set Pattern 95 Limit Type 95 Beep 96 Save Pattern 96 Recall Pattern 96 6 SCPI Command Reference SCPI Language Basics 98 Basic Knowledge Requirement 99 Command Categories 99 Command Syntax 99 Standard Notations 100 Default unit of parameters 101 Common Commands 102 Clear Status 102 Identification Query Reset 102 102 CALCulate Subsystem 103 Limit Line Subsection 103 DEMOdulation Subsystem 112 AM Demodulation 112
Initiate a single sweep 117 INSTrument Subsystem 118 Select One button measurement 118 MEASure Subsystem 119 OBW Subsection 119 ACPR Subsection 119 SENSe Subsystem 123 [:SENSe]:AVERage Subsection FREQuency Subsection 128 SWEep Subsection 132 SYSTem Subsystem 133 Ext Input 133 Date Query 133 Time Query 133 Error Information Query TRACe Subsystem 123 133 134 Tracking Generator Subsystem 135 State 135 Output Amplitude 135 Amplitude Offset 136 Normalization 137 Normalization Reference Level 137 Normal
Trigger Source 139 UNIT Subsystem 141 7 Error Messages Error Message List 8 Menu Map AMPTD 150 BW/SWP FREQ 151 152 MARKER 153 MEAS 154 SPAN SYS 155 156 TRACE Limit 6 144 157 158
Agilent N9340A Handheld Spectrum Analyzer 1 N9340A Overview Agilent Technologies 1
1 N9340A Overview Introduction An Agilent N9340A is a handheld spectrum analyzer with a frequency range from 100 kHz to 3 GHz, tunable to 9 kHz. The analyzer provides ultimate measurement flexibility in a package that is ruggedized for field environments and convenient for mobile applications. Functionality An Agilent N9340A provides your with comprehensive functionality set and measurement convenience, including: 1 Pass/Fail judgement Sets limit lines on the display for a quick Pass/Fail judgement.
N9340A Overview 1 4 Power Suite Provides one- button measurement functionality on OBW (Occupied Bandwidth), channel power, and ACPR (Adjacent Channel Power Ratio). 5 High- sensitivity measurement Includes a 3 GHz pre- amplifier (Option N9340A- PA3) enabling highly sensitive measurement which helps in the analysis of low- level signals. Optimized Usability An Agilent N9340A handheld spectrum analyzer provides enhanced usability: • 7.
1 N9340A Overview Front Panel Overview 14 12 13 N9340A 100kHz - 3.
N9340A Overview 1 Top Panel Overview 8 9 7 50 VDC MAX 33 dBm (2 W) MAX EXT TRIG IN/ EXT REF IN RF INPUT 50 RF OUT 50 Ext. Power Charging PC 12-18 VDC 12-18 VDC 80WMAX MAX 55W 1 2 3 4 6 5 1. DC Connector Provides input for the DC power source via an AC- DC adapter. (Make sure that the line- power source outlet has a protective ground contact.) 2. Charging indicator Lights when the battery is charging. 3.
1 N9340A Overview Display Annotations 13 1 14 12 2 3 4 11 5 6 7 8 10 9 Description Associated Function Key 1 Time and Date [SYS] > {Setting} > {General} 2 Reference Level [AMPTD] 3 Amplitude Scale [AMPTD] 4 Detector Mode [TRACE] > {More (1 of 2)} > {Detector} 5 Center Frequency [FREQ] > {Center Freq} 6 Resolution Bandwidth [BW/SWP] > {RBW} 7 Display Status Line Displays analyzer status and error messages.
N9340A Overview 1 Working with Batteries Use the original battery supplied with the instrument or a genuine equivalent replacement from Agilent. Installing a Battery CAU CAU TI O- N Insert a battery, ensuring correct orientation with the electrodes correctly aligned. Step 1 Open the battery cover Notes Use a cross-head type screwdriver to remove the screw, then pull the cover open. 2 Insert the battery 3 Close the battery cover Push the cover closed, then refasten the screw.
1 N9340A Overview Charging a Battery You can only charge the battery when it is in the analyzer either in operating or when the analyzer is shut down. Fully charge the battery before first using the analyzer. This typically takes about four hours. CAU CAU TI O- N Never use a modified or damaged AC-DC adapter. 1 Install the battery in the analyzer. 2 Simply attach the AC- DC adapter and switch on external power. 3 The charge indicator lights, indicating that the battery is charging.
Agilent N9340A Handheld Spectrum Analyzer 2 Getting Started Conventions 1. A pair of curly brackets { } indicates a softkey, for example {Start} refers to the Start softkey. 2. A pair of square brackets [ ] indicates a hardkey, for example, [ENTER] refers to the ENTER hardkey. 3. An analyzer refers to Agilent N9340A handheld spectrum analyzer in the following chapters. 4. A DUT refers to a device under test.
2 Getting Started Checking Shipment and Order List We recommend you check the shipment and order list according to the following procedure when you receive the shipment. • Inspect the shipping container for damages. Signs of damage may include a dented or torn shipping container or cushioning material that indicate signs of unusual stress or compacting. • Carefully remove the contents from the shipping container, and check your shipment.
Getting Started 2 Power Requirements The AC power supply must meet the following requirements: Voltage: 100 VAC to 240 VAC Frequency: 50 Hz to 60 Hz Power: Maximum 62 W The analyzer is equipped with a three- wire power cord, in accordance with international safety standards. This cable grounds the analyzer cabinet when connected to an appropriate power line outlet. The cable appropriate to the original shipping location is included with the analyzer.
2 Getting Started AC Power Cords Plug Type Cable Part Number 8121-1703 Plug a Description BS 1363/A For use in Country & Region Option 900 United Kingdom, Hong Kong, Singapore, Malaysia 250V 10A 8120-0696 AS 3112:2000 Option 901 Australia, New Zealand 250V 10A 8120-1692 IEC 83 C4 Option 902 Continental Europe, Korea, Indonesia, Italy, Russia 250V 16A 8120-1521 125V 10A 8120-2296 CNS 10917-2 Option 903 /NEMA 5-15P Unite States, Canada, Taiwan, Mexico SEV 1011 Option 906 Switzerland 250V 10A 812
Getting Started 2 Safety Considerations Agilent has designed and tested the N9340A handheld spectrum analyzer for Measurement, Control and Laboratory Use in accordance with Safety Requirements IEC 61010- 1: 2001, UL 61010- 1 (2004), and CSA C22.2 No.61010- 1- 04. The tester is supplied in a safe condition. The N9340A is also designed for use in Installation Category II and Pollution Degree 2 per IEC 61010 and IEC 60664 respectively.
2 Getting Started WA RN ING WA RN ING CAU CAU TI O- N CAU CAU TI O- N CAU CAU TI O- N NO TE Danger of explosion if the battery is incorrectly replaced. Replace only with the same type recommended. Do NOT dispose of batteries in a fire. Do NOT place batteries in the trash. Batteries must be recycled or disposed of properly. Recharge the battery only in the analyzer. If left unused, a fully charged battery will discharge itself over time. Never use a damaged or worn-out adapter or battery.
Getting Started 2 Environmental Requirements A N9340A is designed for use under the following conditions: • Operating temperature: –10°C to +50 °C (with battery) 0°C to +40 °C (with adapter) • Storage temperature: –40 °C to +70 °C • Humidity: 95% or less • Altitude: 9200 m Electrical Requirements This analyzer allows you to use either the original lithium- ion battery pack or the external AC- DC adapter shipped with the analyzer for power supply to the analyzer.
2 Getting Started industry accepted techniques for handling static sensitive devices should attempt to service circuitry with these devices. Instrument Markings The CE mark shows that the product complies with all relevant European Legal Directives (If accompanied by a year, it signifies when the design was proven). The CSA mark is a registered trademark of the Canadian Standards Association. N10149 ISM1-A The C- Tick mark is a registered trademark of the Australian Spectrum Management Agency.
Getting Started 2 Powering on the Analyzer for the First Time A N9340A is fitted with a transflective screen, which is viewable under all lighting conditions. In bright lighting conditions, the display is brighter and easier to read when you allow light to fall directly on the screen. CAU CAU TI O- N Use original standard adapter for AC-DC conversion. The maximum RF input level of an average continuous power is 33 dBm (or +50 VDC signal input).
2 Getting Started Preparation for Use Use [SYS] hardkey to check or set the system settings of your analyzer. Setting up your N9340A 1 Press [SYS] > {Setting} > {General} to set time and power saving mode: • Press {Time/Date} to set the time and date for your analyzer. • Press {Power Manager} to select a power- saving mode from the follow three modes: turning off backlight, turning off screen display, and turning off both backlight and screen display.
Getting Started 2 Checking Instrument Information 1 Press [SYS] > {More (1 of 3)} > {Show System} to display the system information. 2 Press [SYS] > {More (2 of 3)} > {Option} to display the option information. 3 Press [SYS] > {More (1 of 3)} > {Show Error} to display the error information.
2 Getting Started Making a Basic Measurement This section provides information on basic analyzer operations with the assumption that you understand the front and top layout, and display annotations of your analyzer. If you do not, please refer to “Front Panel Overview" on page 4 and “Top Panel Overview" on page 5. For more information on making measurements, please refer to “Making Measurements" on page 25”.
Getting Started 2 Viewing a Signal 1 Use a signal generator to generate a continuous- wave signal (1 GHz, 0 dBm). 2 Press [SYS] > {More (1 0f 3)} > {Preset} and select Default to toggle the preset setting to factory- defined status. 3 Press the green [Preset] key to restore the analyzer to its factory- defined setting. 4 Connect the generator’s RF OUT connector to analyzer’s RF IN connector on the top panel. 5 Press [FREQ] > {Center Freq} > 1> {GHz} to set the center frequency to 1 GHz.
2 Getting Started Some helpful tips Performing a time-base calibration A N9340A provides a manual calibration function to calibrate the time base. Before calibration, allow the analyzer to warm up for about 30 minutes. Use a BNC cable to connect a 10 MHz reference signal to the EXT TRIG IN connector of your N9340A, then press [SYS] > {More (2 of 3)} > {Calibration} > {Time Base} to initiate a calibration.
Getting Started 2 Upgrading Firmware CAU CAU TI O- N When updating firmware, make sure there will be a constant power supply for at least 10 minutes. Power cut off during the updating process can cause damage to the instrument. A N9340A provides an easy and fast access for firmware update. 1 Set up a folder named N9340DATA in the root directory of your USB memory stick. 2 Store the firmware update application into the folder named N9340DATA.
2 Getting Started Contact Agilent Technologies Agilent has Sales and Service Offices around the world to provide you with complete support. Go to http://www.agilent.com/find/assist, for help with: • product selection, configuration, and purchases. • technical and application assistance, and consulting. • rental and leasing options, and refurbished equipment. • repair, calibration, education and training. If you do not have access to the internet, call the appropriate number shown below.
Agilent N9340A Handheld Spectrum Analyzer 3 Making Measurements 25
3 Making Measurements Measuring Multiple Signals This section provides information on measuring multiple signals. Comparing Signals on the Same Screen An N9340A provides an easy function for you to compare frequency and amplitude differences between signals, such as radio or television signal spectra. Using Delta Marker function allows you to compare two signals when both appear on the screen at the same time.
Making Measurements 3 6 Move the second marker to another signal peak using the front panel knob or by using the {Peak Search} softkey: • Press [MARKER] > {Peak Search} > {Next Right PK} or {Next Left PK}. NO TE To increase the resolution of the marker readings, turn on the frequency count function.
3 Making Measurements Resolving Signals of Equal Amplitude In this example a decrease in resolution bandwidth is used in combination with a decrease in video bandwidth to resolve two signals of equal amplitude with a frequency separation of 100 kHz. Notice that the final RBW selection to resolve the signals is the same width as the signal separation while the VBW is slightly narrower than the RBW. 1 Connect two sources to the analyzer input as shown below.
Making Measurements 3 Use the knob or the arrow keys to further reduce the resolution bandwidth and better resolve the signals. As you decrease the resolution bandwidth, you improve resolution of the individual signals and also increased the sweep timed. For fastest measurement times, use the widest possible resolution bandwidth. Under factory preset conditions, the resolution bandwidth is coupled to the span.
3 Making Measurements Resolving Small Signals Hidden by Large Signals This example uses narrow resolution bandwidths to resolve two input signals with a frequency separation of 50 kHz and an amplitude difference of 60 dB. 1 Connect two sources to the analyzer input connector as shown in Figure 3 on page 28. 2 Set one source to 300 MHz at –10 dBm. Set the other source to 300.05 MHz at –70 dBm. 3 Set the analyzer as follows: • Press [PRESET] • Press [FREQ] > {Center Freq} > 300.
Making Measurements 3 Measuring a Low-Level Signal This section provides information on measuring low- level signals and distinguishing them from spectrum noise. There are four main useful techniques as follows to measure a low- level signal. Reducing Input Attenuation The ability to measure a low- level signal is limited by internally generated noise in the spectrum analyzer. The input attenuator affects the level of a signal passing through the analyzer.
3 Making Measurements 5 Reduce the span to 1 MHz and if necessary re- center the peak. • Press [SPAN] > [1] > {MHz}. 6 Set the attenuation to 20 dB. Note that increasing the attenuation moves the noise floor closer to the signal level. • Press [AMPTD] > {Attenuation} > 20 > {dB}. Figure 7 A signal closer to the noise level (Atten: 20 dB) 7 Press [AMPTD] > Attenuation > 0 > {dB} to set the attenuation to 0 dB.
Making Measurements 3 Decreasing the Resolution Bandwidth Resolution bandwidth settings affect the level of internal noise without affecting the level of continuous wave (CW) signals. Decreasing the RBW by a decade reduces the noise floor by 10 dB. 1 Refer to “Reducing Input Attenuation" on page 31, and follow steps 1, 2 and 3.
3 Making Measurements Using the Average Detector and Increased Sweep Time When the analyzer’s noise masks low- level signals, changing to the average detector and increasing the sweep time smoothes the noise and improves the signal’s visibility. Slower sweeps are required to average more noise variations. 1 Refer to “Reducing Input Attenuation" on page 31, and follow steps 1, 2 and 3. 2 Press [TRACE] > {More (1 of 2)} > {Detector} > {Average} to select the average detector.
Making Measurements 3 Trace Averaging Averaging is a digital process in which each trace point is averaged with the previous average for the same trace point. Selecting averaging, when the analyzer is auto coupled, changes the detection mode to sample, smoothing the displayed noise level. NO TE This is a trace processing function and is not the same as using the average detector (as described on page 34). 1 Refer to the first procedure “Reducing Input Attenuation" on page 31, and follow steps 1, 2 and 3.
3 Making Measurements Improving Frequency Resolution and Accuracy Using the frequency counter to improve frequency resolution and accuracy. NO TE Marker count properly functions only on CW signals or discrete spectral components. The marker must be > 40 dB above the displayed noise level. 1 Press [PRESET]. (Factory Preset) 2 Input a signal (1 GHz, –30 dBm) to the analyzer’s RF IN connector.
Making Measurements 3 Making Distortion Measurements This section provides information on measuring and identifying signal distortion. Identifying Analyzer Generated Distortion High level input signals may cause analyzer distortion products that could mask the real distortion measured on the input signal. Use trace and the RF attenuator to determine which signals, if any, are internally generated distortion products.
3 Making Measurements • Press [MARKER] > {Peak Search}. • Press [MARKER] > {Marker To} > {To Center}. 4 Change the span to 50 MHz and re- center the signal: • Press [SPAN] > 50 > {MHz}. • Press [MARKER] > {Peak Search}. 5 Set the attenuation to 0 dB: • Press [AMPTD] > {Attenuation} > 0 > {dB}. • Press [MARKER] > {Marker To} > {To Ref}. 6 To determine whether the harmonic distortion products are generated by the analyzer, first save the trace data in trace 2 as follows: • Press [TRACE] > {Trace (2)}.
Making Measurements 3 Figure 14 Identifying Analyzer Distortion (O dB atten) 8 Press [AMPTD] > {Attenuation} > 10 > {dB} to increase the RF attenuation to 10 dB. Figure 15 Identifying Analyzer Distortion (10 dB atten) The marker amplitude readout comes from two sources: • Increased input attenuation causes poorer signal- to- noise ratio. This causes the marker to be positive. • The reduced contribution of the analyzer circuits to the harmonic measurement causes the Marker to be negative.
3 Making Measurements Third-Order Intermodulation Distortion Two- tone, third- order intermodulation distortion is a common test in communication systems. When two signals are present in a non- linear system, they may interact and create third- order intermodulation distortion (TOI) products that are located close to the original signals. System components such as amplifiers and mixers generates these distortion products. In this example we test a device for third- order intermodulation using markers.
Making Measurements 3 and the analyzer input. NO TE The coupler should have a high degree of isolation between the two input ports so the sources do not intermodulate. 2 Set one source (signal generator) to 300 MHz and the other source to 301 MHz, for a frequency separation of 1 MHz. Set the sources equal in amplitude as measured by the analyzer (in this example, they are set to –5 dBm). 3 Set the analyzer center frequency and span: • Press [PRESET].
3 Making Measurements • Press [MARKER] > {Peak Search} > {Next Left (Right) Peak}. 9 Measure the difference between this test signal and the second distortion product. • Press [Marker] > {Normal}. • Press [MARKER] > {Peak Search} > {Next Left (Right) Peak}.
Making Measurements 3 One-button Power Measurement N9340A provides one- button measurement functionality on OBW (Occupied Band Width), channel power and ACPR (Adjacent Channel Power Ratio) as an easy- to- use access for your measurement of interest. Measuring OBW Occupied Bandwidth (OBW) integrates the power of the spectrum in the displayed green frame. The measurement defaults to 99% of the occupied bandwidth power. Occupied bandwidth measurement are made in either single or continuous sweep mode.
3 Making Measurements Measuring ACPR The adjacent channel power ratio (ACPR) measures the power ratio between the main channel power and the adjacent channel power. Center Frequency Sets the center frequency of the main channel power. Key Access: [MEAS] > {ACPR} > {Center Freq} Main Channel Specifies the range of integration used in calculating the power in the main channel. Use the knob, the arrow keys, or the numeric keypad to set the bandwidth.
Making Measurements 3 Measuring Channel Power Measures the power and power spectral density in the channel bandwidth that you specified. One pair of vertical lines of the displayed green frame indicates the edges of the channel bandwidth. The center frequency, reference level, and channel bandwidth must be set by the user. The power calculation method used to determine the channel power is a traditional method known as the integration bandwidth (IBW) method.
3 Making Measurements Channel Bandwidth Sets the analyzer span for the channel power measurement using the knob, the arrow keys or the numeric keypad. Be sure the span is set between 1 and 10 times the integration bandwidth.
Making Measurements 3 Making a Stimulus Response Transmission Measurement The procedure below describes how to use a built- in tracking generator to measure the rejection of a low pass filter, a type of transmission measurement. 1 To measure the rejection of a low pass filter, connect the equipment as shown below. A 370 MHz low- pass filter is used as a DUT in this example. Figure 17 Transmission Measurement Test Setup DUT N9340A 100kHz - 3.
3 Making Measurements 5 Press [Sweep] > {Sweep Time (Auto)} to put the sweep time into stimulus response auto coupled mode. 6 Increase measurement sensitivity and smooth the noise: Press [BW/SWP]> {RBW} >30 > {kHz} Press [BW/SWP] > {VBW} > 30 > {kHz} A decrease in displayed amplitude is caused by tracking error. 7 Connect the cable from the tracking generator output to the analyzer input.
Making Measurements 3 Measuring Stop Band Attenuation of a Low-pass Filter When measuring filter characteristics, it is useful to look at the stimulus response over a wide frequency range. Setting the analyzer x- axis (frequency) to display logarithmically provides this function. The following example uses the tracking generator to measure the stop band attenuation of a 370 MHz low pass filter. 1 Connect the DUT as shown in Figure 16.
3 Making Measurements Press [MEAS] > {Normalize} > {Store Ref} (1 → 4) > {Normalize (On)} 8 Reconnect the DUT to the analyzer. Note that the units of the reference level have changed to dB, indicating that this is now a relative measurement.
Making Measurements 3 Making a Reflection Calibration Measurement The following procedure makes a reflection measurement using a coupler or directional bridge to measure the return loss of a filter. This example uses a 370 MHz low- pass filter as the DUT. The calibration standard for reflection measurements is usually a short circuit connected at the reference plane (the point at which the device under test (DUT) is connected.) See Figure 19.
3 Making Measurements 2 Connect the tracking generator output of the analyzer to the directional bridge or coupler. 3 Connect the analyzer input to the coupled port of the directional bridge or coupler. 4 Press [Preset] to perform a factory preset. 5 Turn on the tracking generator and if necessary, set the output power to –10 dBm: Press [Mode] > {Track Generator} > {Amplitude (On)} > –10 > {dBm} CAU CAU TI O- N Excessive signal input may damage the DUT.
Making Measurements 3 Figure 21 Short Circuit Normalized N9340A User’s Guide 53
3 Making Measurements Measuring Return Loss Using the Reflection Calibration Routine This procedure uses the reflection calibration routine in the proceeding procedure “Making a Reflection Calibration Measurement" on page 51 to calculate the return loss of the 370 MHz low pass filter. 1 After calibrating the system with the above procedure, reconnect the filter in place of the short circuit without changing any analyzer settings. 2 Use the marker to read return loss.
Agilent N9340A Handheld Spectrum Analyzer 4 System Setting Agilent Technologies 55
4 System Setting Visual and Audio Adjustment Quick Display Adjustment The analyzer provides you a quick adjustment for both brightness and contrast. Press [SYS] > {Display} to toggle the screen display status between Normal and Light. Manual Display Adjustment Adjusting Brightness Press [SYS] > {Brightness} then rotate the knob to adjust screen brightness. Adjusting Contrast Press [SYS] > {Contrast} then rotate the knob to adjust screen contrast.
System Setting 4 System Setting Includes general system settings, displayed language setting, and external input setting. General system settings Provides the following system setting options: Time/Date Press [SYS] > {Setting} > {General} > {Time/Date} to set the date and time of the analyzer. The analyzer requires you to input the time in a HHMMSS format, and the date in a YYYYMMDD format.
4 System Setting Ext Input NO TE The external Ref and Trig functions are not available at the same time. Toggles the channel for external input between Ref and Trig. Ref refers to a 10 MHz reference signal; Trig refers to a TTL signal. Key Access: [SYS] > {Setting} > {Ext Input} External Reference (Ref) Use the external reference function as follows: 1 Input a 10 MHz signal to the EXT TRIG IN/REF IN connector.
System Setting 4 Quick saving or loading a system setup Quick saving a setup Press [SYS] > {Setting} > {Save Setup} to save the current system settings. Refer to “File Type" on page 60 for more information about file types. NO TE This quick saving utility of system state is equal to the system state saving utility under the [SYS] > {File}. Quick recalling a setup • Load default Press [SYS] > {Setting} > > {Recall Setup} > {Load default} to recall the factory default setup.
4 System Setting File Pressing [SYS] > {File} accesses to the menu that allows you to manage the file saving and loading. NO TE A USB memory stick of FAT32 or FAT16 format and with only one memory zone is primarily required when using USB memory stick for file saving and loading. File Type Pressing [SYS] > {File} > {File Setup} > {File type} allows you to select a file type from one of the following: • Trace (*.DAT) A trace file records trace data and controls. • Screen (*.
System Setting 4 Saving a file NO TE After you select a file type, you need to edit a file name by pressing the numeric and alphabetic hardkeys on the right side of the analyzer’s front panel. Refer to the following three steps to save a file: 1 Press [SYS] > {File} > {File setup} to select the save path and file type. 2 Edit a file name. A file name can be consist of letters and digits.
4 System Setting 3 Press [ESC], [Save] to save a trace or a screen copy to your pre-defined memory. The trace or screen will be automatically assigned with a default file name. A trace will be assigned with a file name, such as HYTRACE, HYTRACE_1, and consecutive decimal numbers appended. A screen copy will be assigned with a file name, as HYSCREEN, HYSCREEN_1 and consecutive decimal numbers appended to the alphabetic file name.
System Setting 4 Deleting a file CAU CAU TI O- N BE A deleted file can NEVER be recovered. Carefully decide whether you need to delete the file(s). 1 Press [SYS] > {File} > {View} to select a directory. 2 Press [SYS] > {File} > {File setup} > {File type} to select a file type. 3 Rotate the knob to highlight a file. 4 Press {Delete} to delete a selected file. Loading a file NO TE A screen file (*.JPG) can not be loaded onto the analyzer. 1 Press [SYS] > {File} > {View} to select a directory.
4 System Setting Show System Displays the following hardware, software and battery information of your analyzer: Machine Model Power Source MCU Firmware Version Battery Info DSP Firmware Version Name FPGA Firmware Version Serial NO.
System Setting 4 Show Error Accesses a list of the 30 most recent error messages reported by the analyzer. The most recent error will appear at the bottom of the list. If the error list is longer than 30 entries, the analyzer reports an error message [–350, Query overflow]. When in remote control, and the error list is greater than 30 entries, the error display is halted and a message at the bottom of the list informs the user that error exceed 30.
4 System Setting Perform a Time Base Calibration As soon as the calibration function triggers, it interrupts the current measurement is interrupted and a gauge displays on the LCD. The gauge simply indicates calibration action rather than calibration course, as the calibration time is unpredictable. When the calibration is finished, the LCD displays a calibration, and the interrupted measurement restarts. NO TE Time base calibration takes during a short time only when the inner temperature is stable.
System Setting 4 Factory Default Settings Parameter Center Frequency Start Frequency Stop Frequency Span Reference Level Attenuation Scale/DIV Scale Type RBW VBW Average Type Sweep time Sweep Mode Trace 1 Trace 2 Trace 3 Trace 4 Trace 1 Detection Trace 2 Detection Trace 3 Detection Trace 4 Detection Trace Average Marker File Type Save Path Mode External Input type Default Setting 1.5 GHz 0.0 Hz 3.0 GHz 3.0 GHz 0.
4 68 System Setting N9340A User’s Guide
Agilent N9340A Handheld Spectrum Analyzer 5 Key Reference Agilent Technologies 69
5 Key Reference Amplitude Activates the reference level function and access the associated softkeys to set functions that affect the way data on the vertical axis is displayed or corrected. Ref level Activates the reference level function. The reference level is the amplitude power or voltage represented by the top graticule on the display. Changing the value of the reference level changes the absolute amplitude level (in the selected amplitude units) of the top graticule line.
Key Reference 5 Preamp Toggles the internal preamp between On and Off. Preamp results in a correction being applied to compensate for the gain of the preamp at 20 dBm so that amplitude readings show the value at the input connector. NO TE When the preamp is on, a PA indication appears on the left side of the display. The preamp is set to on in frequency bands from 1 MHz to 3 GHz, otherwise the correction is not applied even though the PA indication still appears.
5 Key Reference Ref Offset Adds an offset value which ranges from - 327.6 dB to +327.6 dB to the displayed reference level. NO TE Reference-level offsets are only entered by using the numeric keypad. Entering an offset does not affect the trace or the attenuation value. Reference- level offsets are used when gain or loss occurs between a device under test and the analyzer input.
Key Reference 5 BW/SWP Activates the bandwidth function and accesses the associated softkeys to control resolution bandwidth, video bandwidth and sweep time. RBW Changes the 3- dB resolution bandwidth on the analyzer from 30 Hz to 1 MHz in a 1, 3, 10 sequence using the knob, step keys or the numeric keypad. NO TE If an unavailable bandwidth is entered using the numeric keypad, the closest available bandwidth in the 1, 3, 10 sequence is used.
5 Key Reference VBW Changes the analyzer post- detector filter from 3 Hz to 1 MHz in a 1, 3, 10 sequence using the knob, the step keys, or the numeric keypad. NO TE If an unavailable bandwidth entered using the numeric keypad, the closest available bandwidth in the 1, 3, 10 sequence is used. As the video bandwidth is decreased, the sweep time is increased to maintain amplitude calibration. A “#”mark appears next to RBW on the display when it is not coupled.
Key Reference 5 Log Pwr Averages the data as appropriate for the logarithmic scaled y axis. When average type is set to Log Pwr, “LgAv” appears on the left side of the display. Key access: [BW/SWP] > {Avg Type} Pwr Converts the scale from logarithmic to linear power units, and then averages the power trace data. With average type set to Pwr, “PAvg” appears on the left side of the display. Key access: [BW/SWP] > {Avg Type} Voltage Averages the data as appropriate for the linearly scaled y- axis scale.
5 Key Reference Sweep Time Selects the length of time the analyzer takes to tune across the displayed frequency span (or, in zero span, the time the analyzer takes to sweep the full screen) using the knob, the arrow keys, or numeric keypad. NO TE Reducing the sweep time increases the sweep rate. Key access: [BW/SWP] In non-zero spans: When the sweep time is auto- coupled, the analyzer selects the optimum (shortest) sweep time ranging from 10 ms to 1000 s for the current settings.
Key Reference 5 In FFT Mode In FFT mode, the sweep time is auto- coupled as default. And the submenu of sweep time is invalid in FFT mode. Sweep Activates the sweep mode function and accesses associated softkeys to set functions that affect the way a trace sweeps across the display. Sweep Toggles the analyzer between the continuous sweep mode and the single sweep mode. • Sweep (Single) Puts the analyzer in a single sweep mode. In this mode, pressing [BW/SWP] > {Single Sweep} enables a sweep.
5 Key Reference • Fast Activates the fast sweep mode. Fast sweep mode provides a fast measurement function that decreases the sweep time. However, this mode brings a decrease of amplitude accuracy. NO TE Fast sweep is valid only when span is no less than 50 MHz. Measurement data is not ganruanteed in fast sweep mode.
Key Reference 5 Enter • Terminates date entry and enters into the analyzer a numerical value keyed from numeric keypad on the front panel. • Terminate filename entries.
5 Key Reference ESC/CLR Provides mainly two types of functions: Clear • Clears any numeric entry and cancels the active function. • Clears any title entry and cause the title to revert to the previous name. • Clears input or output overloads • Clears error messages from the status line along the bottom of the display. Association with other functions Provides a permitted setting for triggering other functions as follows: • Activates LIMIT function for pass/fail judgements.
Key Reference 5 Frequency Activates the center frequency function, and accesses the menu of frequency functions. The center frequency, or start and stop frequency values appear below the graticule on the display. NO TE When changing both the center frequency and the span, change the frequency first since the span can be limited by the frequency value. Center Frequency Activates the center frequency function which allows you to set the horizontal center of the display to a specified frequency.
5 Key Reference CF Step Changes the step size for the center frequency function. Once a step size has been selected and the center frequency function is activated, the arrow keys change the center frequency by the step- size value. The step size function is useful for finding harmonics and sidebands beyond the current frequency span of the analyzer. When auto- coupled, the center size is set to one division (10 percent of the span).
Key Reference 5 Marker Accesses the marker control softkeys to select the type and number of markers. Markers are diamond- shaped characters that identify points of traces. Up to six pairs of markers may appear on the display simultaneously; only one pair can be controlled at a time. The marker that is controlled is called the “active” marker. Pressing [MARKER] activates the Normal menu key. Marker Selects one of the six possible markers.
5 Key Reference Delta Activates a second marker at the position of the first marker. (If no marker is present, two markers appear at the center of the display). The amplitude and frequency (or time) of the first marker is fixed. The marker number is indicated above the delta marker, and the same number is indicated with an R (for example, 1R) above the reference marker. Use the data controls to position the delta marker.
Key Reference 5 Peak Search Place a marker on the highest peak based on the setting of the Search Criteria as follows: • Peak Place a marker on the highest peak. Key access: [MARKER] • Next LF Peak Moves the marker to the next peak to the left of the current marker. The signal peak must exceed the peak threshold value by the peak excursion value. If there is no peak to the right, the marker will not move and the No Peak Found error message will appear on the display.
5 Key Reference Marker To Accesses the following marker function menu keys: • To Center Sets the center frequency of the analyzer to the marker frequency. In Delta mode, pressing [Marker] > {Marker To} > {To Center} sets the center frequency to the marker delta value. The function is not available in zero span. NO TE When the frequency scale is in log mode, the center frequency is not at the center of the display.
Key Reference 5 • Noise Activates a noise readout mode for evaluating power density. NO TE Noise mode operates only on noise peaks and not supported under Marker Delta condition. Key access: [MARKER] > {More (1 of 2)} > {Mode} Marker Trace Activates a marker on the trace if there are no markers turned on. If a marker is currently active, press Marker Trace until 1, 2, 3, or 4 is underlined. The active marker will be moved to the selected trace.
5 Key Reference Meas In spectrum analysis mode, pressing [Meas] brings up the menu for a suite of power measurements such as adjacent channel power, occupied bandwidth, and channel power. Refer to “One- button Power Measurement" on page 43 for more information about these measurements.
Key Reference 5 Span Activates the span function and accesses the submenu of span functions. Pressing [SPAN] allows you to change the frequency range symmetrically about the center frequency. The frequency- span readout describes the total displayed frequency range. To determine frequency span per horizontal graticule division (when the frequency scale type is set to linear), divide the frequency span by 10. Span Allows you to enter a frequency span range value.
5 Key Reference TRACE Accesses the trace keys to store and manipulate trace information. Each trace comprises a series of data points in which amplitude information is stored. The analyzer updates the information for any active trace with each sweep. If you have selected Channel Power, OBW, or ACPR in the MEAS menu, refer to “One- button Power Measurement" on page 43. Trace Selects the trace for current use.
Key Reference 5 Minimum Hold Maintains the minimum level for each trace point of the selected trace, and updates each trace point if a new minimum level is detected in successive sweeps. NO TE Changing the vertical scale (Amplitude, Scale Type, Log or Line), or pressing PRESET, or turning averaging on (TRACE, Average (On)) or switching widow in Zone Span restarts the held trace. Key access: [TRACE] View Holds and displays the amplitude data of the selected trace.
5 Key Reference data evaluated during that time and present a single point of trace data based on the detector mode. We call the interval during which data for that trace point is being collected, the “bucket”. Thus a trace is more than a series of single points. It is actually a series of trace “buckets”. The data may be sampled many times within each bucket. With the detector sets to Auto, Pressing [TRACE] > {More (1 of 2)} > {Average} and select On changes the detector.
Key Reference 5 • Pos Peak Obtains the maximum video signal between the last display point and the present display point and stores this value in memory. It is used primarily when measuring sinusoidal (spectral) components. When Positive Peak is selected, “P” appears in the upper- left corner. Key access: [TRACE] > {More (1 of 2)} > {Detector} • Sample Primarily used to display noise or noise- like signals. It should not be used to measure the accurate amplitude of non noise- like signals.
5 Key Reference • Any related parameter (e.g., center frequency) is changed. Press Average (Off) to turn off averaging. The number of sweeps can only be set using the numeric keypad, not the knob or arrow keys. Key access: [TRACE] > {More (1 of 2)} > {Average} Save Trace Saves a current trace into a file (*.DAT). The analyzer uses the same filename as the preceding file saved, and automatically adds an integer in 1, 2, 3 sequence at the end of the filename.
Key Reference 5 Limit Limit Line Activates an adjustable horizontal line that is used as a visual reference line. The line, which can be used for trace arithmetic, has amplitude values that correspond to its vertical position when compared to the reference level. The value of the display line appears in the active function block and on the left side of the display. Use the arrow keys, knob, or numeric keypad to adjust the display line.
5 Key Reference Beep Sounds alarm as an indicator of limit fails. Key access: [Limit] Save Pattern Saves the parameters of the current limit pattern in a file (*.PTN). Your are allowed to enter the filename using the numeric keypad and using [ENTER] as a terminator. Number, alpha characters and underline are all valid components of a filename. Key access: [Limit] Recall Pattern Recalls the parameters of the saved limit pattern.
Agilent N9340A Handheld Spectrum Analyzer 6 SCPI Command Reference Agilent Technologies 97
6 SCPI Command Reference SCPI Language Basics SCPI is an ASCII- based instrument command language designed for test and measurement instruments, with the goal of reducing automatic test equipment (ATE) program development time. SCPI accomplishes this goal by providing a consistent programming environment for instrument control and data usage. This consistent programming environment is achieved by the use of defined program messages, instrument responses, and data formats across all SCPI instruments.
SCPI Command Reference 6 Basic Knowledge Requirement Programming with SCPI requires knowledge of: • Computer programming languages, such as C or C++. • The language of your instrument. A N9340A employs SCPI as its programming language. Command Categories The SCPI command falls into two categories: • Subsystem commands • Common commands Use a computer to control the signal generator (but operate the line power switch manually).
6 SCPI Command Reference Standard Notations A command consists of mnemonics (keywords), parameters and punctuation. Before you start to program your analyzer, familiarize yourself with the standard notation of each of them. Keywords Many commands have both a long and a short form: use either one. (a combination of the two is not allowed).
SCPI Command Reference 6 Separator • A colon “:” separates keywords of different hiberarchy. • A space separates a keyword and a parameter, as well as a parameter and a unit. Default unit of parameters The analyzer has the following default units for numeric variables. Parameter Default unit Frequency Hz Absolute amplitude dBm Time s If you are using the default unit in a command, you can leave out the unit. For example, if you are setting the center frequency to 800 MHz of ACPR measurement.
6 SCPI Command Reference Common Commands These commands are specified in 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. Clear Status *CLS This command clears the error queue of the analyzer. Identification Query *IDN? This command returns an instrument identification information string. The response is organized into four fields by commas.
SCPI Command Reference 6 CALCulate Subsystem This subsystem is used to perform post- acquisition data processing. In effect, the collection of new data triggers the CALCulate subsystem. This subsystem is further divided into two subsections: limits and markers which are the primary functions in this subsystem. Limit Line Subsection An N9340A allows you to define a limit line for your measurement. You can then have the instrument compare the data to your defined limit and indicate a pass/fail condition.
6 SCPI Command Reference Control Limit line Buzzer :CALCulate:LLINe[1]:BUZZer[:STATe] OFF|ON|0|1 :CALCulate:LLINe[1]:BUZZer[:STATe]? This command toggles the audio warning between on and off. If data exceeds the limit line the buzzer will sound an alarm. *RST state: Off Key access: [Limit] > {Beep} Control Limit Line Testing :CALCulate:LLINe[1]:[STATe] OFF|ON|0|1 :CALCulate:LLINe[1]:[STATe]? This command toggles the limit line testing between on and off.
SCPI Command Reference 6 Control Limit Pattern Testing :CALCulate:LLINe[1]:PATTern[:STATe] OFF|ON|0|1 :CALCulate:LLINe[1]:PATTern[:STATe]? This command toggles the usage of limit pattern between on and off. If the limit pattern is turned on, limit line is automatically turned off.
6 SCPI Command Reference Define Limit Pattern Values :CALCulate:LLINe[1]:DATA ,{,,} :CALCulate:LLINe[1]:DATA? This command defines limit pattern values, and destroys all existing data. A N9340A allows you to set as many as four points to compose the limit pattern by connecting them together. can be a frequency or time axis.
SCPI Command Reference 6 CALCulate:MARKer Subsection Markers All Off on All Traces :CALCulate:MARKer:AOFF This command turns off all markers on all traces. Key access: [Marker] > {More} > {All Off} Markers All On :CALCulate:MARKer:ALL This command turns on all the markers and places them on six highest peaks.
6 SCPI Command Reference 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. FCOunt refers to the frequency counter function. NOISe refers to the noise measurement function. OFF refers to turning off all functions.
SCPI Command Reference 6 This command places the selected marker on the next highest signal peak to the right of the current marked peak. Key access [Marker] > {Peak search} > {Next Right PK} Marker Mode :CALCulate:MARKer[1]|2|3|4|5|6:MODE POSition|DELTa|OFF :CALCulate:MARKer[1]|2|3|4|5|6:MODE? This command sets the markers to the following mode: • Position Selects a normal marker that can be positioned on a trace and from which trace information will be generated.
6 SCPI Command Reference mode, the center frequency is set to the marker delta value. This command is not available in zero span. Key access: [Marker] > {Marker To} > {To Center} Set reference level to the marker value :CALCulate:MARKer[1]|2|3|4|5|6[:SET]:RLEVel This command sets the reference level to the specified marker amplitude. In delta marker mode, the reference level is set to the amplitude difference between the markers.
SCPI Command Reference 6 Marker readout: X Value :CALCulate:MARKer[1]|2|3|4|5|6:X :CALCulate:MARKer[1]|2|3|4|5|6:X? This command positions the designated marker on its assigned trace at the specified trace X value. The value is in the X- axis units, which can be a frequency or time. The query returns the current X value of the designated marker. *RST state: Matches the units of the trace on which the marker is positioned.
6 SCPI Command Reference DEMOdulation Subsystem This sub tree commands are used to control the demodulation after the measure has been loaded by[:SENSe]:FREQuency:SPAN:ZERO AM Demodulation :DEMod:AM:STATe OFF|ON|0|1 :DEMod:AM:STATe? This command toggles AM demodulation function between on and off. *RST state: Off Key access: [Span] > {Demode} > {AM (On)} FM Demodulation :DEMod:FM:STATe OFF|ON|0|1 :DEMod:FM:STATe? This command toggles FM demodulation function between on and off.
SCPI Command Reference 6 DISPlay Subsystem The DISPlay subsystem controls the selection and presentation of textual, graphical, and trace information. Within a display, information may be separated into individual windows. Turn the Entire Display On/Off :DISPlay:ENABle OFF|ON|0|1 This command turns the display on or off. Having the display turned off may increase repetitive measurement rate.
6 SCPI Command Reference Trace Y-Axis Reference Level :DISPlay:WINDow:TRACe:Y[:SCALe]:RLEVel :DISPlay:WINDow:TRACe:Y[:SCALe]:RLEVel? This command sets the amplitude value of the reference level for the y- axis. *RST value: 0.00 dBm Range: –120.
SCPI Command Reference 6 Vertical Axis Scaling :DISPlay:WINDow:TRACe:Y[:SCALe]:SPACing LINear|LOGarithmic :DISPlay:WINDow:TRACe:Y[:SCALe]:SPACing? Toggles the vertical graticule divisions between logarithmic or linear units. The default logarithmic unit is dBm, and the linear unit is mV. *RST State: Log Key Access: [AMPTD] > {Scale Type} Display Mode :DISPlay:MODE DARK|LIGHt :DISPlay:MODE? This command quick sets the screen brightness and contrast mode according to the lighting condition.
6 SCPI Command Reference Contrast :DISPlay:MODE:CONTrast :DISPlay:MODE:CONTrast? This command adjusts the contrast of the current screen display. . *RST Value: 55 Range: 0 to 100 Key Access: [SYS] > {Contrast} Brightness :DISPlay:MODE:BRIGhtness :DISPlay:MODE:BRIGhtness? This command adjusts the brightness of the current screen display. Setting brightness to 0 turns off the backlight of the LCD screen..
SCPI Command Reference 6 INITiate Subsystem The INITiate subsystem is used to control the initiation of the trigger. Refer to the TRIGger subsystem for related commands. Continuous or Single Sweep :INITiate:CONTinuous OFF|ON|0|1 :INITiate:CONTinuous? Toggles the continuous sweep between on and off. • When the On (1) parameter is selected, the continious sweep is enabled. • When the Off (0) parameter is selected, the continuous sweep is disabled and single sweep is enabled.
6 SCPI Command Reference INSTrument Subsystem This subsystem includes commands for querying and selecting instrument measurement mode. Select One button measurement :INSTrument:MEASure OFF|CHPower|ACPR|OBW :INSTrument:MEASure? Selects the one- button measurement among channel power, adjacent channel power ratio and occupied bandwidth. Use this command to select a power measurement firstly, then use other commands to set the parameters of this power measurement.
SCPI Command Reference 6 MEASure Subsystem Provides programming information for the keys associated with the measurements available when you press the front- panel Measure key. OBW Subsection Setting Percentage (%) method of OBW :MEASure:OBW:PERCent :MEASure:OBW:PERCent? edit the percentage of signal power used when determining the occupied bandwidth. Press {%} to set the percentage ranging from 10.00% to 99.99%.
6 SCPI Command Reference Specifies the range of integration used in calculating the power in the main channel. Use the knob and the arrow keys to set the bandwidth. Adjacent channel :MEASure:ACPR:ADJacent :MEASure:ACPR:ADJacent? Specifies the range of integration used in calculating the power in the adjacent channel. Use the knob and the arrow keys to set the bandwidth.
SCPI Command Reference 6 Low Adjacent Channel Power Ratio Return the lower adjacent channel power to main channel power ratio. :MEASure:ACPR:LRATio? Upper Adjacent Channel Power Ratio Return the upper adjacent channel power to main channel power ratio.
6 SCPI Command Reference Channel Power Subsection Center Freq :MEASure:CHPower:CENTer :MEASure:CHPower:CENTer? Sets the center frequency of the display. Int BW :MEASure:CHPower:IBW :MEASure:CHPower:IBW? Specifies the integration bandwidth ranging from 100 Hz to 3 GHz to calculate the power. Channel Span :MEASure:CHPower:SPAN :MEASure:CHPower:SPAN? Sets the analyzer span for the channel power measurement. Be sure the span is set between 1 and 10 times the integration bandwidth.
SCPI Command Reference 6 SENSe Subsystem Sets the instrument parameters for the input signal measurements.
6 SCPI Command Reference Turn Averaging On/Off [:SENSe]:AVERage:TRACe 1|2|3|4|5|6[:STATe] OFF|ON|0|1 [:SENSe]:AVERage:TRACe 1|2|3|4|5|6[:STATe]? This command toggles averaging between off and on. Averaging combines the value of successive measurements to average out measurement variations.
SCPI Command Reference 6 [:SENSe]:BANDwidth Subsection Resolution Bandwidth [:SENSe]:BANDwidth|BWIDth[:RESolution] [:SENSe]:BANDwidth|BWIDth[:RESolution]? This command specifies the resolution bandwidth.
6 SCPI Command Reference Video Bandwidth Automatic [:SENSe]:BANDwidth|BWIDth:VIDeo:AUTO OFF|ON|0|1 [:SENSe]:BANDwidth|BWIDth:VIDeo:AUTO? This command couples the video bandwidth to the resolution bandwidth. *RST State: On Key Access: [BW/SWP] > {VBW} Video to Resolution Bandwidth Ratio [:SENSe]:BANDwidth|BWIDth:VIDeo:RATio [:SENSe]:BANDwidth|BWIDth:VIDeo:RATio? This command specifies the ratio of the video bandwidth to the resolution bandwidth. *RST Value: 1.00 Range: 0.
SCPI Command Reference 6 [:SENSe]:DETector Subsection Automatic Detection Type Selected [:SENSe]:DETector:TRACe[1]|2|3|4 AUTO OFF|ON|0|1 [:SENSe]:DETector:TRACe[1]|2|3|4 AUTO? This command switches automatically to the optimum detection type for typical measurements using the current instrument settings. The detector type is average if any of these are on: • Noise marker • Band power markers • Trace averaging when the Average Type is Power (RMS).
6 SCPI Command Reference Types of Dtection [:SENSe]:DETector:TRACe[1]|2|3|4 [FUNCtion] AVERage|POSitive|SAMPle| NEGative|NORMal [:SENSe]:DETector:TRACe[1]|2|3|4 [FUNCtion]? This command specifies the detection mode. For each trace interval (bucket), average detection displays the average of all the samples within the interval. The averaging can be done using two methods: • The power method (RMS) • The video method (Y Axis Units) The method is controlled by the TRACE, Detector.
SCPI Command Reference 6 This command specifies whether the step size is set automatically based on the span. *RST State: On Key Access: [FREQ] > {CF Step} Center Frequency Step Size [:SENSe]:FREQuency:CENTer:STEP[:INCRement] [:SENSe]:FREQuency:CENTer:STEP[:INCRement]? This command specifies the center frequency step size.
6 SCPI Command Reference Zero Frequency Span [:SENSe]:FREQuency:SPAN:ZERO This command sets the frequency span to zero. Key Access: [SPAN] > {Zero Span} Last Frequency Span [:SENSe]:FREQuency:SPAN:PREVious This command sets the frequency span to the previous span setting. Key Access: [SPAN] > {Last Span} Start Frequency [:SENSe]:FREQuency:STARt [:SENSe]:FREQuency:STARt? This command sets the start frequency.
SCPI Command Reference 6 [:SENSe]:POWer Subsection Input Attenuation [:SENSe]:POWer[:RF]:ATTenuation [:SENSe]:POWer[:RF]:ATTenuation? This command sets the value of the attenuator. *RST Value: 20 dB Range: 0 dB to 51 dB Available unit: dB Key Access: [AMPTD] > {Attenuation} Input Port Attenuator Auto [:SENSe]:POWer[:RF]:ATTenuation:AUTO OFF|ON|0|1 [:SENSe]:POWer[:RF]:ATTenuation:AUTO? This command selects the input port attenuator range to be set either automatically or manually.
6 SCPI Command Reference SWEep Subsection Sweep Time [:SENSe]:SWEep:TIME
SCPI Command Reference 6 SYSTem Subsystem This subsystem is used to set the controls and parameters associated with the overall system settings. These functions are not related to instrument performance. Ext Input :SYSTem:CONFigure:PORT REF|TRIGger :SYSTem:CONFigure:PORT? This command toggles the channel for external input between Ref and Trig. Key access: [SYS] > {Setting} > {Ext input} Date Query :SYSTem:DATE? This query inquires the date of the real- time clock of the analyzer.
6 SCPI Command Reference TRACe Subsystem The TRACe subsystem controls access to the internal trace memory of the analyzer. Select Trace Display Mode :TRACe[1]|2|3|4:MODE WRITe|MAXHole|MINHole|VIEW|BLANk :TRACe[1]|2|3|4:MODE? This command selects the display mode as follows: • Write Puts the trace in the normal mode, updating the data. • Maximum Hold Displays the highest measured trace value for all the data that has been measured since the function was turned on.
SCPI Command Reference 6 Tracking Generator Subsystem The tracking generator subsystem controls the use tracking generator function of the analyzer. State :TGENerator:AMPLitude:STATe OFF|ON|0|1 :TGENerator:AMPLitude:STATe? This command toggles the state of tracking generator between on and off. Setting to ON state enables the tracking generator mode. *RST State: OFF Key Access: 1 Press [MODE] to enable the tracking generator mode.
6 SCPI Command Reference Amplitude Step :TGENerator:AMPLitude:STEP :TGENerator:AMPLitude:STEP? This command sets the amplitude step size of the tracking generator output. This command is valid after tracking generator is enabled. *RST State: 1 dB Range: 1 to 10 dB Min. Increment 1 dB Available unit: dB Key Access: {Amptd Step} Amplitude Offset :TGENerator:AMPLitude:OFFSet This command sets the amplitude offset of the tracking generator output.
SCPI Command Reference 6 Storing as reference :TGENerator:NORMalize:REF This command stores the current trace to Trace 4 as a reference. This command is valid after tracking generator is enabled. Key Access: {Normalize} > {Store Ref} Normalization :TGENerator:NORMalize:STATe OFF|ON|0|1 :TGENerator:NORMalize:STATe? This command toggles the normalization between on and off.
6 SCPI Command Reference Normalization Reference Position :TGENerator:NORMalize:POSN :TGENerator:NORMalize:POSN? This command sets the normalization reference position. *RST State: 10 Range: 0 to 10 Min. Increment 1 Key Access: {Normalize} > {Norm Ref Posn} Reference Trace :TGENerator:NORMalize:TRACe VIEW|BLANk :TGENerator:NORMalize:TRACe? This command toggles the reference trace display between VIEW and BLANk. VIEW means to holds and displays the amplitude data of the selected trace.
SCPI Command Reference 6 TRIGer Subsystem Trigger subsystem is only valid when the analyzer is in zero span. External Trigger Slope :TRIGer[:SEQuence]:EXTernal:SLOPe POSitive|NEGative :TRIGer[:SEQuence]:EXTernal:SLOPe? The external trigger signal must be a TTL signal at 0 V to 5 V. This function controls the trigger polarity (for positive or negative- going signals).
6 SCPI Command Reference Video Trigger Level Amplitude :TRIGer[:SEQuence]:VIDeo:LEVel :TRIGer[:SEQuence]:VIDeo:LEVe? This command specifies the video trigger level. 140 *RST Value: 0.
SCPI Command Reference 6 UNIT Subsystem Selects a power unit for measurement. :UNIT:POWer DBM|DBMV|DBUV|V|W :UNIT:POWer? This command specifies amplitude units for the input, output and display.
6 142 SCPI Command Reference N9340A User’s Guide
Agilent N9340A Handheld Spectrum Analyzer 7 Error Messages Agilent Technologies 143
7 Error Messages Error Message List NO TE A symbol [F] at the beginning of an error message indicates this is an error caused by manual front panel operation. A symbol [R] at the beginning of an error message indicates this is an error caused by remote control mode. Error Code Error Message Description 0 No error –410 Query INTERRUPTED Indicates that a condition causing an INTERRUPTED query occurred (see IEEE 488.2, 6.3.2.
Error Messages 7 Error Code Error Message Description –220 No matched module Indicates no matched measurement or mode found. –200 Execution error This is a generic execution error for devices that cannot detect more specific errors. The code indicates on those execution errors defined in IEEE 488.2, 11.5.1.1.4 has occurred. –171 Invalid expression Indicates the data element was invalid, for example, unmatched parentheses, or an illegal character.
7 Error Messages Error Code Error Message Description 162 Cannot open fast sweep in this case Indicates current settings do not allow you to open fast sweep. For example, currently in FFT, zero span, or any measurement in power suite does not allow fast sweep. 156 Incorrect alignment file on flash Indicates an invalid alignment file. 153 RF EEPROM operate fail Indicates an error when writing alignment file. 152 Alignment file oversize Indicates the alignment file has error or invalid data.
Error Messages 7 Error Code Error Message Description 130 Meas uncal Indicates the measurement is uncalibrated due to fast sweeping through a narrow RBW filter. Check the sweep time, span, and bandwidth settings, or use auto coupling. 119 RF Board Changed Indicates the RF board was changed, the analyzer needs re-load the alignment data. 116 Cannot communicate with RF Indicates the MCU cannot find the RF board.
7 148 Error Messages N9340A User’s Guide
Agilent N9340A Handheld Spectrum Analyzer 8 Menu Map .
8 Menu Map AMPTD Amplitude Ref level Attenuation Auto Man Preamp Off On Scale/DIV 1 dB/DIV Scale Type Log Lin 2 dB/DIV Ref Offset 10 dB/DIV Y Axis Unit 5 dB/DIV dBm dBmV dBuV W V Return 150 N9340A User’s Guide
Menu Map 8 BW/SWP BW/SWP RBW Auto Man VBW Auto Man VBW/RBW Auto Man Avg Type Auto Sweep Time Auto Man Log Pwr Sweep Voltage Single Sweep Power Return Sweep Single Cont Sweep Mode Normal Fast Return N9340A User’s Guide 151
8 Menu Map FREQ Freq Center Freq Start Freq Stop Freq CF Step Auto Man 152 N9340A User’s Guide
Menu Map 8 MARKER Marker Marker 123456 Normal Delta Peak Next Left PK Next Right PK Auto Search Off On Off Peak Search Marker To To Center More 1 of 2 Return Mode Marker Trace All Off To Ref Normal Freq Count Noise Return More 2 of 2 Trace 1 Trace 2 Trace 3 Trace 4 Return N9340A User’s Guide 153
8 Menu Map MEAS Page Up Page Down Return MEAS Measure Off Spectrum Mask OBW ACPR Channel Power Method Percent dBc % dBc Return Center Freq Main Channel Adj Channel Channel Space Return Center Freq Int BW Channel BW Return Mode Mode Spectrum Analyzer Tracking Generator 154 N9340A User’s Guide
Menu Map 8 SPAN SPAN Span Full Span Zero Span AM Off On FM Off On Speaker Vol Last Span The two menus enable when zero span Demod Trigger Free Run Video Ext Rise Ext Fall Return N9340A User’s Guide 155
8 Menu Map SYS System General Language Display Normal Light Brightness Contrast Setting Screen Save File More 1 of 3 Ext Input Trig Ref Save Setup Recall Setup Return Disk Local USB Copy Delete Save Time/Date Color Mode Power Manager Return English Chinese Return Load default User State Return Load Now Show System Show Error Calibration Preset More 2 of 3 Diagnostic Option Upgrade More 3 of 3 156 Page up Page down Return File Type Save Path Page up Page down Return Time Base Return Preset Defaul
Menu Map 8 TRACE Trace Trace 1234 Clear Write Max Hold Min Hold View Blank More 1 of 2 Auto Normal Detector Auto Man Average Off On Save Trace Average Pos Peak Sample Neg Peak Return Save As Recall Trace More 2 of 2 N9340A User’s Guide Page Up Page Down Return 157
8 Menu Map Limit Limit Limit Line Off On Limit Pattern Off On Set Pattern Point 1 Limit Type Upper Lower Point 2 Beep Off On Save Pattern Recall Pattern Point 3 Point 4 X Axis Unit Freq Time Return Page Up Page Down Return 158 N9340A User’s Guide
Index A P Adding Option, 23 Amplitude, 70 Attenuation, 70 Avg Type, 74 Peak Search, 85 Power Manager, 57 Preamp, 71 B Battery, 7 C CF Step, 82 Checking SYS Info, 19 D Display Adjustment, 56 E ESC/CLR, 80 Ext Input, 58 F File Type, 61 Firmware Upgrading, 23 Frequency, 2, 81 Front Panel, 4 R Reference Level, 70 Reference Offset, 72 Res BW, 73 S Saving a file, 60 Saving a trace, 60 Scale Type, 71 Scale/Div, 71 SCPI, 97 Setting Key Beep, 56 Show Error, 65 Show SYS Info, 64 Single Sweep, 78 Span, 89 Sw
160
www.agilent.com © Agilent Technologies, Inc.
162