Programming Guide Agilent Technologies ESG Family Signal Generators Serial Number Prefixes (Affix Label Here) Part Number E4400-90324 Printed in USA April 2002 Supersedes June 2001 © Copyright 1999-2002 Agilent Technologies, Inc.
ii
Contents 1. Preparing for Use Setting up the Equipment for Remote Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2 Programming the Signal Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-9 Overview of Serial Interface (RS-232) Programming. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-10 Transferring Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents 3. Remote Data Transfer ARB Waveform Data Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 User File Data Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12 FIR Filter Coefficient Data Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-23 Data Downloads Directly into Pattern RAM . . . . . . . . . . . . . . . . . . . . . . . . . . .
ESG Family Signal Generators 1 Preparing for Use This chapter explains how to set up the equipment for remote programming of the signal generator, the GPIB and RS-232 capabilities of the signal generator, and provides a program for an operational check of remote programming functionality. Instruction is also provided for programming the signal generator using GPIB command statements and the SCPI language.
Preparing for Use Setting up the Equipment for Remote Operation ESG Family Signal Generators Setting up the Equipment for Remote Operation The signal generator can be remotely controlled using either the general purpose interface bus (GPIB) or a serial connection to the rear-panel RS-232 auxiliary interface connector. GPIB Overview GPIB is a high-performance bus that allows individual instruments and computers to be combined into integrated test systems.
ESG Family Signal Generators Preparing for Use Setting up the Equipment for Remote Operation Table 1-2 Required Equipment for HP Series 700 Workstations Running HP-UX Interface Card Operating System I/O Library HP E2071C HP-UX SICL/VISA HP E2070C HP-UX SICL/VISA Languages Backplane Max I/O (kB/sec) Buffering ANSI C, HP VEE, HP BASIC EISA 750 Built-in ANSI C, HP VEE, HP BASIC EISA 230 None Table 1-3 GPIB Cables Model HP 10833A HP 10833B HP 10833C HP 10833D Length 1 meter 2 meter
Preparing for Use Setting up the Equipment for Remote Operation ESG Family Signal Generators GPIB Interconnecting Cables The GPIB connector enables you to connect the signal generator to any other instrument or device on the interface bus. A GPIB connector and cable are shown in Figure 1-1. The codes next to the connector describe the GPIB electrical capabilities of the signal generator, using IEEE Std.
ESG Family Signal Generators Preparing for Use Setting up the Equipment for Remote Operation You can connect as many as 14 instruments to the signal generator via GPIB (15 total instruments in the system). The cables can be interconnected in a star pattern (one central instrument, with the GPIB cables emanating from that instrument like spokes on a wheel), or in a linear pattern (like boxcars on a train), or any combination pattern.
Preparing for Use Setting up the Equipment for Remote Operation ESG Family Signal Generators Verifying GPIB Programming Functionality This program verifies that the GPIB connections and interface are functional. With the equipment set up as described in the previous section, clear and reset the controller.
ESG Family Signal Generators Preparing for Use Setting up the Equipment for Remote Operation Serial Interface (RS–232) Overview You can also control the signal generator using the rear-panel serial RS-232 serial port (labeled AUXILIARY INTERFACE). All of the functionality provided by GPIB is available using the rear-panel serial interface, except for indefinite blocks, serial polling, GET, non-SCPI remote languages, and remote mode.
Preparing for Use Setting up the Equipment for Remote Operation ESG Family Signal Generators Connecting the Interface 1. Attach the male end of the RS-232 cable to the signal generator’s rear-panel AUXILIARY INTERFACE connector. 2. Attach the female end of the RS-232 cable to the null modem. 3. Using a 5-mm nut driver, remove both standoffs from the female-to-female adapter. 4. Connect one end of the modified adapter to the null modem and the other end to the selected port on the computer.
ESG Family Signal Generators Preparing for Use Programming the Signal Generator Programming the Signal Generator The signal generator can be controlled entirely by a computer (although the line power switch must be operated manually). Several functions are possible only by remote control.
Preparing for Use Overview of Serial Interface (RS-232) Programming ESG Family Signal Generators Overview of Serial Interface (RS-232) Programming Serial interface programming techniques are similar to most general I/O applications. The interface card is initialized by use of CONTROL statements; STATUS statements evaluate its readiness for use. Data is transferred between the desktop computer and a peripheral device by OUTPUT and ENTER statements.
ESG Family Signal Generators Preparing for Use Overview of Serial Interface (RS-232) Programming Serial Configuration for BASIC/UX There is no capability in BASIC/UX for reading the hardware bit settings on either the HP 98626 or HP 98644 Serial Interface cards. Therefore, BASIC/UX provides two methods for configuring modem control options: • The stty command from the HP-UX environment. • The keyword CONTROL and registers directly related to the modem control options.
Preparing for Use Overview of Serial Interface (RS-232) Programming ESG Family Signal Generators Configuring a Serial Interface for BASIC/UX To configure your serial interface with the values mentioned in the previous section, you can execute the following HP-UX command before entering BASIC/UX: /bin/stty 9600 cs8 -cstopb < /dev/rmb/serialnn where: 9600 is the baud rate.
ESG Family Signal Generators Preparing for Use Overview of Serial Interface (RS-232) Programming Selecting the Baud Rate In order to successfully transfer information between the interface card and a peripheral, the interface and peripheral must be set to the same baud rate.
Preparing for Use Transferring Data ESG Family Signal Generators Transferring Data The serial interface card is designed for relatively simple serial I/O operations. It is not intended for sophisticated applications that use ON INTR statements to service the interface. Entering and Outputting Data When the interface is properly configured, either by use of default switches or CONTROL statements, you are ready to begin data transfers.
ESG Family Signal Generators Preparing for Use Transferring Data Modem Line Handshaking Modem line handshaking, when used, is performed automatically by the computer as part of the OUTPUT or ENTER operation. If the modem line states have not been latched in a fixed state by Control Register, the following sequence of events is executed automatically during each OUTPUT or ENTER operation: For OUTPUT operations: 1. Set Data Terminal Ready and Request-to-Send modem lines to active state. 2.
Preparing for Use Transferring Data ESG Family Signal Generators Incoming Data Error Detection and Handling (BASIC/WS only) The serial interface card can generate several errors that are caused when certain conditions are encountered while receiving data from the peripheral device. The UART detects a given error condition. The card then generates a pending error to BASIC. Errors can be generated by any of the following conditions: • Parity error.
ESG Family Signal Generators Preparing for Use GPIB Instrument Nomenclature GPIB Instrument Nomenclature An instrument that is part of an GPIB network is categorized as a listener, talker, or controller, depending on its current function in the network. Listener A listener is a device capable of receiving data or commands from other instruments. Any number of instruments in the GPIB network can be listeners simultaneously.
Preparing for Use GPIB Command Statements ESG Family Signal Generators GPIB Command Statements Command statements form the nucleus of GPIB programming; they are understood by all instruments in the network. When combined with the programming language codes, they provide all management and data communication instructions for the system. An explanation of the fundamental command statements follows.
ESG Family Signal Generators Preparing for Use GPIB Command Statements Remote REMOTE causes an instrument to change from local control to remote control. In remote control, the front panel keys are disabled except for the Local key and the line power switch. The syntax is: Figure 1-3. Remote Command Syntax where the device selector is the address of the instrument appended to the GPIB port number.
Preparing for Use GPIB Command Statements ESG Family Signal Generators Local Lockout LOCAL LOCKOUT can be used with REMOTE to disable the front panel Local key. With the Local key disabled, only the controller (or a hard reset by the line power switch) can restore local control. The syntax is: Figure 1-4. Local Lockout Command Syntax A BASIC Example 10 REMOTE 719 20 LOCAL LOCKOUT 7 Local LOCAL is the complement to REMOTE, causing an instrument to return to local control with a fully enabled front panel.
ESG Family Signal Generators Preparing for Use GPIB Command Statements Clear CLEAR causes all GPIB instruments, or addressed instruments, to assume a cleared condition. The definition of clear is unique for each instrument. For the signal generator: 1. All pending output-parameter operations are halted. 2. The parser (the software that interprets the programming codes) is reset and now expects to receive the first character of a programming code. 3.
Preparing for Use GPIB Command Statements ESG Family Signal Generators Output OUTPUT is used to send function commands and data commands from the controller to the addressed instrument. The syntax is: Figure 1-7. Output Command Syntax where USING is a secondary command that formats the output in a particular way, such as a binary or ASCII representation of numbers.
ESG Family Signal Generators Preparing for Use GPIB Command Statements Enter ENTER is the complement of OUTPUT and is used to transfer data from the addressed instrument to the controller. The syntax is: Figure 1-8. Enter Command Syntax ENTER is nearly always used in conjunction with OUTPUT. Some BASIC Examples 100 OUTPUT 719, "...programming codes..." 110 ENTER 719; "...response data..." ENTER statements are commonly formatted, requiring the secondary command USING and the appropriate image items.
Preparing for Use GPIB Command Statements ESG Family Signal Generators The suppression of the EOI sequence is frequently necessary to prevent a premature termination of the data input. When not specified, the typical EOI termination occurs when an ASCII LF (line feed) is received. However the LF bit pattern could coincidentally occur randomly in a long string of binary data, where it might cause a false termination.
ESG Family Signal Generators Preparing for Use Getting Started with SCPI Getting Started with SCPI This section describes the use of the Standard Commands for Programmable Instruments language (SCPI). This section explains how to use SCPI commands in general. For a list of the specific SCPI commands available in the signal generator, refer to Chapter 2 and Chapter 3. Understanding Common Terms The following terms are used throughout the remainder of this chapter.
Preparing for Use Getting Started with SCPI ESG Family Signal Generators Standard Notation This section uses several forms of notation that have specific meaning: Command Mnemonics Angle Brackets Many commands have both a long and a short form and you must use either one or the other (SCPI does not accept a combination of the two). Consider the FREQuency command, for example. The short form is FREQ and the long form is FREQUENCY.
ESG Family Signal Generators Preparing for Use Getting Started with SCPI Response Examples Response examples look like this: 3.000000000000E+009 These are the characters you would read from an instrument after sending a query command. To actually pull them from the instrument into the controller, use the input statement appropriate to your application programming language. If you have problems, study the details of how the input statement operates.
Preparing for Use Getting Started with SCPI ESG Family Signal Generators Types of Commands Commands can be separated into two groups, common commands and subsystem commands. Common commands are generally not measurement related. They are used to manage macros, status registers, synchronization, and data storage. Common commands are easy to recognize because they all begin with an asterisk, such as *IDN?, *OPC, and *RST. Common commands are defined by IEEE 488.2.
ESG Family Signal Generators Preparing for Use Getting Started with SCPI Subsystem Command Trees Command Tree Structure Most programming tasks involve subsystem commands. SCPI uses a hierarchical structure for subsystem commands similar to the file systems on most computers. In SCPI, this command structure is called a command tree. Figure 1-10. A Simplified Command Tree In the command tree shown above, the command closest to the top is the root command, or simply “the root.
Preparing for Use Getting Started with SCPI ESG Family Signal Generators Colon When a colon is placed between two command mnemonics, it moves the current path down one level in the command tree. For example, the colon in MEAS:VOLT specifies that VOLT is one level below MEAS. When the colon is the first character of a command, it specifies that the next command mnemonic is a root level command. For example, the colon in :INIT specifies that INIT is a root level command.
ESG Family Signal Generators Preparing for Use Getting Started with SCPI Figure 1-11. Proper Use of the Colon and Semicolon Examples of how to use the colon and semicolon to navigate efficiently through the command tree are shown in Figure 1-11. Notice how proper use of the semicolon can reduce the amount of information that must be sent over the interface.
Preparing for Use Getting Started with SCPI ESG Family Signal Generators More About Commands Query and Event Commands You can query any value that you can set. For example, the presence of the signal generator FREQuency:OFFSet command implies that a FREQuency:OFFSet? also exists. If you see a command ending with a question mark, it is a query-only command. Some commands are events and cannot be queried.
ESG Family Signal Generators Preparing for Use Getting Started with SCPI Program Message Examples The following parts of the signal generator SCPI command set will be used to demonstrate how to create complete SCPI program messages: :FREQuency :POWER Example 1 “FREQuency:STARt 500 MHz; STOP 1000 MHz” The command is correct and will not cause errors.
Preparing for Use Getting Started with SCPI ESG Family Signal Generators Reading Instrument Errors When debugging a program, you may want to know if an instrument error has occurred. The signal generator can display error messages on their front panel displays. If your system includes an instrument that does not have this capability, you can put the following code segment in your program to read error messages and print them on the controller’s display.
ESG Family Signal Generators Preparing for Use Getting Started with SCPI Details of Commands and Responses This section describes the syntax of SCPI commands and responses. It provides many examples of the data types used for command parameters and response data. Program Message Syntax These program messages contain commands combined with appropriate punctuation and program message terminators. Figure 1-12.
Preparing for Use Getting Started with SCPI ESG Family Signal Generators SCPI Subsystem Command Syntax Figure 1-13. SCPI Simplified Subsystem Command Syntax There must be a between the last command mnemonic and the first parameter in a subsystem command as shown in Figure 1-13. This is one of the few places in SCPI where is required. Note that if you send more than one parameter with a single command, you must separate adjacent parameters with a comma.
ESG Family Signal Generators Preparing for Use Getting Started with SCPI Response Message Syntax Figure 1-15. Simplified Response Message Syntax Response messages can contain both commas and semicolons as separators. When a single query command returns multiple values, a comma separates each data item. When multiple queries are sent in the same message, the groups of data items corresponding to each query are separated by a semicolon.
Preparing for Use Getting Started with SCPI ESG Family Signal Generators Each parameter type has one or more corresponding response data types. For example, a setting that you program using a numeric parameter returns either real or integer response data when queried. Whether real or integer response data is returned depends on the instrument used. However, precise talking requires that the response data type be clearly defined for a particular instrument and query.
ESG Family Signal Generators Preparing for Use Getting Started with SCPI Examples of extended numeric parameters: 100. any simple numeric values −1.23 4.56e3 −7.89E−01 +256 .5 MAX largest valid setting MIN valid setting nearest negative infinity −100 mV negative 100 millivolts Discrete Parameters Use discrete parameters to program settings that have a finite number of values. Discrete parameters use mnemonics to represent each valid setting.
Preparing for Use Getting Started with SCPI ESG Family Signal Generators Boolean Parameters Boolean parameters represent a single binary condition that is either true or false. There are only four possible representations for a Boolean parameter: ON Boolean true, upper/lower case allowed OFF Boolean false, upper/lower case allowed 1 Boolean true 0 Boolean false Block Parameters A data block contains the data of primary interest.
ESG Family Signal Generators Preparing for Use Getting Started with SCPI Integer Response Data Integer response data are decimal representations of integer values including optional signs. Most status register related queries return integer response data. Examples of integer response data: 0 signs are optional +100 leading + sign allowed −100 leading sign allowed 256 never any decimal point Discrete Response Data Discrete response data are similar to discrete parameters.
Preparing for Use Programming the Status Register System ESG Family Signal Generators Programming the Status Register System The signal generator’s instrument status system provides complete IEEE 488.2 Device Standard data structures for reporting instrument status using the register model. The IEEE 488.2 register model of the status system is comprised of multiple registers which are arranged in a hierarchical order.
ESG Family Signal Generators Preparing for Use Programming the Status Register System Figure 1-16.
Preparing for Use Programming the Status Register System ESG Family Signal Generators Status Byte Group Figure 1-17.
ESG Family Signal Generators Preparing for Use Programming the Status Register System The Status Byte Group consists of the Status Byte Register and the Service Request Enable Register. The Status Byte Register contains the following bits: Figure 1-18. Bit Description 0, 1 These bits are always set to 0. 2 A 1 in this bit position indicates that the SCPI error queue is not empty. The SCPI error queue contains at least one error message.
Preparing for Use Programming the Status Register System ESG Family Signal Generators To query the Status Byte Register, send the command *STB? The response will be the decimal sum of the bits which are set to 1. For example, if bit number 7 and bit number 3 are set to 1, the decimal sum of the 2 bits is 128 plus 8. So the decimal value 136 is returned. In addition to the Status Byte Register, the Status Byte Group also contains a Service Request Enable Register.
ESG Family Signal Generators Positive Transition Filter Event Register Event Enable Register Preparing for Use Programming the Status Register System A positive transition filter specifies the bits in the condition register that will set corresponding bits in the event register when the condition bit changes from 0 to 1. An event register latches transition events from the condition register as specified by the positive and negative transition filters.
Preparing for Use Programming the Status Register System ESG Family Signal Generators Standard Event Status Group Figure 1-20.
ESG Family Signal Generators Preparing for Use Programming the Status Register System The Standard Event Status Group is used to determine the specific event that set bit 5 in the Status Byte Register. The Standard Event Status Group consists of the Standard Event Status Register (an event register) and the Standard Event Status Enable Register. The Standard Event Status Register contains the following bits: Figure 1-21.
Preparing for Use Programming the Status Register System ESG Family Signal Generators To query the Standard Event Status Register, send the command *ESR?. The response will be the decimal sum of the bits which are set to 1. For example, if bit number 7 and bit number 3 are set to 1, the decimal sum of the 2 bits is 128 plus 8. So the decimal value 136 is returned. Figure 1-22.
ESG Family Signal Generators Preparing for Use Programming the Status Register System Standard Operation Status Group Figure 1-23. The Standard Operation Status Group The Standard Operation Status Group is used to determine the specific event that set bit 7 in the Status Byte Register.
Preparing for Use Programming the Status Register System ESG Family Signal Generators Figure 1-24. Bit 0 1, 2 A 1 in this bit position indicates that an I/Q calibration is being performed. Unused. These bits are always set to 0. 3 A 1 in this bit position indicates that a sweep is in progress. 4 A 1 in this bit position indicates that a bit error rate test is in progress (Options UN7 and 300 only).
ESG Family Signal Generators Preparing for Use Programming the Status Register System The Standard Operation Condition Register continuously monitors the hardware and firmware status of the instrument. Condition registers are read-only. To query the condition register, send the command STATus:OPERation:CONDition? The response will be the decimal sum of the bits which are set to 1. For example, if bit number 9 and bit number 3 are set to 1, the decimal sum of the 2 bits is 512 plus 8.
Preparing for Use Programming the Status Register System ESG Family Signal Generators Data Questionable Status Group Figure 1-26.
ESG Family Signal Generators Preparing for Use Programming the Status Register System The Data Questionable Status Group is used to determine the specific event that set bit 3 in the Status Byte Register. The Data Questionable Status Group consists of the Data Questionable Condition Register, the Data Questionable Negative Transition Filter, the Data Questionable Positive Transition Filter, the Data Questionable Event Register, and the Data Questionable Event Enable Register.
Preparing for Use Programming the Status Register System Bit ESG Family Signal Generators Description 8 This is a summary bit taken from the QUEStionable:CALibration register. A 1 in this bit position indicates that one of the following may have happened: an error has occurred in the DCFM/DCΦM zero calibration or an error has occurred in the I/Q calibration. See the Data Questionable Calibration Status Group for more information.
ESG Family Signal Generators Preparing for Use Programming the Status Register System Figure 1-28. The Data Questionable Status Group also contains a Data Questionable Event Enable Register. This register lets you choose which bits in the Data Questionable Event Register will set the summary bit (bit 3 of the Status Byte Register) to 1. Send the STATus:QUEStionable:ENABle command where is the sum of the decimal values of the bits you want to enable.
Preparing for Use Programming the Status Register System ESG Family Signal Generators Data Questionable Power Status Group Figure 1-29. The Data Questionable Power Status Group The Data Questionable Power Status Group is used to determine the specific event that set bit 3 in the Data Questionable Condition Register.
ESG Family Signal Generators Preparing for Use Programming the Status Register System Figure 1-30. Bit Description 0 A 1 in this bit indicates that the reverse power protection circuit has been tripped. There is no output in this state. Any conditions that may have caused reverse power should be corrected. After correcting the problem, the RPP circuit can be reset by sending the remote SCPI command statement :OUTput:PROTection:CLEar or by pressing the Reset RPP softkey on the front panel.
Preparing for Use Programming the Status Register System ESG Family Signal Generators The Data Questionable Power Event Register latches transition events from the condition register as specified by the transition filters. Event registers are destructive read-only. Reading data from an event register will clear the content of that register. To query the event register, send the command STATus:QUEStionable:POWer[:EVENt]? Figure 1-31.
ESG Family Signal Generators Preparing for Use Programming the Status Register System Data Questionable Frequency Status Group Figure 1-32. Data Questionable Frequency Status Group The Data Questionable Frequency Status Group is used to determine the specific event that set bit 5 in the Data Questionable Condition Register.
Preparing for Use Programming the Status Register System ESG Family Signal Generators Figure 1-33. Bit Description 0 A 1 in this bit indicates that the synthesizer is unlocked. 1 A 1 in this bit indicates that the 10 MHz reference signal is unlocked. 2 A 1 in this bit indicates that the 1 GHz reference signal is unlocked. 3 A 1 in this bit indicates that the baseband data clock synthesizer is unlocked. 4 A 1 in this bit indicates that the ARB is unlocked.
ESG Family Signal Generators Preparing for Use Programming the Status Register System The Data Questionable Frequency Event Register latches transition events from the condition register as specified by the transition filters. Event registers are destructive read-only. Reading data from an event register will clear the content of that register. To query the event register, send the command STATus:QUEStionable:FREQuency[:EVENt]? Figure 1-34.
Preparing for Use Programming the Status Register System ESG Family Signal Generators Data Questionable Modulation Status Group Figure 1-35.
ESG Family Signal Generators Preparing for Use Programming the Status Register System The Data Questionable Modulation Status Group is used to determine the specific event that set bit 7 in the Data Questionable Condition Register.
Preparing for Use Programming the Status Register System ESG Family Signal Generators The transition filter specifies which types of bit state changes in the condition register will set corresponding bits in the event register. The changes may be positive (from 0 to 1) or negative (from 1 to 0).
ESG Family Signal Generators Preparing for Use Programming the Status Register System Data Questionable Calibration Status Group Figure 1-38.
Preparing for Use Programming the Status Register System ESG Family Signal Generators The Data Questionable Calibration Status Group is used to determine the specific event that set bit 8 in the Data Questionable Condition Register.
ESG Family Signal Generators Preparing for Use Programming the Status Register System The Data Questionable Calibration Event Register latches transition events from the condition register as specified by the transition filters. Event registers are destructive read-only. Reading data from an event register will clear the content of that register. To query the event register, send the command STATus:QUEStionable:CALibration[:EVENt]? Figure 1-40.
Preparing for Use Programming the Status Register System ESG Family Signal Generators Data Questionable BERT Status Group Figure 1-41. Data Questionable BERT Status Group The Data Questionable BERT Status Group is used for Options UN7 and 300 only. If your signal generator is not equipped with Options UN7 or 300, all of the bits in this group are set to 0.
ESG Family Signal Generators Preparing for Use Programming the Status Register System The Data Questionable BERT Status Group is used to determine the specific event that set bit 12 in the Data Questionable Condition Register.
Preparing for Use Programming the Status Register System ESG Family Signal Generators The Data Questionable BERT Condition Register continuously monitors the bit error rate tests (BERT) status of the instrument with Options UN7 or 300. Condition registers are read-only. To query the condition register, send the command STATus:QUEStionable:BERT:CONDition? The response will be the decimal sum of the bits which are set to 1.
ESG Family Signal Generators Preparing for Use Advanced Programming Information Advanced Programming Information This section provides advanced programming information for applications requiring special techniques. Sending BREAK Messages A BREAK is a special character transmission that usually indicates a change in operating conditions. Interpretation of break messages varies with the application.
Preparing for Use Advanced Programming Information ESG Family Signal Generators Programming the DRS Modem Line Bit 2 of Control Register 5 controls the present state of the Data Rate Select (DRS). When bit 2 is set, the modem line is activated. When bit 2 is cleared, the modem line is cleared. To set the DRS line, the following statement or its equivalent can be used: CONTROL Sc,5;4 ! Sets the DRS line.
ESG Family Signal Generators 2 Programming Commands and Examples This chapter describes each of the SCPI commands alphabetically, by subsystem. The descriptions include syntax requirements, ranges, restrictions, and status at *RST. Several example programs are also provided to help you understand how the general SCPI concepts presented in Chapter 1 apply to programming real measurements. Also included is information on the creation, transfer, and application of user files.
Programming Commands and Examples Command Syntax ESG Family Signal Generators Command Syntax Following the heading for each programming command entry is a syntax statement showing the proper syntax for the command. An example syntax statement is shown here: POWer[:LEVel] MAXimum|MIN Syntax statements read from left to right. In this example, the :LEVel portion of the statement immediately follows the POWer portion of the statement with no separating space.
ESG Family Signal Generators Programming Commands and Examples IEEE 488.2 Common Commands IEEE 488.2 Common Commands Common commands are generally not measurement related, but are used to manage macros, status registers, synchronization, and data storage. All common commands begin with an asterisk. The common commands are defined by IEEE 488.2.
Programming Commands and Examples IEEE 488.2 Common Commands ESG Family Signal Generators *OPC? (Operation Complete) *OPC? This queries bit 0 in the standard event status register. The signal generator will return an ASCII ‘1’ when all pending operations have finished. *RCL (Recall) *RCL , The *RCL , command recalls the instrument state from the specified memory register of the specified sequence .
ESG Family Signal Generators Programming Commands and Examples IEEE 488.2 Common Commands *TRG (Trigger) *TRG This command triggers the device if, and only if, Bus Triggering is the type of trigger event selected. Otherwise, *TRG is ignored.
Programming Commands and Examples Subsystem Commands ESG Family Signal Generators Subsystem Commands Subsystem commands include all measurement functions and some general purpose functions. Subsystem commands are distinguished by the colon used between keywords, as in AM:SOURce. Each subsystem is a set of commands that roughly corresponds to a functional block of the instrument.
ESG Family Signal Generators Programming Commands and Examples :AM Subsystem :AM Subsystem The amplitude modulation subsystem is used to set the modulation controls and the parameters associated with amplitude modulated signals. Amplitude Modulation Source :AM[1]|2:SOURce INT[1]|EXT1|EXT2 :AM[1]|2:SOURce? This command sets the source that will generate the amplitude modulation. The choices are Internal Source 1, External Source 1, or External Source 2.
Programming Commands and Examples :AM Subsystem ESG Family Signal Generators *RST Value: Off Amplitude Modulation Depth :AM[1]|2[:DEPTh] :AM[1]|2[:DEPTh]? This command sets the depth of amplitude modulation. This command is used to set the amplitude modulation depth, in percent, for the AM Path 1 and AM Path 2 configurations. The choices for the variables and may range from 0.1 PCT to 100 PCT.
ESG Family Signal Generators Programming Commands and Examples :AM Subsystem source, the signal generator would turn off FM Path 1 and assign the external 1 source to your AM Path 2 configuration. *RST Value: DC Internal Amplitude Modulation Alternate Frequency :AM[1]|2:INTernal[1]:FREQuency:ALTernate :AM[1]|2:INTernal:FREQuency:ALTernate? This command sets the frequency for the alternate signal.
Programming Commands and Examples :AM Subsystem ESG Family Signal Generators Internal Amplitude Modulation Sweep Trigger :AM[1]|2:INTernal[1]:SWEep:TRIGger IMMediate|BUS|EXTernal|KEY :AM[1]|2:INTernal:SWEep:TRIGger? This command selects the trigger for the amplitude modulation sweep.
ESG Family Signal Generators Programming Commands and Examples :AM Subsystem Using the command :AM[1]|2:INTernal[1]:FUNCtion:SHAPe SWEPtsine allows you to set the swept-sine amplitude modulation waveform for the AM Path 1 and AM Path 2 configurations. In this mode you can set the start and stop AM rate and the sweep time. You can set the signal generator to a single, externally-triggered sweep on either a negative or positive TTL level or you can choose continuous sweep, triggered immediately.
Programming Commands and Examples :CALibration Subsystem ESG Family Signal Generators :CALibration Subsystem The calibration subsystem is used to set the controls and the parameters associated with instrument calibration. DCFM/DCΦM Calibration :CALibration:DCFM There is no query for this command. This command initiates a DCFM or DCΦM calibration (depending on which kind of modulation is currently active) and stores the results in the instrument’s firmware.
ESG Family Signal Generators Programming Commands and Examples :CALibration Subsystem I/Q Calibration :CALibration:IQ There is no query for this command. This command sets and performs an I/Q calibration and stores the results in the instrument’s firmware. There are no initial values associated with this command. I/Q Calibration Start Frequency :CALibration:IQ:STARt :CALibration:IQ:STARt? This command sets the start frequency for an I/Q calibration.
Programming Commands and Examples :COMMunicate Subsystem ESG Family Signal Generators :COMMunicate Subsystem The communicate subsystem is used to set the controls and the parameters associated with serial system communication. GPIB Address :SYSTem:COMMunicate:GPIB:ADDRess :SYSTem:COMMunicate:GPIB:ADDRess? This command sets the source’s GPIB address. The choices for the variable are integers 0 through 30. This is a persistent state set to 19 at the factory.
ESG Family Signal Generators Programming Commands and Examples :COMMunicate Subsystem • With IBFull or RFR, when the receive buffer of the instrument is near overflow, the RTS line is turned off. • With RFR or IBFull, the instrument monitors the state of the CTS line, and if it goes false discontinues transmitting over RS-232. This setting is not compatible with the optional remote interface box. This is a persistent state set to ON at the factory.
Programming Commands and Examples :DIAGnostic Subsystem ESG Family Signal Generators :DIAGnostic Subsystem The diagnostic subsystem is used to set the controls and the parameters associated with instrument operational and tracking data. Attenuator Cycle Information :DIAGnostic[:CPU]:INFOrmation:CCOunt:ATTenuator? This query returns the number of times that the attenuator has been switched.
ESG Family Signal Generators Programming Commands and Examples :DIAGnostic Subsystem Instrument Firmware Information :DIAGnostic:INFOrmation:SDATe? This query returns the instrument’s firmware revision date. Instrument Time-On Information :DIAGnostic[:CPU]:INFOrmation:OTIMe? This query returns the number of hours that the source has had its line power activated.
Programming Commands and Examples :DISPlay Subsystem ESG Family Signal Generators :DISPlay Subsystem The display subsystem is used to set the controls and the parameters associated with the signal source’s LCD display. Display Amplitude Units :DISPlay:ANNotation:AMPLitude:UNIT DBM|DBUV|DBUVEMF|V|VEMF :DISPlay:ANNotation:AMPLitude:UNIT? This command sets amplitude units of the signal generator front panel display.
ESG Family Signal Generators Programming Commands and Examples :DM and :BURSt Subsystems (ESG-D and ESG-DP Series) :DM and :BURSt Subsystems (ESG-D and ESG-DP Series) These digital modulation subsystems are used to set the I/Q modulation controls and the I/Q parameters associated with I/Q modulated signals. Burst Envelope State :BURSt:STATe ON|OFF|1|0 :BURSt:STATe? This command enables/disables the burst envelope. The choices are On (1) or Off (0).
Programming Commands and Examples :DM and :BURSt Subsystems (ESG-D and ESG-DP Series) ESG Family Signal Generators External ALC Bandwidth Configuration :DM:EXternal:ALC:BWIDth|BANDwidth NORMal|NARRow :DM:EXternal:ALC:BWIDth|BANDwidth? This command is used to toggle between ALC normal and narrow bandwidth modes. The choices are Normal or Narrow.
ESG Family Signal Generators Programming Commands and Examples :DM and :BURSt Subsystems (ESG-D and ESG-DP Series) I/Q Gain Ratio Adjustment :DM:IQADjustment:GAIN :DM:IQADjustment:GAIN? This command is used to set the I/Q gain ratio in dB, by which I gain exceeds Q gain. Choices for the variables and range from −4.0 to +4.0 dB. *RST Value: 0.
Programming Commands and Examples :FM Subsystem ESG Family Signal Generators :FM Subsystem The frequency modulation subsystem is used to set the modulation controls and the parameters associated with frequency modulated signals. External Frequency Modulation Source Coupling :FM[1]|2:EXTernal[1]|2:COUPling AC|DC :FM[1]|2:EXTernal[1]|2:COUPling? This command sets the external coupling for the frequency modulation source. The choices are AC or DC coupling.
ESG Family Signal Generators Programming Commands and Examples :FM Subsystem For example, if you choose a carrier frequency of 400 MHz, multiply 0.5 times 10 MHz. This results in a 5 MHz maximum peak deviation. Notice that the new value of FM deviation applies only to whichever FM path configuration you have currently selected. Also, whenever FM Path 1 is used with FM Path 2, the deviation for FM Path 1 must be greater than or equal to the deviation for FM Path 2. *RST Value: 1.
Programming Commands and Examples :FM Subsystem ESG Family Signal Generators Frequency Modulation State :FM[1]|2:STATe ON|OFF|1|0 :FM[1]|2:STATe? This command toggles the frequency modulation on or off for whichever FM path configuration (FM Path 1 or FM Path 2) you have selected. The choices are On (1) or Off (0). Notice, however that although you can turn on frequency modulation with this command, the RF carrier is modulated by the enabled modulation only when you have also set Mod On/Off to On.
ESG Family Signal Generators Programming Commands and Examples :FM Subsystem Internal Frequency Modulation Source Rate :FM[1]|2:INTernal[1]:FREQuency :FM[1]|2:INTernal:FREQuency? This command sets the internal modulation frequency for the FM Path 1 and FM Path 2 configurations. The current value for FM rate is displayed in the active entry area. The range of values allowed is 0.1 Hz to 10 kHz. (0.1 Hz to 50 kHz is the range allowed if sinewave is selected as the internal waveform.
Programming Commands and Examples :FM Subsystem ESG Family Signal Generators Using the command :FM[1]|2:INTernal[1]:FUNCtion:SHAPe SQUARe lets you specify square as the amplitude modulation waveform for the FM Path 1 and FM Path 2 configurations. Notice that the selected waveform applies only to whichever FM path configuration you have currently selected.
ESG Family Signal Generators Programming Commands and Examples :FREQuency Subsystem :FREQuency Subsystem The frequency subsystem is used to set the controls and the parameters associated with carrier signal frequency. Continuous Wave Frequency :FREQuency[:CW] :FREQuency[:CW]? :FREQuency:FIXed :FREQuency:FIXed? This command sets the signal generator’s CW output frequency.
Programming Commands and Examples :FREQuency Subsystem ESG Family Signal Generators Frequency Multiplier :FREQuency:MULTiplier :FREQuency:MULTiplier? This command sets the multiplier for the signal generator’s carrier frequency. The choices for the variable are integers between 1 and 50. You can multiply the frequency shown on the display without changing the frequency output at the RF OUTPUT connector (simulating the frequency at the output of a harmonic multiplier).
ESG Family Signal Generators Programming Commands and Examples :FREQuency Subsystem Frequency Reference :FREQuency:REFerence :FREQuency:REFerence? This command sets the current output frequency as a frequency reference value. The choices for the variable are frequencies between 0.0 Hz and the signal generator’s maximum specified output frequency. All frequency parameters are then set as relative to the reference value. *RST Value: 0.
Programming Commands and Examples :FREQuency Subsystem ESG Family Signal Generators Reference Oscillator Source State :ROSCillator:SOURCe:AUTO ON|OFF|1|0 :ROSCillator:SOURCe:AUTO? This command sets the signal generator’s capability of automatically selecting between the internal reference oscillator and an external reference oscillator to either on or off.
ESG Family Signal Generators Programming Commands and Examples :LFOutput Subsystem :LFOutput Subsystem The low frequency output subsystem is used to set the controls and the parameters associated with the low frequency output signals. Function Generator Pulse Period Configuration :LFOutput:FUNCtion:PERiod :LFOutput:FUNCtion:PERiod? This command sets the period for the internally-generated pulse modulation source.
Programming Commands and Examples :LFOutput Subsystem ESG Family Signal Generators Low Frequency Output, Alternate Frequency :LFOutput:FUNCtion:FREQuency:ALTernate :LFOutput:FUNCtion:FREQuency:ALTernate? This command sets the frequency for the alternate LF output signal when you have selected the function generator as the internal source. The alternate frequency is the second frequency of a dual-sine or the stop frequency of a swept-sine.
ESG Family Signal Generators Programming Commands and Examples :LFOutput Subsystem Low Frequency Output Source :LFOutput:SOURce INT[1]|FUNCtion :LFOutput:SOURce? This command sets the low frequency source. The choices are Internal or Function Generator. When set to Function Generator, you can select a frequency and shape in addition to selecting the amplitude for the signal that is output at the LF OUTPUT front panel connector.
Programming Commands and Examples :LIST Subsystem ESG Family Signal Generators :LIST Subsystem The list subsystem is used to set the controls and the parameters associated with frequency and/or power sweeps. Dwell List :LIST:DWELl {, } :LIST:DWELl? This command defines a list of dwell times. The list is stored in a file (DWEL_FILE) which is only reinitialized upon power-up preset.
ESG Family Signal Generators Programming Commands and Examples :LIST Subsystem List Direction :LIST:DIRection UP|DOWN :LIST:DIRection? This command sets the direction of execution of a list sweep. The choices are Up or Down. Choose UP to sweep from the first point in the list to the last point, or from the step sweep start frequency and amplitude to the stop frequency and amplitude. Choose DOWN to reverse the direction of the sweep.
Programming Commands and Examples :LIST Subsystem ESG Family Signal Generators Load List From Step Sweep :LIST:TYPE:LIST:INITialize:FSTep This command eliminates the existing sweep list data and replaces it with the step sweep data points. Manual Point :LIST:MANual :LIST:MANual? This command sets the current element used by the list mode. If list mode is controlling frequency and/or power then the indexed element in the respective list(s) will be used.
ESG Family Signal Generators Programming Commands and Examples :MEMory and :MMEMory Subsystems :MEMory and :MMEMory Subsystems The memory and mass memory subsystems are used to manage and access instrument memory and mass storage. All Memory Catalog :MEMory:CATalog[:ALL]? :MMEMory:CATalog[:ALL]? "" This command outputs all lists of the files in the specified memory subsystem “:” for memory :CATalogue.
Programming Commands and Examples :MEMory and :MMEMory Subsystems ESG Family Signal Generators The signal generator will return the two memory usage parameters and as many file listings as there are files in the directory list.
ESG Family Signal Generators Programming Commands and Examples :MEMory and :MMEMory Subsystems Bit Memory Catalog :MEMory:CATalog:BIT? This command outputs a list of the bit files in the “:” directory. The return data will be in the following form: ,{,} The signal generator will return the two memory usage parameters and as many file listings as there are files in the directory list.
Programming Commands and Examples :MEMory and :MMEMory Subsystems ESG Family Signal Generators Delete ARB File Types (Option UND only) :MEMory:DELete:CDMa|DMOD|DWCDma|FCDMa|FWCDma|MCDMa|MDMod|MDWCdma|MFCDma| MFWCdma|MTONe|RCDMa|RWCDma|SEQ|UWCDma :MMEMory:DELete:ARBI|NVARBI These commands will delete all the files related to the specific ARB file type command selected.
ESG Family Signal Generators Programming Commands and Examples :MEMory and :MMEMory Subsystems Delete Filename :MEMory:DELete[:NAME] "" :MMEMory:DELete[:NAME] This command clears the user file system of "" or . If any one of the deleted files are used by a mode that performs digital modulation, then the data type of that modulation will be changed to PN9. The variable represents. [:]"".
Programming Commands and Examples :MEMory and :MMEMory Subsystems ESG Family Signal Generators List Memory Catalog :MEMory:CATalog:LIST? This command outputs a list of sweep lists files in the “:” directory. The return data will be in the following form: ,{,} The signal generator will return the two memory usage parameters and as many file listings as there are files in the directory list.
ESG Family Signal Generators Programming Commands and Examples :MEMory and :MMEMory Subsystems The file types are: • I/Q - an I/Q file • FSK - an FSK file Rename File :MEMory:MOVE , :MMEMory:MOVE , This command renames the requested (highlighted) file in the memory catalog.
Programming Commands and Examples :OUTPut Subsystem ESG Family Signal Generators :OUTPut Subsystem The RF output subsystem is used to set the controls and the parameters associated with the signal generator’s RF output. RF Output Circuit Protection Clear :OUTPut:PROTection:CLEar There is no query for this command. This command resets the signal generator’s reverse power protection circuitry.
ESG Family Signal Generators Programming Commands and Examples :OUTPut Subsystem RF Output Modulation State :OUTPut:MODulation[:STATe] ON|OFF|1|0 :OUTPut:MODulation[:STATe]? This command sets the operating state of the signal generator’s RF output modulations you have enabled. The choices are On (1) or Off (0). All modulation types can be simultaneously enabled except FM with ΦM, AM with external burst source, and wideband AM with I/Q.
Programming Commands and Examples :PM Subsystem ESG Family Signal Generators :PM Subsystem The phase modulation subsystem is used to set the modulation controls and the parameters associated with phase modulated signals. Φ Modulation Bandwidth Configuration :PM[1]|2:BANDwidth|BWIDth NORMal|HIGH :PM[1]|2:BANDwidth|BWIDth? This command toggles between normal phase modulation mode and wideband phase modulation mode. The choices are Normal and Wideband.
ESG Family Signal Generators Programming Commands and Examples :PM Subsystem Table 2-3. Carrier Frequency Bands versus Value of N Carrier Frequency N 250 kHz to ≤249.999 MHz 1 > 249.999 MHz to ≤500 MHz 0.5 > 500 MHz to ≤1 GHz 1 > 1 GHz to ≤2 GHz 2 > 2 GHz to 4 GHz 4 *RST Value: 0.000 radians Φ Modulation Deviation Coupling :PM[1]|2[:DEViation]:TRACk ON|OFF|1|0 :PM[1]|2[:DEViation]:TRACk? This command allows the phase modulation deviation values on both path 1 and path 2 to track each other.
Programming Commands and Examples :PM Subsystem ESG Family Signal Generators External Φ Modulation Source Coupling :PM[1]|2:EXTernal[1]|2:COUPling AC|DC :PM[1]|2:EXTernal[1]|2:COUPling? This command sets the external coupling for the phase modulation source if :PM[1]|2:SOURCe was selected external. The choices are AC or DC coupling. This command does not change the currently active source, nor does it switch the current modulation on or off.
ESG Family Signal Generators Programming Commands and Examples :PM Subsystem Internal Φ Modulation Alternate Frequency :PM[1]|2:INTernal[1]:FREQuency:ALTernate :PM[1]|2:INTernal:FREQuency:ALTernate? This command sets the frequency for the alternate signal. The alternate frequency is the second frequency of a dual-sine or the stop frequency of a swept-sine. The choices for the variables and range from 0.1 kHz (minimum) to 50.0 kHz (maximum). *RST Value: 400.
Programming Commands and Examples :PM Subsystem ESG Family Signal Generators Internal Φ Modulation Waveform :PM[1]|2:INTernal[1]:FUNCtion:SHAPe SINE|TRIangle|SQUare|RAMP|NOISe| DUALsine|SWEPtsine :PM[1]|2:INTernal:FUNCtion:SHAPe? This command selects the modulation waveform of the internally generated signal. The choices are Sine, Triangle, Square, Ramp, Noise, Dual-sine, or Swept-sine.
ESG Family Signal Generators Programming Commands and Examples :POWer Subsystem :POWer Subsystem The RF power subsystem is used to set the controls and the parameters associated with the signal generator’s RF output amplitude. Alternate Amplitude Delta (Option UNA) :POWer:ALTernate:AMPLitude :POWer:ALTernate:AMPLitude? This command sets the delta value for the alternate amplitude.
Programming Commands and Examples :POWer Subsystem ESG Family Signal Generators Alternate Amplitude Trigger Source (Option UNA) :POWer:ALTernate:TRIGger[:SOURce] INTernal|EXTernal|MANual :POWer:ALTernate:TRIGger[:SOURce]? This command selects the alternate amplitude trigger source to be either internal, external, or manual. Internal triggering is only available with baseband generator options. With internal triggering, each timeslot is allowed to output power with assigned main or alternate amplitude.
ESG Family Signal Generators Programming Commands and Examples :POWer Subsystem RF Output Automatic Leveling Circuitry (ALC) Search State :POWer:ALC:SEARch ON|OFF|1|0|ONCE :POWer:ALC:SEARch? This command toggles between the auto and manual modes of power search mode. The choices are On (1) or Off (0). Power search is an internal calibration routine used to achieve calibrated output power when the ALC is off.
Programming Commands and Examples :POWer Subsystem ESG Family Signal Generators RF Output Level Amplitude Offset :POWer[:LEVel][:IMMediate]:OFFSet :POWer[:LEVel][:IMMediate]:OFFSet? This command sets a value for amplitude offset for the RF output power level. An amplitude offset changes the value shown in the amplitude area of the display but does not affect the absolute output power.
ESG Family Signal Generators Programming Commands and Examples :POWer Subsystem RF Output Reference Power State :POWer:REFerence:STATe ON|OFF|1|0 :POWer:REFerence:STATe? This command sets the operating state of the signal generator’s RF output reference. The choices are On (1) or Off (0). *RST Value: Off RF Output Start Power :POWer:STARt :POWer:STARt? This command sets the first operating power level in swept power applications. The choices for the variables and are −135.
Programming Commands and Examples :PULM Subsystem ESG Family Signal Generators :PULM Subsystem The pulse modulation subsystem is used to set the modulation controls and the parameters associated with pulse modulated signals. Fast Pulse Modulation State :PULM:FAST:STATe ON|OFF|1|0 :PULM:FAST:STATe? This command sets the operating state of fast pulse modulation. The choices are On (1) or Off (0).
ESG Family Signal Generators Programming Commands and Examples :PULM Subsystem Internal Pulse Modulation Source Rate :PULM:INTernal[1]:FREQuency :PULM:INTernal[1]:FREQuency? This command sets the rate of the internal squarewave pulse modulation source. The choices for the variables and range from 0.1 Hz (minimum) to 50 kHz (maximum) if the internal waveform is Sine wave. For all other waveforms, the maximum internal amplitude modulation rate is 10 kHz. *RST Value: 400.
Programming Commands and Examples :ROUTe Subsystem (Option UN8) ESG Family Signal Generators :ROUTe Subsystem (Option UN8) The route subsystem is used to set the parameters associated with signal polarity. 1 Burst Gate Input Polarity Configuration :ROUTe:HARDware:DGENerator:IPOLarity:BGATe POSitive|NEGative :ROUTe:HARDware:DGENerator:IPOLarity:BGATe? This command configures the polarity of the TTL input signal at the BURST GATE IN connector.
ESG Family Signal Generators Programming Commands and Examples :ROUTe Subsystem (Option UN8) Data Input Polarity Configuration :ROUTe:HARDware:DGENerator:IPOLarity:DATA POSitive|NEGative :ROUTe:HARDware:DGENerator:IPOLarity:DATA? This command configures the polarity of the TTL input signal at the DATA connector. POSitive refers to normal logic, while NEGative refers to inverted logic.
Programming Commands and Examples :ROUTe Subsystem (Option UN8) ESG Family Signal Generators Symbol Sync Output Polarity Configuration :ROUTe:HARDware:DGENerator:OPOLarity:SSYNc POSitive|NEGative :ROUTe:HARDware:DGENerator:OPOLarity:SSYNc? This command configures the polarity of the TTL output signal at the SYMBOL SYNC OUT connector. POSitive refers to normal logic, while NEGative refers to inverted logic.
ESG Family Signal Generators Programming Commands and Examples :STATus Subsystem :STATus Subsystem The IEEE status subsystem is used to set the controls and the parameters associated with status conditions within the signal generator. Status Preset :STATus:PRESet This command presets all transition filters, enable registers, and all error/event queue enable registers.
Programming Commands and Examples :STATus Subsystem ESG Family Signal Generators Data Questionable BERT Status Negative Transition Filter Register Enable :STATus:QUEStionable:BERT:NTRansition :STATus:QUEStionable:BERT:NTRansition? This command determines what bits in the Data Questionable BERT Status Group Condition Register will set the corresponding bit in the Data Questionable BERT Status Group Event Register when that bit has a negative transition (1 to 0).
ESG Family Signal Generators Programming Commands and Examples :STATus Subsystem Data Questionable Calibration Status Negative Transition Filter Register Enable :STATus:QUEStionable:CALibration:NTRansition :STATus:QUEStionable:CALibration:NTRansition? This command determines what bits in the Data Questionable Calibration Status Group Condition Register will set the corresponding bit in the Data Questionable Calibration Status Group Event Register when that bit has a negative transition (1 to 0).
Programming Commands and Examples :STATus Subsystem ESG Family Signal Generators Data Questionable Frequency Status Group Enable :STATus:QUEStionable:FREQuency:ENAble :STATus:QUEStionable:FREQuency:ENAble? This command determines what bits in the Data Questionable Frequency Status Group Event Register will set the Data Questionable Frequency Summary bit (bit 5) in the Data Questionable Status Group Condition Register.
ESG Family Signal Generators Programming Commands and Examples :STATus Subsystem Data Questionable Modulation Status Group Enable :STATus:QUEStionable:MODulation:ENABle :STATus:QUEStionable:MODulation:ENABle? This command determines what bits in the Data Questionable Modulation Status Group Event Register will set the Data Questionable Modulation Summary bit (bit 7) in the Data Questionable Status Group Condition Register.
Programming Commands and Examples :STATus Subsystem ESG Family Signal Generators Data Questionable Power Status Group Enable :STATus:QUEStionable:POWer:ENAble :STATus:QUEStionable:POWer:ENAble? This command determines what bits in the Data Questionable Power Status Group Event Register will set the Data Questionable Power Summary bit (bit 3) in the Data Questionable Status Group Condition Register. The variable is the sum of the decimal values of the bits you want to enable.
ESG Family Signal Generators Programming Commands and Examples :STATus Subsystem Data Questionable Status Group Event Register Query :STATus:QUEStionable[:EVENt]? This command returns the decimal value of the sum of the bits in the Data Questionable Event Register. For example, if the instrument has just been connected to line power and the Reference Oscillator Oven (ESG-AP, ESG-DP, and Option 1E5 only) is cold (bit 4), then a value of 16 is returned.
Programming Commands and Examples :STATus Subsystem ESG Family Signal Generators Standard Operation Status Group Negative Transition Filter Register Enable :STATus:OPERation:NTRansition :STATus:OPERation:NTRansition? This command determines what bits in the Standard Operation Status Group Event Register will set the corresponding bit in the Standard Operation Status Group Event Register when that bit has a negative transition (1 to 0).
ESG Family Signal Generators Programming Commands and Examples :SWEep Subsystem :SWEep Subsystem The sweep subsystem is used to set the controls and the parameters associated with a frequency and/or power sweep. Sweep Dwell :SWEep:DWELl :SWEep:DWELl? This command sets the dwell time for each point in a sweep. The choices for the variable are 0.001 seconds to 60 seconds in 1 ms increments. Dwell time is used when the point trigger is Immediate.
Programming Commands and Examples :SYSTem Subsystem ESG Family Signal Generators :SYSTem Subsystem The system subsystem is used to set the controls and the parameters associated with overall system communication. Error Information Query :SYSTem:ERRor[:NEXT]? This command queries the signal generator’s error queue. Help Mode :SYSTem:HELP:MODE SINGle|CONTinuous :SYSTem:HELP:MODE? This command sets the mode of the signal generator’s help function. The choices are Single and Continuous.
ESG Family Signal Generators Programming Commands and Examples :SYSTem Subsystem Power On/Preset Conditions :SYSTem:PON:TYPE PRESet|LAST :SYSTem:PON:TYPE? This command sets the defined instrument conditions after a power on. The choices are Preset (the factory preset conditions) or Last (the conditions at the time the instrument was powered down). This is a persistent state. There are no initial values. The instrument is initially shipped from the factory with this parameter set to Last.
Programming Commands and Examples :SYSTem Subsystem ESG Family Signal Generators Remote Language :SYSTem:LANGuage "SCPI"|"COMP"|"NADC"|"PDC"|"PHS"|"8648" :SYSTem:LANGuage? This command sets the remote language for the signal generator. The choices are SCPI, COMP, NADC, PDC, PHS, or 8648 compatible. COMP is for 8656/8657A/B compatibility. NADC is for 8657D compatibility. (Option UN8) PDC is for 8657D compatibility. (Option UN8) PHS is for 8657J compatibility.
ESG Family Signal Generators Programming Commands and Examples :SYSTem Subsystem Screen Saver Mode :SYSTem:SSAVer:MODE LIGHt|TEXT :SYSTem:SSAVer:MODE? This command toggles the screen saver mode the choices are Light Only and Light & Text. Screen saver mode is a persistent state; it is not affected by an instrument preset or by a power cycle. The signal generator is shipped from the factory with this parameter set to Light Only.
Programming Commands and Examples :TRIGger Subsystem ESG Family Signal Generators :TRIGger Subsystem The trigger subsystem is used to set the controls and the parameters associated with triggering a sweep in the signal generator. Abort :ABORt There is no query for this command. This command causes the sweep in progress to abort and reset, causes the bit error rate (BER) measurement in progress to abort and set the BER measurement state to Off.
ESG Family Signal Generators Programming Commands and Examples :TRIGger Subsystem Single Sweep :INITiate[:IMMediate][:ALL] There is no query for this command. This command initiates a single sweep if the sweep is on for either frequency or power, and the sweep is not already initiated. Trigger Output Polarity :TRIGger:OUTPut:POLarity POSitive|NEGative :TRIGger:OUTPut:POLarity? This command sets the polarity of the TTL signal present at the TRIGGER OUT connector. The choices are Positive and Negative.
Programming Commands and Examples Using the Example Programs ESG Family Signal Generators Using the Example Programs The example programs are interactive. They require active participation by the operator. To gain an understanding of the principles without following all of the instructions, read the “Program Comments” sections to follow the programmed activity. The GPIB select code is assumed to be preset to 7.
ESG Family Signal Generators Programming Commands and Examples GPIB Check, Example Program 1 GPIB Check, Example Program 1 Verify that the remote annunciator (R) is activated on the signal generator’s display. If it is not, verify that the signal generator’s address is set to 19 and that the interface cable is properly connected. If the controller display indicates an error message, it is possible that the program was typed incorrectly.
Programming Commands and Examples GPIB Check, Example Program 1 ESG Family Signal Generators Program Comments 10 to 150: Title and program description 160: Sets up a variable to contain the GPIB address of the source. 170: Places the signal generator into LOCAL mode. 180: Resets the signal generator’s parser and clears any pending output from the source. 190: Clears the controller’s display. 200: Sets the signal generator to a defined state. 210: Sets the signal generator to REMOTE mode.
ESG Family Signal Generators Programming Commands and Examples Local Lockout Demonstration, Example Program 2 Local Lockout Demonstration, Example Program 2 When the signal generator is in REMOTE mode, all the front panel keys are disabled except for the Local, , and keys. But, when the LOCAL LOCKOUT command is sent, the Local key also is disabled and only and are allowed.
Programming Commands and Examples Local Lockout Demonstration, Example Program 2 ESG Family Signal Generators 360 PRINT "Verify that all keys including ‘Local’ (except Contrast keys) have no effect." 370 PRINT 380 PRINT ".......... Press Continue" 390 PAUSE 400 PRINT 410 LOCAL 7 420 PRINT "Signal generator should now be in LOCAL mode." 430 PRINT 440 PRINT "Verify that the signal generator’s front-panel keyboard is functional." 450 PRINT 460 PRINT "Press RUN to start again.
ESG Family Signal Generators Programming Commands and Examples Using Queries, Example Program 3 Using Queries, Example Program 3 In this example, query commands are used with response data formats.
Programming Commands and Examples Using Queries, Example Program 3 ESG Family Signal Generators 400 OUTPUT Sig_gen;"*IDN?" 410 ENTER Sig_gen;C$ 420 PRINT 430 PRINT "This signal generator is a ";C$ 440 PRINT 450 OUTPUT Sig_gen;"SYST:COMM:GPIB:ADDR?" 460 ENTER Sig_gen;D$ 470 PRINT "The GPIB Address is ";D$ 480 PRINT 490 PRINT "Press the ‘Local’ key to return the instrument to LOCAL control" 500 PRINT "or 510 END Press RUN to start again.
ESG Family Signal Generators Programming Commands and Examples Using Queries, Example Program 3 350 to 390: Determines the on/off modulation state and displays the results on the controller’s display. 400: Queries the signal generator’s identity. 410: Enters the response into C$. The response will be a string that represents the signal generator’s model and options. 420 to 440: Prints the value of C$ (the signal generator’s model and options) on the computer’s display.
Programming Commands and Examples Generating a CW Signal, Example Program 4 ESG Family Signal Generators Generating a CW Signal, Example Program 4 In this example, a CW signal is generated at a frequency of 500 kHz with a power level of −2.1 dBm.
ESG Family Signal Generators Programming Commands and Examples Generating a CW Signal, Example Program 4 Program Comments 10 to 120: Title and program description 130: Assigns the signal generator’s GPIB address to a variable. 140: Places the signal generator into LOCAL mode. 150: Resets the signal generator’s parser and clears any pending output from the source. 160: Clears the controller’s display. 170: Sets the signal generator to a defined state for programming.
Programming Commands and Examples Generating an AC-Coupled External FM Signal, Example Program 5 ESG Family Signal Generators Generating an AC-Coupled External FM Signal, Example Program 5 In this example, an AC-coupled FM signal will be generated at a carrier frequency of 700 MHz with a power level of −25 dBm and a deviation of 20 kHz.
ESG Family Signal Generators Programming Commands and Examples Generating an AC-Coupled External FM Signal, Example Program 5 Program Comments 10 to 190: Title and program description 200: Assigns the signal generator’s GPIB address to a variable. 210: Places the signal generator into LOCAL mode. 220: Resets the signal generator’s parser and clears any pending output from the source. 230: Clears the controller’s display. 240: Sets the signal generator to a defined state.
Programming Commands and Examples Generating an AC-Coupled Internal FM Signal, Example Program 6 ESG Family Signal Generators Generating an AC-Coupled Internal FM Signal, Example Program 6 In this example, an AC-coupled internal FM signal will be generated at a carrier frequency of 900 MHz with a power level of −15 dBm. The FM rate will be 5 kHz and the peak deviation will be 100 kHz.
ESG Family Signal Generators Programming Commands and Examples Generating an AC-Coupled Internal FM Signal, Example Program 6 Program Comments 10 to 140: Title and program description 150: Assigns the signal generator’s GPIB address to a variable. 160: Places the signal generator into LOCAL mode. 170: Resets the signal generator’s parser and clears any pending output from the source. 180: Clears the controller’s display. 190: Sets the signal generator to a defined state for programming.
Programming Commands and Examples Generating a Step-Swept Signal, Example Program 7 ESG Family Signal Generators Generating a Step-Swept Signal, Example Program 7 In this example, the signal generator will be programmed to continuously step sweep a defined set of points from 500 MHz to 800 MHz and dwell 500 ms at each of the points. The signal generator will then be set to LOCAL mode to allow the user to make adjustments from the front panel.
ESG Family Signal Generators Programming Commands and Examples Generating a Step-Swept Signal, Example Program 7 380 PRINT "The signal generator is no longer in REMOTE." 390 PRINT 400 WAIT 3 410 PRINT "Press RUN to start again" 420 END Program Comments 10 to 150: Title and program description 160: Assigns the signal generator’s GPIB address to a variable. 170: Places the signal generator into LOCAL mode. 180: Resets the signal generator’s parser and clears any pending output from the source.
Programming Commands and Examples Generating an External DC-Coupled Pulse Modulated Signal, Example Program 8 ESG Family Signal Generators Generating an External DC-Coupled Pulse Modulated Signal, Example Program 8 In this example, a repetitive, externally-triggered, pulse-modulated signal will be generated at a carrier frequency of 5 MHz with a power level of −5 dBm. Connect an external pulse source to the EXT 2 INPUT on the signal generator and set the desired pulse characteristics.
ESG Family Signal Generators Programming Commands and Examples Generating an External DC-Coupled Pulse Modulated Signal, Example Program 8 Program Comments 10 to 160: Title and program description 170: Assigns the signal generator’s GPIB address to a variable. 180: Places the signal generator into LOCAL mode. 190: Resets the signal generator’s parser and clears any pending output from the source. 200: Clears the controller’s display.
Programming Commands and Examples Saving and Recalling States, Example Program 9 ESG Family Signal Generators Saving and Recalling States, Example Program 9 In this example, instrument settings are saved in the signal generator’s registers. These settings can then be recalled separately; either from the keyboard or from the source’s front panel.
ESG Family Signal Generators 410 Programming Commands and Examples Saving and Recalling States, Example Program 9 ! ********************************************** 420 Sig_out: ! 430 INPUT "ENTER the Register number to be RECALLED or ENTER 0 to exit.",Reg1 440 CLEAR SCREEN 450 IF Reg1=0 THEN 460 PRINT 470 PRINT "You have requested to exit the program 480 the program has been terminated.
Programming Commands and Examples Saving and Recalling States, Example Program 9 ESG Family Signal Generators 370: Waits one second. 380 to 390: Print a message on the computer’s display. 400: Sets the signal generator to a defined state for programming. 410: Program border 420 to 540: Subroutine: Sig_out. Assigns keyboard values to the program variable.
ESG Family Signal Generators Programming Commands and Examples Reading the Status Byte, Example Program 10 Reading the Status Byte, Example Program 10 The following example reads the source’s status byte and checks for certain conditions: in this case, an unleveled output condition and an undermodulated output condition are created, and the Status Byte Register is read by the program to determine the questionable condition. Unleveled or undermodulated conditions are easy to produce from the front panel.
Programming Commands and Examples Reading the Status Byte, Example Program 10 ESG Family Signal Generators 190 IF FNStat_con(Sig_gen,"BBG SYNTH UNLCK") THEN PRINT "Sig Gen BBG Synth Unlck" 200 !********************************************************************* 210 END 220 ! 230 ! 240 Stat_con:DEF FNStat_con(Sig_gen,Condition_name$) 250 SELECT Condition_name$ 260 CASE "MOD 1 UNDERMOD","MOD 1 OVERMOD","MOD 2 UNDERMOD","MOD 2 OVERMOD" 270 IF Condition_name$="MOD 1 UNDERMOD" THEN Bit_number=
ESG Family Signal Generators Programming Commands and Examples Reading the Status Byte, Example Program 10 Program Comments 10 to 50: Program title 60: Assigns the signal generator’s GPIB address to a variable. 70 to 80: Resets the signal generator’s parser, clears any pending output, and clears the controller’s display. 90: Resets the signal generator’s Status Byte Register. 100: Checks function FNStat_con for an UNLEVELED condition.
Programming Commands and Examples Reading the Status Byte, Example Program 10 ESG Family Signal Generators 350 to 380: Assigns a value to . Enables all bits in the Data Questionable Power Event Register, then queries the Data Questionable Event Register and stores it in the variable . 390: Selects cases dealing with an OVEN COLD condition. NOTE: This condition is valid only for instruments the high stability timebase (ESG-AP, ESG-DP, and Option 1E5).
ESG Family Signal Generators Programming Commands and Examples End of Sweep Service Request, Example Program 11 End of Sweep Service Request, Example Program 11 The following example provides a program that produces a service request to the controller when a specific condition (in this case: end of sweep) is present in the signal generator.
Programming Commands and Examples End of Sweep Service Request, Example Program 11 ESG Family Signal Generators 390 WHILE Sweep=1 400 PRINT " .
ESG Family Signal Generators Programming Commands and Examples End of Sweep Service Request, Example Program 11 190 to 200: Setups HP BASIC to recognize the SRQ and branches to “Service Routine” when the SRQ is received. 210: Program border 220 to 320: Sets up the signal generator for a 40 MHz to 900 MHz stepped single sweep. 330 to 350: Triggers the sweep. 370 to 420: An endless loop developed for the sake of this example.
Programming Commands and Examples End of Sweep Service Request, Example Program 11 2-104 ESG Family Signal Generators Programming Guide
ESG Family Signal Generators 3 Remote Data Transfer You can generate data on a remote computer and subsequently download it into the signal generator. Depending on the options present, the signal generator accepts ARB waveform data, user file data, FIR filter coefficient data, or data downloaded directly to pattern RAM. This section explains the different download methods, and the data formatting required for each method.
Remote Data Transfer ARB Waveform Data Downloads ESG Family Signal Generators ARB Waveform Data Downloads This section explains how to download I/Q waveform files into the signal generator. Downloads into volatile ARB memory are significantly faster than downloads into nonvolatile NVARB memory. NOTE Option UND signal generators accept I/Q waveform data downloads.
ESG Family Signal Generators Remote Data Transfer ARB Waveform Data Downloads Waveform data stored in ARB memory is volatile. The data in ARB memory is destroyed whenever the signal generator’s line power is cycled. In ARB memory, waveform data may be downloaded, sequenced, and played back through the signal generator’s I/Q baseband generator section. Information stored in NVARB memory is nonvolatile. Waveforms stored in NVARB memory must first be moved to ARB memory in order to be sequenced and played.
Remote Data Transfer ARB Waveform Data Downloads ESG Family Signal Generators For Volatile and Nonvolatile ARB Memory Downloads ARB waveform memory space (approximately 1 Mpoints) is allocated in 4096-point (8192 byte) segments. Accordingly, regardless of how small the waveform is, it always occupies at least 4096 points of volatile ARB memory. If a waveform file is too large to fit into a 4096-point memory segment, additional memory space is allocated in multiples of 4096 points.
ESG Family Signal Generators Remote Data Transfer ARB Waveform Data Downloads There are two SCPI commands required to download I/Q data into ARB memory, one for the I data and one for the Q data. The signal generator will associate the I waveform values and the Q waveform values, and drive the I and Q modulators in the baseband generator with the stored waveform.
Remote Data Transfer ARB Waveform Data Downloads ESG Family Signal Generators Sample Command Line A sample command line: :MMEM:DATA "ARBI:", #ABC "" the name of the waveform file within the signal generator. A the number of decimal digits to follow in B. B a decimal number specifying the number of data bytes in C. C the binary waveform data in 2-byte integers.
ESG Family Signal Generators Remote Data Transfer ARB Waveform Data Downloads Example Programs Waveform Downloading Using HP BASIC for Windows The following program shows you how to download waveforms using HP BASIC for Windows into volatile ARB memory.
Remote Data Transfer ARB Waveform Data Downloads ESG Family Signal Generators Program Comments 5: Sets the number of points in the waveform. 10: Defines arrays for I and Q waveform points. Sets them to be integer arrays. 15: Sets HP BASIC to use degrees for cosine and sine functions. 20: Sets up loop to calculate waveform points. 25: Calculates I waveform points. 30: Calculates Q waveform points. 35: End of loop. 40: Calculates number of bytes in I or Q waveform.
ESG Family Signal Generators Remote Data Transfer ARB Waveform Data Downloads In the Output commands, USING “#,K” formats the data. The pound symbol (#) suppresses the automatic EOL (End of Line) output. This allows multiple output commands to be concatenated as if they were a single output. The “K” instructs HP BASIC to output the following numbers or strings in the default format.
Remote Data Transfer ARB Waveform Data Downloads ESG Family Signal Generators Program Comments (Continued) 60: Finds the number of digits in Nbytes. 65: Sends the I waveform SCPI download-to-ARBI command and the beginning of the ASCII header for the data. The variable is the waveform name that will be used in the signal generator. 70 to 75: Sends the rest of the ASCII header. 80: Sends the binary data. Note that ESGb is the binary I/O path.
ESG Family Signal Generators Remote Data Transfer ARB Waveform Data Downloads Via the Remote Interface: To generate the waveform, send the following SCPI command: [:SOURce]:RADio:ARB[:STATe] ON To activate the modulation, send the following command: :OUTPut:MODulation[:STATe] ON To activate the RF output, send the following command: :OUTPut[:STATe] ON The waveform is now modulating the carrier frequency at the RF output.
Remote Data Transfer User File Data Downloads ESG Family Signal Generators User File Data Downloads Option UN8 or UN8/UN9 signal generators accept user file data downloads. After downloading the data, the user files can be selected as the transmitting data source for the active digital communications standard. This section contains information that will help you transfer user file data from a system controller to the signal generator.
ESG Family Signal Generators Remote Data Transfer User File Data Downloads Data Requirements 1. Data must be in binary format. SCPI specifies the data in 8-bit bytes. NOTE Not all binary values are ASCII characters that can be printed. In fact, only ASCII characters corresponding to decimal values 32 through 126 are printable keyboard characters. Typically, the ASCII character corresponding to an 8-bit pattern is not printable.
Remote Data Transfer User File Data Downloads ESG Family Signal Generators Data Volatility Downloaded user file data is nonvolatile. The data is stored to the instrument’s memory catalog. This data will survive a line power cycle. It will remain in the memory catalog until you delete the file, or until the signal generator’s internal battery expires.
ESG Family Signal Generators NOTE Remote Data Transfer User File Data Downloads The data in pattern RAM is static. Firmware writes to PRAM once for the configuration selected and the hardware reads this data repeatedly. Firmware overwrites the volatile PRAM memory to reflect the desired configuration only when the data source or mode (digital communications format) is changed. Take for example, transmitting a 228-bit user file for timeslot #1 (TS1) in a normal GSM transmission.
Remote Data Transfer User File Data Downloads ESG Family Signal Generators Table 3-1 PRAM Bit Definitions for GSM Normal Channel Transmission with a User File Data Source (Continued) Frame Timeslot PRAM Address 1 5 781 - 936 1 6 1 Data Bits Burst Bits Pattern Reset Bit 0/1 (don’t care) 0 0 937 - 1092 0/1 (don’t care) 0 0 7 1093 - 1249 0/1 (don’t care) 0 0 2 0 1250 - 1405 0/1 (don’t care) 0 0 2 1 (on) 1406 - 1561 42 bits set by GSM standard & remaining 114 bits of user file
ESG Family Signal Generators Remote Data Transfer User File Data Downloads “multiple of 8 bits” and “enough PRAM memory” requirements to be correctly modulated. For example, user file #1 contains 114 bits and fills the data fields of a normal GSM timeslot, and user file #2 contains 148 bits for a custom GSM timeslot. In order to correctly transmit these data patterns as continuously repeating user files without discontinuities, both data patterns must be repeated four times.
Remote Data Transfer User File Data Downloads ESG Family Signal Generators The PN15 behaves just like a user file of equal length (32,767 bits). Downloading User File Data This section includes information that explains how to download user file data. It includes data requirements and limitations, preliminary setup, SCPI commands and sample command lines for both downloads to the bit memory catalog and the binary memory catalog. Data Requirements and Limitations Summary 1. Data must be binary. 2.
ESG Family Signal Generators Remote Data Transfer User File Data Downloads Sample Command Line :MEMory:DATA:BIT "", , #ABC "" the name of the user file within the signal generator. the number of significant bits in the data block. A the number of decimal digits to follow in B. B a decimal number specifying the number of data bytes in C. C the binary user file data.
Remote Data Transfer User File Data Downloads ESG Family Signal Generators Sample Command Line :MMEM:DATA "", #ABC "" the name of the user file within the signal generator. A the number of decimal digits to follow in B. B a decimal number specifying the number of data bytes in C. C the binary user file data. Example 1 :MMEM:DATA "userfile1", #1912S407897 userfile1 provides the user file name as it will appear in the signal generator’s binary memory catalog.
ESG Family Signal Generators Remote Data Transfer User File Data Downloads a continuous stream of unframed data for the active TDMA format. NOTE To select a user file from the binary memory catalog, execute the same commands shown in the following examples without BIT: preceding the filename. For example, [:SOURce]:RADio::DATA "" [:SOURce]:RADio::DATA "BIT:" [:SOURce]:RADio:[:STATe] On activates the desired TDMA format.
Remote Data Transfer User File Data Downloads ESG Family Signal Generators [:SOURce]:RADio:[:STATe] On activates the desired TDMA format. [:SOURce]:FREQuency:FIXed 2.5GHZ sets the carrier frequency to 2.15 GHz. [:SOURce]:POWer[:LEVel][:IMMediate][:AMPLitude] -10.0DBM sets the carrier amplitude to -10.0 dBm. :OUTPut:MODulation[:STATe] ON modulates the carrier. :OUTPut[:STATe] ON activates the RF output.
ESG Family Signal Generators Remote Data Transfer FIR Filter Coefficient Data Downloads FIR Filter Coefficient Data Downloads Options UN8 and UND signal generators accept finite impulse response (FIR) filter coefficient data downloads. After downloading the data, these user-defined FIR filter coefficient values can be selected as the filtering mechanism for the active digital communications standard.
Remote Data Transfer FIR Filter Coefficient Data Downloads ESG Family Signal Generators Data Volatility Downloaded FIR filter coefficient data is nonvolatile. It is stored to the instrument’s memory catalog. This data will survive a line power cycle. It will remain in the memory catalog until you delete the file, or until the signal generator’s internal battery expires. Downloading FIR Filter Coefficient Data Preliminary Setup No preliminary setup is required to download FIR filter coefficient data.
ESG Family Signal Generators Remote Data Transfer FIR Filter Coefficient Data Downloads To activate the TDMA format press Mode > desired format > and toggle the format on. To select the downloaded FIR filter data as the active filter for a custom modulation, press Mode > Custom > Filter > Select > User FIR. Highlight the desired file in the catalog of FIR files and press Select File. To activate the custom modulation, press Mode > Custom > Custom Off On.
Remote Data Transfer FIR Filter Coefficient Data Downloads ESG Family Signal Generators To activate the RF output, press RF On/Off until the display annunciator reads RF ON. Using the Remote Interface Execute the following SCPI commands to modulate and activate the carrier: [:SOURce]:FREQuency:FIXed 2.5GHZ sets the carrier frequency to 2.15 GHz. [:SOURce]:POWer[:LEVel][:IMMediate][:AMPLitude] -10.0DBM sets the carrier amplitude to -10.0 dBm. :OUTPut:MODulation[:STATe] ON modulates the carrier.
ESG Family Signal Generators Remote Data Transfer Data Downloads Directly into Pattern RAM Data Downloads Directly into Pattern RAM Option UN8 or UN8/UN9 signal generators accept data downloaded directly into the data generator’s pattern RAM. After downloading, this data can be used to stimulate the baseband generator’s I/Q modulator. Direct downloads to PRAM allow you complete control over bursting, especially helpful for designing experimental or proprietary framing schemes.
Remote Data Transfer Data Downloads Directly into Pattern RAM ESG Family Signal Generators specific address in PRAM. Table 3-2 Data and Control Bit Definitions for a Pattern RAM Address Bit Function Value Comments 0 Data 0/1 This bit is the data to be modulated. This bit is a “don’t care” when burst (bit 2) is set to 0. 1 Reserved 0 Always 0. 2 Burst 0/1 Set to 1 = RF on. Set to 0 = RF off.
ESG Family Signal Generators Remote Data Transfer Data Downloads Directly into Pattern RAM Downloading in List Format NOTE Because of parsing, list data format downloads are significantly slower than block format downloads. Data Requirements and Limitations Summary 1. Data must be 8-bit, unsigned integers, from 0 to 255. This is because list format downloads are parsed prior to being loaded into PRAM. 2. For every bit of modulation data (bit 0), you must provide 7 bits of control information (bits 1-7).
Remote Data Transfer Data Downloads Directly into Pattern RAM ESG Family Signal Generators SCPI Command to Download Data in List Format :MEMory:DATA:PRAM:LIST [,,<...>] This command downloads the list-formatted data directly into pattern RAM. The variable is any of the valid 8-bit, unsigned integer values between 0 and 255, as specified by Table 3-2. Note that each value corresponds to a unique byte/address in PRAM.
ESG Family Signal Generators Remote Data Transfer Data Downloads Directly into Pattern RAM contain another 7 Mbits of control information, a file this size requires a signal generator with Option UN9 and its 8 Mbyte pattern RAM. The largest amount of modulation data for a waveform in an Option UN8 signal generator is approximately 125 kbits, which leaves enough room for the required 875,000 control bits.
Remote Data Transfer Data Downloads Directly into Pattern RAM ESG Family Signal Generators Example 1 :MEMory:DATA:PRAM:BLOCk #1912S407897 1 defines the number of decimal digits to follow in “B”. 9 denotes how many bytes of data are to follow. 12S407897 is the ASCII representation of the data downloaded to the signal generator. This variable is represented by C in the sample command line. NOTE Not all binary values can be printed as ASCII characters.
ESG Family Signal Generators Remote Data Transfer Data Transfer Troubleshooting Data Transfer Troubleshooting This section is divided by data transfer method: “Direct PRAM Download Problems” on page 3-33 “User File Download Problems” on page 3-35 “User FIR Filter Coefficient File Download Problems” on page 3-38 “ARB Waveform Data Download Problems” on page 3-38 Each section contains the following troubleshooting information: • a list of symptoms and possible causes of typical problems encountered while do
Remote Data Transfer Data Transfer Troubleshooting Bit Function ESG Family Signal Generators Value Comments 0/1 This bit is the data to be modulated. This bit is a “unspecified” when burst (bit 2) is set to 0. 0 Data 1 Reserved 2 Burst 3 Reserved 0 Always 0. 4 Reserved 1 Always 1. 5 Reserved 0 Always 0. 6 Event 1 Output 0/1 Setting this bit to 1 causes a level transition at the EVENT 1 BNC connector. This can be used for many functions.
ESG Family Signal Generators Remote Data Transfer Data Transfer Troubleshooting User File Download Problems Table 3-4 User FIR File Download Trouble - Symptoms and Causes Symptom Possible Cause Not enough data to fill a single timeslot. No data modulated If a user file does not completely fill a single timeslot, the firmware will not load any data into the timeslot.
Remote Data Transfer Data Transfer Troubleshooting ESG Family Signal Generators To solve this problem, add or subtract bits from the user file until it completely fills an integer number of timeslots “Multiple-of-8-Bits” Requirement For downloads to the binary memory catalog, user file data must be downloaded in multiples of 8 bits, since SCPI specifies data in 8-bit bytes.
ESG Family Signal Generators Remote Data Transfer Data Transfer Troubleshooting Table 3-5 Data Pattern Repetitions for Continuous Data Stream (Continued) A B C D E Number of reps Data Pattern Length × Repetitions Number of Characters (B ÷ 8) Number of frames needed to end on a timeslot boundary (B ÷ timeslot data field size) Total PRAM required (D × number of bits-per-frame) 8 4,088 511 35.86 44,824.56 9 4,599 574.88 40.34 50,427.63 ... ... ... ... ... 455 232,505 29,063.
Remote Data Transfer Data Transfer Troubleshooting ESG Family Signal Generators User FIR Filter Coefficient File Download Problems Table 3-6 User FIR File Download Trouble - Symptoms and Causes Symptom Possible Cause There is not enough space in the memory catalog for the FIR coefficient file being downloaded. ERROR -321, Out of memory To solve the problem, either reduce the file size of the FIR file or delete unnecessary files from the memory catalog. User FIR filter has too many symbols.
ESG Family Signal Generators Remote Data Transfer Data Transfer Troubleshooting 3. Input integers must be between 0 and 16383. 4. Each I and Q waveform must have at least 16 points (a point equals an integer). 5. Each I and Q waveform must contain an even number of points. 6. I and Q waveforms should be the same length. (Different length I and Q waveforms are allowed. The shorter waveform will give a 0V output from its end up to the length of the longer waveform.
Remote Data Transfer Data Transfer Troubleshooting 3-40 ESG Family Signal Generators Programming Guide
ESG Family Signal Generators 4 Softkey/Command Cross-Reference This chapter provides tables that cross reference each of the SCPI commands to the corresponding front panel keys, and the 8656/57-compatible commands that are equivalent to SCPI commands.
Softkey/Command Cross-Reference Front Panel Key Versus Command ESG Family Signal Generators Front Panel Key Versus Command Table 1 AM Softkeys Key SCPI Command AM Depth [:SOURce]:AM[1]|2[:DEPTh] [:SOURce]:AM[1]|2[:DEPTh]? AM Depth Couple Off On [:SOURce]:AM[1]|2[:DEPTh]:TRACk ON|OFF|1|0 [:SOURce]:AM[1]|2[:DEPTh]:TRACk? AM Off On [:SOURce]:AM[1]|2:STATe ON|OFF|1|0 [:SOURce]:AM[1]|2:STATe? AM Path 1 2 WB [:SOURce]:AM:WIDeband:STATe ON|OFF|1|0 [:SOURce]:AM:WIDeband:STATe? AM Rate [:SOUR
ESG Family Signal Generators Softkey/Command Cross-Reference Front Panel Key Versus Command Table 1 AM Softkeys Key SCPI Command Dual-Sine [:SOURce]:AM[1]|2:INTernal[1]:FUNCtion:SHAPe DUALsine [:SOURce]:AM[1]|2:INTernal[1]:FUNCtion:SHAPe? Ext [:SOURce]:AM[1]|2:INTernal[1]:SWEep:TRIGger EXTernal [:SOURce]:AM[1]|2:INTernal[1]:SWEep:TRIGger? Ext 1 AC-Coupled [:SOURce]:AM[1]|2:SOURce EXT1 [:SOURce]:AM[1]|2:EXTernal[1]:COUPling AC [:SOURce]:AM[1]|2:EXTernal[1]:COUPling? Ext 1 DC-Coupled [:SOURce]:AM[1
Softkey/Command Cross-Reference Front Panel Key Versus Command ESG Family Signal Generators Table 2 Ampl Softkeys Key SCPI Command ALC BW Normal Narrow [:SOURce]:POWer:ALC:BWIDth|BANDwidth NORMal|NARRow [:SOURce]:POWer:ALC:BWIDth|BANDwidth? ALC Off On [:SOURce]:POWer:ALC[:STATe] ON|OFF|1|0 [:SOURce]:POWer:ALC[:STATe]? Ampl Offset [:SOURce]:POWer[:LEVel][:IMMediate]:OFFSet [:SOURce]:POWer[:LEVel][:IMMediate]:OFFSet? Alt Ampl Delta [:SOURce]:POWer:ALTernate:AMPlitude [:SOURc
ESG Family Signal Generators Softkey/Command Cross-Reference Front Panel Key Versus Command Table 5 FM Softkeys Key SCPI Command Bus [:SOURce]:FM[1]|2:INTernal[1]:SWEep:TRIGger BUS [:SOURce]:FM[1]|2:INTernal[1]:SWEep:TRIGger? DCFM/DCΦM Cal :CALibration:DCFM Dual-Sine [:SOURce]:FM[1]|2:INTernal[1]:FUNCtion:SHAPe DUALsine [:SOURce]:FM[1]|2:INTernal[1]:FUNCtion:SHAPe? Ext [:SOURce]:FM[1]|2:INTernal[1]:SWEep:TRIGger EXTernal [:SOURce]:FM[1]|2:INTernal[1]:SWEep:TRIGger? Ext 1 AC-Coupled [:SOURce]:FM
Softkey/Command Cross-Reference Front Panel Key Versus Command ESG Family Signal Generators Table 5 FM Softkeys Key SCPI Command FM Tone 1 Rate [:SOURce]:FM[1]|2:INTernal[1]:FREQuency [:SOURce]:FM[1]|2:INTernal[1]:FREQuency? FM Tone 2 Ampl Percent Of Peak [:SOURce]:FM[1]|2:INTernal[1]:FREQuency:ALTernate: AMPLitude:PERCent [:SOURce]:FM[1]|2:INTernal[1]:FREQuency:ALTernate:AMPLitude:PER Cent? FM Tone 2 Rate [:SOURce]:FM[1]|2:INTernal[1]:FREQuency:ALTernate [:SOURc
ESG Family Signal Generators Softkey/Command Cross-Reference Front Panel Key Versus Command Table 6 Freq Softkeys Key SCPI Command Adjust Phase [:SOURce]:PHASe:[ADJust] [:SOURce]:PHASe:[ADJust]? Freq Multiplier [:SOURce]:FREQuency:MULTiplier [:SOURce]:FREQuency:MULTiplier? Freq Offset [:SOURce]:FREQuency:OFFset [:SOURce]:FREQuency:OFFset? Freq Ref Off On [:SOURce]:FREQuency:REFerence:STATe ON|OFF|1|0 [:SOURce]:FREQuency:REFerence:STATe? Freq Ref Set [:SOURce]:FREQu
Softkey/Command Cross-Reference Front Panel Key Versus Command ESG Family Signal Generators Table 8 I/Q Softkeys Key SCPI Command Ext1 DC [:SOURce]:BURSt:SOURce EXTernal[1] [:SOURce]:BURSt:SOURce? Ext I/Q [:SOURce]:DM:SOURce EXTernal [:SOURce]:DM:SOURce? High Crest Mode Off On [:SOURce]:DM:EXTernal:HICRest[:STATe] ON|OFF|1|0 [:SOURce]:DM:EXTernal:HICRest[:STATe]? I Offset [:SOURce]:DM:IQADjustment:IOFFset [:SOURce]:DM:IQADjustment:IOFFset? I/Q Adjustments Off On [:SOURce]:DM:IQADjus
ESG Family Signal Generators Softkey/Command Cross-Reference Front Panel Key Versus Command Table 9 LF Out Softkeys Key SCPI Command Bus [:SOURce]:LFOutput:FUNCtion:SWEep:TRIGger BUS [:SOURce]:LFOutput:FUNCtion:SWEep:TRIGger? DC [:SOURce]:LFOutput:FUNCtion:SHAPe DC [:SOURce]:LFOutput:FUNCtion:SHAPe? Dual-Sine [:SOURce]:LFOutput:FUNCtion:SHAPe DUALsine [:SOURce]:LFOutput:FUNCtion:SHAPe? Ext [:SOURce]:LFOutput:FUNCtion:SWEep:TRIGger EXTernal [:SOURce]:LFOutput:FUNCtion:SWEep:TRIGger? Function Gene
Softkey/Command Cross-Reference Front Panel Key Versus Command ESG Family Signal Generators Table 9 LF Out Softkeys Key SCPI Command LF Out Tone 2 Ampl Percent Of Peak [:SOURce]:LFOutput:FUNCtion:FREQuency:ALTernate:AMPLitude :PERCent [:SOURce]:LFOutput:FUNCtion:FREQuency:ALTernate:AMPLitude :PERCent? LF Out Tone 2 Freq [:SOURce]:LFOutput:FUNCtion:FREQuency:ALTernate [:SOURce]:LFOutput:FUNCtion:FREQuency:ALTernate? LF Out Waveform [:SOURce]:LFOutput:FUNCtion:SHAPe SINE|TRIan
ESG Family Signal Generators Softkey/Command Cross-Reference Front Panel Key Versus Command Table 11 Phase Mod Softkeys Key SCPI Command φM Dev [:SOURce]:PM[1]|2[:DEViation] [:SOURce]:PM[1]|2[:DEViation]? φM Dev Couple Off On [:SOURce]:PM[1]|2[:DEViation]TRACk ON|OFF|1|0 [:SOURce]:PM[1]|2[:DEViation]TRACk? φM Off On [:SOURce]:PM[1]|2:STATe ON|OFF|1|0 [:SOURce]:PM[1]|2:STATe? φM Rate [:SOURce]:PM[1]|2:INTernal[1]:FREQuency [:SOURce]:PM[1]|2:INTernal[1]:FREQuency? φM Source
Softkey/Command Cross-Reference Front Panel Key Versus Command ESG Family Signal Generators Table 11 Phase Mod Softkeys Key SCPI Command Ext 1 AC-Coupled [:SOURce]:PM[1]|2:SOURce EXT1 [:SOURce]:PM[1]|2:EXTernal[1]:COUPling AC [:SOURce]:PM[1]|2:EXTernal[1]:COUPling? Ext 1 DC-Coupled [:SOURce]:PM[1]|2:SOURce EXT1 [:SOURce]:PM[1]|2:EXTernal[1]:COUPling DC [:SOURce]:PM[1]|2:EXTernal[1]:COUPling? Ext 2 AC-Coupled [:SOURce]:PM[1]|2:SOURce EXT2 [:SOURce]:PM[1]|2:EXTernal2:COUPling AC [:SOURce]:PM[1]|2:EXT
ESG Family Signal Generators Softkey/Command Cross-Reference Front Panel Key Versus Command Table 12 Preset Hardkey Key Preset (hardkey) SCPI Command :SYSTem:PRESet Table 13 Pulse Softkeys Key SCPI Command Ext2 DC-Coupled [:SOURce]:PULM:SOURce EXT2 [:SOURce]:PULM:SOURce? Fast Pulse Off On [:SOURce]:PULM:FAST:STATe ON|OFF|1|0 [:SOURce]:PULM:FAST:STATe? Internal Pulse [:SOURce]:PULM:SOURce INT [:SOURce]:PULM:SOURce? [:SOURce]:PULM:INTernal[1]:FUNCtion:SHAPe PULSe [:SOURce]:PULM:INTernal[1]:FUNCtion
Softkey/Command Cross-Reference Front Panel Key Versus Command ESG Family Signal Generators Table 16 Save Softkeys Key SCPI Command Add Comment To Seq[n] Reg[nn] :MEMory:STATe:COMMent ,,"" :MEMory:STATe:COMMent? , Save Seq[n] Reg[nn] *SAV [, ] Table 17 Sweep/List Softkeys Key SCPI Command #Points [:SOURce]:SWEep:POINts [:SOURce]:SWEep:POINts? Ampl [:SOURce]:POWer:MODE LIST|FIXed [:SOURce]:POWer:MODE? Ampl Start [:SOURce]:POWer:STARt
ESG Family Signal Generators Softkey/Command Cross-Reference Front Panel Key Versus Command Table 17 Sweep/List Softkeys Key SCPI Command Freq [:SOURce]:FREQuency:MODE LIST [:SOURce]:FREQuency:MODE? Freq&Ampl [:SOURce]:POWer:MODE LIST [:SOURce]:POWer:MODE? [:SOURce]:FREQuency:MODE LIST [:SOURce]:FREQuency:MODE? Freq Start [:SOURce]:FREQuency:STARt [:SOURce]:FREQuency:STARt? Freq Stop [:SOURce]:FREQuency:STOP [:SOURce]:FREQuency:STOP? Immediate [:SOURce]:LIST:TRIGger:SOUR
Softkey/Command Cross-Reference Front Panel Key Versus Command ESG Family Signal Generators Table 17 Sweep/List Softkeys Key SCPI Command Sweep [:SOURce]:FREQuency:MODE CW|FIXed|LIST [:SOURce]:FREQuency:MODE? [:SOURce]:POWer:MODE FIXed|LIST [:SOURce]:POWer:MODE? Sweep Direction Down Up [:SOURce]:LIST:DIRection UP|DOWN [:SOURce]:LIST:DIRection? Sweep Repeat Single Cont :INITiate:CONTinuous[:ALL] ON|OFF|1|0 :INITiate:CONTinuous[:ALL]? Sweep Trigger :TRIGger[:SEQuence]:SOURce BUS|IMMediate|EXTernal|
ESG Family Signal Generators Softkey/Command Cross-Reference Front Panel Key Versus Command Table 19 Utility Softkeys Key SCPI Command Clear Error Queue(s) *CLS DATA/CLK/SYNC Rear Outputs Off On :ROUTe:HARDware:DGENerator:OUTPut:DCS[:STATe] ON|OFF|1|0 :ROUTe:HARDware:DGENerator:OUTPut:DCS[:STATe]? Data Clock Out Polarity Neg Pos :ROUTe:HARDware:DGENerator:OPOLarity:CLOCk POsitive|NEGative :ROUTe:HARDware:DGENerator:OPOLarity:CLOCk? Data Clock Polarity Neg Pos :ROUTe:HARDware:DGENerator:IPOLarity:
Softkey/Command Cross-Reference Front Panel Key Versus Command ESG Family Signal Generators Table 19 Utility Softkeys Key SCPI Command DWCDMA :MEMory:CATalog:DWCDma? Event 1 Output Polarity Neg Pos :ROUTe:HARDware:DGENerator:OPOLarity:EVEN1 POSitive|NEGative :ROUTe:HARDware:DGENerator:OPOLarity:EVEN1? Event 2 Output Polarity Neg Pos :ROUTe:HARDware:DGENerator:OPOLarity:EVEN2 POSitive|NEGative :ROUTe:HARDware:DGENerator:OPOLarity:EVEN2? FCDMA :MEMory:CATalog:FCDMa? FIR :MEMory:CATalog:FIR? FSK
ESG Family Signal Generators Softkey/Command Cross-Reference Front Panel Key Versus Command Table 19 Utility Softkeys Key SCPI Command List :MEMory:CATalog:LIST? MCDMA :MEMory:CATalog:MCDMa? MDMOD :MEMory:CATalog:MDMod? MDWCDMA :MEMory:CATalog:MDWCdma? MFCDMA :MEMory:CATalog:MFCDma? MFWCDMA :MEMory:CATalog:MFWCdma? Modulation Catalog Types :MEMory:CATalog:IQ?|FSK? MTONE :MEMory:CATalog:MFCDma? NVARB :MMEMory:CATalog? "NVARbi:" Off :SYSTem:COMMunicate:SERial:CONTrol:RTS OFF :SYSTem:COM
Softkey/Command Cross-Reference Front Panel Key Versus Command ESG Family Signal Generators Table 19 Utility Softkeys Key SCPI Command RS-232 Echo Off On :SYSTem:COMMunicate:SERial:ECHO ON|OFF|1|0 :SYSTem:COMMunicate:SERial:ECHO? RS-232 Timeout :SYSTem:COMMunicate:SERial:TOUT :SYSTem:COMMunicate:SERial:TOUT? RTS/CTS :SYSTem:COMMunicate:SERial:CONTrol:RTS? RTS/CTS Pacing :SYSTem:COMMunicate:SERial:CONTrol:RTS IBFull :SYSTem:COMMunicate:SERial:CONTrol:RTS RFR :SYSTem:COMMunicate:SERial:CONT
ESG Family Signal Generators Softkey/Command Cross-Reference Agilent 8656/57-Compatible Language Agilent 8656/57-Compatible Language The ESG Family Signal Generators have the capability of operating in an Agilent 8656/57-compatible programming mode. The following table shows the 8656/57 programming codes that are implemented in the signal generator.
Softkey/Command Cross-Reference Agilent 8656/57-Compatible Language ESG Family Signal Generators Table 20 8656/57-Compatible Programming Codes PM Pulse Modulation Function Feature Implemented QS Reverse Sequence Feature Implemented RC Recall (0−9) Feature Implemented RL Recall (0−99) Feature Implemented RP Reverse Power Protection Reset 5 Feature Implemented R0 Standby Feature Not Implemented R1 On Feature Not Implemented R2 RF Off Function Feature Implemented R3 RF On Fu
ESG Family Signal Generators Softkey/Command Cross-Reference Agilent 8656/57-Compatible Language Command Mapping The SCPI command, :SYSTem:LANGuage “SCPI”|“COMP”|“NADC”|“PDC”|“PHS”, lets you set the signal generator remote (GPIB) language to one of the following choices: • “SCPI” - Default language (Standard Commands for Programmable Instruments) • “COMP” - 8656B, 8657A/B compatibility • “NADC” - 8657D NADC compatibility • “PDC” - 8657D PDC compatibility • “PHS” - 8657J PHS compatibility When you operate
Softkey/Command Cross-Reference Agilent 8656/57-Compatible Language ESG Family Signal Generators AM (Amplitude Modulation) • AM becomes the active function. • AM1 and AM2 depth values are coupled with [:SOURce]:AM[1]|2[:DEPTh]:TRACk ON.
ESG Family Signal Generators Softkey/Command Cross-Reference Agilent 8656/57-Compatible Language FM (Frequency Modulation) • FM becomes the active function. • FM1 and FM2 deviation values are coupled with [:SOURce]:FM[1]|2[:DEViation]:TRACk ON.
Softkey/Command Cross-Reference Agilent 8656/57-Compatible Language ESG Family Signal Generators P4 (Digital Modulation On) This command turns on digital modulation (for 8657D/J-compatibility only.
ESG Family Signal Generators Softkey/Command Cross-Reference Agilent 8656/57-Compatible Language S3 (Internal 1 kHz Modulation Source) • If AM1 is on, this command is mapped to: [:SOURce]:AM[1]:INTernal[1]:FREQuency 1 kHz • If FM1 is on, this command is mapped to: [:SOURce]:FM[1]:INTernal[1]:FREQuency 1 kHz S4 (Modulation Source Off) • If the last active function was PM, (other than any modulation source commands), pulse modulation is disabled by mapping to the following command: [:SOURce]:PULM:STATe OFF
Softkey/Command Cross-Reference Agilent 8656/57-Compatible Language ESG Family Signal Generators S5 (DC FM) • FM becomes the active function.
Index Symbols *CLS clear status command, 2-3 *ESE standard event status enable command, 2-3 *ESR? standard event status register query, 2-3 *IDN? identification query, 2-3 *OPC operation complete command, 2-3 *OPC? operation complete query, 2-4 *RCL recall command, 2-4 *RST reset command, 2-4 *SAV save command, 2-4 *SRE service request enable command, 2-4 *SRE? service request enable query, 2-4 *STB? read status byte query, 2-4 *TRG trigger command, 2-5 *TST? self-test query, 2-5 *WAI wait-to-continue comm
Index commented command, 2-82 common commands description, 1-28 syntax, 1-36 COMMunicate subsystem description, 2-14 GP-IB address, 2-14 RS-232 baud rate, 2-14 RS-232 echo, 2-15 RS-232 reset, 2-14 RS-232 RTS control, 2-14 RS-232 timeout, 2-15 RS-232 XON handshake receive state, 2-15 RS-232 XON handshake transmit state, 2-15 condition register data questionable BERT, 1-71 calibration, 1-68 description, 1-55 frequency, 1-62 modulation, 1-65 power, 1-59 description, 1-46 standard operation, 1-52 connector, 2-
Index DM subsystem (Continued) digital modulation mode state, 2-19 digital modulation source, 2-19 external ALC bandwidth configuration, 2-20 high crest mode state, 2-20 I channel offset adjustment, 2-20 I/Q adjustments state, 2-20 I/Q gain ratio adjustment, 2-21 I/Q modulation phase polarity, 2-21 Q channel offset adjustment, 2-21 quadrature skew adjustment, 2-21 downloading ARB waveform data, 3-2 FIR filter coefficient data, 3-23 to PRAM, 3-27 user files, 3-12 E enable register, service request, 1-46 en
Index frequency modulation SCPI commands, internal (Continued) waveform, 2-25 source, 2-23 state, 2-24 frequency SCPI commands, 2-27 continuous wave (CW), 2-27 fixed, 2-27 mode, 2-27 multiplier, 2-28 offset, 2-28 optimization, 2-28 phase adjustment, 2-29 phase reference, setting, 2-30 reference, 2-29 reference oscillator source query, 2-29 reference oscillator source state, 2-30 reference state, 2-29 start, 2-30 stop, 2-30 FREQuency subsystem, 2-27 full I/Q calibration SCPI command, 2-12 function generator
Index list SCPI commands (Continued) dwell basic command, 2-34 points query, 2-34 type, 2-34 frequency basic command, 2-34 points query, 2-34 LIST subsystem, 2-34 load from step sweep, 2-36 manual point, 2-36 mode, 2-35 power basic command, 2-36 points query, 2-36 preset, 2-36 trigger source, 2-35 type, 2-35 listener definition, 1-17 local command, 1-20 local lockout command, 1-20 example, 2-80 example program, 2-79 loop, endless, example, 2-103 low frequency output SCPI commands alternate frequency, 2-32
Index output SCPI commands, circuit protection (Continued) query, 2-44 modulation state, 2-45 OUTPut subsystem, 2-44 state, 2-45 setting, example, 2-91 oven cold, checking for, 2-99 overmodulation, 2-99 P parameters (SCPI) block, 1-40 boolean, 1-40 discrete, 1-39 extended numeric, 1-38 numeric, 1-38 optional, 1-32 separating in commands, 1-30 phase adjustment, 2-29 phase modulation SCPI commands bandwidth configuration, 2-46 deviation, 2-46 deviation coupling, 2-47 external source coupling, 2-48 internal
Index queries, examples (Continued) response, 2-82 R real response data, 1-40 reference oscillator source query, 2-29 state, 2-30 register condition, description, 1-46 contents, recalling, 2-96 event enable, 1-47 service request enable, 1-46 status byte, 1-45 status byte, overall system, 1-43 remote annunciator, 2-77 command, 1-19 remote interface GPIB configuring, 1-5 for personal computers backplane, 1-2 buffering, 1-2 I/O library, 1-2 interface cards, 1-2 languages, 1-2 maximum I/O, 1-2 operating syste
Index SCPI commands, PRAM downloads, (Continued) in list format, 3-30 preliminary setup, 3-29 querying the PRAM data, 3-30 sample command line, 3-30 modulating and activating the carrier, 3-32 query, 2-81 separating parameters, 1-30 subsystem, 1-28 syntax, 1-35, 2-2 terms, 1-25 types, 1-28, 1-29 user file downloads, 3-18, 3-19 modulating and activating the carrier, 3-21 querying the PRAM data, 3-19, 3-20 sample command line, 3-19, 3-20 selecting the user file for unframed transmission, 3-20, 3-21 user FIR
Index STATus subsystem, data questionable (Continued) status group enable, 2-66 event register query, 2-67 negative transition filter register enable, 2-67 STATus subsystem, standard operation status group condition register query, 2-67 group positive transition filter register enable, 2-68 step sweep example, 2-90 steps example, setting, 2-91 string response data, 1-41 variable, entering response, 2-82 variables, dimensioning example, 2-82, 2-95 subsystem commands, 1-28, 2-6 sweep mode example, setting, 2