The information contained in this document is subject to change
without notice.
Agilent T echnol ogies makes no w arranty of any kind with re gard to this
material, including but not limited to, the implied warranties of
merchantability and fitness for a particular purpose. Agilent
Technologies shall not be liable for errors contained herein or for
incidental or consequential damages in connection with the furnishing,
performance, or use of this material.
Warranty
This Agilent Technologies instrument product is warranted against
defects in mat erial and wor kmanship for a pe ri o d o f three years from
date of shipment. During the warranty period, Agilent Technologies
Company will, at its option, either repair or replace products that prove
to be defective.
For warranty service or repair, this product must be returned to a
service facility designated by Agilent Technologies. Buyer shall prepay
shipping charges to Agilent Technologies and Agilent Technologies shall
pay shipping charges to return the product to Buyer. However, Buyer
shall pay all shipping charges, duties, and taxes for products returned
to Agilent Technologies from another country.
Agilent Technologi e s warrants that it s so ft ware an d fi rmware
designated by Agilent Technologies for use with an instrument will
execute its programming instructions when properly installed on that
instrument. Agilent T echnolog ies does not warrant that the operation of
the instrument, or software, or firmware will be uninterrupted or
error-free.
2
Page 3
LIMITATION OF WARRANTY
The fore go ing warrant y s h all not apply to de fects result in g from
improper or inadequate maintenance by Buyer, Buyer-supplied
software or inter f acing, unauthorized modifi cation or misuse, oper ation
outside of the environment al spe cif ications for the product, or i mproper
site preparation or maintenance.
NO OTHER WARRANTY IS EXPRESSED OR IMPLIED. AGILENT
TECHNOLOGIES SPECIFICALLY DISCLAIMS THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE.
EXCLUSIVE REMEDIES
THE REMEDIES PROVIDED HEREIN ARE BUYER’S SOLE AND
EXCLUSIVE REMEDIES. AGILENT TECHNOLOGIES SHALL NOT
BE LIABLE FOR ANY DIRECT, INDIRECT , SPECIAL, INCID ENTAL,
OR CONSEQUENTIAL DAMAGES, WHETHER BASED ON
CONTRACT, TORT, OR ANY OTHER LEGAL THEORY.
Putting Multiple Commands on the Same Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .265
20
Page 21
1Getting Started
1
Page 22
Getting Started
Option 266 Description
Option 266 Description
Option 266 (HP 8566B/68B Code Compatibility) for Agilent
Technologies’ ESA-E series and PSA series spectrum analyzers allows
the analyzer to be controlled using many of the HP 8566B and HP
8568B programming commands. It is designed to replace HP 8566B and
HP 8568B analyzers in many automated systems with minimal or no
modification to the currently used measurement software.
Option 266 Limitations
The Agilent Option 266 (HP 8566B/68B Code Compatibility) has been
designed to emulate as closely as possible the operation of the
HP 8566B and HP 8568B spectrum an alyzers. It is not, h ow e v er,
intended as an absolute direct replacement for these analyzers.
Only a subset of the HP 8566B and HP 8568B commands is supported
in this option (through a GPIB interface). These supported commands
were determined by feedback from our customers combined with
technical considerations and constraints.
NOTEInstallin g Option 2 66 C o de C o mpatibil it y on a PSA series analy z e r
autom at ically uninstall s all incomp atible personality optio n s.
Conversely, installing any incompatible personality option will
uninstall the Option 266 Code Compatibility option.
In the HP 85 66B and the HP 8568B, a “predefined function” is an
analyzer command that returns a number that can be operated on by
other analyzer commands. “Predefined variables ” follow the same idea,
only the value to be passed as a parameter to the next command is
stored in a variable.
Option 266 does not support this type of behavior, so any commands
that originally acted as pre d e fined functions or variable s, o r th at
allowed predefined functions or variables as arguments in the
HP 8566B or HP 8568B, will not do so in thi s a n alyzer. No user-defined
functions, traces, or variables (FUNCDEF, TRDEF or VARDEF) can be
used as arguments or commands in programs controlling this analyzer.
In addition, the behavior of certain commands that rely on the “active
functions” (UP, D N, etc.) might be slightly diffe re n t .
2Chap ter 1
Page 23
Hardware Req u i reme n ts for Op tion 266
Hardware Requirements for Opti on 266
One of the following Agilent spectrum analyzers and associated
hardware options is required to run Option 266.
Table 1-1 Compatible Agilent ESA-E Series Spectrum Analyzers
Getting Started
Analyzer
Model
Number
E4401B1.5 GHzA.10.00 or
E4402B3.0 GHzA.10.00 or
E4404B6.7 GHzA.10.00 or
E4405B13.2 GHzA.10.00 or
E4407B26.5 GHzA.10.00 or
Upper
Frequency
Limit
FirmwareHP 8566B/68B
Code
Compatibility
Personality
Option 266RequiredRequired
later
Option 266RequiredRequired
later
Option 266RequiredRequired
later
Option 266RequiredRequired
later
Option 266RequiredRequired
later
B72
(Extended
Memory
Option)
A4H (GPIB
and Parallel
Interface
Option)
Table 1-2 Compatible Agilent PSA Series Spectrum Analyzers
Analyzer
Model
Number
Upper
Frequency
Limit
FirmwareHP 8566B/68B
Code
Compatibility
Personality
E4440A26.5 GHzA.03.01 or
later
E4443A6.7 GHzA.03.01 or
later
E4445A13.2 GHzA.03.01 or
later
E4446A44.0 GHzA.03.01 or
later
E4448A50.0 GHzA.03.01 or
later
NOTEThe upper frequency limit of the HP 8566B spectrum analyzer is 22
Option 266
Option 266
Option 266
Option 266
Option 266
GHz, an d t h e up pe r limit of the H P 8568B analyzer is 1.5 GHz.
Chapter 13
Page 24
Getting Started
Installing/Uninstalling Option 266 - ESA-E Series Analyzers Only
Installing/Uninstalling Option 266 - ESA-E
Series Analyzers Only
NOTEThese installation instructions apply only to ESA-E series analyzer
models, that is model numbers E4401B, E4402B, E4404B, E4405B, and
E4407B.
You may want to install Option 266 or reinstall it after servicing or
calibrating the anal yzer. Before you can install the option, you will need
an installation diskette or set of installation diskettes. The latest
version of the installation disk set, at the time of purchase, was
included with this programming compatibility guide.
To update an existing, pr e vi o us ly installed Option 266, yo u may order
the diskette(s) from Agilent Technologies or create a set from the
Agilent internet site shown under “Spectrum Analyzer Updates” on
page 31.
Creating the Installation Disks from the Web
To create the installation disks on-line, visit the Agilent internet site
shown under “Spectrum Analyzer Updates” on page 31. Follow the
instructions provided on the internet site for downloading the current
Option 266 software and creating an installation disk. (A firmware
update may be needed to ensure that the f irmware and the sof tware are
compatible.) After successfully creating the installation disk set, you
are ready to install Opt io n 266 in your E S A -E Se ries analy z e r.
NOTERefer to Table 1 -1 on pa ge 3 to ensure your analyzer is capable of
installing and running Option 266.
Installing the Option 266 Software
This procedure gives steps to install a new software option in an ESA-E
Series Spectrum Analyzer using the internal floppy drive of the
instrument. Scr e en me ssa ges display the update pro gress and give
directions. The instrument will not need to be re-calibrated after this
procedure since no changes are made to calibration or adjust ment files.
If you have a problem with the installation process, refer to
“Troubleshooting the Installer” on pag e 8.
4Chap ter 1
Page 25
Getting Started
Installing/Uninstalling Option 266 - ESA-E Series Analyzers Only
NOTEOnce th e i n st all er has begun in st alling the so ft ware, an y error will
cause the entire option (including a previously installed version) to be
removed from the instrume n t . For this reason , it is very important that
you verify the disk prior to i nstalling it. I f the disk or any of the files are
corrupt, you will not be able to use the option until you obtain a new
installati o n disk se t and ru n t h e in stall using the new set.
NOTEThis applies only to ESA-E series analyzers:
Option 266 - HP 856 6B / 68B Code C om p atibilit y an d Option 2 90 - 8590
Code Compatibilty cannot both be installed on the same Agilent
analyzer at the same time as they will conf li c t with each other. If one of
these personalities has been installed on your analyzer, it must be
removed before the other is installed.
1. Press
System, More, Personalities, and Install. If ther e is no floppy disk
in the d rive, the incorrect d isk is inserted, o r there is n o installer on
the disk, the error “No ins t all disk present in d isk drive ” will be
shown.
The screen will change and the
2. Select
Verify Disks.
When Verify Disks is running, the
Install Pe rs. menu will be shown.
Install Now and Exit Installer keys
will be grayed out.
3. Wh e n the verification ha s be e n completed successfully, press
and the installation of the software will begin.
Now
While the installer is running, the
Ver ify D i sks and Exit Instal le r keys
Install
will be grayed out.
4. On ce the inst allation is compl et e, p re ss
Exit Installe r. If a problem
occurs, refer to “Troubleshooting the Installer” on page 8.
NOTEWhen the installer s tarts up, it ex amines the instrument to e nsure that
all the required software and hardware options are present. If they are
not, the installer will generate an error and you will not be able to
install the option.
Uninstalling Option 266
You may want to uninstall Option 266. To uninstall Option 266, press
System, More, Personalities, Uninstall. Select the option using the
up/down arrow keys on the front panel, and press Uninstall Now.
Chapter 15
Page 26
Getting Started
Installer Screen and Menu
Installer Screen and Menu
The top portion of the install screen is a table in which the files that are
about to be installed are listed. The bottom portion of the screen
contains information needed to track the progress of the install.
1File Table displays the files to be installed and various file
information. If there are more then six files,
allow you to scroll the table to view additional items.
2File Name dis play s the nam e of th e files o n the installation disk.
3Current Version displays the version of the file that is currently
installed in the instrument. (This field will be blank if this file is not
currently installed in the instrument or if the file is a data file that has
no version.)
4Upgrade Version shows the versio n of the f ile on the instal l dis k.
This is the vers ion of the file that wil l re place the cu rr ently installed
version.
5Status is updated to reflect wh at the ins talle r is do ing to the cu rr e nt
file as the install progress. The valid messages seen in this column are
listed in Table 1-3 on page 7.
6Data Field contains a statu s bar an d variou s statu s information.
7Processing disk shows t h e d isk that is cur rentl y bein g read.
8Processing item shows the file that is being processes by ite m
number.
9Bytes free on C is the number of bytes currently free on the
instrument C: drive.
Next Item and Prev Item
6Chap ter 1
Page 27
10Status Bar contains a status bar that runs from 0 to 100% and tracks
the progress of the current step and a message line displays the step
that is currently bein g execu t ed.
11Bytes in package lists the number of bytes in the install package/ fill.
12Bytes left in package lists the nu mb er of byt es left to be read.
13Message and error popup window that displays over the stat us bar.
Information in this box will prompt you f o r action required to proceed
to the next phase of th e instal lation. It may al so inform yo u of errors i n
the installation process and may prompt you for action required to
correct the problem.
Table 1-3 Installer Status Messages
FailedThis means that something has gone wrong while processing
this item. It is a fatal error and the ins tallation can not be
completed. The installer will try to get the system back to a
good state wh ich ma y ent ail compl etely removing the currently
installed personality.
Getting Started
Installer Screen and Menu
LoadingThe file is currently being copied from the install media to the
instrument’s file system.
VerifyingT his may mean one of two things:
1. If “Verify Disks” was pressed then Verifying means that the
installer is curren tly read ing the install media a nd
comparing the known checksums to ensure the data is good .
2. If “Install Now” was pr es se d, the n Verifyin g mea n s tha t the
installer is reading what was just loaded to ensure the
checks um i s co rrect.
LoadedThis means that the data has been placed on the instrument
disk but has not yet been registered with the firmware.
InstalledThis means that the data has been loaded into the instrument
and registered. The ins tall f or this file is complete.
SkippingThis means that the installer has determ ine d that this f ile
does not need to be loaded into the instrument.
Chapter 17
Page 28
Getting Started
T r oubleshooting the Installer
Troubleshooting the Installer
If the installation process stalls or fails in another way, follow these
steps to resolve you r pro b lem.
1. If the inst ru ment stops the update process befor e a ll the disks are
loaded proceed as follows:
a. Press
b. Re t u rn to ste p 1 u nd e r “Installing the Option 26 6 S o ft ware ” on
page 4.
2. If the instrument fails after rep eating the installati on procedure , get
in touch with your nearest Agilent sales and service office for
assistance. Please provide the following information:
Model Number:
Serial Number:
State t h at yo u are having tr ouble insta ll in g Option 26 6.
Exit Installer to abort the process.
8Chap ter 1
Page 29
Getting Started
T r oubleshooting the Installer
Installing Option 266 - PSA Series Analyzers Only
When you install Option 266, follow the process described below. See
“Loading an Optional Measurement Personality” on page 10
Adding additional measurement personalities requires purchasing a
retrofit kit for the desired option. The retrofit kit contains the
measurement personality firmware and a license key certificate. It
documents the license key number that is specific for your option and
instrument serial number.
Why Aren’t All the Personality Options Loaded in Memory?
There are many measurement personality options available for use
with this instrument. Some versions of instrument hardware may not
have enough memory to accommodate all the options that you have
ordered. If this is the case you will need to swap the applications in/out
of memory, as needed. It may be possible to upgrade your hardware to
have more memory. Contact yo u r local sales /s e rvice office.
Available Measurement Personality Options
To order a measurement personality option you need the instrument
model number, the host ID and the serial number.
Requ ired Information:Front Panel Key Path:
Model #:
__________________
Host ID:
__________________
Instrument
Serial Number:
__________________
NOTEThe instrument must have Option B7J in order to add most of the
with PDC)
PDC measurement personalities (sold with
NADC)
HP 8566B/68B Code Compatibility266
W-CDMA measurement personalityBAF
cdma2000 measur em ent p ersonalityB78
1xEV-DO measurement personality204
a
OptionFile Si ze (P SA
Rev: A.02.04)
B7JCannot be
deleted
2023.3 MB
BAE1.3 MB
BAE1.4 MB
0.65 MB
4.2 MB
3.8 MB
6.0 MB
b
c
c
c
Shared measurement libr ar yn/a1.5 MB
a. Available as of the print date of this guide.
b. This option is free and does not require a license key. Install-
ing Option 266 Code Compatibility on a PSA series analyzer
autom at ically uninstall s all incomp atible personality optio n s.
Conversely , installing any incompatible personality option will
uninstall the Option 266 Code Compatibility option.
c. Some personality options use a shared measurement library.
You have to add the memory requirements of this library to
the value needed for the option. If you are loading multiple
personalities that use this library, you only need to add this
memory re qu i re ment once.
Loading an Optional Measurement Personality
You m ust load the desired personality option into the instrument
memory. Loading can be done from a fi rmw are CD -ROM or the internet
location. An automatic loading program comes with the files and runs
from you r PC.
NOTEWhen you add a new option, or update an existing option, you will get
the updated version of all your current options since they are reloaded
simultane ous ly. This process may also require yo u to up dat e t he
instrume n t co re firmware so that it is comp at ible with the n e w option.
10Chap ter 1
Page 31
Getting Started
T r oubleshooting the Installer
You may not be able to fit all of the available measurement
perso n aliti e s i n in s t rument me mo ry at th e sa me t ime. You may need to
delete an existing option file from memory and load the one you want.
Use the automatic update program that is provided with the files.
The approximate memory requirements for the options are listed
above. These numbers are worst case examples. Some options share
components and libraries , therefore the total memory usage of mul ti ple
options may not be exactly equal to the combined total.
You can install an updated version of firmware and your licensed
options using a LAN connection and your PC. Instructions for loading
future firmware updates are available from the following internet
location: http://www.agilent.com/find/psa/
NOTEThere is no license key for Option 266. You therefore do not need to
follow the usual license key installation process.
Chapter 111
Page 32
Getting Started
Configuring Option 266 - ESA and PSA Analyzers
Configuring Option 266 - ESA and PSA
Analyzers
Figure 1-1 and Figure 1-2 show the menu maps to conf ig ure Opti on 266
(HP 8566B/68B Code Compatibility) on your spectrum analyzer.
Pressing
analyze r (o r System, Configure Remote Lang, Language on an ESA-E
Series analyzer) a ll ows y ou to select the remote p r ogra mming langua ge
for the instru ment you are re pl acing.
System, Config I/0, Configure Remot e Lang, Language on a PSA Series
12Chap ter 1
Page 33
Getting Started
Configuring Option 266 - ESA and PSA Analyzers
Figure 1-1 System Menu Map f or Option 266 on ESA-E Series Analyzers
Figure 1-2 System Menu Map f or Option 266 on PSA Series Analy zers
Chapter 113
Page 34
Getting Started
Analyzer Settings When Changing Language
Analyzer Settings When Changing Language
When you power your ESA-E or PSA analyzer on for the first time, the
language is set to SCPI. Subsequent changes of Remote Language
cause the following settings to be changed:
SCPI• The analyzer is preset
• The H P 8566 B /68B Code C o mpatibility application is u n coupled
HP8566B• The analyzer is preset
• Number of trace points is set to 1001
• Start frequency is set to 2 GHz
• Stop frequency is set to 22 GHz
• RF coupling is set to DC
(See Note below)
• Sweep and FFT couplings are set
HP8568B• The analyzer is preset
• Number of trace points is set to 1001
• Start frequency is set to 0 Hz
• Stop frequency is set to 1.5 GHz
• RF coupling is set to AC
(See Note below)
• Sweep and FFT couplings are set
NOTERF Coupling is only available o n PS A an alyzers w it h a maximum
frequency of 26.5 MHz or lower, and on ESA analyzers that have
Option U KB (Low Frequency Extension) installed.
Analyzer Settings After Powering On and Off
Whenever you switch your ESA-E or PSA analyzer off, its current
language setting is saved. When you next switch it on, it will power up
with exactly the same language setting as when you switched it off.
14Chap ter 1
Page 35
Getting Started
The Configure Remote Lang Screen Menu - ESA-E and PSA Analyzers
The Configure Remote Lang Screen Menu ESA-E and PSA Analyze rs
Configure
Remote Lang
This key displays a menu allowing you to select the remote language
you wish to use, and to determine how command error messages are
stored and displayed.
LanguageThis key allows you to select which remote programming language you
wish to use.
SCPI Selects the
SCPI remo t e pro gra mmi ng la ngu age . Thi s is
the default setting after installation.
HP8566B Select s the
HP8566B remote progra mming langua ge an d
sets the response to the remot e programming command
‘ID’ to HP8566B. It also performs an instrument preset,
setting Span and Trace Points appropriately.
HP8568B Select s the
HP8568B remote progra mming langua ge an d
sets the response to the remot e programming command
‘ID’ to
HP8568B. It also performs an instrument preset,
setting Span and Trace Points appropriately.
NOTESetting the remote language to HP8566B or to HP8568B does not affect
the response to the SCPI command ‘*IDN?’ This command will still
return the mod el numbe r and fi rmwa re vers ion nu mber of the ESA- E or
PSA analyzer.
Command ErrThis key determines whether or not command errors are displayed on
the screen. When set to
On, error me ssa ge s generated by u n re cognized
commands or command arguments are displayed on the screen. When
set to
Off, error messages generated by unrecognized commands are not
displ aye d. The c ur r e n t settin g is under lined on th e key labe l, an d this
setting is reversed each time the key is pressed.
NOTECommand Err is set to On after Option 266 has been installed.
Thereafter, the latest setting will always be retained, even after a
preset has been performed.
Chapter 115
Page 36
Getting Started
The Configure Remote Lang Screen Menu - ESA-E and PSA Anal yzers
Cmd Error LogThis key sets command error logging On or Off. When set to On, all error
messages are stored in a log file, regardless of whether they have been
displayed on the screen. When set to Off, no further com ma n d e rro r
messages are written to the log file.
The log file is an ASCII text file called LOGF IL E.T XT on the C: drive. It
has a maximum size of 32 KB. Once it has reached its maximum size,
no furthe r e rro r messages will be recorded, but a me ssage will be
displayed prompting you to clear the log file. Switching
Off does not clear the log file. Only the Clear Command Error Log softkey
Cmd Error Log to
will clear t h e er ro r lo g.
NOTECommand Err Log is set to On after O pt ion 266 has been i n st alled.
Thereafter, the latest setting will always be retained, even after a
preset has been performed.
Clear Command
Error Log
This key allows yo u t o cle ar all messages from t he comman d error log
file LOGFILE.TXT.
16Chap ter 1
Page 37
Getting Started
Differences Between Option 266 Commands and the Original HP8566B/HP 8568B Commands
Differences Between Option 266 Commands
and the Original HP 8566B/HP 8568B
Commands
The following table lists commands that behave differently in Agilent
Option 266 when c om pared to the o riginal HP 8566B and H P 8568B
analyzers:
Table 1-4 Analyzer Commands That Behave Differently in Option 266
CommandHP 8566B / HP 8568B
Analyzers
ATSpecifies RF input
annotation.
CFSpecifies the center
frequency.
DETSelects the type of
detection - sample,
normal, positive pea k or
negative peak - that is
applied to the input signal.
DLSpecifie s the display line
level.
ESA-E Option 266PSA Option 266
Maximum attenuation is
limited to 65 dB.
The OA option only
returns the current valu e
to the controller. It does
not set the active func tio n.
The OA option only
returns the current valu e
to the controller. It does
not set the active func tio n.
Normal detection is not
possible in the ESA, so
selection of NRM
command option will
default to POS (Positive
Peak) detection.
The OA option only
returns the current valu e
to the controller. It does
not set the active func tio n.
The OA option only
returns the current value
to the controller. It does
not set the active function.
The OA option only
returns the current value
to the controller. It does
not set the active function.
Normal detection is
possible.
The OA option only
returns the current value
to the controller. It does
not set the active function.
FASpecifies the start
frequency value.
FBSpecifie s the stop
frequency value.
Chapter 117
The OA option only
returns the current start
frequency value to the
controller. It does not set
the active functio n to t he
start frequency.
The OA option only
returns the current stop
frequency value to the
controller. It does not set
the active functio n to t he
stop frequency.
The OA option only
returns the cu rre nt start
frequency value to the
controller. It does not set
the active function to the
start frequency.
The OA option only
returns the current stop
frequency value to the
controller. It does not set
the active function to the
stop frequ e ncy.
Page 38
Getting Started
Differences Between Option 266 Commands and the Original HP8566B/HP 8568B Commands
Table 1-4 Analyzer Commands That Behave Differently in Option 266
CommandHP 8566B / HP 8568B
Analyzers
FOFFSETSpecifies the frequency
offset.
FPKAPerforms a fas t preselecto r
peak and return s the
measured value of the
active ma r k er.
I1 [one]Sets RF coup ling to DC.This command is no t
ESA-E Option 266PSA Option 266
The OA option only
returns the current value
to the controller. It does
not set the active fun ctio n .
Adjusts the centering of
the preselector filter to
optimize the amp litude
accuracy at the active
marker frequency.
This functio nalit y is on ly
available in ESA-E series
analyzers whose frequency
range ex tends b e yond 3
GHz, that is the E4404B,
the E4405B, and the
E4407B analyzers.
supported on model
number E4401B. It is only
supported on model
number E4407B if Option
UKB has been insta lle d.
The OA option only
returns the current valu e
to the controller . It does
not set the active fu nc tio n.
Adjusts the centering of
the preselector filter to
optimize the amplitude
accuracy at the active
marker frequency.
This functionality is
available in all PSA series
analyzers.
This command is only
supported on PSA
analyzers with a frequency
range up to 26.5 GHz, that
is the E4440A, the E4443A
and the E4445A.
Note also that the
HP 8568B analyzer has
two R F port s w hereas the
ESA only has one.
I2 [two]Sets RF c oup ling to AC.This command is not
supported on model
number E4401B. It is only
supported on model
number E4407B if Option
UKB has been insta lle d.
Note also that the
HP 8568B analyzer has
two R F port s w hereas the
ESA only has one.
KS,Specifies the maximum
signal level applied to the
input mi xer for signals at
or below the reference
level.
The OA option only
returns the current value
to the controller. It does
not set the active fun ctio n .
Note also that the
HP 8568B analyzer has
two RF ports whereas the
PSA only has one.
This command is only
supported on PSA
analyzers with a frequency
range up to 26.5 GHz, that
is the E4440A, the E4443A
and the E4445A.
Note also that the
HP 8568B analyzer has
two RF ports whereas the
PSA only has one.
The OA option only
returns the current valu e
to the controller . It does
not set the active fu nc tio n.
18Chap ter 1
Page 39
Getting Started
Differences Between Option 266 Commands and the Original HP8566B/HP 8568B Commands
Table 1-4 Analyzer Commands That Behave Differently in Option 266
CommandHP 8566B / HP 8568B
Analyzers
KS= (on
HP 8568B
analyzers)
KSaSelects normal dete ct io n.Normal detection is not
KSEActivates the title mode,
Specifies the resolutio n of
the m a rker freque n cy
counter.
using ‘@’ as the defa u lt
termination character .
ESA-E Option 266PSA Option 266
Language set to HP8566B:
not supported.
Language set to HP8568B:
No difference.
possible in the ESA, so
selection of KSa comman d
option will default to PO S
(Positive Peak) detection.
The only acceptable
termination characters are
‘@’ and Carriage Return.
The ‘@’ character does not
appear on the screen.
Language set to HP8566B:
not supported.
Language set to HP8568B:
Setting the marker
frequency counter
resolution changes the
gate time. The gate time is
calculated by:
GateTime = 1/(Res. value)
Normal detection is
possible.
The only acceptable
termination characters are
‘@’ and Carriage Return.
The ‘@’ character does not
appear on the screen.
KSGEnables video averaging.The OA option only
returns the current valu e
to the controller. It does
not set the active func tio n.
KSMDisplays the noise density
at the marker.
KST (on
HP 8566B
analyzers)
KSVSpecifies frequency offset
Performs a fast preset on
HP 8566B analyzers.
values.
The OA option only
returns the current valu e
to the controller. It does
not set the active func tio n.
Language set to HP8566B:
ESA series analyzers
cannot perform a fast
preset. The KST c ommand
performs an instrument
preset instead, setting the
analyzer back to its factory
default settings.
The OA option only
returns the current valu e
to the controller. It does
not set the active func tio n.
The OA option only
returns the current value
to the controller. It does
not set the active function.
The OA option only
returns the current value
to the controller. It does
not set the active function.
Language set to HP8566B:
PSA series analyzers
cannot pe rform a fast
preset. The KST command
performs an instrument
preset instead, setting the
analyzer back to its factory
default settings.
The OA option only
returns the current value
to the controller. It does
not set the active function.
Chapter 119
Page 40
Getting Started
Differences Between Option 266 Commands and the Original HP8566B/HP 8568B Commands
Table 1-4 Analyzer Commands That Behave Differently in Option 266
CommandHP 8566B / HP 8568B
Analyzers
KSxSelects no rmal external
triggering.
Fast sweep times in zero
span ca n cause th e
displayed trace to flicker.
KSySelects normal video
triggering.
Fast sweep times in zero
span ca n cause th e
displayed trace to flicker.
KSZSpecifies the reference
level offset.
LGS e ts amp litu de read out to
logarithmic scale.
ESA-E Option 266PSA Option 266
The displayed trace is
automatica lly refreshed.
All flickering has been
eliminated.
The displayed trace is
automatica lly refreshed.
All flickering has been
eliminated.
The OA option only
returns the current value
to the controller. It does
not set the active fun ctio n .
The OA option only
returns the current value
to the controller. It does
not set the active fun ctio n .
The displayed trace is
automatically re f re shed.
All flickering has bee n
eliminated.
The displayed trace is
automatically re f re shed.
All flickering has bee n
eliminated.
The OA option only
returns the current valu e
to the controller . It does
not set the active fu nc tio n.
The OA option only
returns the current valu e
to the controller . It does
not set the active fu nc tio n.
M2Sets norma l mar k er.The OA option only
returns the current value
to the controller. It does
not set the active fun ctio n .
M3Measures the amplitude
and frequency differences
between the act ive a nd the
delta marker.
No difference if Marker
Noise (MKNO IS E) is
switched on when the
measurement is made.
If MKNOISE is switched
on after the measurement
has been made, the
amplitude measured is
that between th e nois e
density and the carrier
signal.
The OA option only
returns the current value
to the controller. It does
not set the active fun ctio n .
The OA option only
returns the current valu e
to the controller . It does
not set the active fu nc tio n.
No difference if Marker
Noise (MKNOISE) is
switched on when the
measurement is made.
If MKNOISE is switched
on after the measurement
has been made, the
amplitude measu red is
that between the noise
density and the ca rrier
signal.
The OA option only
returns the current valu e
to the controller . It does
not set the active fu nc tio n.
20Chap ter 1
Page 41
Getting Started
Differences Between Option 266 Commands and the Original HP8566B/HP 8568B Commands
Table 1-4 Analyzer Commands That Behave Differently in Option 266
CommandHP 8566B / HP 8568B
Analyzers
MKASpecifies the amplitude of
the active marke r in dBm
when the active marker is
of the fixed or amplitude
type.
MKDMeasures the amplitude
and f r e que ncy di ff eren c es
between the active and the
delta marker.
ESA-E Option 266PSA Option 266
Only supports the query
option.
No difference if Marker
Noise (MKNOISE) is
switched on when the
measurement is made.
If MKNOISE is switched
on after the measurement
has been made, the
amplitude measu red is
that between the noise
density and the carrier
signal.
The OA option only
returns the current valu e
to the controller. It does
not set the active func tio n.
Only suppor ts th e qu ery
option.
No difference if Marker
Noise (MKNOISE) is
switched on when the
measurement is made.
If MKNOISE is switched
on after the measurement
has b een ma de, the
amplitude measured is
that between th e nois e
densit y and t h e carrier
signal.
The OA option only
returns the current value
to the controller. It does
not set the active function.
MKFCRSpecifies the resolution of
the m a rker freque n cy
counter.
MKREADSelects the type of trace
information th at is
displayed.
MKNSets normal marker.The OA option only
No difference.Setting the marker
Will not accept the FFT
(Fast Four i er Transform )
keyword.
returns the current valu e
to the controller. It does
not set the active func tio n.
frequency counter
resolution changes the
gate time. The gate time is
calculated by:
GateTime = 1/(Res. value)
WIll not accept the FFT
(Fast Fourier Transform)
keyword.
The OA option only
returns the current value
to the controller. It does
not set the active function.
Chapter 121
Page 42
Getting Started
Differences Between Option 266 Commands and the Original HP8566B/HP 8568B Commands
Table 1-4 Analyzer Commands That Behave Differently in Option 266
CommandHP 8566B / HP 8568B
Analyzers
MLSpecifies the maximum
signal level applied to the
input mi xer for signals at
or below the reference
level.
OTOutput Trac e Annotations
(Sends 32
character-strings, each of
up to 64 characters)
ESA-E Option 266PSA Option 266
The mixer level is
calculated using the
following equation.
The external amplif ier
gain is not preset by doing
an IP in case the
instrument is measuring a
large signal.
The OA option only
returns the current value
to the controller. It does
not set the active fun ctio n .
String number 27 (‘dirty
marker’ status repo rt) is
not supported.
The mixer level is
calculated using the
following equation.
Mixer Level = Re f. Level Attenuation + Ext. Amp
Gain.
The external amplifier
gain is not preset by doing
an IP in case the
instrument is measuring a
large signal.
The OA option only
returns the current valu e
to the controller . It does
not set the active fu nc tio n.
No difference.
PLOTTransfers trace data,
graticule parameters and
graticule annotation
directly to a plotte r.
PPPeaks preselector.Adjusts the centering of
PWRBWPower Bandwid thIn the HP 8566B/8568B,
Prints the scree n disp lay
on a printer rath e r than
transferring d ata to a
plotter.
the preselector filter to
optimize the amp litude
accuracy at the active
marker frequency.
This functio nalit y is on ly
available in ESA-E series
analyzers whose frequency
range ex tends b e yond 3
GHz, that is the E4404B,
the E4405B, and the
E4407B analyzers.
the trace stops when the
PWRBW command is
issued. The trace does not
stop in the ESA-E series
analyzers.
Prints the scre en di sp lay
on a printer rather than
tra n sferr ing data to a
plotter.
Adjusts the centering of
the preselector filter to
optimize the amplitude
accuracy at the active
marker frequency.
This functionality is
available in all PSA series
analyzers.
In the HP 8566B/ 8568 B,
the trace stops when the
PWRBW command is
issued. The trace does not
stop in the PSA series
analyzers.
22Chap ter 1
Page 43
Getting Started
Differences Between Option 266 Commands and the Original HP8566B/HP 8568B Commands
Table 1-4 Analyzer Commands That Behave Differently in Option 266
CommandHP 8566B / HP 8568B
Analyzers
R4Activates the
units-key-pressed and
illegal-command service
requests.
RBSpecifie s the res o lution
bandwidth.
RCRecalls registers
containing a set of
instrument states.
ESA-E Option 266PSA Option 266
The units-key-press ed
service request can not be
supported sin ce f ront
panel interaction is not
allowed.
Default values ma y be
different to the HP 8566B.
Please refer to your ESA-E
or PSA User’s Guide for
restrictions on the
resolution bandw id th
range.
The OA option only
returns the current valu e
to the controller. It does
not set the active func tio n.
Recalling the previous
state data (RC 7) is not
supported.
The units-key-pressed
service request cannot be
supported since front
panel interac tio n is no t
allowed.
Defa ult val ue s may be
different to the HP 8566B.
Please refer to your ESA-E
or PSA User’s Guide for
restrictions on the
resolution bandwidth
range.
The OA option only
returns the current value
to the controller. It does
not set the active function.
Recalling the previous
state data (RC 7) is not
supported.
RCLSRecalls registers
containing a set of
instrument states.
REVReturns the firmware
revision number.
RLSets the reference level.The OA option only
ROFFSETSets the refere nce level
offset.
RQSSets a bit mask for service
requests.
SMOOTHSmooths the trace.Some differences in the
Recalling the previous
state data (RCLS 7) is not
supported.
Returns the build date of
your Option 266 (in YYWW format).
returns the current valu e
to the controller. It does
not set the active func tio n.
The OA option only
returns the current valu e
to the controller. It does
not set the active func tio n.
Some differences may be
noticed in the value
returned by a query.
trace display may be
noticed.
Recalling the previous
state data (RCLS 7) is not
supported.
Returns the build d ate of
your Option 266 (in YYWW format).
The OA option only
returns the current value
to the controller. It does
not set the active function.
The OA option only
returns the current value
to the controller. It does
not set the active function.
Some differences may be
noticed in the valu e
returne d b y a que ry.
Some differences in the
trace display m ay be
noticed.
Chapter 123
Page 44
Getting Started
Differences Between Option 266 Commands and the Original HP8566B/HP 8568B Commands
Table 1-4 Analyzer Commands That Behave Differently in Option 266
CommandHP 8566B / HP 8568B
Analyzers
SPSets the frequency span.The OA option only
SSSe ts the center frequency
step si ze.
STSets the sweep time.The OA option only
THBlanks the display of
signals below the
threshold leve l.
ESA-E Option 266PSA Option 266
returns the current value
to the controller. It does
not set the active fun ctio n .
The OA option only
returns the current value
to the controller. It does
not set the active fun ctio n .
returns the current value
to the controller. It does
not set the active fun ctio n .
No change will be noticed
in the display.
Note that the PEAKS and
MKPK co m m a nd s can
cause all values be low the
threshold level to be
disregarded.
The OA option only
returns the current valu e
to the controller . It does
not set the active fu nc tio n.
The OA option only
returns the current valu e
to the controller . It does
not set the active fu nc tio n.
The OA option only
returns the current valu e
to the controller . It does
not set the active fu nc tio n.
No change will be noticed
in the display.
Note that the PEAKS and
MKPK commands can
cause all values below the
threshold leve l to be
disregarded.
VBS p ecif ies the vid e o filt e r
bandwidth.
The OA option only
returns the current value
to the controller. It does
not set the active fun ctio n .
Default values may be
different to the HP 8566B.
Please refer to your ESA-E
or PSA User’s Guide for
restr ictions o n the video
bandwidth range.
The OA option only
returns the current value
to the controller. It does
not set the active fun ctio n .
The OA option only
returns the current valu e
to the controller . It does
not set the active fu nc tio n.
Default values ma y be
different to the HP 8566B.
Please refer to your ESA-E
or PS A Us e r’s Guide for
restrictions on the video
bandwidth range.
The OA option only
returns the current valu e
to the controller . It does
not set the active fu nc tio n.
24Chap ter 1
Page 45
Getting Started
Differences Between Option 266 Commands and the Original HP8566B/HP 8568B Commands
Table 1-4 Analyzer Commands That Behave Differently in Option 266
CommandHP 8566B / HP 8568B
Analyzers
VAVGEnables video averaging,
displaying the orig inal
trace in Trace C.
Sweep time remains
unchanged.
VBOSpecifies the ratio of video
to resolution bandwidths
when coupled.
ESA-E Option 266PSA Option 266
Only displays the average
trace in Trace A.
Sweep time changes .
Difference s in ho w th e
average is calculated when
other setti ngs hav e
changed.
No change.Some differences may be
Only displays the averag e
trace in Trace A.
Sweep time changes.
Differences in how the
average is calculated when
other se tting s have
changed.
noticed when VBO of 1 or
of -1 is used.
Chapter 125
Page 46
Getting Started
Differences Between HP8566B and HP8568B Remote Languages in Option 266
Differences Between HP8566B and HP8568B
Remote Languages in Option 266
The following table lists Option 266 commands that behave differently
in the HP8566B remote language when compared to the HP8568B
remote language:
Table 1-5 Option 266 Commands That Behave Differently in the HP8566B
and HP8568B Remote Languages
CommandHP8566B Remote
Language
FPKAValid and supportedInvalid - HP 8566B command
I1 [one]Invalid - HP 8568B command
only
I2 [two]Invalid - HP 8568B command
only
KSKValid and supporte dValid command o n the
KSNValid and supportedValid command on the
KSTValid and supportedValid command on the
HP8568B Remote
Language
only
Valid and supported (but see
Table 1-4 on page 17 and “I1
[one] Set RF Coupling to DC”
on page 118)
Valid and supported (but see
Table 1-4 on page 17) and “I2
[two] Set RF Coupling to AC”
on page 120
HP 8568B but unsupported
in Option 266
HP 8568B but unsupported
in Option 266
HP 8568B but unsupported
in Option 266
KS=Valid command on the
HP 8566B but unsupported
in Option 266
LFValid and supportedInvalid - HP 8566B command
MC0 [zero]Invalid - HP 8568B command
only
MC1 [one]Invalid - HP 8568B command
only
MKFCInvalid - HP 8568B command
only
26Chap ter 1
Valid and supported
only
Valid and supported
Valid and supported
Valid and supported
Page 47
Getting Started
Differences Between HP8566B and HP8568B Remote Languages in Option 266
Table 1-5 Option 266 Commands That Behave Differently in the HP8 566B
and HP 8568B Remote Languages
CommandHP8566B Remote
Language
MKFCRInvalid - HP 8568B command
only
PPValid and supportedInvalid - HP 8566B command
HP8568B Remote
Language
Valid and supported
only
Chapter 127
Page 48
Getting Started
Running Software that Requires SCPI Commands
Running Software that Requires SCPI
Commands
When Remote Language HP8566B or HP8568B has been selected, you
will only have access to a very small subset of SCPI commands. If you
are not famil iar wi th the SCPI remote pr ogram ming la nguage , Chapter
5, “A Brief Introduction to the SCPI Language,” on page 259 cont ains
some useful information.
The SCPI commands available while using the remote language
HP8566B or HP8568B are:
•
*IDN?
Queries an d ret u rn s t h e inst ru ment identifi cat i on st ri n g.
*RST
•
Performs an instrument preset.
•
:SYSTem:LANGuage SCPI|HP8566B|HP8568B
Sets the current remote language.
This command i s only availab le if you have Option 266 installe d o n
your analyzer.
NOTEAgilent Technologies recommend that you do not repeatedly swap to
and from the SCPI language within your programs.
•
:SYSTem:LANGuage?
Queri es an d re t u rn s t h e cu rre n t re mote language.
This command i s only availab le if you have Option 266 installe d o n
Sets the auto rule setting for FFT and Sweep Type.
[:SENSe]:SWEep:TYPE:AUTO:RULes?
•
Queries and returns the auto rule setting for FFT and Sweep Type.
•
:SYSTem:OPTion?
Returns a list o f installed options.
28Chap ter 1
Page 49
Getting Started
Running Software that Requires SCPI Commands
If Option 266 is instal le d o n yo u r analyze r, the string “266” will
appear in the returned string . In the foll owing example , options B7J,
266, and 1D S are all installed.
Example: “B7J,2 66, 1DS ”
To r etur n the a nalyzer to its full ESA or PSA SCPI capab il ity, you must
specify the remote language as SCPI.
Chapter 129
Page 50
Getting Started
Service and Calibration
Servi ce and Calib r ation
Since the Performance Verification and Adjustment Software uses the
SCPI command language, you will need to set Remote Language to
SCPI prior to calibration or service of your Agilent spectrum analyzer.
When your analyzer is returned from an Agilent Technologies service
center, you may have to reinstall Option 266. Refer to
“Installing/Uninstall ing Option 266 - ESA-E Series Analyzers Only” on
page 4 or “In s t alling Option 266 - PS A S e ries An alyzers Only” on page 9
30Chap ter 1
Page 51
Getting Started
Documentation for Option 266
Documentation for Option 266
Spectrum Analyzers with Option 266
When you purchase your ESA-E Series or PSA Series spectrum
analyzer with the HP 8566B/68B Code Compatibility (Option 266), you
will receive this man u al - the HP 8566B/68B Code Co mpatibility Guide. For information on ESA series analyzers and other related
documentation, refer to the ESA web site at
http://www.agilent.com/find/esa/. For information on PSA series
analyzers and other related documentation, refer to the PSA web site at
http://www.agilent.com/find/psa/.
This HP 8566B/6 8B C o d e C o mpatibility Gu id e is not designed to be a
compr e h e n sive guide to all HP 8566B/68 B co mmands. It giv e s bri ef
descriptio ns of t h e sup po rt ed co mmands, and highli gh ts i mportant
functional or behavioral differences that you should be aware of when
transferring existing HP 8566B or HP 8568B code to your ESA-E series
or PSA analyzer. F or a fuller descripti on of the commands, refer to the
HP 8566B or HP 85 68B ’s Operating and Programming Manual.
Spectrum Analyzer Updates
For the latest informa t ion abou t th is instrument, including so ft wa re
upgra de s, ap plication in format io n , an d product in fo rmation , please
visit the URL listed below.
Updating the Firmware and Software
Updated versions of the Agilent Spectrum Analyzers’ firmware and
software will be av ailable via seve ra l sources. In f o rmation o n th e latest
firmware a n d so ft ware re vision can be accessed throu g h the fo llowing
URL.
URLs to Obtain Update Information
For ESA analyzers: http://www.agilent.com/find/esa /
For PSA analyzers: http://www.agilent.com/find/psa/
NOTEIf you have purchased Option 266 as an upgrade, the latest version of
the analyzer’s firmware has been included and should be lo aded into
your instrument before installing the Option 266.
Chapter 131
Page 52
Getting Started
Documentation for Option 266
32Chap ter 1
Page 53
2HP 8566B and HP 8568B
Command List
33
Page 54
HP 8566B and HP8568B Command List
T able of HP 8566B and HP 8568B Commands
Table of HP 8566B and HP 8568B Commands
The follo wi n g t able lists all H P 8566B and H P 8568B prog ramming
commands, and indicates which are supported in Option 266. R e fe r t o
the alphabetical listing of commands in Chapter 4 , “Programming
Commands,” on page 61 for more detailed information about each
supp orted command.
34Chap ter 2
Page 55
HP 8566B and HP8568B Command List
Table of HP 8566B and HP 8568B Commands
Table 2-1 Alphanumeric List of All HP 8566B/HP 8568B Commands and
Their Option 266 Suppor t
HP8566B/
HP8568B
Command
A1 [one]YesClear write of Trace ASee page 65 for more
A2 [two]YesMaximum hold for Tr ace ASee pag e 66 for mo re
A3 [three]YesView Trace ASee page 6 7 for more
A4 [four]YesBlank Trace ASee pag e 68 for mo re
ABSNoPuts the absolute value of the source
ADDNoOperand 1 + Operand 2 into
AMBYesA minus B into ASee pag e 69 for mo re
AMBPLYes(A minus B) + DL into ASee page 70 for more
Supported
in Option
266?
Command DescriptionNote
details
details
details
details
Returns error - "CMD
into the destinatio n .
destination
NOT SUPPORTED"
Returns error - "CMD
NOT SUPPORTED"
details
details
ANNOTYesTurns the Annotation ON or OFFNot supported on PSA
See page 71 for more
details
APBYesA plus B into A (Adds trace A and B
point by point and sends results to
A)
ATYesSpecifies input attenuationSee page 7 3 for more
AUNITSYesSpecifies amplitude units for input,
output and display
AVGNoOperand is averaged into
destination
AXBYesExchange A and BSee pag e 76 for mo re
B1 [one]YesClear write of Trace BSee pag e 77 for mo re
See page 72 for more
details
details
See page 75 for more
details
Returns error - "CMD
NOT SUPPORTED"
details
details
Chapter 235
Page 56
HP 8566B and HP8568B Command List
T able of HP 8566B and HP 8568B Commands
Table 2-1 Alphanumeric List of All HP 8566B/HP 8568B Commands and
Their Option 266 Support
HP8566B/
HP8568B
Command
B2 [two]YesMa ximum hol d for Trace BSee page 78 for more
B3 [three]YesView Trace BS ee page 79 for more
B4 [four]YesBlank Trace BSee page 80 for more
BLYe sTrace B minus Display Line into BSee page 8 1 for mor e
BLANKYesBl anks traces and stops the sweep.
BMLYe sTrace B minus Display Line into BSee page 83 for more
BRDNoBus Read (Reads a 2 byte word at
BTCYesTransfers trace B to trace CSee page 84 for more
Supported
in Option
266?
Command DescriptionNote
details
details
details
details
See page 82 for more
Trace is not upd ate d
the internal input/output) (This is a
service diagnostic function only)
details
details
Returns error - "CMD
NOT SUPPORTED"
details
BWRNoBus Write Word (Writes a 2 byte
word at the inter nal inp u t/ ou tput)
(This is a service diagnostic function
only)
BXCYesExchanges traces B and C point by
point
C1 [one]YesTrace A minus Trace B into Trace A On See page 86 for more
C2 [two]YesTrace A minus Trace B into Trace A
Off
CAYesCouple Attenuator (Resets the
attenuation value so that a
continuous wave signal displayed at
the reference level will yield the
maximum mixer level (see ML
command) at the mixer input)
CFYesCenter FrequencySee page 89 for more
Returns error - "CMD
NOT SUPPORTED"
See page 85 for more
details
details
See page 87 for more
details
See page 88 for more
details
details
36Chap ter 2
Page 57
HP 8566B and HP8568B Command List
Table of HP 8566B and HP 8568B Commands
Table 2-1 Alphanumeric List of All HP 8566B/HP 8568B Commands and
Their Option 266 Suppor t
HP8566B/
HP8568B
Command
CLRAVGYesClear AverageSee pag e 91 for mo re
CLRWY esEnables the Clear-Write Mode which
CNVLOSSNoSelects the reference level offset to
COMPRESSNoCompresses trace source to fit trace
CONCATNoConcatenates operands and sends
CONTSYesSets the analyzer to con tinu o us
CRYesCouples the resolution bandwidth
Supported
in Option
266?
Command DescriptionNote
details
See page 92 for more
continuously di sp lays any sign al s
present at the analyzer input
amplitude calibrate the display for a
mixer with a giv en los s
destination
new trace to destination
sweep mode
with the video b andwidth and s weep
time
details
Returns error - "CMD
NOT SUPPORTED"
Returns error - "CMD
NOT SUPPORTED"
Returns error - "CMD
NOT SUPPORTED"
See page 93 for more
details
See page 94 for more
details
CSYesCouples the center frequency step
size to the span width (Step Size =
0.1 x Span Width) (1 major graticule
division)
CTYesCouples the sweep time with the
resolution and video bandwidths
CTAN oConverts the operand values from
display units to absolute amplitude
units
CTMNoConverts the operand values to
vertical display units
CVYesCouples video bandwidth with the
resolution bandwidth and sweep
time
D1 [one]NoSets the display to norm al size,
selected with IP.
D2 [two]N oSets the display to full CRT siz e.Returns error - "CMD
See page 95 for more
details
See page 96 for more
details
Returns error - "CMD
NOT SUPPORTED"
Returns error - "CMD
NOT SUPPORTED"
See page 97 for more
details
Returns error - "CMD
NOT SUPPORTED"
NOT SUPPORTED"
Chapter 237
Page 58
HP 8566B and HP8568B Command List
T able of HP 8566B and HP 8568B Commands
Table 2-1 Alphanumeric List of All HP 8566B/HP 8568B Commands and
Their Option 266 Support
HP8566B/
HP8568B
Command
DAYesDisplay memory addressOnly DA 1, DA 1025 and
DDNoWr ite s two 8 byte s (binary) into the
DETYesIn p ut Dete c to rSee page 99 for more
DISPOSENoClears specified op erand s (Trace
DIVNoDivide operand 1 by oper and 2, point
DLYesDisplay Line Level (dBm )See page 101 for mor e
DLEYesEnable o r disables th e Di splay LineSee page 102 for mor e
Supported
in Option
266?
Command DescriptionNote
DA 3073 are supported
Returns error - "CMD
current or specified memor y addres s
& advances address by 1
Label, Var Identifier, Function
Identifier, Key Number)
by point
NOT SUPPORTED"
details
Returns error - "CMD
NOT SUPPORTED"
Returns error - "CMD
NOT SUPPORTED"
details
details
DONEYesA synchronizing function - sends a
’1’ to the controller after the
command line is executed
DRNoDisplay Read - sends the contents of
the current display address to the
controller
DSPLYNoD isplays the value of a variableReturns error - "CMD
DTNoD efine TerminatorReturns error - "CMD
DWN oDisplay Write - sends a dec im al
value from the controller to the
display memory address
D3 [three]NoSets the display to expanded size.Returns error - "CMD
E1 [one]YesMoves the active marker to the
maximum signal detected.
E2 [two]YesMoves the active marker frequency
into the center frequenc y.
See page 103 for more
details
Returns error - "CMD
NOT SUPPORTED"
NOT SUPPORTED"
NOT SUPPORTED"
Returns error - "CMD
NOT SUPPORTED"
NOT SUPPORTED"
See page 104 for more
details
See page 105 for more
details
38Chap ter 2
Page 59
HP 8566B and HP8568B Command List
Table of HP 8566B and HP 8568B Commands
Table 2-1 Alphanumeric List of All HP 8566B/HP 8568B Commands and
Their Option 266 Suppor t
HP8566B/
HP8568B
Command
E3 [three]YesMoves the active marker frequency
E4 [four]YesMoves the active marker to the
EENoEna bles front panel number entryReturns error - "CMD
EKNoEnables the data knobReturns error - "CMD
ELSENoConditional command used in
EMNoErase Trace C memory addresses
ENDIFNoFinishing off an IF commandReturns error - "CMD
ENTERNoEnter from GPIB, allows a function
Supported
in Option
266?
Command DescriptionNote
See page 106 for more
or the delta marker frequency into
the center frequency step size.
reference leve l .
conjunction with an IF command
3072 through 4095
definition to enter data from the
GPIB port.
details
See page 107 for more
details
NOT SUPPORTED"
NOT SUPPORTED"
Returns error - "CMD
NOT SUPPORTED"
Returns error - "CMD
NOT SUPPORTED"
NOT SUPPORTED"
Returns error - "CMD
NOT SUPPORTED"
ERASENoAll user memory and save/recall
registers are erased.
ERRYesReturns a list of all error codes.See page 108 for more
EXYesExchange Trace A and Trace BSe e page 109 for more
EXPNoExponential (10 raised to the power
of (operand/scaling factor), to
destination)
EXTMXRNoPresets the External Mixing Mode
(setting the frequency range from
18.0 GHz to 26.5 GHz)
FAYesSpecifies the start frequency valueSe e page 110 for more
FBY esSpecifies the stop frequency valueSee page 111 for more
Returns error - "CMD
NOT SUPPORTED"
details
details
Returns error - "CMD
NOT SUPPORTED"
Returns error - "CMD
NOT SUPPORTED"
details
details
Chapter 239
Page 60
HP 8566B and HP8568B Command List
T able of HP 8566B and HP 8568B Commands
Table 2-1 Alphanumeric List of All HP 8566B/HP 8568B Commands and
Their Option 266 Support
HP8566B/
HP8568B
Command
FFTNoFast Fourier Transform on a trace
FFTKNLNo16 bit Discrete F o urier Tr ansform on
FOFFSETYesFrequency Offset Se e p age 112 for more
FPKAYesFast Preselector PeakSee page 114 for mor e
FSYesFull SpanSee page 115 for more
FULBANDNoSets the start & stop frequenc i es for
FUNCDEFNoFunction Define - defines a program
Supported
in Option
266?
Command DescriptionNote
Returns error - "CMD
array (contain s lo gge d m a gn itud e
components only)
specified trac es, overlaying th e m
with the results.
the analyzer extern al mixin g bands
routine as a function label
NOT SUPPORTED"
Returns error - "CMD
NOT SUPPORTED"
details
details
details
Returns error - "CMD
NOT SUPPORTED"
Returns error - "CMD
NOT SUPPORTED"
GRNoPlots GPIB inpu ts as gr aphs (in
trace modes of app lica tio n o nly )
GRATYesGraticule on and off Se e p age 117 for more
HDNoHolds data entr y (Disables) Returns error - "CMD
HNLOCKNoHarmonic lock (LO harmonic
frequency lock)
HNUNLKNoHarmonic Bank Unlock (tune over
the whole frequency range)
I1 [one]YesSet RF co u p l ing to D C.Not suppo rt ed on a l l
Returns error - "CMD
NOT SUPPORTED"
details
NOT SUPPORTED"
Returns error - "CMD
NOT SUPPORTED"
Returns error - "CMD
NOT SUPPORTED"
ESAs.
Not supported on PSAs
where the maximum
frequency range is greater
than 26.5 GHz.
See page 118 for more
details
40Chap ter 2
Page 61
HP 8566B and HP8568B Command List
Table of HP 8566B and HP 8568B Commands
Table 2-1 Alphanumeric List of All HP 8566B/HP 8568B Commands and
Their Option 266 Suppor t
HP8566B/
HP8568B
Command
I2 [two]YesSet RF coupling to AC.Not supported on all
IBNoInput to trace B memoryReturns error - "CMD
IDYesInstrum e nt Id en tity (Ide ntify) See page 122 for more
IDSTATNoSignal Identifier Status (Returns
IFNoConditional command used in
IFTKNLNo16 bit Discrete Fourier Transform on
Supported
in Option
266?
Command DescriptionNote
ESAs.
Not supported on PSAs
where the maximum
freque ncy ra nge i s great er
than 26.5 GHz.
See page 120 for more
details
NOT SUPPORTED"
details
Returns error - "CMD
1,0,-1)
conjunction with other commands
specified traces, overlaying them
with the results multiplied by N
(length of each trace).
NOT SUPPORTED"
Returns error - "CMD
NOT SUPPORTED"
Returns error - "CMD
NOT SUPPORTED"
INTNoThe gr eatest integer whi ch is le ss
than or equal to the so ur ce real is
stored in the destination
IPYesSets instrum e nt parameters to
preset values . (dea cti v a te s the
display line)
MBWRNoProcessor Memory Block Writ e Returns error - "CMD
MC0 [zero]
(HP 8568B
only)
MC1 [one]
(HP 8568B
only)
MDSYesMeasurement Data SizeSee page 170 for more
Supported
in Option
266?
YesTur ns o ff th e marker freque nc y
YesTurns on the marker frequency
Command DescriptionNote
counter.
counter.
NOT SUPPORTED"
details
NOT SUPPORTED"
NOT SUPPORTED"
See page 168 for more
details
See page 169 for more
details
details
MDUNoMeasurement Data UnitsReturns error - "CMD
NOT SUPPORTED"
MEANYesReturns the mean value of the trace ,
in display units
MEMNoReturns the amount of unused
memory available for user-defined
functions
MERGENoMoves a portion of the source trace
into the destination trace starting at
a predetermined position.
MFYesMarker Frequency outputSee page 172 for more
MINNoCo mp ares op eran d 1 and 2 and
returns the minimum value
MINPOSYesReturns a value that is the x position
of the minimum value in the given
trace.
MIRRORNoTakes the mirr or ima ge of the so urce
trace and moves it into a destination
trace.
See page 171 for more
details
Returns error - "CMD
NOT SUPPORTED"
Returns error - "CMD
NOT SUPPORTED"
details
Returns error - "CMD
NOT SUPPORTED"
See page 173 for more
details
Returns error - "CMD
NOT SUPPORTED"
Chapter 247
Page 68
HP 8566B and HP8568B Command List
T able of HP 8566B and HP 8568B Commands
Table 2-1 Alphanumeric List of All HP 8566B/HP 8568B Commands and
Their Option 266 Support
HP8566B/
HP8568B
Command
MKAYesMarker amplitude (in current
MKACTYesMarker ActiveSee page 175 for mor e
MKCFYesM arker to Center Frequency See page 176 for more
MKCONTNoMarker Continue (Resumes the
MKDYesMarker Delta (Computes the
MKFYesMarker Frequency See page 179 for mor e
MKFC
(HP 8568B
only)
Supported
in Option
266?
YesM ark e r Fr e que ncy Counte rSee page 180 for more
Command DescriptionNote
See page 174 for more
amplitude units)
sweep)
frequency and amplitude difference
of the active marker and the
reference marker)
details
details
details
Returns error - "CMD
NOT SUPPORTED"
See page 177 for more
details
details
details
MKFCR
(HP 8568B
only)
MKMINYesMarker minimum See page 182 for more
MKNYesMarker Normal (Moves the active
MKNOISEYesMarker Noise (RMS noise den sity at
MKOFFYesM arker OffSee page 186 for more
MKPYesHoriz ontal Marker Position (in
MKPAUSENoMarker Pau se (pau se s the sweep for
MKPKYesM arker Peak See page 188 for more
YesM ark e r Fr e q ue nc y C o unter
Resolution
marker to the specified frequency)
the marker)
Display Unit s)
the duration of the delay period)
See page 181 for more
details
details
See page 183 for more
details
See page 184 for more
details
details
See page 187 for more
details
Returns error - "CMD
NOT SUPPORTED"
details
48Chap ter 2
Page 69
HP 8566B and HP8568B Command List
Table of HP 8566B and HP 8568B Commands
Table 2-1 Alphanumeric List of All HP 8566B/HP 8568B Commands and
Their Option 266 Suppor t
HP8566B/
HP8568B
Command
MKPXYesMarker Peak Excursion (specifies
MKREADY esMarker Readout See page 191 for more
MKRLYesMarker to reference level See page 193 for more
MKSPYesMarker SpanSee page 194 for more
MKSSYesDelta Marker Step Size See page 195 for mo re
MKSTOPNoMarker stop (Stops the sweep)Returns error - "CMD
MKTRACEYesMarker Trace specifies the marker
Supported
in Option
266?
Command DescriptionNote
See page 190 for more
the minimum signal excursion for
the analyzer internal peak
identification rout i ne)
to operate on da t a i n Trace A, B, or C
details
details
details
details
details
NOT SUPPORTED"
See page 196 for more
details
MKTRACKYesMarker Track (keeps the active
marker at the center of the display)
MKTYPENoMarker TypeReturns error - "CMD
MLYesMixer Level (specifies the maximum
signal level tha t is appli ed to the
input mix er for a signa l that is equal
to or below the reference level)
MODNoRemainder of the division of source 1
by source 2 is stored in the
destination.
MOVNoMoves the operand to the
destination
MPYNoMultiplyRetur ns error - "C MD
MRDNoMemory Read WordReturns error - "CMD
MRDBNoMemory Read ByteReturns error - "CMD
See page 197 for more
details
NOT SUPPORTED"
See page 198 for more
details
Returns error - "CMD
NOT SUPPORTED"
Returns error - "CMD
NOT SUPPORTED"
NOT SUPPORTED"
NOT SUPPORTED"
NOT SUPPORTED"
Chapter 249
Page 70
HP 8566B and HP8568B Command List
T able of HP 8566B and HP 8568B Commands
Table 2-1 Alphanumeric List of All HP 8566B/HP 8568B Commands and
Their Option 266 Support
HP8566B/
HP8568B
Command
MT0 [zero]YesM arker Tracking Mod e OffSee page 200 for mor e
MT1 [one]YesMarker Tracking Mode On See page 201 for more
MWRNoMemory Write WordReturns error - "CMD
MWRBNoM emory Write ByteReturns error - "CMD
MXMNoMaximumReturns error - "CMD
MXMHYesMaximum Hold (updates each trace
NSTARTNoStart Harmonic (for signal
Supported
in Option
266?
Command DescriptionNote
details
details
NOT SUPPORTED"
NOT SUPPORTED"
NOT SUPPORTED"
See page 202 for more
element with the maximum level
detected while the trace is active
and displayed)
identification routine - SIGID)
details
Returns error - "CMD
NOT SUPPORTED"
NSTOPNoS top Harmonic (for signal
identification routine - SIGID)
O1 [one]YesSelects displ a y u nits d a t a format.See page 203 for more
O2 [two]YesSelects two 8-bit by te data format.See page 204 for more
O3 [three]Ye sSelects real amplitude units format.See page 205 for more
O4 [four]YesS el ects o ne 8- bit byte d ata for mat.See page 206 for more
OLNoOutp u t Le ar n St r ing (transmits
infor m ation to the cont rolle r that
describes the state of the an alyze r)
ONEOSNoO n end of sweep Returns error - "CMD
ONSWPNoOn Sweep Returns error - "CMD
OPNoOutput Parameter Returns error - "CMD
Returns error - "CMD
NOT SUPPORTED"
details
details
details
details
Returns error - "CMD
NOT SUPPORTED"
NOT SUPPORTED"
NOT SUPPORTED"
NOT SUPPORTED"
50Chap ter 2
Page 71
HP 8566B and HP8568B Command List
Table of HP 8566B and HP 8568B Commands
Table 2-1 Alphanumeric List of All HP 8566B/HP 8568B Commands and
Their Option 266 Suppor t
HP8566B/
HP8568B
Command
OTYesOutput Trace Annotations (Sends 32
OUTPUTNoOu tp ut is pro v id ed fo r send ing data
PANoPlot Absolute (Ve ct or Location)Returns error - "CMD
PDNoPen Down (draws o ne or mor e
PDANoP robabi lity Dis tri bution Ampli tude
PDFNoProbabi lity Dis tri bution in
Supported
in Option
266?
Command DescriptionNote
See page 207 for more
character-strings, each of up to 64
characters)
to the GPIB port from a function
definition.
vectors)
(loads the destination trace
according to the pattern of
amplitude va lues in the source
trace)
Frequency (elements of the source
trace that are above the threshold
value cause correspondin g elemen ts
in the destination trace to be
increased in amplitude by one
display unit.)
details
Returns error - "CMD
NOT SUPPORTED"
NOT SUPPORTED"
Returns error - "CMD
NOT SUPPORTED"
Returns error - "CMD
NOT SUPPORTED"
Returns error - "CMD
NOT SUPPORTED"
PEAKSYesSorts sign al peaks in to frequenc y or
amplitude order, sends results to
destination tr ace.
PKPOSYesReturns a value that is the x position
of the maximum value in the given
trace.
PLOTYesPlot See page 210 for more
PPYesPrese l e ctor Peak See page 211 for more
PRNoPlot RelativeReturns error - "CMD
PSNoSkip PageReturns error - "CMD
PUNoPen Up (Blanks the CRT beam)Returns error - "CMD
Chapter 251
See page 208 for more
details
See page 209 for more
details
details.
details
NOT SUPPORTED"
NOT SUPPORTED"
NOT SUPPORTED"
Page 72
HP 8566B and HP8568B Command List
T able of HP 8566B and HP 8568B Commands
Table 2-1 Alphanumeric List of All HP 8566B/HP 8568B Commands and
Their Option 266 Support
HP8566B/
HP8568B
Command
PWRBWYesPow e r Ba nd width (firs t co m p ute s
R1 [one]YesResets service request 140See page 213 for more
R2 [two]YesAllows service request 140 & 104 See page 214 for more
R3 [three]YesAllows se rv ice requ es t 140 & 110 See page 215 for more
R4 [four]YesAllows service request 140 & 102See page 216 for more
RBYesResolut ion Bandw idth See page 217 for more
RCYesRecalls State RegisterSee page 218 for mor e
Supported
in Option
266?
Command DescriptionNote
See page 212 for more
the total power of a trace, and then
returns the bandwidth equal to a
percentage of the total power.)
details
details
details
details
details
details
details
RCLSYesRecalls State Register See page 219 for more
details
REPEATNoRepeat... Until (conditional
programming)
REVYesRevision (returns the firmware
revision and the Agilent Date Code)
RLYesReference Level (amplitude value of
the top CRT Graticule line)
RMSYesRoot Mean SquareSee page 223 for more
ROFFSETYesReference Level Offset See page 224 for more
RQSYesSRQ mask (sets a bit mask for the
service re q uest comman d s)
S1 [one]YesSets the analyzer to continuous
sweep mode
S2 [two]YesSets the analyzer to single sweep
mode
Returns error - "CMD
NOT SUPPORTED"
See page 220 for more
details
See page 221 for more
details
details
details
See page 225 for more
details
See page 226 for more
details
See page 227 for more
details
52Chap ter 2
Page 73
HP 8566B and HP8568B Command List
Table of HP 8566B and HP 8568B Commands
Table 2-1 Alphanumeric List of All HP 8566B/HP 8568B Commands and
Their Option 266 Suppor t
HP8566B/
HP8568B
Command
SAVESYesSaves the current state of the
SIGDELNoSpecifies the maximum amplitude
SIGIDNoIde ntifie s sig nals for external
SMOOTHYesSmooths the given trace over a
SNGLSYesSets the analyzer to single sweep
SPYesFrequency SpanSee page 231 for more
SQRNoSquare Root of the source trace
Supported
in Option
266?
Command DescriptionNote
See page 228 for more
analyzer in the specified re gis t er
difference allowed between a signal
and its image for the pair to be
recognized by the signal
identification routi ne (Default units
are dB)
mixing frequency bands
specified number of points
mode
amplitude, point by point
details
Returns error - "CMD
NOT SUPPORTED"
Returns error - "CMD
NOT SUPPORTED"
See page 229 for more
details
See page 230 for more
details
details
Returns error - "CMD
NOT SUPPORTED"
SRQYesService Request to the controller
(User defined)
SSYesCenter Frequenc y step sizeSee page 234 for more
STYesSweep TimeSee page 235 fo r more
STDEVYesReturns standard deviation of trace
amplitude in display units
SUBNoSubtract Returns error - "CMD
SUMNoReturns sum of trace element
amplitudes in di sp lay uni ts
SUMSQRNoSquares trace element amplitudes
and retu rns their s um
SVYesSaves State See page 237 for more
SWNoSkip to next control inst ruction Retur ns error - "CMD
See page 233 for more
details
details
details
See page 236 for more
details
NOT SUPPORTED"
Returns error - "CMD
NOT SUPPORTED"
Returns error - "CMD
NOT SUPPORTED"
details
NOT SUPPORTED"
Chapter 253
Page 74
HP 8566B and HP8568B Command List
T able of HP 8566B and HP 8568B Commands
Table 2-1 Alphanumeric List of All HP 8566B/HP 8568B Commands and
Their Option 266 Support
HP8566B/
HP8568B
Command
T0 [zero]NoTurns the threshold level off.Returns error - "CMD
T1 [one]Y e sSets the analyzer sw eep to Free Run
T2 [two]YesLine Trigger Mode See page 239 for more
T3 [three]YesEx te rn al Tr igg e r Mod e See page 240 for more
T4 [four]YesVid e o Trig ge r Mo de See page 241 for more
TAY esTransfer A (T race A ampli tude v alue
TBYe sTransfer B (Tr ace B am plit ude val ue
TDFYesTrace Data Format See page 244 for more
Supported
in Option
266?
Command DescriptionNote
NOT SUPPORTED"
See page 238 for more
Trigger Mode
from the analyzer to the controller)
from the analyzer to the controller)
details
details
details
details
See page 242 for more
details
See page 243 for more
details
details
TEXTNoWrites text on the analyzer screen Returns error - "CMD
V AVGY esEnables Video Averaging See page 252 for more
VBYesVideo filter Bandwidth See page 254 for more
VBOYesVideo Bandwidth Coupling Offset See page 255 for more
VIEWYesView (displays Trace and stop s the
sweep)
XCHYesExchangeSee page 257 for more
Returns error - "CMD
NOT SUPPORTED"
details
details
details
See page 256 for more
details
details
Chapter 255
Page 76
HP 8566B and HP8568B Command List
T able of HP 8566B and HP 8568B Commands
56Chap ter 2
Page 77
3Hints and Tips
This chapter inclu des a lis t of h elpful hin t s and tips t h at will help yo u
get the most from Option 266 on your ESA or PSA analyzer.
57
Page 78
Hints and Tips
A Few Helpful Hints and Tips
A Few Helpful Hints and Tips
These pages l ists a fe w hints and tip s tha t wil l he lp y o u get the mo st
from your analyzer an d Option 266.
Speed - Option 266 will run faster on PSA series analyzers than it
•
will on ESA series analyzers.
•
Compatibility - speed and consistency - for best compatibility with the
22 GHz H P 8566B, Opti on 266 should be u s e d o n an E 4440A
analyzer which has an upper frequency limit of 26.5 GHz. This most
closely matches the 22 GHz upper limit of the HP 8566B.
•
Compatibility and Sweep Times - for best compatibility with the
HP 8566B and H P 8568B, use the Ma n ua l Swept mode. Thi s is t h e
default setting.
When analyzing stationary signals, you can change to the Best
Speed setting, which is accessed from the Auto Couple hardkey and
the FFT & Sweep menu. This r esults in faster sweep times on a PSA
analyzer than on the HP 8566B or HP 8568B analyzers because of
the PSA’s better performance. In the majority of applications, this
faster speed would be desirable, but that is not always the case.
When you are using the Best Speed setting, you cannot change the
sweep time manually a s the sweep time is always coupled to giv e the
fastest sweep times based on the current settings.
•
Time-out (1) - Agilent suggests that you increase the timeout when
performin g M A an d M F comman ds t o a llow pre vious mark er
functions to complete correctly.
•
Time-out (2) - Agilent recommends increasing the timeout on a serial
poll due to differences in Sweep Times on some settings. Note,
however, that this may not be necessary when using the Best Speed
setting on the FFT & Sweep menu (accessed from the Auto Couple
hardkey).
•
Synchronization (1) - to synchronize after an IP command, Agilent
recommends that you use the DONE command. W e also sugg est that
the DONE command is used in conjunction with a timeout of about 5
seconds in case the analyzer starts to auto align. Alternatively, you
could set auto alignment to Off.
•
Sync hron izat ion (2) - Agilen t recommends that synchronization (usi ng
the DONE command) is used with marker functions when signal
tracking is turned on.
58Chap ter 3
Page 79
Hints and Tips
A Few Helpful Hints and Tips
• AC and DC Coupling - the HP 8568B analyzer has two RF input ports:
— DC Coupled (with a BNC connector) to handle a frequency range
of 100 Hz to 1.5 GHz
— AC Coupled (with an N Type connector) to handle a frequency
range of 1 00 k H z to 1.5 GHz
The ESA-E and PSA series analyzers only have a single RF input
port.
When usi n g PSA models E4440A, E 4443A, and E 4445A, or th e
ESA-E model E4407B with the UKB option, you must use DC
coupling to see cal ibrated frequencies of less than 10 MHz. Signals of
less than 10 MHz are not calibrated when using AC coupling on
these analyzers.
When using ESA-E series model E4402B with Option UKB, or
models E4404B or E4405B, you must use DC coupling to see
calibrated frequ e ncies of less than 100 kHz. Si gnals of less than 100
kHz are not calibrated when using AC coupling on these analyzers.
NOTEPSA mode ls E4446A a n d E 4448A do not all o w A C co u pling.
ESA-E model E4407B does not allow AC coupling unless Option UKB
has been added.
ESA-E model E4401B do e s n o t allow DC co u pling.
ESA-E model E4402B do e s not allow DC co upling u n le s s Option UKB
has been added.
Overloading - if you are overloading the analyzer, connect a 10 dB
•
attenuator to the RF input and set the
Ext Am p Gain (external
amplifie r gain) to -10 dB. This soft k e y is accessed vi a t h e Am pl it u d e
hardkey.
•
Instrument Presets - consecutive instrument presets (using the IP
command, that is, issuing a command such as IP;IP;IP;) are not
required.
•
SCPI Langua ge - Agilent recommends that you do not repeatedly
swap to and from the SCPI language within your programs.
Chapter 359
Page 80
Hints and Tips
A Few Helpful Hints and Tips
60Chap ter 3
Page 81
4Programming Commands
This chapter lists all the supported HP8566B/68B compatible
comm an ds in alphanume ric order, and gives brief details on their
syntax and operation. For more detailed information on these
comman ds, see your HP 8566B or HP 8568B Operating and Programming Manual.
61
Page 82
Programming Commands
Command Syntax
Command Syntax
Command synt ax is represente d pictoria lly.
• Ovals enclose command mnemonics. The command mnemonic must
be entered exactly as shown.
• Circles and o va ls su rround secondary keywords o r special numb ers
and chara ct e rs. The ch aracters in cir cle s an d o vals are consi d e re d
reserved words and must be entered exactly as shown.
• Rectangles contain the description of a syntax element defined in
Table 4-1, “Syntax Elements.”
• A loop above a syntax element indicates t hat the s y ntax el ement c an
be repeated.
• Solid lines repre se n t th e recommended path.
• Dotted lines indicate an optional path for bypassing secondary
keywords or using alternate units.
• Arrows an d cu rved inters ec t io n s in di cate comman d pa t h d irection.
• Semicolons are the recommended command terminators. Using
semicolons makes programs easier to read, prevents command
misinterpretation, and is recommended by IEEE Standard 728.
NOTEUppercase is recommended for entering all commands unless otherwise
noted.
Syntax Elements are shown i n the s yntax di ag rams a s elem ents wi thi n
rectangles. In the syntax diagrams, characters and secondary keywords
are shown within circles or ovals. Characters and secondary keywords
must be entered exactly as shown.
62Chap ter 4
Page 83
Table 4-1 Syntax Elements
Programming Commands
Command Syntax
Syntax
Component
Definition/Range
Analyzer commandAny spectrum analyze r comma nd in this chapte r, with required
parameters and terminators.
CharacterS
a b c d e f g h i j k l m n o p q r s t u v w x y z databyte.
P
Character & EOI8-bit byte containing only character data and followe d by end- or-identify
(EOI) condition, where the EOI control line on GPIB is asserted to indicate
the end of the transmission. END signifies the EOI condition.
Character stringA list of characters.
Data byte8-bit byte containin g nu meric or charac ter data.
Data byte & EOI8-bit byte containing numeric or character data followed by end-or-identify
(EOI) condition, where the EOI control line on GPIB is asserted to indicate
the end of the transmission. END signifies the EOI condition.
Delimiter| \ @ ˆ $ % ; ! Matching characters that mark the beginning and end of a
character string, or a list of spectrum analyzer commands. Choose
delimiting ch aracte r s that ar e not used within the stri ng th ey delimit.
Digit0 1 2 3 4 5 6 7 8 9
lsb lengthRepresents the least significant byte of a two-byte word that describes the
number of bytes returned or transmitted. See msb length.
msb lengthRepresents the most significant byte of a two-byte word that describes the
number of bytes returned or transmitted. See lsb length.
NumberExpressed as integer, decimal, or in exp one ntial (E) form.
308
Real Number Range: ± 1.797693134862315 × 10
, including 0.
Up to 15 significant figu re s allowe d .
−308
Numbers may be as small as ± 2.225073858507202 × 10
Integer Number Range: −32,768 through +32,767
Output
termination
Carriag e re turn(C
) and line feed (LF), with end-or-identify (EOI)
R
condition. ASCII codes 13 (carriage return) and 10 (line feed) are sent via
GPIB, then the end-or-iden tify co nt ro l line o n GP IB set s to ind icate the
end of the transmission.
UnitsRepres en t stan d ard sc ie ntific units.
Freq uency U n i ts: GZ, MZ, KZ, HZ
Amplitude Units: DB, DBMV, DM, DBMV, DBUV, V, MV, UV,
Time Units: SC, MS, US
Chapter 463
Page 84
Programming Commands
Programming Command Descriptions
Programming Command Descriptions
All supported commands are listed here, along with their descriptions
and cross-r efe re n ce s t o similar comm an ds.
This chapte r is not design e d t o be a compreh e n sive guide to all
HP 8566B/68B co mmands. It give s brief des cript io n s o f t h e su p ported
commands, and highlights important functional or behavioral
differences that you should be aware of when transferring existing HP
8566B or HP 8568B code to your ESA-E series or PSA analyzer. For a
fuller description of the commands, refer to the HP 8566B or HP
8568B’s Operating and Programming Manual.
In the descriptio n s o f th e co mm ands, TRA corres pon ds t o Trace 1, TRB
corresponds to Trace 2, and TRC corresponds to Trace 3.
To a voi d confusion between numbers and letters , all commands that
incorporate numbers have had the number spelled out and placed in
square br acke t s aft e r the comma n d. For example, the co mmand ‘I1’ is
shown as ‘I1 [one]’ - that is, the capital letter ‘I’ followed by the number ‘1’, and then the word ‘one’ italicized in squ are bracke t s. Th e italicize d
word in brackets does not form part of the command.
NOTEWith the exception of the two commands KSG and VAVG, all commands
shown in the f oll owing p ages a s using the ON and OFF parameters wil l
also accept 1 and 0. The parameters ON and 1 are interchangeable and
offer identical functionality. Similarly, OFF and 0 offer identical
functionality and are interchangeable. Please note, however, that the
query commands always return ON or OFF, and never return a 1 or a 0.
64Chap ter 4
Page 85
Programming Commands
A1 [one] Clear Write for Trace A
A1 [one]
Clear Write for Trace A
Syntax
Description
The A1 co mmand set s Tr ace A to clear write. That is, it co n t in u o u s l y
displays any signal present at the spectrum analyzer input. The A1
command initially clears Trace A, setting all elements to zero. The
sweep trigger then signals the start of the sweep, and Trace A is
continually updated as the sweep progresses. Subsequent sweeps send
new amplit ude infor ma t io n to t he dis play addr e s ses.
NOTEThe functions of the command A1 are identical to the CLRW TRA
command (page 92).
Chapter 465
Page 86
Programming Commands
A2 [two] Maximum Hold for Trace A
A2 [two]
Maximum Hold for Trace A
Syntax
Description
The A2 command updates each trace element with the maximum level
detected during the period that the trace has been active.
NOTEThe functions of the command A2 are identical to the MXMH TRA
command (page 202).
66Chap ter 4
Page 87
Programming Commands
A3 [three] View Mode for T race A
A3 [three]
View Mode for Trace A
Syntax
Description
The A3 command displays Trace A and t hen s tops the s weep i f no other
traces are active. Trace A does not get updated with new data.
NOTEThe functions of the command A3 are identical to the VIEW TRA
command (page 256).
Chapter 467
Page 88
Programming Commands
A4 [four] Blank Trace A
A4 [four]
Blank Trace A
Syntax
Description
The A4 command blanks Trace A and stops the sweep if no other traces
are active. Trace A is not updated.
NOTEThe functions of the command A4 are identical to the BLANK TRA
command (page 82).
68Chap ter 4
Page 89
AMB
A minus B into A
Syntax
Programming Commands
AMB A minu s B in to A
Description
The AMB command subtracts the points in Trace B from the
corresponding points in Trace A, an d s e n d s t he results t o Trace A.
Thus, AMB can restore the original trace after an APB or a KSc
command has been executed.
NOTEOn HP 8566B and HP 8568B analyzers, the AMB command operates
continuously. That is, it continuously updates Trace A to display the
results of Trace A minus Trace B until AMB is switched off.
This is not the case with HP 8566B/68B Code Compatibility. The AMB
command is performed once only, using the trace data available at the
time of execution.
NOTEThe functions of the command AMB are identical to the C2 [two]
command (page 87).
Chapter 469
Page 90
Programming Commands
AMBPL (A minus B) plus Display Line into A
AMBPL
(A minus B) plus Display Line into A
Syntax
Description
The AMBPL command does a point-by-point subtraction of Trace B
from Trace A, and then adds the display line point values to the
difference. The results are sent to Trace A
70Chap ter 4
Page 91
ANNOT
Annotation
Syntax
Programming Commands
ANNOT Annotation
Preset State: ANNOT ON
Description
The ANNOT command turns on or off all annotation on the spectrum
analyze r display. Softkey label s are n o t affected by this command an d
rema in d isplayed.
NOTEThe functions of the command ANNOT are identical to the KSo
command (page 152) and KS p co m mand (page 153).
Chapter 471
Page 92
Programming Commands
APB A Plus B to A
APB
A Plus B to A
Syntax
Description
The APB command does a point-by-point addition of Trace A and Trace
B, and sends the results to Tra ce A . Th u s, APB can re sto re t h e origi n al
trace after an AMB or a C2 command has been executed.
NOTEThe functions of the command APB are identical to the KSc command
(page 131)
72Chap ter 4
Page 93
AT
Attenuation
Syntax
Programming Commands
AT Attenuation
Table 4-2
ItemDescription/DefaultRange
NumberAn y real number or
integer. Default units
are dB.
PSA - 0 to70 dB specified absolutely
and
10 to 70 dB in 10 dB steps
ESA - 0 to 65 dB specified absolutely
and
10 to 65 dB in 10 dB steps
Preset State: 10 dB
Step Increment: 10 dB
Description
Specifies the RF input attenuation.
Although any attenuation level from 0 dB to 70 dB in PSA series
analyzers (0 dB to 65 dB in ESA-E series analyzers) can be specified
using absolute values , y ou can nev er set a ttenuation below 10 dB using
the DOWN steps. This is a safety feature to prevent inadvertent setting
of attenuation to a level that could damage the analyzer.
CAUTIONSignal levels above +30 dBm will damage the spectrum analyzer.
Chapter 473
Page 94
Programming Commands
AT Attenuation
NOTEThe OA option only returns the current value to the controller. It does
not set the active function.
NOTEESA series analyzers have a range of 10 dB to 65 dB when accessed in
10 dB steps. Stepping up from the default value of 10 dB, the sequence
rises in 10 dB steps until an attenuation of 60 dB is reached. The next
step will only be 5 dB as the analyzer’s upper limit is 65 dB will have
been reached.
Stepping down from 65 dB reverses this sequence. The first step down
from 65 dB is to 60 dB. Thereafter, each step is of 10 dB until an
attenuation level of 10 dB is reached.
You cannot step down below 10 dB. To set levels below 10 dB, you must
specify the attenuation absolutely. For example, to set attenuation to 5
dB, you must use the command AT 5DB.
74Chap ter 4
Page 95
AUNITS
Amplitude Units
Syntax
Programming Commands
AUNITS Amplitude Units
Description
Specifies the amplitude readout units for the reference level, the
marker, and the display line.
NOTEThe functions of the command AUNITS are identical to the commands
This command exchanges Trace A and Trace B, point by point.
NOTEThe functions of the command AXB are identical to the EX command
(page 109) and to the XCH TRA,TRB command (page 257).
76Chap ter 4
Page 97
Programming Commands
B1 [one] Clear Write for Trace B
B1 [one]
Clear Write for Trace B
Syntax
Description
The B1 co mmand set s Tr ace B to clear write. That is, it co n t in u o u s l y
displays any signal present at the spectrum analyzer input. The B1
command initially clears Trace B, setting all elements to zero. The
sweep trigger then signals the start of the sweep, and Trace B is
continually updated as the sweep progresses. Subsequent sweeps send
new amplit ude infor ma t io n to t he dis play addr e s ses.
NOTEThe functions of the command B1 are identical to the CLRW TRB
command (page 92).
Chapter 477
Page 98
Programming Commands
B2 [two] Maximum Hold for Trace B
B2 [two]
Maximum Hold for Trace B
Syntax
Description
The B2 command updates each trace element with the maximum level
detected while the trace is active.
NOTEThe functions of the command B2 are identical to the MXMH TRB
command (page 202).
78Chap ter 4
Page 99
Programming Commands
B3 [three] View Mode for T race B
B3 [three]
View Mode for Trace B
Syntax
Description
The B3 command displays Trace B and t hen s tops the s weep i f no other
traces are active. Trace B does not get updated.
NOTEThe functions of the command B3 are identical to the VIEW TRB
command (page 256).
Chapter 479
Page 100
Programming Commands
B4 [four] Blank Trace B
B4 [four]
Blank Trace B
Syntax
Description
The B4 command blanks Trace B and stops the sweep if no other traces
are active. Trace B is not updated.
NOTEThe functions of the command B4 are identical to the BLANK TRB
command (page 82).
80Chap ter 4
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.