hit counter script
Sony 3026 Programmer's Manual
Sony 3026 Programmer's Manual

Sony 3026 Programmer's Manual

Realtime spectrum analyzer
Table of Contents

Advertisement

Quick Links

Programmer Manual
3026
Realtime Spectrum Analyzer
071-0419-00
This document supports firmware version 1.10.

Advertisement

Table of Contents
loading

Summary of Contents for Sony 3026

  • Page 1 Programmer Manual 3026 Realtime Spectrum Analyzer 071-0419-00 This document supports firmware version 1.10.
  • Page 2 Specifications and price change privileges reserved. Printed in Japan. Sony/Tektronix Corporation, P.O.Box 5209, Tokyo Int’l, Tokyo 100–31 Japan Tektronix, Inc., P.O. Box 1000, Wilsonville, OR 97070–1000 TEKTRONIX and TEK are registered trademarks of Tektronix, Inc.
  • Page 3: Table Of Contents

    ..........Index–1 3026 Programmer Manual...
  • Page 4 Figure 3-4: The Service Request Enable Register (SRER) ..Figure 3-5: Status and event processing sequence ....3026 Programmer Manual...
  • Page 5 ......C–2 Table D–1: Factory initialized settings ......D–1 3026 Programmer Manual...
  • Page 6 Table of Contents 3026 Programmer Manual...
  • Page 7: Index

    Preface This is the Programmer Manual for the 3026 Realtime Spectrum Analyzer. This manual provides information on operating the instrument over a General Purpose Interface Bus (GPIB) interface. This manual provides the following information: H Getting Started describes how to connect and set up for remote operation.
  • Page 8 Preface 3026 Programmer Manual...
  • Page 9 Getting Started...
  • Page 11: Figure 1-1: Functional Layers In Gpib System

    Getting Started The 3026 Realtime Spectrum Analyzer has a GPIB interface. Almost all menu-controlled and front-panel controlled functions can be performed through the GPIB interface using the programming command set (described in Command Syntax). The GPIB interface conforms to ANSI/IEEE Std 488.1-1987, which specifies the hardware interface, its basic functional protocol, and a set of interface messages (codes) that control the interface functions.
  • Page 12: Figure 1-2: Gpib Connector

    A star setup is one where one end of all the GPIB cables in the system are attached to one device. Refer to Figure 1-3 for these GPIB system configurations. 3026 Programmer Manual...
  • Page 13: Figure 1-3: Gpib System Configurations

    (most often, each device represents one device load to the bus). 3. The total cable length (cumulative) must not exceed 66 feet (20 meters). 4. At least two-thirds of the device loads must be powered on. 3026 Programmer Manual...
  • Page 14 LF (Line Feed), sent as the last data byte, or the hardware EOI, with the EOI line asserted concurrently with the last data byte sent. 4. Set the GPIB address using the rotary knob or the front-panel keypad. The value can be set from 1 to 30. 3026 Programmer Manual...
  • Page 15 Command Syntax...
  • Page 17: Figure 2-1: Example Of Scpi Subsystem Hierarchy Tree

    This section contains information on the Standard Commands for Programmable Instruments (SCPI) and IEEE 488.2 Common Commands you can use to program your 3026 Realtime Spectrum Analyzer. The information is organized in the following subsections: H SCPI Commands and Queries – This subsection describes the SCPI command organization and syntax H IEEE 488.2 Common Commands –...
  • Page 18 The parameters are enclosed in brackets, such as <pattern>. The parameter type is listed after the parameter and is enclosed in parentheses, for example, (discrete). Some parameter types are defined specifically for the realtime spectrum analyzer command set and some are defined by ANSI/IEEE 488.2-1987 (see Table 2-1). 3026 Programmer Manual...
  • Page 19: Table 2-1: Parameter Types Used In Syntax Descriptions

    Defined in ANSI/IEEE 488.2 as Definite Length Arbitrary Block Response Data." An ANSI/IEEE 488.2-1992 defined parameter type. Some commands and queries will accept a hexadecimal value even though the parameter type is defined as NR1. Defined in ANSI/IEEE 488.2 as String Response Data." 3026 Programmer Manual...
  • Page 20: Figure 2-2: Example Of Abbreviating A Command

    :DISP:MARK:TYPE DUAL;:SENS:WIND RECT;:SENS:AVER:COUN?;:CALC:ACP:SPAC? First command Second command First query Second query The response from this chained 100;2.000000E+5 message might be Response from first query Response from second query Figure 2 3: Example of chaining commands and queries 3026 Programmer Manual...
  • Page 21: Figure 2-4: Example Of Omitting Root And Lower-Level Nodes In A Chained

    H You can use upper case, lower case, or a mixture of both cases for all commands, queries, and parameters. HCOPY:DEVICE:DESTINATION PRINTER is the same as hcopy:device:destination printer HCOPY:device:destination PRINTER NOTE. Literal strings (quoted) are case sensitive. For example: file names. 3026 Programmer Manual...
  • Page 22: Table 2-2: Bnf Symbols And Meanings

    (BNF) notation. Table 2-2 defines the standard BNF symbols: Table 2 2: BNF symbols and meanings Symbol Meaning < > Defined element Is defined as Exclusive OR Group; one element is required Optional; can be omitted . . . Previous element(s) may be repeated Comment 3026 Programmer Manual...
  • Page 23 ASCII code for line feed (LF) sent as the last data byte, or both. The realtime spectrum analyzer always terminates messages with LF and EOI. It allows white space before the terminator. 3026 Programmer Manual...
  • Page 24 Syntax 3026 Programmer Manual...
  • Page 25: Table 2-3: Calculate Commands

    Command Groups This subsection describes the organization of the 3026 Realtime Spectrum Analyzer command as a number of functional groups. (See subsection Command Descriptions on page 2-15 for a complete description of each command in alphabetical order.) Throughout this section, the parenthesized question symbol (?) follows the command header to indicate that both a command and query form of the command can be used.
  • Page 26: Table 2-4: Display Commands

    Set or query the input waveform display on/off state DISPlay:TRACe:AVERage(?) Set or query the average/peak hold mode on/off state DISPlay:TRACe:REFerence(?) Set or query the reference waveform display on/off state DISPlay:WINDow[1|2]:TYPE(?) Set or query the display mode 2 10 3026 Programmer Manual...
  • Page 27: Table 2-5: Hardcopy Commands

    Table 2 7: SENSE commands Header Description SENSe? Query the all settings related to the data acquisition SENSe:ACQuisition[:MODE](?) Set or query the data acquisition mode SENSe:ADEMod(?) Set or query the analog demodulated signal 2 11 3026 Programmer Manual...
  • Page 28: Table 2-8: Source Commands

    Use these commands to address the instrument status and event queue. Table 2 9: STATUS commands Header Description STATus:OPERation[:EVENt]? Destructive query of status register STATus:OPERation:ENABle(?) Set or query register to record event transitions STATus:PRESet Reset all status enable register STATus:QUEue[:NEXT]? Display event in error/event queue 2 12 3026 Programmer Manual...
  • Page 29: Table 2-10: System Commands

    Set or query the level of the external trigger signal that generates the triggering event TRIGger:MODE(?) Set or query the trigger mode TRIGger:POSition(?) Set or query the trigger position TRIGger:SOURce(?) Set or query the trigger source 2 13 3026 Programmer Manual...
  • Page 30: Table 2-12: Common Commands

    This group is a collection of commands that cannot be classified in any other group. Table 2 13: Other commands Header Description ABORt Stop data acquisition INITiate[:IMMediate] Restart data acquisition RUNNing? Query whether the instrument is either acquiring data or waiting for a trigger 2 14 3026 Programmer Manual...
  • Page 31: Command Descriptions

    Command Descriptions This subsection lists each command and query in the 3026 Spectrum Analyzer command set alphabetically. Each command entry includes its command description and command group, its related commands (if any), its syntax, and its arguments. Each entry also includes one or more usage examples.
  • Page 32 The CALCulate[1|2]? query returns the measurement item and the result of measurement. Group CALCULATE Related Commands CALCulate[1|2]:FUNCtion, CALCulate[1|2]:FUNCtion:RESult Syntax CALCulate[1|2]? Switch “1” specifies the lower window of the data display area, and switch “2” specifies the upper one. Arguments None Responses {OFF|OBW|CN|ACP|POWER|NOISE},<NR3>[,<NR3>];<NR3>;<NR3> 2 16 3026 Programmer Manual...
  • Page 33 Switch “1” specifies the lower window of the data display area, and switch “2” specifies the upper one. Arguments <numeric value>::=<NR3> where <NR3> is a bandwidth ranging from 1 Hz to 2E+6 Hz. Responses <NR3> Examples :CALCULATE:ACP:BANDWIDTH 3E+5 sets the bandwidth for ACP measurement to 300 kHz. 2 17 3026 Programmer Manual...
  • Page 34 CALCulate[1|2]:FUNCtion? query returns the current selected measurement item. Group CALCULATE Related Commands None Syntax CALCulate[1|2]:FUNCtion {OFF|OBW|CN|ACP|POWER|NOISE} CALCulate[1|2]:FUNCtion? Switch “1” specifies the lower window of the data display area, and switch “2” specifies the upper one. 2 18 3026 Programmer Manual...
  • Page 35 None Responses <NR3>[,<NR3>] Examples :CALCULATE:FUNCTION:RESULT? during C/N measurement might return -60.4917,-23.2237 In this case, the first value indicates the result of the C/N measurement, and the second value indicates the result of the C/No measurement. 2 19 3026 Programmer Manual...
  • Page 36 Group CALCULATE Related Commands None Syntax CALCulate[1|2]:OBW:RATE <numeric value> CALCulate[1|2]:OBW:RATE? Switch “1” specifies the lower window of the data display area, and switch “2” specifies the upper one. 2 20 3026 Programmer Manual...
  • Page 37 SBR (Status Byte Register) and the Event Queue, which are used in the instrument status and event reporting system. For more details, refer to Section 3 Status and Events. Group COMMON Related Commands None Syntax *CLS Examples *CLS clears the SESR, the SBR, and the Event Queue. 2 21 3026 Programmer Manual...
  • Page 38 When two waveforms (the reference and the one currently being acquired) are on display, the DISPlay:CURrent:TRAce command selects the desired waveform. The DISPlay:CURrent:TRAce? query returns the currently selected waveform. Group DISPLAY Related Commands None Syntax DISPlay:CURrent:TRAce{ACTIVE|REFerence} DISPlay:CURrent:TRAce? 2 22 3026 Programmer Manual...
  • Page 39 DISPlay:FORMat (?) The DISPlay:FORMat command sets the display format in the data display area. The DISPlay:FORMat? query returns the current display format setting. Group DISPLAY Related Commands DISPlay:CURrent:WINDow, DISPlay:WINDow[1|2]:TYPE 2 23 3026 Programmer Manual...
  • Page 40 MINimum moves the active cursor to the fist frame. NTRigger moves the active cursor to the trigger frame. <numeric value>::=<NR1> frame number Examples :DISPLAY:MARKER:FNUMBER NTRIGGER moves the active cursor to the trigger frame. 2 24 3026 Programmer Manual...
  • Page 41 NLEFt moves the marker to the nearest peak to the left of the current marker position. Examples :DISPLAY:MARKER:PEAK BIGGEST moves the marker to the highest peak in the waveform. 2 25 3026 Programmer Manual...
  • Page 42 (MARKER1 and MARKER2) are displayed on a waveform. The DISPlay:MARKer:SELect? query returns which marker is currently active. Group DISPLAY Related Commands DISPlay:MARKer:TYPE Syntax DISPlay:MARKer:SELect {MARKer1|MARKer2} DISPlay:MARKer:SELect? Arguments MARKer1 selects MARKER1 ( marker). MARKer2 selects MARKER2 ()marker). 2 26 3026 Programmer Manual...
  • Page 43 Group DISPLAY Related Commands DISPlay:MARKer:SELect Syntax DISPlay:MARKer:TYPE {OFF|SINGle|DUAL} DISPlay:MARKer:TYPE? Arguments displays no markers. SINGle displays the single marker (MARKER1). DUAL displays the dual markers (MARKER1 and MARKER2). Examples :DISPLAY:MARKER:TYPE DUAL displays two markers. 2 27 3026 Programmer Manual...
  • Page 44 1.6000000E+07. DISPlay:MARKer:X:UNIT? The DISPlay:MARKer:X:UNIT? query the horizontal display unit on the graticule for the current marker. Group DISPLAY Related Commands DISPlay MARKer:Y:UNIT? Syntax DISPlay:MARKer:X:UNIT? Arguments None Responses {HZ|S|NONE} Examples :DISPLAY:MARKER:X:UNIT? might return HZ. 2 28 3026 Programmer Manual...
  • Page 45 :DISPLAY:MARKER:Y? might return -1.606673E+01 DISPlay:MARKer:Y:UNIT? The DISPlay:MARKer:Y:UNIT? query the vertical display unit on the graticule for the current marker. Group DISPLAY Related Commands DISPlay:MARKer:X:UNIT? Syntax DISPlay:MARKer:Y:UNIT? Arguments None Responses {DBM|DBV|DBMV|DBUV|DBUVM|W|V|DEG|PERCENT|HZ|NONE} Examples :DISPLAY:MARKER:Y:UNIT? might return DBM. 2 29 3026 Programmer Manual...
  • Page 46 UTILITY menu. DISPlay:MENU:STATe (?) The DISPlay:MENU:STATe command sets whether or not menus are displayed on the screen. The DISPlay:MENU:STATe? query returns whether or not menus are displayed on the screen. Group DISPLAY Related Commands DISPlay:MENU:[:NAME] 2 30 3026 Programmer Manual...
  • Page 47 The DISPlay:TRACe:ACTIVE? query returns the setting of whether to display input waveform. Group DISPLAY Related Commands None Syntax DISPlay:TRACe:ACTIVE <boolean> DISPlay:TRACe:ACTIVE? Arguments <boolean>::={0N|0FF|1|0} {ON|1} displays the input waveform. {OFF|0} hides the input waveform. Responses <boolean> Examples :DISPLAY:TRACE:ACTIVE OFF hides the input waveform. 2 31 3026 Programmer Manual...
  • Page 48 DISPlay:TRACe:REFerence (?) The DISPlay:TRACe:REFerence command sets whether to display the reference waveform. The DISPlay:TRACe:REFerence? query returns the setting of whether to display the reference waveform. Group DISPLAY Related Commands None Syntax DISPlay:TRACe:REFerence <boolean> DISPlay:TRACe:REFerence? 2 32 3026 Programmer Manual...
  • Page 49 WATerfall display the data in a waterfall view. ADEMod displays the data, as an AM, FM, PM, or FSK demodulated signal. Responses {PROF|SPEC|WAT|ADEM} Examples :DISPLAY:WINDOW1:TYPE WATERFALL displays the data in a waterfall view. 2 33 3026 Programmer Manual...
  • Page 50 Register) used in the status and events reporting system of the GPIB. Refer to Section 3 Status and Events for more information about *ESR?. Group COMMON Related Commands *CLS, *ESE?, *SRE, *STB? Syntax *ESR? Arguments None 2 34 3026 Programmer Manual...
  • Page 51 Group HARDCOPY Related Commands HCOPy:DEVice:LANGuage, HCOPy:DEVice:DESTination Syntax HCOPy? Arguments None Responses {BMP|EPS},{FILE|PRIN|OFF} Examples HCOPY? might return BMP,FILE In this case, the instrument outputs hardcopy data to file on the floppy disk in the BMP format. 2 35 3026 Programmer Manual...
  • Page 52 Related Commands HCOPy?, HCOPy:DEVice:DESTination Syntax HCOPy:DEVice:LANGuage {BMP|EPS} HCOPy:DEVice:LANGuage? Arguments the standard bit-mapped graphics format. the encapsulated Postscript image file format. Responses {BMP|EPS} Examples :HCOPY:DEVICE:LANGUAGE BMP sets the instrument to output hard copy in the BMP format. 2 36 3026 Programmer Manual...
  • Page 53 HCOPy:IMMediate The HCOPy:IMMediate command immediately outputs the hardcopy with the current settings. Group HARDCOPY Related Commands None Syntax HCOPy:IMMediate Arguments None Examples :HCOPY:IMMEDIATE starts hardcopy output. 2 37 3026 Programmer Manual...
  • Page 54 <Manufacturer>::=SONY/TEK, <Model>::=3026, <Serial Number>::=Jxxxxxx, <System Status>::=SCPI:<SCPI Version>, FW:<Firmware Version>, HW:<Hardware Version>. Examples *IDN? might return SONY/TEK,3026,J300110,SCPI:94.0 FW:1.00 HW:1.00 INITiate[:IMMediate] The INITiate[:IMMediate] command restarts data acquisition. It performs the same function as the front panel START key. Group Other Related Commands...
  • Page 55 Related Commands MMEMory:CDIRectory, MMEMory:RDIRectory Syntax MMEMory:MDIRectory <Directory Path> Arguments <Directory Path>::=<string> where <string> is the name or path of the new directory. Examples :MMEMORY:MDIRECTORY WORK4" creates the new directory WORK4 in the current working directory. 2 39 3026 Programmer Manual...
  • Page 56 Group MEMORY Related Commands MMEMory:STMASK Syntax MMEMory:RTMASK {<string>|D1|D2|D3|D4} Arguments <string> the name of the file to be restored. <D1-D4> the number of the register. Examples :MMEMORY:RTMASK D1 restores the trigger mask from the D1 register. 2 40 3026 Programmer Manual...
  • Page 57 Arguments <string> the name of the file that the averaged waveform data is to be saved in. <D1-D4> the number of the register. Examples :MMEMORY:SAWAVE D1 saves the averaged waveform data to the D1 register. 2 41 3026 Programmer Manual...
  • Page 58 MMEMory:SSETUP The MMEMory:SSETUP command saves the instrument setup to a disk file or the specified register. Group MEMORY Related Commands MMEMory:RSETUP Syntax MMEMory:SSETUP {<string>|D1|D2|D3|D4} 2 42 3026 Programmer Manual...
  • Page 59 MMEMory:STMASK {<string>|D1|D2|D3|D4} Arguments <string> the name of the file that the trigger mask is to be saved in. <D1-D4> the number of the register. Examples :MMEMORY:STMASK D1 saves the trigger mask to the D1 register. 2 43 3026 Programmer Manual...
  • Page 60 Related Commands MMEMory:RWAVe Syntax MMEMory:SWAVe {<string>|D1|D2|D3|D4} Arguments <string> the name of the file the waveform data is saved. <D1-D4> the number of the register. Examples :MMEMORY:SWAVE D1 saves the waveform data to the D1 register. 2 44 3026 Programmer Manual...
  • Page 61 Responses The instrument is either acquiring waveform data or waiting for a trigger. The instrument is not acquiring waveform data. Examples :RUNNING? might return 0. This indicates that the instrument is not acquiring waveform data. 2 45 3026 Programmer Manual...
  • Page 62 SENSe? The SENSe? query returns data acquisition settings. Group SENSE Related Commands None Syntax SENSe? Arguments None Responses [:SENSE:RF]{1|0};[FREQUENCY:CENTER]<NRf>;[SPAN]<NRf>; [LEVEL]<NR3>;[LEVEL:UNIT]{DBM|DBV|DBMV|DBUV|V|W}; [ADEMOD]{WIND1|WIND2},{AM|PM|FM|FSK};[WINDOW:TYPE] {REC|BLACK|HAMM};[FFT:SIZE]{FFT1024|FFT256}; [FRAME:PERIOD]<NR3>;[BLOCK SIZE]<NR1>;[AVERAGE:TYPE] {OFF|RMS|EXPONENTIAL|PEAK};[AVERAGE:COUNT]<NR1>; [GAIN:EXTERNAL:GAIN]<NR2>;[GAIN:EXTERNAL:STATE]{1|0}; [ACQUISITION:MODE]{ROLL|BLOCK} Items in brackets [ ] are not displayed. 2 46 3026 Programmer Manual...
  • Page 63 Related Commands None Syntax SENSe:ACQuisition[:MODE]{ROLL|BLOCK} SENSe:ACQuisition[:MODE]? Arguments ROLL sets the data acquisition mode to Roll. BLOCK sets the data acquisition mode to Block. Responses {ROLL|BLOCK} Examples :SENSE:ACQUISITION:MODE BLOCK sets the data acquisition mode to Block. 2 47 3026 Programmer Manual...
  • Page 64 SENSe:AVERage:COUNt (?) The SENSe:AVERage:COUNt command sets the number of frames used for averaging in average/peak hold mode. The SENSe:AVERage:COUNt? query returns the number of frames. Group SENSE Related Commands SENSe:AVERage:TYPE Syntax SENSe:AVERage:COUNt <numeric value> SENSe:AVERage:COUNt? 2 48 3026 Programmer Manual...
  • Page 65 <NR1> is number of times of averaging ranging from 2 to 100. Responses <NR1> Examples :SENSE:AVERAGE:COUNT 16 sets the number of averaging to 16. SENSe:AVERage:RESET The SENSe:AVERage:RESET command resets the average/peak hold data. Group SENSE Related Commands SENSe:AVERage:COUNt, SENSe:AVERage:TYPE Syntax SENSe:AVERage:RESET Arguments None 2 49 3026 Programmer Manual...
  • Page 66 The SENSe:BLOCK[:SIZE] command sets the block size of the data that is acquired in block mode. The SENSe:BLOCK[:SIZE]? query returns the current block size setting. Group SENSE Related Commands SENSe:ACQuisition[:MODE] Syntax SENSe:BLOCK[:SIZE] <numeric value> SENSe:BLOCK[:SIZE]? 2 50 3026 Programmer Manual...
  • Page 67 If FFT points = 1,024 : 20 to 1,000 (in increments of 20) If FFT points = 256 : 20 to 4,000 (in increments of 20) Responses <NR1> Examples :SENSE:BLOCK:SIZE 500 sets the block size to 500. 2 51 3026 Programmer Manual...
  • Page 68 Group SENSE Related Commands DISPlay:CURrent:WINDow, DISPlay:CURrent:TRACe, SENSe:LEVel:UNIT Syntax SENSe:DATa? Arguments None Examples :SENSE:DATA? might return #3644. Because the GPIB buffer size is restricted, the SENSe:DATa? query must not repeat as follows: DISP:MARK:FNUM 0;:SENS:DAT?;:DISP:MARK: FNUM 1;:SENS:DAT?<EOI> 2 52 3026 Programmer Manual...
  • Page 69 None Syntax SENSe:FFT[:SIZE]{FFT1024|FFT256} SENSe:FFT[:SIZE]? Arguments FFT1024 sets 1,024 for the number of sampling points. FFT256 sets 256 for the number of sampling points. Responses {FFT1024|FFT256} Examples :SENSE:FFT:SIZE FFT256 sets the FFT sampling points to 256. 2 53 3026 Programmer Manual...
  • Page 70 320 ms. SENSe:FREQuency:CENTer (?) The SENSe:FREQuency:CENTer sets the center frequency. The SENSe:FREQuen cy? query returns the current center frequency setting. Group SENSE Related Commands None Syntax SENSe:FREQuency:CENTer {<numeric value>|MAXimum|MINimum} SENSe:FREQuency:CENTer? 2 54 3026 Programmer Manual...
  • Page 71 SENSe:FREQuency:SPAN? Arguments <numeric value>::=<NRf>[<unit>] where <unit>::={Hz|MHz|GHz} MAXimum sets the frequency span to the maximum. MINimum sets the frequency span to the minimum. Responses <numeric value> Examples :SENSE:FREQUENCY:SPAN 1MHz sets the frequency span to 1 MHz. 2 55 3026 Programmer Manual...
  • Page 72 The SENSe:GAIN:EXTernal:STATe command sets whether gain correction is enabled. The SENSe:GAIN:EXTernal:STATe? query returns whether gain correction is currently enabled. Group SENSE Related Commands SENSe:GAIN:EXTernal:GAIN Syntax SENSe:GAIN:EXTernal:STATe <boolean> SENSe:GAIN:EXTernal:STATe? Arguments <boolean>::={ON|OFF|1|0} {ON|1} enables gain correction. {ON|0} disables gain correction. 2 56 3026 Programmer Manual...
  • Page 73 707.1 muV to 7.071 V (7.071 mV to 7.071 V) 10.00 nW to 1.000 W (1.000 mW to 1.000W) Responses <NR3> Examples :SENSE:LEVEL -10 sets the reference level to –10 dBm when the graticule unit of the vertical axis is set to dBm. 2 57 3026 Programmer Manual...
  • Page 74 SENSe:RF (?) The SENSe:RF command sets the input range to RF or baseband mode. The SENSe:RF? query returns the current input range setting. Group SENSE Related Commands None Syntax SENSe:RF <boolean> SENSe:RF? 2 58 3026 Programmer Manual...
  • Page 75 SENSe:WINDow[:TYPE]? query returns the current FFT window type setting. Group SENSE Related Commands None Syntax SENSe:WINDow[:TYPE] {RECTangle|BLACKman|HAMMing} SENSe:WINDow[:TYPE]? Arguments RECTangle selects rectangle. BLACKman selects Blackman-Harris. HAMMing selects hamming. Responses {RECT|BLACK|HAMM} Examples :SENSE:WINDOW:TYPE BLACKMAN sets the FFT window type to Blackman-Harris. 2 59 3026 Programmer Manual...
  • Page 76 *CLS, *ESE, *ESR?, *STB? Syntax *SRE <numeric Value> *SRE? Arguments <numeric Value>::=<NR1> where the argument must be decimal number from 0 to 255. The SRER bits are set in binary bit according to the decimal number. 2 60 3026 Programmer Manual...
  • Page 77 The STATus:OPERation[:EVENt]? query returns the contents of the OSR (Operational Status Register). Executing this command causes the contents of the register to be cleared. Group STATUS Related Commands STATus:QUEStionable[:EVENt]? Syntax STATus:OPERation[:EVENt]? Arguments None Examples :STATUS:OPERATION:EVENT? might return 0. 2 61 3026 Programmer Manual...
  • Page 78 The STATus:OPERation:ENABle command set the register that enables the individual bits within the Event Register, which records event transition. The STATus:OPERation:ENABle? query returns the current Event Register settings. Group STATUS Related Commands None Syntax STATus:OPERation:ENABle <numeric value> STATus:OPERation:ENABle? Arguments <numeric value>::=<NR1> Responses <NR1> 2 62 3026 Programmer Manual...
  • Page 79 Related Commands *CLS Syntax STATus:PRESet Arguments None STATus:QUEue[:NEXT]? The STATus:QUEue[:NEXT] query returns an error from the error/event queue. Group STATUS Related Commands SYSTem:ERRor? Syntax STATus:QUEue[:NEXT]? Arguments None Responses <NR1>, <string> Examples :STATUS:QUEUE:NEXT? might return -221,Settings conflict;-disp?" 2 63 3026 Programmer Manual...
  • Page 80 STATus:OPERation[:EVENt]? Syntax STATus:QUEStionable[:EVENt]? Arguments None Examples :STATUS:QUESTIONABLE:EVENT? might return 0. STATus:QUEStionable:CONDition? The STATus:QUEStionable:CONDition? query returns the contents of the CR(Condition Register). Group STATUS Related Commands STATus:QUEStionable[:EVENt]? Syntax STATus:QUEStionable:CONDition? Arguments None Examples :STATUS:QUESTIONABLE:CONDITION? might return 81. 2 64 3026 Programmer Manual...
  • Page 81 Syntax *STB? Arguments None Responses <numeric value>::=<NR1> where <NR1> is a decimal integer, which must range from 0 to 255. Examples *STB? might return 96, which indicates that the SBR contains the binary number 01100000. 2 65 3026 Programmer Manual...
  • Page 82 :SYSTEM:DATE 1998,6,10 sets the date. SYSTem:ERRor? The SYSTem:ERRor? query returns an error message from the error/event queue. Group SYSTEM Related Commands STATus:QUEue[:NEXT]? Syntax SYSTem:ERRor? Arguments None Responses <NR1>, <string> Examples :SYSTEM:ERROR? might return 0,No error". 2 66 3026 Programmer Manual...
  • Page 83 FTP (File Transfer Protocol). The SYSTem:FTPD[:STATe]? query returns the current FTP setting. Group SYSTEM Related Commands None Syntax SYSTem:FTPD[:STATe] <boolean> SYSTem:FTPD[:STATe]? Arguments <boolean::={ON|OFF|1|0} {ON|1} enables FTP. {OFF|0} disables FTP. Responses <boolean> Examples :SYSTEM:FTPD:STATE ON enables FTP. 2 67 3026 Programmer Manual...
  • Page 84 :SYSTEM:TIME 10, 10, 35 sets the time. SYSTem:VERSion? The SYSTem:VERSion? query returns the SCPI version number complied with the instrument. Group SYSTEM Related Commands None Syntax SYSTem:VERSion? Arguments None Responses <NR2> Examples :SYSTEM:VERSION might return 1994.0. 2 68 3026 Programmer Manual...
  • Page 85 The TRIGger:COUNt command sets the number of blocks (block count) of data acquired in block mode. The TRIGger:COUNt? query returns the current block count setting. Group TRIGGER Related Commands SENSe:BLOCk[:SIZE] Syntax TRIGger:COUNt {MAXimum|MINimum|<numeric value>} TRIGger:COUNt? 2 69 3026 Programmer Manual...
  • Page 86 Responses {BREAK|INSIDE} Examples :TRIGGER:FREQMASK:CONDITION BREAK causes a trigger when a waveform value outside the trigger mask pattern area is encountered. 2 70 3026 Programmer Manual...
  • Page 87 Group TRIGGER Related Commands None Syntax TRIGger:MODE {NORMal|AUTO} TRIGger:SLOPe? Arguments NORMal selects the Normal mode. AUTO selects the Auto mode. Examples :TRIGGER:MODE AUTO sets the trigger mode to Auto. 2 71 3026 Programmer Manual...
  • Page 88 50 %. TRIGger:SOURce(?) The TRIGger:SOURce command selects the trigger source for generating the trigger. The TRIGger:SOURce? query returns the current trigger source setting. Group TRIGGER Related Commands TRIGger:MODE Syntax TRIGger:SOURce {FREQMASK|TIMELEVEL|EXT IN} TRIGger:SOURce? 2 72 3026 Programmer Manual...
  • Page 89 :TRIGGER:SOURCE FREQMASK uses a trigger mask pattern to generate the trigger. *TST? The *TST? common query performs the self test sequence. No response is returned. Group COMMON Related Commands None Syntax *TST? Arguments None Responses None 2 73 3026 Programmer Manual...
  • Page 90 Command Descriptions 2 74 3026 Programmer Manual...
  • Page 91 Status and Event Reporting...
  • Page 93: Status Registers

    Status and Events The interface in the 3026 Realtime Spectrum Analyzer includes a status and event reporting system that enables the user to monitor crucial events that occur in the instrument. The realtime spectrum analyzer is equipped with four registers and one queue that conform to IEEE Std 488.2-1987.
  • Page 94: Figure 3-1: The Status Byte Register (Sbr)

    Message Available Bit (MAV). This bit indicates that a message has been placed in the output queue and can be retrieved. Summary of the Questionable Status Byte register. Summary of the Error Event Queue Not used 3026 Programmer Manual...
  • Page 95: Figure 3-2: The Standard Event Status Register (Sesr)

    The output queue messages have been cleared despite the fact that they have not been retrieved. Not used. Operation Complete (OPC). This bit is set with the results of the execution of the *OPC command. It indicates that all pending operations have been completed. 3026 Programmer Manual...
  • Page 96: Enable Registers

    Register (ESER) SESR (see Figure 3-3). This register is used by the user to designate whether the SBR ESB bit should be set when an event has occurred and whether the corresponding SESR bit has been set. 3026 Programmer Manual...
  • Page 97: Figure 3-3: The Event Status Enable Register (Eser)

    Use the *SRE command to set the bits of the SRER. Use the *SRE? query to read the contents of the SRER. Bit 6 must normally be set to 0. ESB MAV Figure 3 4: The Service Request Enable Register (SRER) 3026 Programmer Manual...
  • Page 98: Queues

    The event queue is a FIFO queue and stores events as they occur in the instru- ment. If more than 32 events occur, event 32 will be replaced with event code –350 (“Queue Overflow”). The oldest error code and text are retrieved using one of the following queries: H :SYSTem:ERRor? H :STATus:QUEue[:NEXT]? 3026 Programmer Manual...
  • Page 99: Figure 3-5: Status And Event Processing Sequence

    5. Setting either the ESB or MAV bits in the SBR sets the respective bit in the SRER. 6. When the SRER bit is set, the SBR MSS bit is set and a service request is generated when using the GPIB interface. 3026 Programmer Manual...
  • Page 100: Messages

    Table 3-4 shows the messages generated when an error is detected while a command is being executed. Table 3-5 shows the messages generated when an internal instrument error is detected. When this type of error occurs, it may be due to a hardware problem. 3026 Programmer Manual...
  • Page 101: Table 3-3: Command Errors

    -120 numeric data error -121 character -123 exponent too large -124 too many digits -128 numeric data not allowed -130 suffix error -131 invalid suffix -134 suffix too long -138 suffix not allowed -140 character data error 3026 Programmer Manual...
  • Page 102: Table 3-4: Execution Errors

    Table 3 4: Execution errors Error code Error message -200 execution error -201 invalid while in local -202 settings lost due to RTL -210 trigger error -211 trigger ignored -212 arm ignored -213 init ignored -214 trigger deadlock 3 10 3026 Programmer Manual...
  • Page 103: Error Messages And Codes

    -272 macro execution error -273 illegal macro label -274 execution macro parameter error -275 macro definition too long -276 macro recursion error -277 macro redefinition not allowed -278 macro header not found -280 program error 3 11 3026 Programmer Manual...
  • Page 104: Table 3-5: Device Specific Errors

    Error message -300 device specific error -310 system error -311 memory error -312 PUD memory lost -313 calibration memory lost -314 save/recal memory lost -315 configuration memory lost -330 self test failed -350 queue overflow 3 12 3026 Programmer Manual...
  • Page 105: Table 3-6: Query Errors

    These error codes are returned in response to an unanswered query. Table 3 6: Query errors Error code Error message -400 query error -410 query interrupted -420 query unterminated -430 query deadlocked -440 query unterminated after indefinite period 3 13 3026 Programmer Manual...
  • Page 106 Error Messages and Codes 3 14 3026 Programmer Manual...
  • Page 107 Appendices...
  • Page 109: Table A-1: Ascii & Gpib Code Chart

    SA24 1 0 0 0 LA25 TA25 SA25 1 0 0 1 LA10 LA26 TA10 TA26 SA10 SA26 1 0 1 0 LA11 LA27 TA11 TA27 SA11 SA27 1 0 1 1 Table continued on next page. 3026 Programmer Manual...
  • Page 110 1 1 1 1 (DEL) ADDRESSED UNIVERSAL LISTEN TALK SECONDARY ADDRESSES COMMANDS COMMANDS ADDRESSES ADDRESSES OR COMMANDS Tektronix octal GPIB code (with ATN asserted) REF: ANSI STD X3.4 1977 ASCII character IEEE STD 488.1 1987 decimal ISO STD 646 2973 3026 Programmer Manual...
  • Page 111: Appendix B: Reserved Words

    Appendix B: Reserved Words The words in the following list are reserved words for use with the 3026 Realtime Spectrum Analyzer. *CAL DATa MDIRectory SELect *CLS DATE MENU SENSe *ESE DEVice MMEMory SEParation *ESR DESTination MODE SIZE *IDN DISPlay NAME...
  • Page 112 Appendix B: Reserved Words 3026 Programmer Manual...
  • Page 113: Table C-1: Gpib Interface Function Implementation

    Appendix C: Interface Specification This appendix lists and describes the GPIB functions and messages that the 3026 Realtime Spectrum Analyzer implements. Interface Functions Table C–1 shows which GPIB interface functions are implemented in this instrument. Following the table is a brief description of each function.
  • Page 114: Table C-2: Gpib Interface Messages

    E1 indicates the electrical interface uses open collector drivers, while E2 indicates the electrical interface uses three-state drivers. Interface Messages Table C–2 lists the GPIB Universal and Addressed commands that the 3026 Realtime Spectrum Analyzer implements. A brief description of each function follows the table.
  • Page 115 Disable (PPD), which are placed on the bus following the PPC command. PPE enables a device with parallel poll capability to respond on a particular data line. PPD disables the device from responding to the parallel poll. 3026 Programmer Manual...
  • Page 116 Appendix C: Interface Specification 3026 Programmer Manual...
  • Page 117: Table D-1: Factory Initialized Settings

    CALCulate:OBW:RATE 99.000000 DISPLAY commands DISPlay:CURrent:WINDow WINDOW1 DISPlay:FORMat SINGLE DISPlay:MARKer:PEAK BIGGEST DISPlay:MARKer:SELect MARKER1 DISPlay:MARKer:TYPE DISPlay:TRACe:ACTIVE DISPlay:TRACe:AVERage DISPlay:TRACe:REFerence DISPlay:WINDOW[1|2}:TYPE PROFILE HARDCOPY commands HCOPy:DEVice:DESTination HCOPy:DEVice:LANGuage MEMORY commands MMEMory:SORT NAME1 SENSE commands SENSe:ACQuisition ROLL SENSe:ADEMod SENSe:AVERage:COUNt SENSe:AVERage:TYPE EXPONENTIAL SENSe:BLOCK:SIZE SENSe:FFT FFT1024 3026 Programmer Manual...
  • Page 118 Default settings SENSe:FRAME:PERIOD MAXIMUM SENSe:FREQuency:CENTer 100000000 SENSe:EXTernal:GAIN SENSe:LEVel SENSe:LEVel:UNIT SENSe:RF SENSe:SPAN 2.000000E+06 SENSe:WINDow BLACKman SOURCE commands SOURce:ROSCillator:SOURce INTERNAL SYSTEM commands SYSTem:FTPD TRIGGER commands TRIGger:COUNt TRIGger:FREQMASK:CONDition BREAK TRIGger:LEVel 1.000000 TRIGger:MODE NORM TRIGger:POSition TRIGger:SOURce FREQMASK COMMON commands *ESE *SRE 3026 Programmer Manual...
  • Page 119 Index...
  • Page 121 IEEE 488.2 commands, 2-1, 2-6 DISPlay:MARKer:X:UNIT?, 2-28 syntax, 2-1 DISPlay:MARKer:Y?, 2-29 words reserved for, B–1 DISPlay:MARKer:Y:UNIT?, 2-29 Common commands DISPlay:MENU:STATe, 2-30 *CAL?, 2-16 DISPlay:MENU[:NAME], 2-30 *CLS, 2-21 DISPlay:TRACe:ACTIVE, 2-31 *ESE, 2-34 DISPlay:TRACe:AVERage, 2-32 *ESR?, 2-34 DISPlay:TRACe:REFerence, 2-32 *IDN?, 2-38 Index-1 3026 Programmer Manual...
  • Page 122 Queues, 3-6 HCOPy:IMMediate, 2-37 event, 3-6 Hierarchy Tree, 2-1 output, 3-6 Quotes, 2-5 *IDN?, 2-38 IEEE 488.2 Common Commands, 2-1, 2-6 *RCL, 2-45 IEEE Std 488.2-1987, 2-6 Registers, 3-1 INITiate[:IMMediate], 2-38 Event Status Enable Register (ESER), 3-4 Index-2 3026 Programmer Manual...
  • Page 123 SENSe?, 2-46 SENSe:ACQuisition[:MODE], 2-47 SENSe:ADEMod, 2-48 SENSe:AVERage:COUNt, 2-48 SENSe:AVERage:RESET, 2-49 Terminators, message, 2-7 SENSe:AVERage:TYPE, 2-50 TRIGer?, 2-69 SENSe:BLOCK[:SIZE], 2-50 Trigger commands SENSe:DATA?, 2-52 TRIGger?, 2-69 SENSe:FFT[:SIZE], 2-53 TRIGger:COUNt, 2-69 SENSe:FRAMe:PERIOD, 2-54 TRIGger:FREQMASK:CONDition, 2-70 SENSe:FREQuency:CENTer, 2-54 TRIGger:LEVel, 2-71 Index-3 3026 Programmer Manual...
  • Page 124 Index TRIGger:MODE, 2-71 TRIGger:POSition, 2-72 TRIGger:POSition, 2-72 TRIGger:SOURce, 2-72 TRIGger:SOURce, 2-72 *TST?, 2-73 TRIGger:COUNt, 2-69 TRIGger:FREQMASK:CONDition, 2-70 TRIGger:LEVel, 2-71 TRIGger:MODE, 2-71 Where to find other information, v Index-4 3026 Programmer Manual...

Table of Contents