Programmer’s Manual V1.1 (prelim) SERIES 7000 Phase Noise Measurement Systems Models MODEL 7070, MODEL 7300 Berkeley Nucleonics Corporation 2955 Kerner Blvd., San Rafael, CA 94901 Phone: 415-453-9955, Fax: 415-453-9956, Email: info@berkeleynucleonics.com, Web: www.berkeleynucleonics.
WARRANTY Berkeley Nucleonics Corporation warrants all instruments, including component parts, to be free from defects in material and workmanship, under normal use and service for a period of one year. If repairs are required during the warranty period, contact the factory for component replacement or shipping instructions. Include the serial number of the instrument. This warranty is void if the unit is repaired or altered by others than those authorized by Berkeley Nucleonics Corporation.
Table of Contents 1 INTRODUCTION ....................................................................................................................................... 5 2 PROGRAMMING THE SERIES 7000 ........................................................................................................... 6 2.1 LAN............................................................................................................................................................ 6 2.
6 EXAMPLES (NEEDS REWORK) ................................................................................................................ 36 6.1 REMOTE PHASE NOISE MEASUREMENT (FW 1.0) ............................................................................................. 36 Berkeley Nucleonics Corporation 2955 Kerner Blvd., San Rafael, CA 94901 Phone: 415-453-9955, Fax: 415-453-9956, Email: info@berkeleynucleonics.com, Web: www.berkeleynucleonics.
1 Introduction This manual provides information for remote operation of the SERIES 7000 Signal Source Analyzers / Phase Noise Measurement Systems using commands sent from an external controller via remote control. It includes the following: • A general description of the LAN and the bus data transfer and control functions • A general description of how to establish connection to the SERIES 7000 via LAN or USB.
2 Programming the SERIES 7000 The SERIES 7000 can be accessed through LAN or USB interface. All interfaces use standard SCPI command set to pass commands to the device. GPIB interface is also available optionally. 2.1 LAN The SERIES 7000 can be remotely programmed via a 10/100/1000Base-T LAN interface and LANconnected computer using one of several LAN interface protocols. The LAN allows instruments to be connected together and controlled by a LAN- based computer.
The TCP/IP setup requires the following: • IP Address: Every computer/electronic device in a TCP/IP network requires an IP address. An IP address has four numbers (each between 0 and 255) separated by periods. For example: 192.168.1.50 is a valid IP address. • Subnet Mask: The subnet mask distinguishes the portion of the IP address that is the network ID from the portion that is the station ID. The subnet mask 255.255.0.0, when applied to the IP address given above, would identify the network ID as 192.
TCPIP::192.168.1.50::INSTR is therefore a valid resource name. TCPIP designates the network protocol used and INSTR indicates that the VXI-11 protocol is used. If several instruments are connected to the network, each instrument has its own IP address and associated resource name. The controller identifies these instruments by means of the resource name. 2.
2.5 Using Telnet LAN (Port 18) Telnet provides a means of communicating with the instrument over the LAN. The Telnet client, run on a LAN connected computer, will create a login session on the signal generator. A connection, established between computer and signal generator, generates a user interface display screen with “>” prompts on the command line. Using the Telnet protocol to send commands to the instrument is similar to communicating with the instrument over LAN.
use VISA Read to get the response. The USBTMC protocol supports service request, triggers and other GPIB specific operations. USBTMC upgrades the physical layer from GPIB to USB while maintaining software compatibility with existing software, such as instrument drivers and any application that uses VISA. This is also what the VXI-11 protocol provides for TCP/IP. NI-VISA 3.0 or later allows you to communicate as a controller to SERIES 7000 devices.
2.10 Using SCPI for SERIES 7000 The Standard Commands for Programmable Instrumentation (SCPI) provides a uniform and consistent language to control programmable test and measurement devices in instrumentation systems. The SCPI Standard is built on the foundation of IEEE-488.2, Standard Codes and Formats. It requires conformance to IEEE-488.2, but is pure software standard. SCPI syntax is ASCII text, and therefore can be attached to any computer test language, such as BASIC, C, or C++.
3 IEEE-488 Interface Commands 3.1 IEEE Mandated Commands The required common commands are IEEE-488.2 mandated commands that are defined in the IEEE488.2 standard and must be implemented by all SCPI compatible instruments. These commands are identified by the asterisk (*) at the beginning of the command keyword. These commands are used to control instrument status registers, status reporting, synchronization, and other common functions. Commands declared mandatory by IEEE 488.2.
The Standard Event Status Enable (ESE) query returns the value of the Standard Event Status Enable Register. NOTE: Reading the Standard Event Status Register clears it Remarks The Register is not affected by instrument preset or *RST. However, cycling the instrument power will reset this register to zero. 3.1.4 *IDN? The Identification (IDN) query outputs an identifying string. The response will show the following information: , , , 3.1.
*RST. However, cycling the instrument power will reset it to zero. 3.1.10 *SRE? The Service Request Enable (SRE) query returns the value of the Service Request Enable Register. Range 0–63 & 128-191 3.1.11 *STB? The Read Status Byte (STB) query returns the value of the status byte including the master summary status (MSS) bit. Range 0–255 3.1.12 *TRG The Trigger (TRG) command triggers the device if LAN is the selected trigger source, otherwise, *TRG is ignored. 3.1.
SCPI Commands 4 This chapter provides an introduction to SCPI programming that includes descriptions of the command types, hierarchical command structure, data parameters, and notational conventions. Information on SERIES 7000 status system and trigger system programming is also provided. 4.1 Introduction Standard Commands for Programmable Instruments (SCPI) is the new instrument command language for controlling instruments that goes beyond IEEE 488.
• SCPI optional commands (per SCPI 1999.0) • SCPI compliant commands that are unique to the SERIES 7000. Not all of the commands supported by the instrument are taken from the SCPI standard; however, their syntax follows SCPI rules. 4.3 SCPI Command Syntax Typical SCPI commands consist of one or more keywords, parameters, and punctuation. SCPI command keywords can be a mixture of upper and lower case characters. Except for common commands, each keyword has a long and a short form.
Units In the case of physical quantities, the unit can be entered. Permissible unit prefixes are G (giga), MA (mega), MHZ are also permissible), K (kilo), M (milli), U (micro) and N (nano). If the unit is missing, the basic unit is used. Boolean Parameters Boolean parameters represent two states. The ON state (logically true) is represented by ON or a numerical value unequal to 0. The OFF state (logically false) is represented by OFF or the numerical value 0. ON or OFF is returned by a query. 4.
:STATus :SYSTem :TRIGger The purpose of the TRIGger block is to provide an instrument with synchronization capability with external events. The TRIGger block is appears in the SCPI tree as TRIGger, ARM, INITiate, and ABORt subsystems. :UNIT All SERIES 7000 SCPI commands, except the :ABORt command, have one or more subcommands (keywords) associated with them to further define the instrument function to be controlled. The subcommand keywords may also have one or more associated subcommands (keywords).
The transition filter is a special register that specifies which types of bit state changes in the condition register will set corresponding bits in the event register. Negative transition filters (NTR) are used to detect condition changes from True (1) to False (0); positive transition filters (PTR) are used to detect condition changes from False (0) to True (1). Setting both positive and negative filters True allows an event to be reported anytime the condition changes.
4.8 Standard Event Status Group The Standard Event Status group, consisting of the Standard Event Status register (an Event register) and the Standard Event Status Enable register, is used to determine the specific event that set bit 5 of the Summary Status Byte. The bits in the Standard Event Status register provide the following: Bit 0 Description Set to indicate that all pending SERIES 7000 operations were completed following execution of the “*OPC” command.
Berkeley Nucleonics Corporation 2955 Kerner Blvd., San Rafael, CA 94901 Phone: 415-453-9955, Fax: 415-453-9956, Email: info@berkeleynucleonics.com, Web: www.berkeleynucleonics.
5 5.1 SCPI Command Description :ABORt Subsystem The :ABORt command is a single command subsystem. There are no subcommands or associated data parameters, as shown below. The :ABORt command, along with the :TRIGger and :INITiate commands, comprise the Trigger group of commands. Command Parameters Unit Remark (default) :ABORt FW 1.0 :ABORt This command causes measurement or sweep in progress to abort. Even if INIT:CONT[:ALL] is set to ON, the sweep will not immediately re-initiate. 5.
:CALCulate:REQuest:DATA :CALCulate:AVErage:CURRent? :CALCulate:FREQuency? This command reads out the internal frequency counter and returns the detected DUT frequency. :CALCulate:POWer? This command reads out the internal power meter and returns the detected DUT power. :CALCulate:XX:SPOT? This command returns single spot noise value, for the active trace. :CALCulate:PN:TRACe:FREQuqncy? This command returns the list of offset frequency points in Hz of the phase noise measurement.
The :INITiate subsystem controls the state of the SERIES 7000 trigger system. The subsystem commands and parameters are described below. The :INITiate commands, along with the :ABORt and :TRIGger commands, comprise the Trigger Group of commands. Command Parameters Unit Remark (default) :INITiate[:IMMediate] :INITiate:CONTinuous ON {ON|OFF|1|0} OFF :INITiate[:IMMediate] Sets SERIES 7000 trigger to the armed state.
SENSe:FREQuency:AUTO {ON|OFF|1|0} ON SENSe:FREQuency;DETect {ALWays | ONCe | NEVer} ALWays Hz SENSe: POWer:AUTO {ON|OFF|1|0} ON SENSe: POWer;DETect {ALWays | ONCe | NEVer} ALWays {1 ~ 99999} 1 {1 ~ 30} dB SENSe:XX;ASET|ATTenuation:AUTO {ON|OFF|1|0} ON SENSe:XX:ASET|ATTenuation:DETect {ALWays | ONCe | NEVer} ALWays rad / V SENSe:XX:IFGain:AUTO {ON|OFF|1|0} ON SENSe:XX:IFGain;DETect {ALWays | ONCe | NEVer} ALWays SENSe:XX:FREQuency:STARt { 0.1 | 0.
SENSe:XX:POINTs SENSe:XX:POINTs? Sets or gets the number of points per trace. SENSe:XX:PPDs SENSe:XX:PPDs? Sets or gets the number of points per decade for the trace. SENSe:TRACe:SPURious:OMISsion SENSe:TRACe:SMOothing:APERture SENSe: TRACe:SMOothing:STATe :SENSe:ASET This command sets the RF step attnuator for the selected channel. SENSe:ASET:AUTO ON|OFF|1|0 Sets step attenuator to automatic.
:SENSe:XX:AVERage:COUNt {1 ~ 999} :SENSe:XX:AVERage:COUNt? This command sets/gets average count. :SENSe:PATH This command switches the board internal path such that different measurements are possible. AM to measure amplitude phase noise, BB to measure baseband noise, PN to measure phase noise and MUX to measure in time domain. :SENSe:PN:LOBandwidth {0.1 ~ 10k} :SENSe:PN:LOBandwidth? This command sets/gets PLL bandwidth for the selected channel.
:STATus:QUEStionable:CONDition? :STATus:QUEStionable:ENABle :STATus:QUEStionable:PTR :STATus:QUEStionable:NTR :OPERation? :STATus:OPERation[:EVENt]? This query returns the contents of the operation status event register and clears it. :OPERation:CONDition? :STATus:OPERation:CONDition? This query returns the contents of the operation status condition register.
:QUEStionable:PTR :STATus:QUEStionable:PTR This command sets the positive transition filter of the questionable status event register. :QUEStionable:NTR :STATus:QUEStionable:NTR This command sets the negative transition filter of the questionable status event register. 5.6 :SYSTem Subsystem Command Parameters Unit Remark (default) :SYSTem:ERRor[:NEXT]? FW 1.0 :SYSTem:PRESet FW 1.0 :SYSTem:VERSion? FW 1.
:SYSTem:COMMunicate:LAN:DNS:DYNamic ON|OFF|1|0 :SYSTem:COMMunicate:LAN:DNS:OVERride ON|OFF|1|0 :SYSTem:COMMunicate:LAN:DNS[:SERVer] :SYSTem:COMMunicate:LAN:GATeway :SYSTem:COMMunicate:LAN:HOSTname :SYSTem:COMMunicate:LAN:IDENtify :SYSTem:COMMunicate:LAN:IP :SYSTem:COMMunicate:LAN:KEEP:TIMeout “0.0.0.0” ON|OFF|1|0 :SYSTem:COMMunicate:LAN:RESTart :SYSTem:COMMunicate:LAN:SUBNet “255.255.255.
:LAN:DOMain (not implemented) :SYSTem:COMMunicate:LAN:DOMain :SYSTem:COMMunicate:LAN:DOMain? This command defines the domain name of the signal generator’s DNS server. This entry defines the DNS server for the instrument LAN connection. The query returns the current setting, not the saved setting. :LAN:DNS:DYNamic (not implemented) :SYSTem:COMMunicate:LAN:DNS:DYNamic ON|OFF|1|0 :SYSTem:COMMunicate:LAN:DNS:DYNamic? This command turns dynamic Domain Name System (DNS) on/off.
This command controls the LAN identify feature. ON(1) The command enables device identification by displaying the full- screen message "Identify: " on the signal generator's front panel; the LAN Status indicator will also show "IDENTIFY". For more information, refer to the Programming Guide. OFF(0) This command disables device identification by clearing the message on the signal generator's front panel and returning the LAN Status indicator to display the current network state.
A trigger signal comprises both positive and negative signal transitions (states), which are also called high and low periods. You can configure the SERIES 7000 to trigger on either state of the trigger signal. It is common to have multiple triggers, also referred to as trigger occurrences or events, occur when the instrument requires only a single trigger. In this situation, the SERIES 7000 recognizes the first trigger and ignores the rest. There are four parts to configuring the trigger: 1.
state can be set high or low. The gate mode works only with an external trigger source. POINT Upon triggering, only a single point of the sweep (list) is played. *RST NORM :TRIGger:TYPE:GATE [SOURce]:TRIGger:TYPE:GATE LOW|HIGH [SOURce]:TRIGger:TYPE:GATE? This command selects the active state (gate polarity) of the gate while using the gating trigger mode. The LOW and HIGH selections correspond to the low and high states of an external trigger signal.
5.9 UNIT Subsystem Command UNIT:POWer Parameters Unit (default) W|V|DBM|DBC/HZ|UV/ DBM Remark SQHZ UNIT:FREQuency UNIT:NOISe HZ|MHZ|GHZ HZ NVSQHZ | DBMHZ NVSQHZ FW 1.0 UNIT:POWer UNIT:POWer W|V|DBM|DBC/HZ|UV/SQHZ *RST DBC/HZ UNIT:FREQuency UNIT:FREQuency HZ|MHZ|GHZ *RST HZ UNIT: NOISe UNIT: NOISe NVSQHZ | DBMHZ *RST NVSQHZ Berkeley Nucleonics Corporation 2955 Kerner Blvd., San Rafael, CA 94901 Phone: 415-453-9955, Fax: 415-453-9956, Email: info@berkeleynucleonics.com, Web: www.
6 6.1 Examples (NEEDS REWORK) Remote Phase Noise Measurement (FW 1.0) Following the SCPI command sequence for a typical remote phase noise measurement.