Agilent N9340A Handheld Spectrum Analyzer User’s Guide Agilent Technologies
Notices © Agilent Technologies, Inc. 2006 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 First edition, December 2006 Printed in China Agilent Technologies, Inc.
1 N9340A Overview Introduction 8 Functionality 8 Enhanced Usability 9 Front Panel Overview 10 Top Panel Overview 11 Display Annotations 12 Working with Batteries 13 Installing a Battery 13 Viewing Battery Status 13 Charging a Battery 14 2 Getting Started Checking Shipment and Order List Power Requirements AC Power Cords 16 17 18 Safety Considerations 19 Electrical Requirements 21 Electrostatic Discharge (ESD) Precautions Instrument Markings 22 Power on the Analyzer for the First Time
Setting Key Beep System Setting 32 33 General system settings Ext Input 34 File 33 36 Saving a file 36 Deleting a file 37 Loading a file 37 Show System Show Error 38 39 Perform a Time Base Calibration Preset 40 41 Factory Default Settings 4 42 Making Measurements Measuring Multiple Signals 44 Comparing Signals on the Same Screen 44 Figure 2. Delta pair marker with signals on the same screen Figure 3.
Figure 15.
Full 87 Zero 87 Last Span TRACE 87 88 Trace 88 Clear Write 88 Max Hold 88 Minimum Hold 89 View 89 Blank 89 Detector 89 Average 91 Save Trace 92 Save As 92 Recall Trace 92 Limit 93 Limit Line 93 Limit Pattern 93 Set Pattern 93 Limit Type 93 Beep 94 Save Pattern 94 Recall Pattern 94 6 SCPI Command Reference SCPI Language Basics 96 Basic Knowledge Requirement Command Categories 97 Command Syntax 97 Standard Notations 98 Common Commands 100 Clear Status 100 Identification Query Reset 100 100 CALCu
FM Demodulation 111 DISPlay Subsystem 112 Turn the Entire Display On/Off 112 Trace Y-Axis Scaling 112 Trace Y-Axis Reference Level Offset 113 Screen Color Style 114 Display Mode 114 Brightness 115 INITiate Subsystem 116 Continuous or Single Measurements 116 Take New Data Acquisitions 117 INSTrument Subsystem 118 Select One button measurement MEASure Subsystem 118 119 OBW Subsection 119 ACPR Subsection 119 SENSe Subsystem 124 [:SENSe]:AVERage Subsection 124 [:SENSe]:FREQuency Subsection 129 [:SE
Video Trigger Level Amplitude UNIT Subsystem 7 Error Messages Error Message List 8 148 BW/SWP MARKER 153 154 TRACE Limit 6 151 152 SPAN SYS 149 150 MEAS 142 Menu Map AMPTD FREQ 139 155 156 138
Agilent N9340A Handheld Spectrum Analyzer User’s Guide 1 N9340A Overview Agilent Technologies 7
1 N9340A Overview Introduction An Agilent N9340A is a handheld spectrum analyzer with a frequency ranges from 100 kHz to 3 GHz. The analyzer provides ultimate measurement flexibility in a package that is ruggedized for field environments and convenient for mobile applications. Functionality The Agilent imbued N9340A provides you a comprehensive functionality set, 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, ACPR (Adjacent Channel Power Ratio) and SEM (Spectrum Emission Mask). 5 High sensitive measurement Includes a 3 GHz pre- amplifier (Option N9340A- PA3), enabling highly sensitive measurement which helps in analysis of low level signals. Enhanced Usability An Agilent N9340A handheld spectrum analyzer also provides you enhanced usabilities: • 7.
1 N9340A Overview Front Panel Overview 14 12 13 N 9340 A 10 0 kH z - 3.
N9340A Overview 1 Top Panel Overview 8 9 7 50 VD CM AX 33dBm (2 W ) M AX EXT TRIG IN / EXT REFIN RF IN PUT 50 RF OU T 50 Ex t. Po w er Cha rging PC 12-18 12-18VDC VD C 80 W MAX MAX 55W 1 2 3 4 5 6 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. Installing a Battery CAU CAUT ION Insert a battery with electrodes physically attached properly. Step 1 Open the battery cover Notes Use a cross type screwdriver to loose the screw, then pull the cover open. 2 Insert the battery 3 Close the battery cover Push the cover closed, then ref-fasten the screw.
1 N9340A Overview Charging a Battery You can only charge the battery when it is in the analyzer. Fully charge the battery when for the first use. CAU CAUT ION Never use a modified or damaged charger. Internal Charging Use your N9340A to recharge the battery while the analyzer is operating or shut down. 1 Install the battery in the analyzer. 2 Simply attach the AC- DC adapter and switch on external power. 3 The charging indicator lights, indicating that the battery is charging.
Agilent N9340A Handheld Spectrum Analyzer User’s Guide 2 Getting Started 15 Agilent Technologies 15
2 Getting Started Checking Shipment and Order List We recommend you check the shipment and order list according to following procedures 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 indicates 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 WARN IN G WARN IN G CAU CAUT ION Danger of explosion if the battery is incorrectly replaced. Replace only with the same or equivalent 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 • Storage temperature: –40 °C to +70 °C • Humidity: 95% or less • Altitude: 3000 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 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 Power 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 CAUT ION 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 10 and “Top Panel Overview" on page 11. For more information on making measurements, please refer to “Making Measurements" on page 43”.
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 CAUT ION Make sure at least 10 minutes consistently power supply when updating firmware. Power cut off during the updating process can make damage to the instrument. A N9340A provides an easy and fast access for firmware upgrade. 1 Setup a folder named N9340DATA in the root directory of your USB memory stick. 2 Download the firmware update package from Agilent website (www.agilent.com/find/n9340a) into the folder named N9340DATA.
2 Getting Started Contact Agilent Technologies Agilent has set 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 User’s Guide 3 System Setting Agilent Technologies 31
3 System Setting Visual and Audio Adjustment Quick Display Adjustment The analyzer provides you a quick adjustment on both brightness and contrast. Press [SYS] > {Display} to toggle the display status between Dark and Light. Manual Display Adjustment Adjusting Brightness Press [SYS] > {Brightness} then rotate the knob to adjust display brightness. Adjusting Contrast Press [SYS] > {Contrast} then rotate the knob to adjust display contrast.
System Setting 3 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.
3 System Setting Ext Input N O 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, and 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 3 Quick Saving State Press [SYS] > {Setting} > {Save State} to save the current system settings and current measurement parameters to the local memory of the analyzer. Tips: The analyzer generates a default file name for saving your first state file (HYSTATE.STA). You can decide whether to leverage this file name or modify it. The analyzer also provides a legend file naming utility that it generates consecutive state file names by adding Arabic numbers to the latest saved file name.
3 System Setting File Pressing [SYS] > {File} accesses to the menu that allows you to manage the file saving and loading of the analyzer. Quick saving a trace Pressing [ESC/CLR] > [Save] allows you to quickly save a trace to the local memory or the USB according to your setup of saving path. For more information about file setup please refer to “Saving a file" on page 36. Viewing file list Refer to the following two steps to view file list: 1 Select which directory you would view.
System Setting 3 File Type A N9340A provides six types of files and the related available operation is listed as followings: • Trace (*.DAT) • Screen (*.JPG) • State (*.STA) • Pattern (*.PTN) • SEM (*.MSK) • Setup (*.SET) Save Path The analyzer provides two directories for file saving: • Local memory • External USB memory stick Deleting a file CAU CAUT ION BE The deleted file can NOT be recovered. Carefully decide whether you need to delete the file(s).
3 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 3 Show Error Accesses a list of the last 30 error messages reported by the analyzer. The most recent error will appear at the bottom of the list. The first listed error will be removed firstly if the error list is longer than 30 entries. When in remote control, the error display will be halted with a specified message at the bottom of the list when the error list is longer than 30 entries.
3 System Setting Perform a Time Base Calibration As soon as the calibration function triggers, 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, a calibration result will display on LCD, and the interrupted measurement will restart.
System Setting 3 Preset Provides known system settings for making measurements. The analyzer is able to record two types of system settings: • Default Restores the analyzer to its factory- defined setting. • User Restores the analyzer to user- defined setting.
3 System Setting 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 42 Default Setting 1.5 GHz 0.0 Hz 3.0 GHz 3.0 GHz 0.
Agilent N9340A Handheld Spectrum Analyzer User’s Guide 4 Making Measurements Agilent Technologies 43
4 Making Measurements Measuring Multiple Signals This section provides information on measuring multiple signals. Comparing Signals on the Same Screen A 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 appearing on the screen at one time.
Making Measurements 4 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}. N O TE To increase the resolution of the marker readings, turn on the frequency count function.
4 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 4 If the signal peak is not present on the screen, span out to 20 MHz, set the center frequency to the first marker frequency, span back to 2 MHz: • Press [SPAN] > {Span} > 20 > {MHz}. • Press [MARKER] > {Peak Search} > {Peak}. • Press [MARKER] > {Marker To} > {To Center} • Press [SPAN] > {Span} > 2 > {MHz}.
4 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 46. 2 Set one source to 300 MHz at –10 dBm. Set the other source to 300.05 MHz at –70 dBm.
Making Measurements 4 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.
4 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 5 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 4 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 49, and follow steps 1, 2 and 3.
4 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 smooths 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 49, and follow steps 1, 2 and 3. 2 Press [TRACE] > {More (1 of 2)} > {Detector} > {Average} to select the average detector.
Making Measurements 4 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. N O TE This is a trace processing function and is not the same as using the average detector (as described on page 52).
4 Making Measurements Improving Frequency Resolution and Accuracy Using the frequency counter to improve frequency resolution and accuracy. N O 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 4 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.
4 Making Measurements 3 Change the center frequency to the value of the first harmonic: • 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}. • Press [MARKER] > {Marker To} > {To Center}. 5 Set the attenuation to 0 dB: • Press [AMPTD] > {Attenuation} > 0 > {dB}. • Press [MARKER] > {Marker To} > {To Ref}.
Making Measurements 4 Figure 12 Identifying Analyzer Distortion (O dB atten) Figure 13 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. Large marker readout indicates significant measurement errors.
4 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. These distortion products are generated by system components such as amplifiers and mixers. This example tests a device for third- order intermodulation using markers.
Making Measurements 4 and the analyzer input. N O 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].
4 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 4 Measuring Phase Noise Phase Noise is a frequency domain measure of stability. We specify phase noise as single sideband power in relation to the fundamental RF output frequency, and measured at various offset frequencies from the carrier, normalized to a one hertz measuring bandwidth. 1 Press [PRESET]. 2 Input a signal (50 MHz, 0 dBm) to the analyzer RF IN connector. 3 Set the center frequency, span: • Press [FREQ] > {Center Freq} > 50 > {MHz}. • Press [SPAN] > 100 > {MHz}.
4 Making Measurements Figure 14 Measuring Phase Noise (1) N9340A also provides an easy- to- use access for you to measure phase noise simply by pressing [MARKER] > {More (1 of 2)} > {Mode} > {Noise}, and then using the knob, the arrow keys or the numeric keypad placing the specified marker of interest.
Making Measurements 4 One Button Measurement N9340A provides one- button measurement functionality on OBW (Occupied Band Width), channel power and ACPR (Adjacent Channel Power Ratio) and SEM (Spectrum Emission Mask) 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.
4 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 4 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.
4 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.
Agilent N9340A Handheld Spectrum Analyzer User’s Guide 5 Key Reference Agilent Technologies 67
5 Key Reference Amplitude Actives 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 Actives 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. N O TE When the preamp is on, a PA indication appears on the left side of the display. The preamp is set on in frequency bands from 1 MHz to 3 GHz, otherwise the correction is not applied even though the PA indication will still appear.
5 Key Reference Ref Offset Adds an offset value which ranges from - 327.6 dB to +327.6 dB to the displayed reference level. N O 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 Actives 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. N O TE When an unavailable bandwidth 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. N O TE When 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 Performs by converting the trace data from logarithmic to linear power units, and then averaging the power trace data. When average type is set to Pwr, “PAvg” appears on the left side of the display.
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. N O 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 Actives the sweep mode function and accesses the the associated softkeys to set functions that affect the way trace sweep on 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.
5 Key Reference • Fast Activates the fast sweep mode. Fast sweep mode provides a fast measurement function which decreases the sweep time, but this mode brings a decrease of amplitude accurate. Key Access: [BW/SWP] > {Sweep} > {Sweep Mode} Single Sweep When analyzer is in continuous sweep mode and not in a measurement ([MEAS] > Measure Off), Pressing [BW/SWP] > {Single Sweep} convert the continuous sweep to single sweep and executes a sweep after the trigger condition is met.
Key Reference 5 Enter • Terminates and enters into the analyzer a numerical value that has been entered from the front panel using the numeric keypad. (For most applications, it is better to use the associated softkeys.) • Terminate filename entries.
5 Key Reference ESC/CLR Provides mainly two types of functions as follows: 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. Associate with other functions Provides a permitted setting for triggering other functions as follows: • Activates LIMIT function for pass/fail judgement.
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. N O 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 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 Access 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. N O TE When the frequency scale is in log mode, the center frequency is not at the center of the display.
Key Reference 5 • Noise Active a noise readout mode for evaluating power density. N O TE Noise mode is properly 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 the spectrum analysis mode (see “Mode" on page 84MODE), Pressing [Meas] brings up a menu of power suite for measurements such as adjacent channel power, occupied bandwidth, channel power, spectrum emission mask and TOI. Refer to “One Button Measurement" on page 63 for more information about these measurements. Press Measure Off to turn the power measurement off.
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 span frequency range value.
5 Key Reference TRACE Accesses the trace keys to store and manipulate trace information. Each trace is comprised of 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 Measurement" on page 63. 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. N O 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 controlled during that time and present a single point of trace data based on the detector mode. We call the interval during which the 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. When the detector sets to Auto, Pressing [TRACE] > {More (1 of 2)} > {Average} and select On changes the detector.
Key Reference 5 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. In sample mode, the instantaneous signal value at the present display point is placed in memory.
5 Key Reference Save Trace Saves a current trace into a file (*.DAT). The instrument adds an integer in 1, 2, 3 sequence at the rear of the previous saved filename as the current saved filename. If there is no record of saved trace, the default file name of the current saved trace is “HYTRACE.DAT”. Key Access: [TRACE] > {More (1 of 2)} > {Save trace} Save As Saves a current trace in a file with a user- defined 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 Save 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, Letter and Underline are all the available composition of a filename. Key Access: [Limit] Recall Pattern Recall the parameters of the saved limit pattern.
Agilent N9340A Handheld Spectrum Analyzer User’s Guide 6 SCPI Command Reference Agilent Technologies 95
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 levels. • A space separates a keyword and a parameter, as well as a parameter and a unit.
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 status byte. It does this by emptying the error queue and clearing all bits in all of the event registers. Identification Query *IDN? This command returns an instrument identification information string.
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. CALCulate:LLINe Subsection A N9340A allows you to define a limit line for your measurement.
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 limit pattern testing 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. *RST State: Off Key Access: [Limit] > {Set Pattern} • – are values in frequency or time domain as specified by :CALCulate:LLINe[1]:PATtern:DOMain.
SCPI Command Reference 6 CALCulate:MARKer Subsection Markers All Off on All Traces :CALCulate:MARKer:AOFF This command turns off all markers on all the 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 in the command. A 1 is returned only if marker count is on and the selected number is the active marker. Remarks: If a frequency count x value is generated when the frequency count state is off, then 9e15 is return. *RST State: Off Key Access: [Marker] > {More} > {Freq Count} 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 specified marker.
SCPI Command Reference 6 Marker Peak (Maximum) Left Search :CALCulate:MARKer[1]|2|3|4|5|6: MAXimum:LEFT This command places the selected marker on the next highest signal peak to the left of the current marked peak. Key Access [Marker] > {Peak search} > {Next Left PK} Marker Peak (Maximum) Right Search :CALCulate:MARKer[1]|2|3|4|5|6: MAXimum:RIGHt This command places the selected marker on the next highest signal peak to the right of the current marked peak.
6 SCPI Command Reference • Off Turns marker off. Key Access: [Marker] > {Normal} [Marker] > {Delta} [Marker] > {Off} Set Center Frequency to the Marker Value :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.
SCPI Command Reference 6 Marker to Trace :CALCulate:MARKer[1]|2|3|4|5|6:TRACe :CALCulate:MARKer[1]|2|3|4|5|6:TRACe? This command assigns the specified marker to the designated trace 1, 2, 3 or 4. *RST value: 1 Range: 1 to 4 Key Access: [Marker] > {More} > {Marker Trace} Marker 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.
6 SCPI Command Reference Marker Read 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 (which is often dBm). 110 *RST State: Matches the units of the trace on which the marker is positioned. Remarks: This command is used to read the results of marker functions such as band power and noise that are displayed in the marker value field on the analyzer.
SCPI Command Reference 6 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 off and on. *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 off and on.
6 SCPI Command Reference 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.
SCPI Command Reference 6 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: –100.
6 SCPI Command Reference Vertical Axis Scaling :DISPlay:WINDow:TRACe:Y[:SCALe]:SPACing LINear|LOGarithmic :DISPlay:WINDow:TRACe:Y[:SCALe]:SPACing? Specifies the vertical graticule divisions as log or linear units. *RST State: Logarithmic Key Access: [AMPTD] > {Scale Type} Screen Color Style :DISPlay:COLor GRAY|PINK|GREen|BLUE :DISPlay:COLor? This command sets the screen color style of interest.
SCPI Command Reference 6 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.
6 SCPI Command Reference 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 Measurements :INITiate:CONTinuous OFF|ON|0|1 :INITiate:CONTinuous? Selects whether the trigger system is continuously initiated or not. This command affects sweep if not in a measurement, and affects trigger when in a measurement. A “measurement” refers to any of the functions under the MEAS key.
SCPI Command Reference 6 • When ON at the completion of each trigger cycle, the trigger system immediately initiates another trigger cycle. • When OFF, the trigger system remains in an “idle” state until CONTinuous is set to ON or an :INITiate[:IMMediate] command is received. On receiving the :INITiate[:IMMediate] command, it will go through a single trigger cycle, and then return to the “idle” state. • The query returns 1 or 0 into the output buffer. 1 is returned when in a continuous measurement state.
6 SCPI Command Reference INSTrument Subsystem This subsystem includes commands for querying and selecting instrument measurement (personality option) mode. Select One button measurement :INSTrument:MEASure OFF|CHPower|ACPR|OBW :INSTrument:MEASure? Selects the one button measurement among channel pow, adjacent channel power ratio and occupied bandwidth.
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 Main channel :MEASure:ACPR:MAIN :MEASure:ACPR:MAIN? 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 There are also some remote commonds which are irrelative to the front- panel keys. Main Channel Power Return the main channel power of ACPR measurement. :MEASure:ACPR:MPOWer? Low Adjacent Channel Power Return the lower adjacent channel power of ACPR measurement. :MEASure:ACPR:LPOWer? Upper Adjacent Channel Power Return the upper adjacent channel power of ACPR measurement.
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 bandwidth of integration which ranges from 100 Hz to 3 GHz to calculate the power in a channel. Channel Span :MEASure:CHPower:SPAN :MEASure:CHPower:SPAN? Sets the analyzer span for the channel power measurement.
SCPI Command Reference 6 There are also some remote commonds which are irrelative to the front- panel keys. Channel Power and Power Density returns channel power and power density. :MEASure:CHPower? Channel Power Returns channel power only. :MEASure:CHPower:CHPower? Power Density Returns power density only.
6 SCPI Command Reference SENSe Subsystem Sets the instrument parameters for the input signal measurements.
SCPI Command Reference 6 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.
6 SCPI Command Reference [:SENSe]:BANDwidth Subsection Resolution Bandwidth [:SENSe]:BANDwidth|BWIDth [:RESolution] [:SENSe]:BANDwidth|BWIDth [:RESolution]? This command specifies the resolution bandwidth.
SCPI Command Reference 6 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.
6 SCPI Command Reference [: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).
SCPI Command Reference 6 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.
6 SCPI Command Reference Center Frequency Step Size Automatic [:SENSe]:FREQuency:CENTer:STEP:AUTO OFF|ON|0|1 [:SENSe]:FREQuency:CENTer:STEP:AUTO? 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.
SCPI Command Reference 6 Full Frequency Span [:SENSe]:FREQuency:SPAN:FULL This command sets the frequency span to full scale. *RST Value: 3.0 GHz Key Access: [SPAN] > {Full} 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.
6 SCPI Command Reference Stop Frequency [:SENSe]:FREQuency:STOP [:SENSe]:FREQuency:STOP? This command sets the stop frequency. 132 *RST Value: 3.
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 [:SENSe]: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 instrument.
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 TRIGer Subsystem The TRIGer subsystem is used to set the controls and parameters associated with triggering the data acquisitions. Trigger subsystem is only valid when the analyzer is in zero span. Other trigger- related commands are found in the INITiate.
6 SCPI Command Reference Video Trigger Level Amplitude :TRIGer [:SEQuence]:VIDeo:LEVel :TRIGer [:SEQuence]:VIDeo:LEVe? This command specifies the level at which a video trigger will occur. 138 *RST Value: 0.
SCPI Command Reference 6 UNIT Subsystem Select Power Units of Measure :UNIT:POWer DBM|DBMV|DBUV|V|W :UNIT:POWer? This command specifies amplitude units for the input, output and display.
6 140 SCPI Command Reference N9340A User’s Guide
Agilent N9340A Handheld Spectrum Analyzer User’s Guide 7 Error Messages Agilent Technologies 141
7 Error Messages Error Message List N O 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. 159 Error 0x11, DSP will restart Indicates DDC failed. If analyzer froze, try to restart the analyzer. 158 Error 0x10, DSP will restart Indicates an internal error occured, wait the analyzer to reboot.
Error Messages 7 Error Code Error Message Description 147 Incorrect alignment data in EEPROM Indicates invalid alignment data occurred. 143 Final IF overload Indicates you need to either increase the input attenuation or decrease the input signal level. 138 USB device NOT ready Indicates the USB device is not detected. 136 RBW limit to 30 kHz when in fast sweep Indicates the analyzer automatically couple the RBW to 30 kHz when in fast sweep mode.
7 Error Messages Error Code Error Message Description 111 Error 0x2, DSP will restart Indicates an error occurred between MCU and DSP. Wait the analyzer to reboot. 110 Error 0x1, DSP will restart Indicates a time out when waiting for DSP response. Wait the analyzer to reboot.
Agilent N9340A Handheld Spectrum Analyzer User’s Guide 8 Menu Map .
8 Menu Map AMPTD Amplitude Ref level Attenuation Auto Man Preamp Off On Sacle/DIV 1 dB/DIV Sacle Type Log Lin 2 dB/DIV Ref Offset 10 dB/DIV Y Axis Unit 5 dB/DIV dBm dBmV dBuV W V Return 148 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 149
8 Menu Map FREQ Freq Center Freq Start Freq Stop Freq CF Step Auto Man 150 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 151
8 Menu Map MEAS Page Up Page Down Return MEAS Measure Off SEM 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 152 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 153
8 Menu Map SYS System General Language Display Dark Light Brightness Contrast Setting Screen Save File More 1 of 3 Ext Input Trig Ref Save State Recall State 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 154 Page up Page down Return File Type Save Path Page up Page down Return Time Base Return Preset Default
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 155
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 156 N9340A User’s Guide
A Adding Option, 29 Amplitude, 68 Attenuation, 68 Avg Type, 72 B Battery, 13 C CF Step, 80 Checking SYS Info, 25 D Display Adjustment, 32 E ESC/CLR, 78 Ext Input, 34 F Factory Default Settings, 42 File Type, 37 Firmware Upgrading, 29 Frequency, 8, 79 Front Panel, 10 I instruction manual, 22 Instrument Markings, 22 ISM1-A, 22 L Limit Line, 93 Limit Pattern, 93 Loading a file, 37 M Marker, 81 Marker Delta, 82 Marker To, 84 Measuring ACPR, 64 Measuring OBW, 63 157
P Peak Search, 83 Power Manager, 33 Preamp, 69 R Reference Level, 68 Reference Offset, 70 Res BW, 71 S Saving a file, 36 Saving a trace, 36 Scale Type, 69 Scale/Div, 69 SCPI, 95 Selecting a Preset Type, 41 Setting Key Beep, 32 Show Error, 39 Show SYS Info, 38 Single Sweep, 76 Span, 87 Sweep Mode, 75 Sweep Time, 74 T Testing Buttons, 24 Testing Pixel, 24 Time Base Calibration, 40 Top Panel, 11 Trace, 88 Transflective, 23 V VBW, 72 View Multi-signals, 44 Viewing Close Signals, 45 Viewing Phase Noise, 61 V
www.agilent.