Agilent Technologies Keysight N9310A User Manual
Agilent Technologies Keysight N9310A User Manual

Agilent Technologies Keysight N9310A User Manual

Signal generator
Hide thumbs Also See for Keysight N9310A:
Table of Contents

Advertisement

Quick Links

Keysight N9310A
Signal Geneator
Notice: This document contains references to
Agilent. Please note that Agilent's Test and
Measurement business has become Keysight
Technologies. For more information, go to
www.keysight.com.
User's Guide

Advertisement

Table of Contents
loading

Summary of Contents for Agilent Technologies Keysight N9310A

  • Page 1 Keysight N9310A Signal Geneator Notice: This document contains references to Agilent. Please note that Agilent’s Test and Measurement business has become Keysight Technologies. For more information, go to www.keysight.com. User’s Guide...
  • Page 2 Notices documentation. No additional COVERING THE MATERIAL IN THIS DOCUMENT THAT CONFLICT WITH government requirements THESE TERMS, THE WARRANTY beyond those set forth in the © Keysight Technologies, Inc. TERMS IN THE SEPARATE EULA shall apply, except to the 2006-2014 AGREEMENT WILL CONTROL.
  • Page 3: Table Of Contents

    Contents Overview Keysight N9310A At a Glance Front Panel Overview Front Panel Display Rear Panel Overview Front and rear panel symbols Getting Started Check the Shipment and Order List Safety Notice Environmental Requirements Electrical Requirements Power on and Check Turn On the Signal Generator...
  • Page 4 Contents Generating an Amplitude Sweep Generating an LF Sweep Generating a List Swept Signal Generating a Modulated Signal Preparing the Modulation Format Generating an AM signal Generating an FM Signal Generating a Phase Modulated Signal Generating a Pulse Modulated Signal Generating an I/Q Modulated Signal (Option 001 Only) Generating an LF Output Save, Recall and Delete an Instrument State...
  • Page 5 Contents Phase Modulation Switch Preset Pulse Sweep Trigger Utility Programming Fundamentals Remotely Operating Your N9310A System Requirements for Remote Operation Connecting the N9310A to a PC through the USB Port About USB Interface Getting Started with SCPI An Introduction to the SCPI Language Common Terms used in this Book Command Categories Command Syntax...
  • Page 6 Contents RF Start RF Stop LF Start LF Stop Step Scale Amplitude Subsystem Trigger Subsystem Sweep Subsystem RF Sweep State LF Sweep State Amplitude Sweep State RF Start RF Stop LF Start LF Stop Amplitude Start Amplitude Stop Step Points Step Dwell Sweep Type List Power State...
  • Page 7 Contents List Amplitude Points List Row Goto List Row Insert List Row Delete List Rows List Preset List Dwell Type Sweep Repeat Sweep Trigger External Sweep Trigger Slope Point Trigger External Point Trigger Slope Sweep Direction AM Subsystem AM State AM Depth AM Rate AM Source...
  • Page 8 Contents Pulse Modulation Subsystem I/Q Modulation Subsystem Utility Subsystem Display Style Error Messages Screen Saver System Date System Time Reference Oscillator Sources Phase Noise Mode Modulation State Subsystem RF Output State Subsystem LF Output Subsystem Subsystem Command Trees Symbols used in Command Trees Frequency Subsystem Amplitude Subsystem Trigger Subsystem...
  • Page 9 Contents RF Output State Subsystem Utility Subsystem Programming Examples Programming in C using the VTL Example 1 - Checking USB Connection Example 2 - Generating a CW signal Example 3 - Generating an AM Signal Example 4 - Generating an continuous RF Sweep Instrument Messages Overview Command Errors...
  • Page 10 Contents...
  • Page 11: Overview

    Overview Overview This chapter describes the general features and functions of the Keysight N9310A RF Signal Generator and provides an introduction to the front and rear panel.
  • Page 12: Keysight N9310A At A Glance

    Overview Keysight N9310A At a Glance Keysight N9310A At a Glance The Keysight N9310A is a general purpose RF signal generator with applications in manufacturing, service, research, development and education. The signal generator has an optional broadband I/Q modulator, able to generate digital signals in conjunction with an external I/Q source.
  • Page 13 Overview Keysight N9310A At a Glance Options This section provides an overview of available options. For http://www.keysight.com/find/n9310a. details, please refer to • Option 001: I/Q modulator (part number: N9310A - 001) This option provides an additional internal I/Q modulator. Using this option in the signal generator generates digital signals.
  • Page 14: Front Panel Overview

    Overview Front Panel Overview Front Panel Overview FUNCTIONS N9310A RF Signal Generator 9 kHz - 3.0 GHz Frequency Utility Preset Amplitude Sweep File Local Enter Pulse Trigger LF Out On/Off On/Off Remote Standby LF OUT RF OUT 50 REVERSE PWR 4W MAX 30VDC Display The LCD screen shows information on the current function.
  • Page 15 Overview Front Panel Overview • configures the amplitude modulation function. • configures a frequency modulation function. • configures a phase modulation function. Pulse • configures a pulse modulation function. • activates the I/Q modulation function. Sweep • configures RF/LF/Amplitude sweep function. Trigger •...
  • Page 16 Overview Front Panel Overview RF Out connector Female N- type connector provides the Signal Generator RF output signal. The impedance is 50 ohm. The damage level is +36 dBm maximum. LF Out connector BNC (F) connector outputs the low > LF OUT to LF Out frequency (LF) signal whenever you set the on.
  • Page 17: Front Panel Display

    Overview Front Panel Display Front Panel Display Frequency Area displays the current CW (continuous wave) frequency. Amplitude Area displays the current output power level. Annunciators display the status of most of the signal generator functions, as well as indicating errors generated. An annunciator position may be used by more than one function.
  • Page 18 Overview Front Panel Display • EXT REF becomes active when an external frequency reference is applied. • FM becomes active when an FM is enabled. • I/Q becomes active when an I/Q modulation is enabled. • MOD ON/OFF indicates when the RF carrier is modulated indicates the modulator is enabled, while indicates disabled).
  • Page 19: Rear Panel Overview

    Overview Rear Panel Overview Rear Panel Overview VGA OUTPUT N9310A N9310A-CFG002 SER:CN* * * * * * * * * Made in China HOST LINE: TRIG IN 100-240V I IN MOD IN REF IN 50-60Hz 1V RM S M AX 100W MAX HIPOT PASS Q IN...
  • Page 20 Overview Rear Panel Overview REF IN connector BNC (F) connector, accepts a –3.5 to +20 dBm signal from an external reference oscillator that is ± within ppm. The nominal input impedance is 50 ohm. The instrument will accept a 2MHz, 5MHz, or 10 MHz reference oscillator signal.
  • Page 21: Front And Rear Panel Symbols

    Overview Front and rear panel symbols Front and rear panel symbols The signal generator uses the following symbols. Before opera- tion, familiarize yourself with each marking and its meaning. The instruction manual symbol: indicates that the user must refer to spe- cific instructions in the manual.
  • Page 22 Overview Front and rear panel symbols This product complies with the WEEE Directive(2002/96/EC) marking requirements. The affixed label indicates that you must not discard this electrical/electronic product in domestic household waste. Product Category: With reference to the equipment types in the WEEE Directive Annex 1, this product is classed as a Monitoring and Control instrumentation product.
  • Page 23: Getting Started

    Getting Started Getting Started This chapter presents information to properly configure test connections to your instruments and interfaces for correct use of the signal generator.
  • Page 24: Check The Shipment And Order List

    Getting Started Check the Shipment and Order List Check the Shipment and Order List After receiving the product shipment, refer to the following procedures to check the shipment contents. If there is any concern about the shipment, please contact Keysight Technologies Customer Contact Center for consultation and service.
  • Page 25 Getting Started Check the Shipment and Order List Rack Mount It is recommended to use the rack mount kit (option 1CM) if the signal generator is to be installed into an instrument rack. Do not attempt to rack mount the signal generator using the front panel handles only.
  • Page 26 Getting Started Check the Shipment and Order List Attach the rack mount flange and front handle assembly with 3 screws per side. Rack mounting with two dress screws per side. Installing the signal generator into a non-approved rack may promote C A U T I O N shock hazards, overheating, dust contamination, and inferior system performance.
  • Page 27: Safety Notice

    Getting Started Safety Notice Safety Notice Please read the following warnings and cautions carefully before applying power to the signal generator in order to ensure personal and instrument safety. Always use a well-grounded, three-pin AC plug and power cord to WA RNING connect to a power source.
  • Page 28: Environmental Requirements

    Getting Started Environmental Requirements Environmental Requirements Keysight Technologies has designed this product for use in Installation Category II, POLLUTION DEGREE 2, per IEC 61010- 1. Keysight has designed the signal generator for use under the following conditions: • Indoor use •...
  • Page 29: Electrical Requirements

    Getting Started Electrical Requirements Electrical Requirements The signal generator has an auto- ranging line voltage inter- nal power supply input. The available AC power source must meet the following conditions: Voltage: 100~240 volts nominal Frequency: 50/60 Hz nominal Power: 100 watts maximum Connecting the AC Power Cord This Safety Class I Product is provided with a protective earth ground incorporated into the power cord.
  • Page 30 Getting Started Electrical Requirements AC Power Cord Localization Plug Type Cable Part For Use in Plug Number Country & Region Description 8121-1466 BS 1363/A Option 900 United kingdom, Hong Kong, Singapore, Malaysia 250V 10A 8120-1454 KS C8305 Option 902 Korea 250V 10A 8120-1378 CNS 10917-2...
  • Page 31 Getting Started Electrical Requirements Electrostatic Discharge Protection Electrostatic discharge (ESD) damages or destroys electronic components (the possibility of unseen damage caused by ESD is present whenever transportation, store or use of components). This product contains components that are easily damaged by Electrostatic Discharge (ESD).
  • Page 32: Power On And Check

    Getting Started Power on and Check Power on and Check Connect the power cord. Insert the plug into a power socket provided with a protective earth ground contact. Set the tilt adjustor for your preference. Connect a cable to the RF output connector of the signal source to the DUT (device under test).
  • Page 33: Turn On The Signal Generator

    Getting Started Power on and Check Turn On the Signal Generator Toggle the rear panel line switch to the On state. The orange front panel standby LED will light and the signal generator will then have AC line power. Pressing the standby switch on the front panel, will turn on the signal generator and the green Switch On LED will light.
  • Page 34: Check For Error Messages

    Getting Started Power on and Check Check for Error Messages There are two categories of instrument messages. System messages and error messages. A system message is triggered by operation errors. For example, parameter setting conflicts or data input that is out of the parameter range. An error message may be triggered by hardware defects and will have an ERR annunciator displayed on the screen.
  • Page 35: Some Tips

    Getting Started Some Tips Some Tips Refer to the following hints to set up the signal generator for “Utility” on your preference. For more detailed description, see page 84 > Screen Saver> On to set the screen saver on. Utility •...
  • Page 36: Remote Control

    Getting Started Some Tips Remote Control The configuration for setting up remote control for your N9310A is done very simply. You need only to connect your N9310A with a PC which has installed Keysight IO Libraries Suite using an appropriate USB cable. If you need a more flexible remote control, you can also create your own program by using Keysight VTL (Visa Transition Library and the SCPI commands.
  • Page 37: Firmware Update

    Getting Started Some Tips Firmware Update The N9310A provides a convenient firmware update service. Please refer to this procedure to finish the firmware update: Download the firmware (ZIP file) from http://www.keysight.com/find/n9310a The instrument firmware contains drivers for most USB memory sticks. N O T E Please make sure your USB memory stick is in FAT16 or FAT 32 format.
  • Page 38: South Korea Class A Emc Declaration

    Getting Started South Korea Class A EMC Declaration South Korea Class A EMC Declaration This equipment is Class A suitable for professional use and is for use in electromagnetic environments outside of the home.
  • Page 39: Using Functions

    Using Functions Using Functions This chapter contains procedures that illustrate how to use the major functions of your signal generator. They include setting frequency and power levels, setting up modulations, creating RF and LF sweeps, sav- ing and recalling instrument states, and enabling options.
  • Page 40: Commonly Used Front-Panel Elements

    Using Functions Commonly used Front-panel Elements Commonly used Front-panel Elements In addition to using basic function hardkeys, a user will also enter data using softkeys and selection from menu softkeys. If you are new user of the N9310A, refer to the following tips on entering data and using softkeys.
  • Page 41: Generating A Cw Signal

    Using Functions Generating a CW Signal Generating a CW Signal Generating a CW (Continuous Wave) signal requires you to select the frequency and amplitude parameters and enable the RF output. The parameters have the following characteristics: Character Range Default Frequency 9 kHz to 3 GHz 3.0000000000 GHz, with 0.1 Hz resolution...
  • Page 42: Generating A Step Swept Signal

    Using Functions Generating a Step Swept Signal Generating a Step Swept Signal The signal generator will generate step swept signals in three sweep modes: Sweep Mode Sweep Range Front-panel key access 9 kHz to 3 GHz > Sweep Mode > RF Sweep Amplitude –127 to +13 dBm...
  • Page 43 Using Functions Generating a Step Swept Signal Additional Settings for a Step Sweep There four other settings that will have an effect on the sweep: • Sweep Trigger: The sweep trigger can be set to any of the following three choices: Immediate/Trigger Key/EXT •...
  • Page 44 Using Functions Generating a Step Swept Signal Sweep Point Sweep Performance Trigger Trigger > Sweep mode > RF starts a continuous sweep mode. Pressing Sweep (Immediate) > Sweep mode >Off will stop the sweep. Pressing Sweep > Sweep mode > RF enables the RF sweep, then Pressing Sweep pressing the Trigger key will initiate manual sweeping over the...
  • Page 45: Generating An Rf Sweep

    Using Functions Generating a Step Swept Signal Generating an RF Sweep To generate an RF sweep with the following settings: • frequency range from 1 GHz to 2 GHz, at a power level of 0 dBm • nine sweep points with a 50 ms dwell time at each point Refer to the following procedures to configure and generate an RF sweep: Preset...
  • Page 46 Using Functions Generating a Step Swept Signal This enables the RF sweep and initiates the signal generator to sweep immediately and automatically. A SWEEP annunciator is displayed for the duration of the sweep. When presetting the instrument, the sweep and point trigger settings N O T E default to Immediate.
  • Page 47: Generating An Amplitude Sweep

    Using Functions Generating a Step Swept Signal Generating an Amplitude Sweep To generate an amplitude sweep with the following settings: • amplitude ranges from –80 to –60 dBm, at a frequency of 1 GHz • 9 sweep points, 50 ms dwell time at each point Refer to the following steps to configure and generate an amplitude sweep: Preset...
  • Page 48: Generating An Lf Sweep

    Using Functions Generating a Step Swept Signal Generating an LF Sweep To generate an LF sweep with the following settings: • frequency range, 10 to 60 kHz, at a level of 500 mV • six sweep points and 50 ms dwell time at each point Pressing sets the sweep/point trigger to Immediate (IMM) and the Preset...
  • Page 49: Generating A List Swept Signal

    Using Functions Generating a List Swept Signal Generating a List Swept Signal List sweep allows you to create a list of arbitrary frequency, amplitude, and dwell time values and sweep the output based on the entries in the List Mode Values table. The signal generator allows you to generate list swept signals in three modes: Sweep Mode...
  • Page 50 Using Functions Generating a List Swept Signal Refer to the following procedure to configure and generate an RF&Ampl sweep: Preset Press hardkey > Sweep Type > List. Press Sweep Press List Sweep> Insert Row to input your list sequence data. Using the knob to highlight the item to edit, input the desired value and terminate that input with a unit key.
  • Page 51: Generating A Modulated Signal

    Using Functions Generating a Modulated Signal Generating a Modulated Signal The N9310A will generate the following modulated signals: AM, FM, FM, Pulse Modulation. An optional I/Q modulator is also available with Option 001. Preparing the Modulation Format The modulation format can be turned before or after setting the other modulation parameters.
  • Page 52 Using Functions Generating a Modulated Signal shown on the following pages. Simultaneous Modulations The signal generator can generate multiple modulation formats simultaneously. The following table some of the capability to generate the simultaneous modulation formats. Pulse Pulse (INT) (EXT) (INT) (EXT) (INT) (EXT)
  • Page 53: Generating An Am Signal

    Using Functions Generating a Modulated Signal Generating an AM signal The signal generator generates AM (amplitude modulated) signals with the following basic settings: Character Range Default AM Depth 0.0 to 100.0% AM Source Internal source (INT) External source (EXT) Combined INT and EXT AM Rate 20 Hz to 80 kHz (INT) 1.0000 kHz, 0.1 Hz resolution...
  • Page 54: Generating An Fm Signal

    Using Functions Generating a Modulated Signal Generating an FM Signal The N9310A will generate FM (frequency modulated) signals with the following basic settings: Character Range Default FM Deviation 20 Hz to 100 kHz 20 Hz, 1 Hz resolution FM Source Internal source (INT) External source (EXT) Combined INT and EXT...
  • Page 55: Generating A Phase Modulated Signal

    Using Functions Generating a Modulated Signal Generating a Phase Modulated Signal The signal generator generates phase modulated (FM) signals with the following characteristics: Character Range Default 0 to 10 rad (300 Hz < FM rate < 10 kHz) 0.000 rad, with Deviation 0 to 5 rad (10 kHz <...
  • Page 56: Generating A Pulse Modulated Signal

    Using Functions Generating a Modulated Signal Generating a Pulse Modulated Signal The N9310A will generate pulse modulated signals with the following characteristics: Character Range Default Pulse Source Internal source (INT) External source (EXT) Pulse Period 200 μs to 2 s (INT and EXT) 200 ms, with 1 ms resolution Pulse Width 100 μs to 1 s (INT and EXT) 100 ms, with 1 ms resolution Operation Example...
  • Page 57: Generating An I/Q Modulated Signal (Option 001 Only)

    Using Functions Generating a Modulated Signal Generating an I/Q Modulated Signal (Option 001 Only) The N9310A generates I/Q modulated signals with the following characteristics: Character Range Default I/Q Source External source only I/Q Input 50 W impedance VSWR < 1.5 Full scale input <...
  • Page 58 Using Functions Generating a Modulated Signal Operation Example To generate an I/Q modulated signal with 1 GHz carrier frequency, and an amplitude of –10 dBm. The following procedure will configure the N9310A to generate the above signal: Connect the external I/Q source to the BNC I and Q inputs on the rear panel of the signal generator Preset Press...
  • Page 59: Generating An Lf Output

    Using Functions Generating an LF Output Generating an LF Output Follow the procedures below to generate an LF (Low Frequency) signal with the following characteristics. A low frequency signal is typically called the audio frequency. Character Range Default Frequency 20 Hz to 80 kHz 1.0000 kHz, with 0.1 Hz resolution Amplitude 0 to 3 V (peak)
  • Page 60: Save, Recall And Delete An Instrument State

    Using Functions Save, Recall and Delete an Instrument State Save, Recall and Delete an Instrument State This section describes how to use the functions located under the front- panel File key. You can save the instrument state information to either local memory or external to a USB memory stick or disk.
  • Page 61 Using Functions Save, Recall and Delete an Instrument State How to edit a file name To save an instrument state with the filename “sample”, refer to following process: Press Save to enable editing the file name. The signal generator automatically presents an “a” as the first letter. Rotate the knob until the first letter is an “s”.
  • Page 62 Using Functions Save, Recall and Delete an Instrument State Recalling an Instrument State You can recall a previously saved instrument state from both local memory or an external USB memory stick. Recalling an instrument state from the local memory Refer to the following steps to recall an instrument state from the local memory: >...
  • Page 63: Key Reference

    Key Reference Key Reference This chapter describes the front panel hardkeys and associated softkeys, and the default value for each key. The chapter is organized alphabetically by front panel hardkey. Each section in this chapter illustrates the softkey menus and their descriptions.
  • Page 64 Key Reference Pressing hardkey reveals a submenu for AM configurations. Toggles amplitude modulation state between on and off On/Off Sets amplitude modulation depth AM Depth Enters amplitude modulation source submenu: AM Source Selects internal AM source Selects external AM source Selects internal and external AM source INT+EXT Sets amplitude modulation frequency...
  • Page 65 Key Reference AM Depth Press this softkey menu selection to enter the AM depth value. The active entry area of the display will show the current AM depth value. The AM Depth range is from 0 % to 100 %, with minimum increment of 0.1 %. •...
  • Page 66 Key Reference AM Waveform Press this softkey to access the softkey menu for modulating signal waveform. • Default value: Sine > AM waveform • Key sequence: Ext Coupling Pressing this softkey toggles the external modulating signal input between AC (Alternating Current) to DC (Direct Current) coupling.
  • Page 67: Amplitude

    Key Reference Amplitude Pressing the hardkey will allow modification of the RF Amplitude output power level. Amplitude becomes the active function and the active entry area of the instrument display will show the current value. The calibrated power range is –127 to +13 dBm leveled output (settable to +20 dBm max).
  • Page 68: Enter

    Key Reference Enter Enter hardkey has two purposes: Confirming data modification. Using Enter hardkey together with arrow keys or knob to modify a data value. Initiate a single sweep. For example, starting an RF single > Sweep Mode > RF initiates the first sweep by pressing Sweep run of a single RF sweep.
  • Page 69: File

    Key Reference File Pressing hardkey reveals a softkey submenu for saving, File recalling, or deleting a customized configuration file. For “Save, Recall and Delete an additional information, refer to Instrument State” on page 50 Accesses the File Catalog submenus Catalog Selects local memory as the current catalog Local Selects USB device as the current catalog...
  • Page 70 Key Reference Save Press the Save softkey to enable the instrument to save the current instrument status into a file and edit the file name. The instrument will save a maximum of 20 files in the local Preset memory. Pressing the hardkey or performing a power cycle will not affect any configuration files in local memory.
  • Page 71 Key Reference Press the hardkey to access the submenu selections for FM modulation configurations and settings. Toggles frequency modulation between on and off On/Off Sets frequency modulation deviation FM Deviation Enters frequency modulation source submenu: FM Source Selects internal FM source Selects external FM source Selects internal and external FM source INT+EXT...
  • Page 72 Key Reference FM Deviation Press this softkey to access the frequency modulation deviation control value setting. The active entry area of the instrument display will show the current FM deviation value. The allowable value range for FM is 20 Hz to 100 kHz. The minimum incremental value is 0.1 Hz.
  • Page 73 Key Reference FM Waveform Pressing this softkey reveals the submenu for FM waveform selections. • Default value: Sine > FM Waveform • Key sequence: EXT Coupling Pressing this softkey toggles the external modulating signal coupling input to either AC or DC coupling. A 1.0 V peak % input level is required.
  • Page 74: Frequency

    Key Reference Frequency Pressing the hardkey allows the modification of the RF Frequency output frequency. Frequency becomes the active function and the active entry area will display the current value. The allowable frequency range is 9 kHz to 3 GHz. The minimum incremental value is 0.1 Hz.
  • Page 75: Lf Out

    Key Reference LF Out Pressing the hardkey reveals the submenu of softkeys to LF Out configure the internal LF (low frequency) generator. LF Out Toggles the LF output between on and off On/Off Sets LF frequency LF Out Freq Sets LF output amplitude LF Out Ampl LF Out This softkey toggles the LF output between on and off.
  • Page 76: Mod On/Off

    Key Reference Mod On/Off Toggle this hardkey On to modulate the RF carrier with the active modulation. The Mod On/Off annunciator is always displayed to indicate whether modulation is on or off. Preset After pressing hardkey, the annunciator will be displayed on the screen indicating the modulator is active.
  • Page 77: Phase Modulation

    Key Reference Phase Modulation Pressing the hardkey reveals a submenu of softkeys for phase modulation configurations. Toggles phase modulation between on and off On/Off Sets phase modulation deviation FM Deviation Enters phase modulation source submenu: FM Source Selects internal ΦM source Sets phase modulation rate FM Rate Selects phase modulation waveform...
  • Page 78 Key Reference FM Source Press this softkey to select a phase modulation source. • Default value: INT > FM Source • Key sequence: FM Rate Press this softkey to modify the internal modulation frequency. The current value of FM rate will be displayed in the active entry area.
  • Page 79: Switch

    Key Reference Switch N 9 31 0 A RF S ign a l G e ne rato r 9 kH z – 3 .0 G H z Standby Switch Re mot e St andb y Pressing this front panel switch toggles power to the signal generator between on (green LED on) and standby (orange LED on).
  • Page 80: Preset

    Key Reference Preset Preset Press the hardkey to set the signal generator to the preset factory default conditions. Pressing this hardkey will not clear the customized configuration files that have been saved. Using the preset hardkey will give the user the advantage of knowing exactly what all instrument settings will be.
  • Page 81: Pulse

    Key Reference Pulse Press the hardkey accesses the submenu for pulse Pulse modulation configuration settings. toggles pulse modulation between on and off Pulse On/Off Enters pulse modulation source submenu: Pulse Source Selects internal source Selects external source Sets pulse period Pulse Period Sets pulse width Pulse Width...
  • Page 82 Key Reference Pulse Period Press this softkey to modify the pulse period of the internal pulse signal. The current pulse period value will show in the active function area of the display. The allowable value range is 200 μs to 2 s, with a minimum incremental value of 1 μs. The pulse period applies only to the internal pulse signal.
  • Page 83: Sweep

    Key Reference Sweep Press the accesses a menu of softkeys. The softkey Sweep menu is used to define the frequency, amplitude, and dwell time information for step sweep or list sweep. Enters sweep state submenu: Sweep State Disables a sweep Enables radio frequency sweep mode Enables low frequency sweep mode Enables amplitude sweep mode...
  • Page 84 Key Reference Sets sweep stop amplitude Ampl Start Sets sweep start amplitude Ampl Stop Sets dwell time Step Dwell Enters list sweep configuration submenu List Sweep Edits the current item Edit Item Inserts a new row below the current row Insert Row Deletes the current row Delete Row...
  • Page 85 Key Reference Triggers a sweep with external trigger source Trigger In Toggles trigger input slope between negative and positive Neg/Pos Enters point trigger submenu: Point Trigger Initiates point immediately Immediate Triggers point with trigger key Trigger Key Triggers point with external trigger source Trigger In Toggles trigger input slope between negative and positive Neg/Pos...
  • Page 86 Key Reference Case 1. Sweep trigger and Point trigger are both set to Immediate (IMM): the signal generator initiates an RF sweep over the points immediately and automatically. Case 2. Sweep trigger and Point trigger are both set to Key, >...
  • Page 87 Key Reference RF&Ampl Press this softkey to enable an RF & Ampl sweep output through the RF OUT connector. Both the frequency and the amplitude can be set at arbitrary values. This function is available only when the sweep type is set list sweep. See “List Sweep”...
  • Page 88 Key Reference RF Start Press this softkey to set the RF start sweep frequency. The range is 9 kHz to 3 GHz, with a 0.1 Hz minimum increment. The start frequency must always be set to a frequency less than the stop frequency in an RF sweep. •...
  • Page 89 Key Reference Ampl Start Press this softkey to set the start amplitude in an amplitude sweep. The allowable range is –127 dBm to +13 dBm leveled, with 0.1 dB minimum increment. In an amplitude sweep, the start amplitude value must always be set lower than the stop amplitude value.
  • Page 90 Key Reference Insert Row Press this softkey to insert an additional (new) row below the current row. > List Sweep > Insert Row • Key sequence: Sweep Delete Row Press this softkey to delete the current row in a list sweep data table.
  • Page 91 Key Reference Preset List Press this softkey to preset two rows of data in the list table. The user can then edit the testing sequence data based on these two rows. > List Sweep > Preset List • Key sequence: Sweep Sweep Trigger Press this softkey to access a submenu of selections for...
  • Page 92 Key Reference Trigger key This softkey is a selection in both the Sweep Trigger and the Point Trigger submenu. If both the Sweep Trigger and the Point Trigger are set to key, the signal generator will arm a sweep upon selecting a sweep mode. However, it requires the user to press the hardkey to initiate a point- by- point sweep.
  • Page 93: Trigger

    Key Reference Trigger Press the hardkey to trigger (initiate) an armed sweep Trigger or each point in a sweep. Only active when the sweep trigger or the point trigger are set to Key.
  • Page 94: Utility

    Key Reference Utility Press the hardkey to access a submenu for system Utility configuration. Enters the display style submenu: Display Style Sets display style to classic white Classic White Sets display style to Modern Blue Modern Blue Sets display style to Jade Green Jade Green Enters the screen saver submenu: Screen Saver...
  • Page 95 Key Reference Enters the reference source submenu: Ref Setups Selects 10 MHz internal reference source INT-10 MHz Selects 2 MHz external reference source EXT-2 MHz Selects 5 MHz external reference source EXT-5 MHz Selects 10 MHz external reference source EXT-10 MHz Displays system information Information Enters the phase noise optimize mode menu...
  • Page 96 Key Reference Error Info Press this softkey to access a selection menu for viewing error messages. Press Page up/down to view previous/next page. Press Clear will delete all the messages stored in the error message queue. You cannot recover message after performing this action;...
  • Page 97 Key Reference Opt. F Noise Press this softkey to set the desired phase noise mode: ResFM Opt. or Normal. Selecting ResFM Opt. improves the residual FM performance, as compared to Normal mode. • Default value: Normal > Opt. F Noise •...
  • Page 98 Key Reference...
  • Page 99: Programming Fundamentals

    Programming Fundamentals Programming Fundamentals This chapter provides information on remote instrument operation using the USB interface, PC requirements, and use of SCPI commands.
  • Page 100: Remotely Operating Your N9310A

    Programming Fundamentals Remotely Operating Your N9310A Remotely Operating Your N9310A The signal generator provides USB (Universal Serial Bus) connections which allows remote operation with a controller computer. A controller computer can be a personal computer (PC), or a minicomputer. Some intelligent instruments can also function as controllers.
  • Page 101: Connecting The N9310A To A Pc Through The Usb Port

    Programming Fundamentals Remotely Operating Your N9310A Connecting the N9310A to a PC through the USB Port No additional drivers are required to connect the N9310A through the USB port to a PC. Keysight IO Libraries Suite version 14.1 or later is necessary. The IO libraries suite can be found in the documentation CD that came in the shipment along with your N9310A.
  • Page 102 Programming Fundamentals Remotely Operating Your N9310A 5 Select Display a list...
  • Page 103 Programming Fundamentals Remotely Operating Your N9310A 6 Windows should find USB Test and Measurement Device. Select it and press Next. 7 The wizard will guide you through the rest of installation until the correct driver is installed. 8 Open the Keysight Connection Expert in your IO Libraies Suite.
  • Page 104: About Usb Interface

    Programming Fundamentals Remotely Operating Your N9310A About USB Interface A USB connection is typically easy to setup and very cost effective. The USB specification supports a wide variety of devices that range from lower- speed devices, such as keyboards and mice to higher- speed devices, such as digital camera and intelligent instruments.
  • Page 105: Getting Started With Scpi

    Programming Fundamentals Getting Started with SCPI Getting Started with SCPI Programming with SCPI (Standard Command of Programmable Instrument) requires familiarity wit the following: • Computer programming languages, such as C, C++, and Microsoft®Visual Basic®. • The language used to remotely control your instrument. The N9310A employs SCPI as its programming language.
  • Page 106: Common Terms Used In This Book

    Programming Fundamentals Getting Started with SCPI Common Terms used in this Book Terms Description Controller Any computer used to communicate with an instrument. A controller can be a personal computer (PC), a minicomputer, or a plug-in card in a card cage. Some intelligent instruments can also function as controllers.
  • Page 107: Command Categories

    Programming Fundamentals Getting Started with SCPI Command Categories The SCPI command falls into two categories: • Subsystem commands that simulate front panel keystrokes • Common commands that are unique and have no front panel equivalent Use a computer to control the signal generator (but operate the line power switch manually).
  • Page 108 Programming Fundamentals Getting Started with SCPI Command Many commands have both a long and a short form: use either Mnemonics one. (a combination of the two is not allowed).Consider the (keywords) :FREQuency command for example: • Short form :FREQ • Long form :FREQUENCY SCPI is not case sensitive, so fREquEncy is just as valid as FREQUENCY, but FREQ and FREQUENCY are the only valid forms of the FREQuency command.
  • Page 109 Programming Fundamentals Getting Started with SCPI Command Statement Rules Overview Besides the standard notation of SCPI described in previous page, SCPI uses the following rules: • Command statements read from left to right • Use either long form or short form of keywords, but do not use both •...
  • Page 110 Programming Fundamentals Getting Started with SCPI Example 2 :AMPLITUDE:CW -85 dBm In this example, the keyword long form is used. The command is correct and will not cause errors. It is equivalent to front panel key access Amplitude > – 85 > dBm Always enter the minus symbol with English language environment N O T E settled in your PC.
  • Page 111: Program And Response Messages

    Programming Fundamentals Getting Started with SCPI Program and Response Messages To understand how your instrument and controller communicate using SCPI, you must understand the concepts of program and response messages. Program Messages Program messages are the formatted data sent from the controller to the instrument.
  • Page 112: Subsystem Command Trees

    Programming Fundamentals Getting Started with SCPI Subsystem Command Trees Most programming tasks involve subsystem commands that are usually specified to simulate front panel keystrokes. SCPI uses a hierarchical structure for subsystem commands similar to the file system on most computers. In SCPI, this command structure is called a command tree.
  • Page 113: Ieee 488.2 Common Command

    Programming Fundamentals IEEE 488.2 common command IEEE 488.2 common command Common commands are generally not measurement related, but are used to manage macros, status registers, synchronization, and data storage. The common commands are defined by IEEE 488.2. All common commands begin with an asterisk. The following common commands are available in N9310A.
  • Page 114 Programming Fundamentals IEEE 488.2 common command...
  • Page 115: Subsystem Command Reference

    Subsystem Command Reference Subsystem Command Reference...
  • Page 116: Preparing For Use

    Subsystem Command Reference Preparing for Use Preparing for Use Subsystem commands include all measurement functions and some general- purpose functions. Subsystem Commands Overview Each of the following subsystems is a set of commands that broadly corresponds to a functional block of the instrument. “Frequency Subsystem”...
  • Page 117 Subsystem Command Reference Preparing for Use “Pulse Modulation Subsystem” on page 140 • Provides SCPI commands to configure a pulse modulation signal. “I/Q Modulation Subsystem” on page 142 • Provides SCPI command to configure the state of the I/Q modulation. “Utility Subsystem”...
  • Page 118 Subsystem Command Reference Preparing for Use Conventions used in Programming • Use "us" instead of "μs" in your coding when describing microsecond. • Always enter a minus symbol with English language environment settled in your PC. • The returned data of a query keeps to the following rules: •...
  • Page 119: Frequency Subsystem

    Subsystem Command Reference Frequency Subsystem Frequency Subsystem The frequency subsystem controls the settings and parameters associated with frequency. Continuous Wave (CW) Output Frequency :FREQuency:CW <val> <unit> :FREQuency:CW? This command sets the frequency of a CW signal. The query returns the current frequency of a CW signal. Range 9 kHz to 3 GHz Valid unit...
  • Page 120: Rf Start

    Subsystem Command Reference Frequency Subsystem RF Start :FREQuency:RF:STARt <val> <unit> :FREQuency:RF:STARt? This command sets the start frequency in an RF sweep. The start frequency should always be lower than stop frequency in an RF sweep. The query returns the current start frequency. Range 9 kHz to 3 GHz Valid unit...
  • Page 121: Lf Start

    Subsystem Command Reference Frequency Subsystem LF Start :FREQuency:LF:STARt <val> <unit> :FREQuency:LF:STARt? This command sets the start frequency in an LF sweep. The start frequency should always be lower than the stop frequency in an LF sweep. The query returns the current start frequency. Range 20 Hz to 80 kHz Valid unit...
  • Page 122: Step Scale

    Subsystem Command Reference Frequency Subsystem Step Scale :FREQuency:RF:SCALe LOG|LIN :FREQuency:RF:SCALe? This command toggles the scale of an RF sweep between logarithmic and linear. The LOG scale is NOT applicable to amplitude sweep or LF sweep. The query returns the current scale. Range LOG, LIN *RST value...
  • Page 123: Amplitude Subsystem

    Subsystem Command Reference Amplitude Subsystem Amplitude Subsystem The amplitude subsystem controls the settings and parameters associated with amplitude. Continuous Wave Output Amplitude :AMPLitude:CW <val> <unit> :AMPLitude:CW? This command sets the amplitude of CW output. The query returns the current amplitude of CW output. Range and –127 to +13 dBm, (+20 dBm settable) unit...
  • Page 124 Subsystem Command Reference Amplitude Subsystem Amplitude Start :AMPLitude:STARt <val> <unit> :AMPLitude:STARt? This command sets the start amplitude in an amplitude sweep. The start amplitude should always be lower than the stop amplitude in an amplitude sweep. The query returns the current start amplitude. Range –127 to +13 dBm Valid unit...
  • Page 125: Trigger Subsystem

    Subsystem Command Reference Trigger Subsystem Trigger Subsystem The trigger subsystem controls the settings and parameters associated with triggering a sweep. Immediate Trigger :TRIGger:IMMediate This command has no effect unless sweep is armed. It has Trigger an equivalent function to the hardkey in activating an armed sweep.
  • Page 126: Sweep Subsystem

    Subsystem Command Reference Sweep Subsystem Sweep Subsystem The sweep subsystem controls the settings and parameters associated with an RF/LF/Amplitude/RF&Ampl sweep. To make an RF/amplitude sweep available at the RF OUT connector, make N O T E sure you enable RF output. See“RF Output State Subsystem”...
  • Page 127: Lf Sweep State

    Subsystem Command Reference Sweep Subsystem LF Sweep State :SWEep:LF:STATe ON|OFF|1|0 :SWEep:LF:STATe? This command initiates your signal generator to sweep in a different manner, according to the sweep trigger or point trigger settings: • If the sweep trigger and point trigger are both set to IMMediate , sending the following command initiates an LF sweep immediately:...
  • Page 128: Amplitude Sweep State

    Subsystem Command Reference Sweep Subsystem Amplitude Sweep State :SWEep:AMPLitude:STATe ON|OFF|1|0 :SWEep:AMPLitude:STATe? This command initiates your signal generator to sweep in a different manner, according to the sweep trigger or point trigger settings: • If the sweep trigger and point trigger are set to IMMediate , sending the command “:SWEep:AMPLitude:STATe ON”...
  • Page 129: Rf Start

    Subsystem Command Reference Sweep Subsystem RF Start :SWEep:RF:STARt <val> <unit> :SWEep:RF:STARt? This command sets the start frequency in an RF sweep. The start frequency should always be lower than the stop frequency in an RF sweep. The query returns the current start frequency. Range 9 kHz to 3 GHz Valid unit...
  • Page 130: Lf Start

    Subsystem Command Reference Sweep Subsystem LF Start :SWEep:LF:STARt <val> <unit> :SWEep:LF:STARt? This command sets the start frequency in an LF sweep. The start frequency should always be lower than the stop frequency in an LF sweep. The query returns the current start frequency. Range 20 Hz to 80 kHz Valid unit...
  • Page 131: Amplitude Start

    Subsystem Command Reference Sweep Subsystem Amplitude Start :SWEep:AMPLitude:STARt <val> <unit> :SWEep:AMPLitude:STARt? This command sets the start amplitude in an amplitude sweep. The start amplitude should always be lower than the stop amplitude in an amplitude sweep. The query returns the current start amplitude. Range and unit –127 to +13 dBm Valid unit...
  • Page 132: Step Points

    Subsystem Command Reference Sweep Subsystem Step Points :SWEep:STEP:POINts <val> :SWEep:STEP:POINts? This command defines the number of points in a step sweep. A step sweep must always have a minimum of two points and can be configured to have as many as 1001 points. The query returns the current number of points.
  • Page 133: Sweep Type

    Subsystem Command Reference Sweep Subsystem Sweep Type :SWEep:TYPE STEP|LIST :SWEep:TYPE? This command toggles the sweep type between step and list. The query returns the current sweep type. Range STEP/LIST *RST value STEP Returned data STEP, LIST Front panel access Sweep > Sweep Type List Power State :LIST:POWer:STATe ON|OFF|1|0 :LIST:POWer:STATe?
  • Page 134: List Dwell

    Subsystem Command Reference Sweep Subsystem List Dwell :LIST:DWELl <val> <unit> :LIST:DWELl? This command sets the dwell time for the current list sweep point. The query returns the current list sweep point’s dwell time. Range 10 ms to 1s Valid unit s, ms Minimum increment 0.1 ms...
  • Page 135: List Amplitude

    Subsystem Command Reference Sweep Subsystem List Amplitude :LIST:Amplitude <val> <unit> :LIST:Amplitude? This command sets the amplitude value for the current list sweep point. The query returns the current list sweep point’s amplitude value. Range and unit –127 to +13 dBm Valid unit Minimum increment 0.1 dB...
  • Page 136: List Amplitude Points

    Subsystem Command Reference Sweep Subsystem List Amplitude Points :LIST:AMPLitude:POINts? The query returns the number of amplitude points in the current list sweep file. List Row Goto :LIST:ROW:GOTO <val> :LIST:ROW:GOTO? This command sets the list to the specified row. The query returns the current row number. Range 2 to 1001 *RST value...
  • Page 137: List Row Delete

    Subsystem Command Reference Sweep Subsystem List Row Delete :LIST:ROW:DELete <val> This command deletes the specified row in the list table. Range 2 to 1001 *RST value Front panel access Sweep > List Sweep > Goto Row Sweep > List Sweep > Delete Row List Rows :LIST:ROWS? This query returns the number of the current row in the list...
  • Page 138: List Dwell Type

    Subsystem Command Reference Sweep Subsystem List Dwell Type :LIST:DWELl:TYPE STEP|LIST :LIST:DWELl:TYPE? This command toggles the dwell time type between step and list. The query returns the current list dwell type. Range STEP/LIST *RST value STEP Returned data STEP, LIST Front panel access Sweep >...
  • Page 139: Sweep Trigger

    Subsystem Command Reference Sweep Subsystem Sweep Trigger :SWEep:STRG IMMediate|KEY|EXT :SWEep:STRG? This command sets the sweep trigger mode to one of the following choices: • IMMediate - Selecting this mode immediately triggers signal generator to sweep from the first point to the final point in a sweep sequence automatically.
  • Page 140: Point Trigger

    Subsystem Command Reference Sweep Subsystem source. If you have NOT select EXT or you preset the signal generator, the query returns “NA”. Range EXTN, EXTP *RST value Returned data EXTN, EXTP, NA Front panel access Sweep > Sweep Trigger > Trigger In Neg/Pos Point Trigger :SWEep:PTRG IMMediate|KEY|EXT :SWEep:PTRG?
  • Page 141: External Point Trigger Slope

    Subsystem Command Reference Sweep Subsystem External Point Trigger Slope :SWEep:PTRG:SLOPe EXTN|EXTP :SWEep:PTRG:SLOPe? This command toggles the slope of external trigger source between negative ( EXTN ) and positive ( EXTP ). This command is valid only when an external trigger source is properly connected and enabled.
  • Page 142: Am Subsystem

    Subsystem Command Reference AM Subsystem AM Subsystem The AM subsystem controls the settings and parameters associated with amplitude modulated signal. AM State :AM:STATe ON|OFF|1|0 :AM:STATe? This command toggles the AM state between ON and OFF. However, applying an amplitude modulation to the RF carrier requires you also set MOD on.
  • Page 143: Am Depth

    Subsystem Command Reference AM Subsystem AM Depth :AM:DEPTh <val> :AM:DEPTh? This command sets the amplitude modulation depth. The query returns the current AM depth. Range 0 to 100 Minimum increment *RST value 0.0 % Returned data <val> Front panel access AM >...
  • Page 144: Am Source

    Subsystem Command Reference AM Subsystem AM Source :AM:SOURce INT|EXT|INT+EXT :AM:SOURce? This command sets the AM source to one of the three choices: internal source, external source or combined internal and external source. The query returns the current AM source. Range INT, EXT, INT+EXT *RST value Returned data...
  • Page 145: Fm Subsystem

    Subsystem Command Reference FM Subsystem FM Subsystem The FM subsystem controls the settings and parameters associated with frequency modulated signal. FM State :FM:STATe ON|OFF|1|0 :FM:STATe? This command toggles the FM state between ON and OFF. However, applying a frequency modulation to the RF carrier requires you also set MOD on.
  • Page 146: Fm Deviation

    Subsystem Command Reference FM Subsystem FM Deviation :FM:DEViation <val> <unit> :FM:DEViation? This command sets the FM deviation. The query returns the current FM deviation. Range 20 Hz to 100 kHz Valid unit kHz, Hz Minimum increment 1 Hz *RST value 20 Hz Returned data format <val>...
  • Page 147: Fm Source

    Subsystem Command Reference FM Subsystem FM Source :FM:SOURce INT|EXT|INT+EXT :FM:SOURce? This command sets the FM source to one of the three choices: internal source, external source or combined internal and external source. The query returns the current FM source. Range INT, EXT, INT+EXT *RST value Returned data format...
  • Page 148: Phase Modulation Subsystem

    Subsystem Command Reference Phase Modulation Subsystem Phase Modulation Subsystem The phase modulation (FM) subsystem controls the settings and parameters associated with phase modulated signal. FM State :PM:STATe ON|OFF|1|0 :PM:STATe? This command toggles the FM state between ON and OFF. However, applying a phase modulation to the RF carrier “Modulation State requires you also set MOD on.
  • Page 149 Subsystem Command Reference Phase Modulation Subsystem FM Deviation :PM:DEViation <val> <unit> :PM:DEViation? This command sets the ΦM deviation. Choices for the variables <val> depend on ΦM rate. The query returns the current ΦM deviation. Range 0 to 10 rad (300 Hz < ΦM rate < 10 kHz) 0 to 5 rad (10 kHz <...
  • Page 150: Pulse Modulation Subsystem

    Subsystem Command Reference Pulse Modulation Subsystem Pulse Modulation Subsystem The phase modulation (FM) subsystem controls the settings and parameters associated with phase modulated signal. Pulse Modulation State :PULM:STATe ON|OFF|1|0 :PULM:STATe? This command toggles the pulse modulation state between ON and OFF. The query returns the current pulse modulation state.
  • Page 151 Subsystem Command Reference Pulse Modulation Subsystem Pulse Period :PULM:WIDTh <val> <unit> :PULM:WIDTh? This command sets the pulse period of the internally generated pulse modulation signal. The query returns the current pulse period of the internal pulse source. Range 200 ms to 2s Valid unit s, ms, us Minimum increment...
  • Page 152: I/Q Modulation Subsystem

    Subsystem Command Reference I/Q Modulation Subsystem I/Q Modulation Subsystem The I/Q modulation subsystem controls I/Q modulation. Enable I/Q Modulation :IQ:STATe ON|OFF|1|0 :IQ:STATe? This command toggles the externally generated I/Q modulation state between ON and OFF. The external I/Q signal must meet the following restrictions, before you enable the I/Q modulation: •...
  • Page 153: Utility Subsystem

    Subsystem Command Reference Utility Subsystem Utility Subsystem The commands of the utility subsystem control the settings and parameters associated with the signal generator’s system configurations. Display Style :SYSTem:DISPlay WHITE|BLUE|GREEN :SYSTem:DISPlay? This command sets the display style to any of the following three choices: classic white, modern blue or jade green.
  • Page 154: Screen Saver

    Subsystem Command Reference Utility Subsystem Screen Saver :SYSTem:SSAVer ON|OFF|1|0 :SYSTem:SSAVer? This command toggles the screen saver between On and Off. If you set the screen saver On, the signal generator turns off its screen after standing by for 15 minutes. Pressing Local hardkey turns on screen but also returns the signal generator to Local Control.
  • Page 155: System Time

    Subsystem Command Reference Utility Subsystem System Time :SYSTem:TIME <hour><minute> :SYSTem:TIME? This command sets time on the signal generator. Do NOT put a space or comma between the variables <hour><minute>. The query returns the current time in the signal generator. Range •...
  • Page 156: Phase Noise Mode

    Subsystem Command Reference Utility Subsystem Phase Noise Mode :SYSTem:PNMD NORMAL|RESFM :SYSTem:PNMD? This command sets the phase noise mode to either normal mode or optimized residual FM mode (RESFM). Range NORMAL, RESFM *RST value NORMAL Returned data NORMAL, RESFM Front panel access Utility >...
  • Page 157: Modulation State Subsystem

    Subsystem Command Reference Modulation State Subsystem Modulation State Subsystem :MOD:STATe ON|OFF|1|0 :MOD:STATe? This command enables or disables the modulator. The query returns the current modulator state. Range ON(1), OFF(0) *RST value Returned data 1, 0 Front panel access MOD On/Off...
  • Page 158: Rf Output State Subsystem

    Subsystem Command Reference RF Output State Subsystem RF Output State Subsystem :RFOutput:STATe ON|OFF|1|0 :RFOutput:STATe? This command enables or disables the RF output. The query returns the current RF output state. Range ON(1), OFF(0) *RST value Returned data 1, 0 Front panel access RF On/Off...
  • Page 159: Lf Output Subsystem

    Subsystem Command Reference LF Output Subsystem LF Output Subsystem The low frequency (LF) subsystem controls the settings and parameters of an LF output signal. LF Output State :LFOutput:STATe ON|OFF|1|0 :LFOutput:STATe? This command enables or disables the LF signal output. The query returns the current state of LF output signal. Range ON(1), OFF(0) *RST value...
  • Page 160 Subsystem Command Reference LF Output Subsystem LF Output Frequency :LFOutput:FREQuency <val> <unit> :LFOutput:FREQuency? This command sets the LF output frequency. The query returns the current LF signal frequency. Range 20 Hz to 80 kHz Valid unit kHz, Hz Resolution 0.1 Hz *RST value 1.0000 kHz Returned data format...
  • Page 161: Subsystem Command Trees

    Subsystem Command Reference Subsystem Command Trees Subsystem Command Trees Subsystem command trees help you to understand command syntax and the hierarchal structure of each command in a subsystem. Symbols used in Command Trees Symbol Caption Utility Colon Separates different level keywords Space Separates parameters from keywords and also separates parameters from their units...
  • Page 162: Frequency Subsystem

    Subsystem Command Reference Subsystem Command Trees Frequency Subsystem :FREQuency value unit STARt? unit value STARt STOP? STOP value unit STARt? unit value STARt STOP? value STOP unit SCALe? SCALe LIN|LOG...
  • Page 163: Amplitude Subsystem

    Subsystem Command Reference Subsystem Command Trees Amplitude Subsystem :AMPLitude unit value STARt? value unit STARt STOP? STOP value unit Trigger Subsystem :TRIGger IMMediate SSWP LF Output Subsystem STATe? STATee ON|OFF|1|0 FREQuency? value unit FREQuency AMPLitude? value unit AMPLitude...
  • Page 164: Sweep Subsystem

    Subsystem Command Reference Subsystem Command Trees Sweep Subsystem :SWEep STATe? ON|OFF|1|0 STATe STATe? STATe ON|OFF|1|0 AMPLitude STATe? ON|OFF|1|0 STATe STARt? STARt value unit STOP? STOP value unit STARt? value STARt unit STOP? STOP value unit AMPLitude STARt? value STARt unit STOP? STOP value...
  • Page 165 Subsystem Command Reference Subsystem Command Trees DIRection? DIRection UP|DOWN STEP POINts? value POINts DWELl? unit value DWELl STRG? STRG IMMediate|EXT|KEY STRG SLOPe? EXTN|EXTP SLOPe PTRG? IMMediate|EXT|KEY PTRG PTRG SLOPe? SLOPe EXTN|EXTP...
  • Page 166: Am Subsystem

    Subsystem Command Reference Subsystem Command Trees AM Subsystem STATe? ON|OFF|1|0 STATe DEPTh? DEPTh value RATE? unit RATE value SOURce? SOURce INT|EXT|INT+EXT EXTCoupling? EXTCoupling AC|DC...
  • Page 167: Fm Subsystem

    Subsystem Command Reference Subsystem Command Trees FM Subsystem STATe? ON|OFF|1|0 STATe DEViation? value DEViation RATE? RATE value unit SOURce? SOURce INT|EXT|INT+EXT EXTCoupling? EXTCoupling AC|DC...
  • Page 168: Phase Modulation Subsystem

    Subsystem Command Reference Subsystem Command Trees Phase Modulation Subsystem STATe? ON|OFF|1|0 STATe DEViation? value DEViation RATE? RATE value unit EXTCoupling? EXTCoupling AC|DC Pulse Modulation Subsystem :PULM STATe? STATe ON|OFF|1|0 SOURce? SOURce INT|EXT PERiod? value unit PERiod WIDTh? unit value WIDTh...
  • Page 169: I/Q Modulation Subsystem

    Subsystem Command Reference Subsystem Command Trees I/Q Modulation Subsystem STATe? STATe ON|OFF|1|0 Modulation State Subsystem STATe? :MOD ON|OFF|1|0 STATe RF Output State Subsystem :RFOutput STATe? ON|OFF|1|0 STATe...
  • Page 170: Utility Subsystem

    Subsystem Command Reference Subsystem Command Trees Utility Subsystem DISPlay? :SYSTem DISPlay WHITE|BLUE|GREEN SSAVer? ON|OFF|1|0 SSAVer ERRor? DATE? DATE YYYYMMDD TIME? HHMM TIME REFerence? INT10MHZ|EXT2MHZ|EXT5MHZ|EXT10MHZ REFerence PNMD? PNMD NORMAL|RESFM...
  • Page 171: Programming Examples

    Subsystem Command Reference Programming Examples Programming Examples The programming examples in this section keep to the following 3 conventions: • The programming examples were written for use on an IBM compatible PC. • The programming examples use USB interface • The programming examples are written in C programming language and SCPI programming commands, using Keysight VISA transition library (Keysight VTL).
  • Page 172: Programming In C Using The Vtl

    Subsystem Command Reference Programming Examples Programming in C using the VTL This section includes basic information about programming in the C language using Keysight VISA transition library (VTL). Note that some of this information may not be relevant to your particular application. For example, if you are not using VXI instruments, the VXI references will not be relevant.
  • Page 173 Subsystem Command Reference Programming Examples This function establishes a communication viOpen channel with the device specified. A session identifier that can be used with other VTL functions is returned. This call must be made for each device you will be using. viOpenDefaultRM(&sesn) viOpen(sesn, rsrcName, accessMode, timeout, &vi)
  • Page 174: Example 1 - Checking Usb Connection

    Subsystem Command Reference Programming Examples Example 1 - Checking USB Connection Usually, using “*IDN?” verifies the data transferring between the controller PC and the instrument. **************************************************** #include "visa.h" #include <studio.h> #define BufferSize 128 static Vistatus status; static ViSession defaultRM; static ViSession inst_N9310A; static ViUInt32 rcount;...
  • Page 175 Subsystem Command Reference Programming Examples Programming Comments Thread Relevant code Include the visa.h header file at #include “visa.h” the beginning of every file that contains VTL function calls. Open a session on the default viOpenDefaultRM (&defaultRM) resource manager first, and then viOpen (defaultRM, for the device you will be using.
  • Page 176: Example 2 - Generating A Cw Signal

    Subsystem Command Reference Programming Examples Example 2 - Generating a CW signal Assume you wish to generate a CW signal with a frequency of 1 GHz and an amplitude of –10 dBm. ************************************************** int main(void) status = viOpenDefaultRM (&defaultRM); if (status != VI_SUCCESS) return –1; status = viOpen (defaultRM, “USB0::2391::8216::0115000001::0::INSTR”, VI_NULL, VI_NULL, &INST_N9310A);...
  • Page 177 Subsystem Command Reference Programming Examples Programming Comments Thread Relevant code Open a session on the viOpenDefaultRM (&defaultRM) default resource manager viOpen (defaultRM, first, and then for the “USB0::2391::8216::0115000001::0::INSTR”, device you will be using. VI_NULL, VI_NULL, &inst_N9310A) Preset the signal viWrite (inst_N9310A, “*RST\n”, generator StringLength(“*RST\N”), &rcount) Set the frequency and...
  • Page 178: Example 3 - Generating An Am Signal

    Subsystem Command Reference Programming Examples Example 3 - Generating an AM Signal Assume you wish to generate an AM signal, with the following characters: • AM depth = 80 % • AM rate = 10 kHz • AM source = internal source •...
  • Page 179 Subsystem Command Reference Programming Examples status = viWrite (inst_N9310A, “RFO:STAT ON\n”, StringLength(“RFO:STAT:ON”\n, &rcount); /* Close session. */ status = viClose (inst_N9310A); status = viClose (defaultRM) return 1; Programming Comments Thread Relevant code Open a session on the viOpenDefaultRM (&defaultRM) default resource manager viOpen (defaultRM, first, and then for the “USB0::2391::8216::0115000001::0::INSTR”,...
  • Page 180: Example 4 - Generating An Continuous Rf Sweep

    Subsystem Command Reference Programming Examples Example 4 - Generating an continuous RF Sweep Assume you wish to initiate an RF sweep, with the following characters: • RF sweeps from 1 GHz to 2 GHz • Sweeps across 90 points linearly •...
  • Page 181 Subsystem Command Reference Programming Examples status = viWrite (inst_N9310A, “SWE:RF:STAT ON\n”, StringLength(“SWE:RF:STAT ON\n”), &rcount); /* Close session. */ status = viClose (inst_N9310A); status = viClose (defaultRM); return 1; Programming Comments Thread Relevant code Open a session on the viOpenDefaultRM (&defaultRM) default resource manager viOpen (defaultRM, first, and then for the...
  • Page 182 Subsystem Command Reference Programming Examples...
  • Page 183: Instrument Messages

    Instrument Messages Instrument Messages...
  • Page 184: Overview

    Instrument Messages Overview Overview The instrument messages include system messages and error messages. System messages If an improper operation occurs during the instrument configuration, a system message displays in the text area of the screen, indicating the incident and the how the signal generator corrected the setting automatically.
  • Page 185: Command Errors

    Instrument Messages Command Errors Command Errors The messages listed below are command errors, which are > Error Info to read or saved into local registers. Press Utility delete them. -100 Command error; An unrecognized command or data type was encountered. This message is used when the device cannot detect more specifics described for errors - 101 to - 109.
  • Page 186 Instrument Messages Command Errors -111 Header separator error; A character that is not a legal header separator was encountered while parsing the header. -112 Program mnemonic too long; The header contains more than 12 characters. -113 Undefined header; The header is correct in syntax, but it is undefined for this device.
  • Page 187 Instrument Messages Command Errors -131 Invalid suffix; The suffix does not follow the syntax described in IEEE 488.2, or the suffix is inappropriate for the device. -134 Suffix too long; The suffix contained more than 12 characters. -138 Suffix not allowed; A suffix was encountered after a numeric element which does not allow suffixes.
  • Page 188: Execution Conflict

    Instrument Messages Execution Conflict Execution Conflict The system messages listed below are execution conflicts, indicating settings conflict during your operation. These messages will be cleared from the screen by the signal generator automatically 30 seconds later since they were generated. -221 Setting conflict;...
  • Page 189: System Errors

    Instrument Messages System Errors System Errors -310 System error; write file error. An attempt to write to a file has failed. -310 System error; Recall file error. Error encountered while loading system files. -310 System error; Error detecting USB peripheral device. Error encountered while attempt to detecting USB peripheral device.
  • Page 190: Hardware Errors

    Instrument Messages Hard ware Errors Hardware Errors Mother board +15 V power supply failed. Mother board -15 V power supply failed. Mother board +24 V power supply failed. Mother board +5 V power supply failed. Digital board +5 V power supply failed. Digital board +15 V power supply failed.
  • Page 191: Supplementary Information

    Supplementary Information Supplementary Information This Chapter contains information on instrument troubleshooting, service, and SCPI commands.
  • Page 192: Check The Basics

    Supplementary Information Check the Basics Check the Basics When having difficulties with the signal generator, check its functionality using the following steps: • Is there AC power at the power connector? • Is the signal generator turned on? Listen for internal fan noise to determine if the cooling fan is running.
  • Page 193: Read The Warranty

    Supplementary Information Read the warranty Read the warranty Keysight technologies provides a one year standard warranty. The warranty information for the signal generator is in the back of your Technical Overview. Please read it and become familiar with its terms. If the signal generator is covered by a separate maintenance agreement, please check it and be familiar with its terms.
  • Page 194: Contact Keysight Technologies

    Supplementary Information Contact Keysight Technologies Contact Keysight Technologies Keysight Technologies has offices around the world to provide you with complete support for your source. To obtain servicing information or to order replacement parts, contact the Keysight Technologies customer contact center listed below.
  • Page 195: List Of Commands

    Supplementary Information List of Commands List of Commands SCPI Command Page # page 109 :FREQuency:CW <val> <unit> :FREQuency:CW? page 110 :FREQuency:RF:STARt <val> <unit> :FREQuency:RF:STARt? page 110 :FREQuency:RF:STOP <val> <unit> :FREQuency:RF:STOP? page 111 :FREQuency:LF:STARt <val> <unit> :FREQuency:LF:STARt? page 111 :FREQuency:LF:STOP <val> <unit> :FREQuency:LF:STOP? page 112 :FREQuency:RF:SCALe LOG|LIN...
  • Page 196 Supplementary Information List of Commands SCPI Command Page # page 119 :SWEep:RF:STARt <val> <unit> :SWEep:RF:STARt? page 120 :SWEep:LF:STARt <val> <unit> :SWEep:LF:STARt? page 119 :SWEep:RF:STOP <val> <unit> :SWEep:RF:STOP? page 120 :SWEep:LF:STOP <val> <unit> :SWEep:LF:STOP? page 121 :SWEep:AMPLitude:STARt <val> <unit> :SWEep:AMPLitude:STARt? page 121 :SWEep:AMPLitude:STOP <val>...
  • Page 197 Supplementary Information List of Commands SCPI Command Page # page 133 :AM:DEPTh <val> :AM:DEPTh? page 133 :AM:RATE <val> <unit> :AM:RATE? page 134 :AM:SOURce INT|EXT|INT+EXT :AM:SOURce? page 134 :AM:EXTCoupling AC|DC :AM:EXTCoupling? page 135 :FM:STATe ON|OFF|1|0 :FM:STATe? page 136 :FM:DEViation <val> <unit> :FM:DEViation? page 136 :FM:RATE <val>...
  • Page 198 Supplementary Information List of Commands SCPI Command Page # page 141 :PULM:WIDTh <val> <unit> :PULM:WIDTh? page 142 :IQ:STATe ON|OFF|1|0 :IQ:STATe? page 143 :SYSTem:DISPlay WHITE|BLUE|GREEN :SYSTem:DISPlay? page 143 :SYSTem:ERRor? page 144 :SYSTem:SSAVer ON|OFF|1|0 :SYSTem:SSAVer? page 144 :SYSTem:DATE <year><month><day> :SYSTem:DATE? page 145 :SYSTem:TIME <hour><minute>...
  • Page 199: Index

    Index Numerics continuous wave, CSA mark, 001,option, hardkeys c-tick mark, 1CM,option, Preset, 1TC,option, data, I/Q, decimal point, AC power cord annunciator, display, connection, example, display style, localization, generate, screen saver, instruction manual, annunciator, instrument state, depth, IO libraries suite, example, enable option, ISM1-A, generate,...
  • Page 200 standby, 6, symbols, Phase generate, phase, on/off, text area, Phase example, TFT, power on, TRIG IN, power switch, trigger pulse, point, deviation, sweep, example, generate, on/off, update, period, USB Device Connectors, rate, source, width, ventilation, PULSE MOD IN, VGA connector, rack mount, warranty, rear panel overview,...
  • Page 202 This information is subject to change without notice. © Keysight Technologies 2006-2014 Edition 3 June 2014 N9310-90001 www.keysight.com...

Table of Contents