Agilent 8719D Programming Guide

Page 1

Notice

Hewlett-Packard to Agilent Technologies Transition
This documentation supports a product that previously shipped under the Hewlett­Packard company brand name. The brand name has now been changed to Agilent Technologies. The two products are functionally identical, only our name has changed. The document still includes references to Hewlett-Packard products, some of which have been transitioned to Agilent Technologies.
Printed in USA March 2000
Page 2
Page 3
Notice.
The information contained in this document is subject to change without notice. Hewlett-Packard makes no warranty of any kind with regard to this material, including
but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Hewlett-Packard shah not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material.
@
Copyright
Hewlett-F’ackard
Company 1996, 1997, 1998, 1999
Page 4

Assistance

Product maintenance
Hewlett-Rzchmrd
agre
products.
seruice om
!hble O-l. Hewlett-Packard
Instrument Support Center Hewlett-Packard Company (800)
403-0801
Headquarters Hewlett-Packard S.A. 150, Route du Nant-d’Avril 1217 Meyrin Switzerland (4122) 780.8111
Great Britain Hewlett-Packard Ltd.
E&dale Road, Woldngham,
z;
2Eeneva
Winnemh Triangle
Berkshire RG416DZ
696622
and other
l%r
ang assistance,
EUROPEAN FIELD OPEIWI’IONS
Prance Hewlett-Packard Prance
1 Avenue Du Canada Hewlett-Packard
Zone
D’Activite
F-91947
Les Prance (33 1) 69 82 60 60
custom assistance agrm
contact z/our
Sales
UNITED STATES
De Courtaboeuf
LJlis
Cedex
nearest
and Service Offices
G=--w
Hewlett-Packard
61352 Bad Homburg v.d.H
gz&-o
are available for
Hmlett-&hrd
GmbH Strasse
Sales and
Beadquarters
Hewlett-Packard Company 3495 Deer Creek Road Palo Alto, California, USA
84304-1316
(416)
857-6027
INTEIWON
AnstraIia
Hewlett-Packard Australia Ltd. 31-41
Joseph Street
Blackburn, Victoria 3130
(61 3)
896-2896
FIELD OPERATIONS
Japan
China Hewlett-Packard Company Hewlett-Packard Japan, Ltd.
38BeiSanHuanXlRoad shuang Yu shll EaiDiaIlDistrict Beiiin&china (86
1)
266-6338
IktiWtUl
Hewlett-Packard
6th Flooq
337 Fu Hsing North Road
lhipei, !&wan (886
H-P Building
2)
7124404
!lhiwan
Q-l %kakuraCho, Hachioji
lblcyo 192,
(81 426) 60-2111
Japan
Hewlett-Packard (Canada) Ltd.
17500 South Service Road
Transcanada Highway
Kirkland, Quebec HQJ
E7-4232
2X&?
SlnBapore
Hewlett-Packard Singapore (Pte.) Ltd.
150 Beach Road
#29-00
Gateway West
Singapore 0718 (65)
291-9033
. . .
III
Page 5

How to Use This Guide

The Example Programs Disks
The example programs shipped with this instrument were originally written for the HP 8753D Network Analyzer, but are compatible with the HP to maintain compatibility with the HP
8719D/20D/22D,
example programs . The example programs that need modification are clearly identifled in Chapter 2, “HP BASE Programming Examples.”
8719D/20D/22D
Network Analyzer. ln order
it will be necessary to modify certain
The following is included with the “Programming Examples HP
w
HP BASE example programs (compatible with Rocky Mountain Basic)
n
IJF
to
DC% ille-transformation
utility,
“LlFXMXEXE”
BASE
disk:
The following is included with the “Programming Examples QuickC and QuickBASW disk:
n
QuickC example programs
n
QuickBASlC
example programs
Programming Documentation
This Programmer’s Guide consists of the following two chapters:
n
HP-IB
network analyzer under
w IIP
example programs (which offer solutions for several remotely-controlled analyzer processes).
The programming examples have only been documented for HP BASE in Chapter 2. However, if the programming language QuickC or programming examples can be used or Programming Examples” as an overall guide in determining the organization and logic of the
programs
Programming and Command Reference provides a reference for operation of the
HP-lB
BASIC Programming
control and provides a description of all
Faamples
provides documentation for the factory-tested HP
QuickBASE
modified
is preferred, these versions of the
while referring to Chapter 2, “HP BASE
HP-lB
mnemonica
BASK
Conventions
Front-Panel Ke
Screen Text
3
This represents a key physically located on the instrument. This represents a “softkey,” a key whose label is determined by the
instrument’s This represents text displayed on the instrument’s screen.
ilrmware.
Page 6

Network Analyzer Documentation Set

The Installation and Quick Start Guide
familiarizes you with the network analyzer’s front and rear panels, electrical and
environmental operating requirements, as well as procedures for installing, configuring, and verifying the operation of the analyzer.
The User’s Guide
shows how to make measurements, explains commonly-used features, and tells you how to get the most performance from your analyzer.
The Quick Reference Guide
provides a
summary of selected user features
The
Frogramm
Guide
provides
er’s
programming information including an HP-IB programming and command reference as well
as programming examples
The Service Guide
provides the information needed to adjust, troubleshoot, repair, and verify conformance to published specifications
V
Page 7
Contents
1.
HP-IB
Where to Look for More Information Preset State Analyzer Command Syntax
HP-IB Operation
Analyzer
Reading Analyzer Data
Pro@amming
.................................
Code Naming Convention
Valid
Characters units Command Formats
Device Types
HP-IB Bus Structure
HP-II3
HP-IB Operational Capabilities Bus Device Modes
Setting HP-IB Addresses
Response to HP-IB
Operation Complete Output Queue
Command Query Identification Output syntax Marker data
...................................
General Structure: Syntax Types
T&Iker
Listener Controller
DataBus..
Handshake Lines Control Lines
HP-IB Status Indicators System-Controller Mode
Talker/Listener
Pass-Control Mode
Analyzer Bus Modes
Abort
Device Clear.
Local..
Local Lockout
ParaIIel PoII
Pass Control Remote
SerialPoll
Trigger
..................................
.................................
Requirements
..................................
.................................
.................................
Operation
and
Commaan
..........................
.........................
..............................
.............................
............................
..............................
...............................
...............................
................................
............................
..............................
............................
..............................
............................
.........................
.............................
.........................
Mode
..............................
................................
..............................
...............................
...............................
................................
...............................
...............................
...............................
................................
...........................
............................
...........................
..........................
Meta-Messages (IEEE-488
.............................
............................
............................
..............................
d Reference
.....................
.......................
Universal Commands)
......
l-2 l-3 l-8 l-8 l-9 l-9 l-9
l-9 l-10
1-11
l-11 l-11 l-11 l-11
1-12 1-12 1-12 1-12 1-13 1-14 1-15 1-15 1-16 1-16 1-16 1-16
1-17 1-17 1-17 1-17
1-17
1-18
1-18
1-18 1-18 1-18
1-18
1-19
1-19
l-20 l-20 l-20 l-20 l-20
1-21
Contents-l
Page 8
Array-Data Formats Trace-Data Transfers Stimulus-Related Values
Data-Processing Chain
DataArrays
................................
Fast Data Transfer Commands Data Levels
................................
Learn String and Calibration-Kit String
Error Reporting
Status Reporting The Status Byte The Event-Status Register and Event-Status Register B Error Output
Calibration
Disk
.................................
File
Names
Using Key Codes. Key Select Codes for the Network Analyzer HP-IB
only
Commands
Alphabetical Mnemonic Listing
2.
ErP
BASIC Programm
Introduction
.................................
Required Equipment
Optional Equipment
System Setup and HP
8719D/20D/22D
Command Structure in BASIC Command Query
Running
the Program
Operation Complete
Running the Program
Preparing for Remote (HP-IB) Control
OPaths
.................................
Measurement Process
Step1.SettingUptheInstrument
Step 2. Calibrating the Step 3. Connecting the Device under ‘I&t Step 4.
‘&king
the Measurement Data
Step 5. Post-Processing the Measurement Data
Step 6. Transferring the Measurement Data
BASIC Programming Examples
Program Information.
............................
............................
..........................
............................
.......................
...................
...............................
..............................
..............................
............
...............................
..............................
.............................
..................
............................
........................
ing
Examples
............................
...........................
HP-II3
Verification
....................
Network Analyzer Instrument Control Using BASIC
.......................
..............................
..........................
............................
..........................
....................
............................
.....................
Test
Setup
.....................
..................
....................
...............
.................
........................
...........................
Analyzer Features Helpful in Developing Programming Routines
Analyzer-Debug Mode
User-ControIIable
Sweep
Example 1: Measurement Setup
Example
1A:
Setting Parameters
Running the Program
Example
1B:
Verifying Parameters
Running the Program
Example 2: Measurement Calibration
Calibration Kits Example
2A: Sll
..............................
l-Port Calibration
Running the Program
Example
2B: FuII 2-Port
..........................
.........................
.......................
......................
..........................
.....................
..........................
.....................
.....................
..........................
Measurement Calibration
..............
.....
.......
l-23 l-24
1-25
l-26 l-26
l-28 l-28 l-29
l-30 l-30 l-32 l-32
l-34 l-34 l-37
l-38 l-39
l-62 l-69
2-l
2-2 2-2 2-2 2-5 2-5 2-6 2-7 2-8 2-8
2-8 2-10 2-11 2-11 2-11 2-12 2-12 2-12 2-12
2-13 2-14 2-14 2-14
2-14 2-15 2-15 2-16 2-18
2-19 2-20
2-20
2-21
2-23 2-23
ContelIts-2
Page 9
Running the Program
Example
Running
Example
2C:
Adapter Removal Calibration
the Program
2D:
Using Raw Data to Create a Calibration (Simmcal)
Running the Program
Example
2E: ‘Ihke4 -
..........................
.................
..........................
........
..........................
Error Correction Processed on an External PC
Overview................................
Using the Programming Example
Running the Program
Example 3: Measurement Data Transfer
Trace-Data Formats and Transfers Example 3A: Data Transfer Using Markers
Running the Program
Example
Running the Program
Example
Running the Program
Example
Running the Program
Example
Running the Program
Example 4: Measurement Process Synchronization
Status Reporting
Example4A:UsingtheErrorQueue
Running
Example
Running
Example
Running the Program
Example 5: Network Analyzer System Setups
Saving and Recalling Instrument States
Example5A:UsingtheLeamSlring
Running the Program
Example
Running the Program
Example
Running the Program
Example 6: Limit-Line lbsting
Using List-Frequency Mode Example
Running the Program
Example
Running the Program
UsingLimitLinestoPerformPASS/FAIL’Ibsts Example6C:SettingUpLimitLines.
Running the Program
Example
Running the Program
Example 7: Report Generation
Example
Running the Program
Example
Running the Program
Example
‘lake4
Mode
..........................
..........................
..........................
...................
.....................
.................
..........................
3B:
Data Transfer Using FORM 4 (ASCII Transfer)
..........
..........................
3C:
Data Transfer Using Floating-Point Numbers
..........
..........................
3D:
Data Transfer Using Frequency-Array Information
..........................
3E:
Data Transfer Using FORM 1, Internal-Binary Format
..........................
...............
..............................
....................
the Program
4B:
Generating Interrupts
the Program
4C:
Power Meter Calibration
..........................
.....................
..........................
....................
..........................
.................
...................
....................
..........................
5B:
Reading Calibration Data
...................
..........................
5C:
Saving and Restoring the Analyzer Instrument State
..........................
........................
.........................
6A:
Setting Up a List-Frequency Sweep
..............
..........................
6B:
Selecting a Single Segment from a
Table
of Segments
..........................
................
....................
..........................
6D:
Performing
PASS/FAIL Tests
While
Ttming
...........
..........................
........................
7Al:
Operation Using
Talker/Listener
Mode
............
..........................
7A2:
Controlling Peripherals Using Pass-Control Mode
..........................
7A3:
Printing with the Serial Port
.................
.......
......
.......
......
........
.....
2-26 2-27 2-28 2-29 2-34 2-36 2-36 2-36 2-37
2-42 2-43 2-43 244 2-45 2-46 248 2-49 2-50 2-51 2-53 2-54 2-55 2-56 2-56 2-57 2-58 2-59 2-61 2-62 2-65 2-66 2-66 2-66 2-67
2-68 2-70 2-71 2-73 2-74 2-74 2-74 2-76
2-77
2-79 2-79 2-80 2-82
2-83
2-85 2-86 2-86 2-87 2-88 2-90
2-91
Cont4mts3
Page 10
Running the Program
Example
7B:
Plotting to a
Running the Program
..........................
File
and Transferring
File
..........................
Utilizing PC-Graphics Applications Using the Plot File Example
Running the Program
Example 8: Mixer Measurements
Example
Running the Program
Limit Line and Data Point Special Functions
Overview..
Example
Limit Segments Output Results.
Constants Used Throughout This Document
OutputLimitTbstPass/FaiIStatusPerLimitSegment
Output
7C:
Reading ASCII Disk Files to the Instrument Controller’s Disk File
..........................
.......................
8A:
Comparison of Two Mixers - Group Delay, Amplitude or Phase
..........................
..................
...............................
Display of Limit Lines
......................
.............................
.............................
.................
Pass/FhiI
Status for AR Segments
..................
Example Program of OUTPSEGAF Using BASIC
OutputMinimumandMaximumPointPerLimitSegment
Output Minimum and Maximum Point For
AII
Segments
Example Program of OUTPSEGAM Using BASIC Output Data Per Point
OutputDataPerRangeofPoints OutputLimitPass/I%IbyChannel
...........................
......................
.....................
Data to a Plotter
.....
............
.
.............
..............
...........
...........
..............
2-92
2-93
2-94 2-95 2-96
2-99 2-100 2-100 2-103
2-104
2-105
2-107
2-108 2-109
2-110 2-111 2-112
2-112
2-114 2-115
2-116
2-117
2-118
2-119
Index
contents-4
Page 11
Figures
l-l. HP-IB Bus Structure
l-2. Analyzer l-3.
FORM 4 (ASCII) Data-Transfer Character String
l-4.
The Data-Processing Chain
l-5.
Status Reporting Structure
l-6.
Key Codes.
2-l.
The HP 2-2. Status Reporting Structure 2-3. Connections: Comparison of Two Mixers
24.LimitSegmentsVersusLimitLines
Single
Bus Concept
................................
8719D/20D/22D
............................
........................
...............
.........................
.........................
Network Analyzer System with Controller
.........................
-
Group Delay, Amplitude or Phase .
.....................
......
2-100
2-107
YIhbles
O-l. Hewlett-Packard l-l. Preset Conditions (1 of 5)
l-2.
Code Naming Convention
l-3.
OPC-compatible Commands
14.
UnitsasaFunctionofDisplayFormat.
l-5.
HP
8719D/20D/22D l-6. Status Bit Dell&ions l-7.
Status Bit Defmitions (Continued)
l-8.
Relationship between Calibrations and Classes
l-9.
Error Coefficient Arrays
l-10.
Disk File Names
l-11. Key Select Codes
1-12.
HP-LB only
2-l.
Additional BASIC 6.2 Programming Information
2-2. Additional HP-IB Information 2-3. Measurement Speed: Data Output and Error Correction to an External PC* . . 2-4. HP 2-5. Limit Line and Data Point Special Functions Commands 2-6. Limit Segment 2-7. Example Output: OUTPSEGAM 2-8.
2-9. 2-10. Example Output: OUTPSEGAF 2-11. Example Output: OUTPSEGM 2-12. Example Output: OUTPSEGAM 2-13. Example Output: OUTPDATP (data per point) 2-14. Example Output: OUTPDATPR (data per range of points)
8719D/20D/22D
Pass/FaiI/NoLimit
MinMaxlbstConstants
Sales
and Service Offices
Network Analyzer Array-Data Formats
..............................
.............................
Commands
Network Analyzer Array-Data Formats
Table
for Figure 2-3
Status Constants
.........................
.........................
.........................
...........................
......................
..........................
...........................
........................
(min/max
..........................
(pass/fail
(min/max
(min/max
..................
...................
..........
................
...............
..........
...........
.....................
of all segments)
.....................
for
all
segments)
per segment)
for
ail
segments)
................
..........
..........
............
..........
...........
2-105 2-108
2-109
2-110 2-110 2-112 2-114 2-115
2-117 2-118
1-12 1-15 1-21
l-27 l-30 l-38
2-3
2-56
. . .
1:
l-8
1-19
l-22
l-24
1-31
l-32
l-35
l-36 l-37 14-9 l-62
2-l
2-l
2-37
246
Contents-5
Page 12
1
HP-IB Progr
amming
and Command Reference
This chapter is a reference for operation of the network analyzer under HP-IB control. You should already be familiar with making measurements with the analyzer. Information about the HP-IB commands is organized as follows:
n
Analyzer Command Syntax
q
Code Naming Convention
q
Valid Characters
0
units
q
Command Formats
w
HP-IB Operation
q
Device Types
q
HP-IB Bus Structure
q
HP-H3
Requirements
q
HP-IB Operational Capabilities
q
Bus Device Modes
o
Setting HP-IB Addresses
q
Response to HP-IB
n
Analyzer Operation-Complete Commands
n
Reading Analyzer Data
0
Output Queue
q
Command Query
Met&Messages (IEEE-488
Output syntax
q
Marker Data
q
Array-Data Formats
q
Trace-Data Transfers
q
Stimulus-Related Values
n
Data Processing Chain
q
Data Arrays
q
Fast Data Transfer Commands
q
Data Levels
q
Learn String and Calibration Kit String
Universal Commands)
HP-M Programming and Command Reference
l-1
Page 13
n
Error Reporting
q
Status Reporting
q
The Status Byte
q
The Event-Status Register and Event-Status Register B
q
Error Output
n
Calibration
w
Disk File Names
n
Using Key Codes
n
Key Select Codes Arranged by Front-Panel
n
HP-II3
Only Commands
n
Alphabetical Mnemonic Listing
Hardkey
For information about manual operation of the analyzer, refer to the HP
Network Analyzer User’s
Gwid.e.
87190Z?O0Z!,W

Where to Look for More Information

Additional information covering many of the topics discussed in this chapter is located in the following:
n
Tutorial &script&m. of the
discussion of all aspects of the HP-IB. A thorough overview of tutorial HP publication, HP part number 5021-1927.
n
IlZEEStundurd
Digital I-w
488.1-1987 contains detailed information on IEEE488 operation. Published by the Institute
of Electrical and Electronics Engineers, Inc, 345 East New York 10017.
n
Chapter 2, “HP BASIC programming examples,” includes programming examples in
HP BASIC.
Hewlett-mhrd
for Programmable
Interlface Bus,
InstmLmentation ANSMEEEstd
47th
presents a description and
ail
technical details as a broad
Street, New York,
l-2
HP-16
Programming and Command Reference
Page 14

Preset State

When the state. This state is defined in
When line power is cycled, or the
m
key is pressed, the analyzer reverts to a known state called the factory preset
‘Ihble
l-l.
IPreset
key pressed, the analyzer performs a self-test routine.
Upon successful completion of that routine, the instrument state is set to the conditions shown
in
‘lhble
l-l. The same conditions are true following a “PRES;” or “RST;” command over HP-IB,
although the self-test routines are not executed.
You
also
can configure an instrument state and
dellne
it as your user preset state:
1. Set the instrument state to your desired preset conditions.
2. Save the state (save/recall menu).
3. Rename that register to “UPRESET”.
4.
press m
The
w
‘~~~~~~~~.
. . . . .
. . . .
..i
:-
.._..............._.......................
key is now toggled to the
.
..G.
.._.. <<F.:...
@$&..
selection and your defined instrument state will be
recalled each time you press w and when you turn power on. You can toggle back to the factory preset instrument state by pressing
Note
When you send a preset over HP-IB, you will always get the factory preset.
Ipreset]
and selecting .:~~~~~~.
.- .._.............._
-..- .._...
You can, however, activate the user-delined preset over HP-IB by recalling the
register in which it is stored.
HP-IB Programming and Command Reference
13
Page 15
lhble
l-l. Preset Conditions (1 of 5)
Preset Conditions Analyzer Mode Analyzer Mode Frequency Offset
(Opt. 089)
Offset Value
High Power
External R Channel Attenuator A Attenuator B
stimnllls S=ep Type
Step Sweep
Step Sweep (Opt. Display Mode
TriggerType ExternalTrigger
Sweep Time Start Frequency
stop Frequency
(HP
871QD)
Stop Frequency
(HF’ 8720D) Stop
Frequency
[HP
8722D) StartTime TimeSpan
CW Frequency 1GHz
l&t
Port Power
(HP
871QD/ZOD)
Test Port Power [HP
8719D/‘20D,
T&t Port Power
(HP
8719D/20D, Opt.
Test
Port Power
(HF’ 8722D) l&t
Port Power
(HP
8722D,
Start Power [HP
871QD/2OD)
(Opt.
085)
conditioM
085)
Opt. 007)
Opt. 007)
400)
Network Analyzer Mode
Off
OH2
Off
OdB OdB
Linear Frequency
Off
on
t3t.EZt/stop cOntinuouf4
Off
100 ms, Auto Mode
6oMHz
13.51 GHz
20.05
40.05 GHz
0
1OOmS
6dBm
10
dBm
OdBm
-10
-6 dBm
-15.0
GHz
dBm
dBm
Preset
Valne
Preset
Cm~ditions
Start Power (HP
8719D/20D,
Start Power (BP
871QD/20D,
Start Power (HP
8722D)
Start Power (HP
8722D,
start Power (HF’ 8722D,
Power Span (HP
8719DLZOD)
Power
Spau
(HP
8722D)
Coupled Power Source Power
Coupled Channels Coupled Port Power Power Range Power Range
@Pt.
400)
Number of Points
Fhqnency List
Frequency List Edit Mode
Reaponae conditionB
Parameter
Conversion Format
Display
Color Selections
DualChannel
Active Channel
Opt. 007)
Opt. 400)
Opt. 007)
Opt. 400)
Channel 3: 512;
Channel4: 522 off
Log Magnitude
(all
Same a8 before Off Channel 1
Preset
-10.0
dBm
-20.0
dBm
-20.0
dBm
-15.0
dBm
-25.0
dBm
20 dB
15
dB
On On On On Auto; Range 0 Auto; Range 1
201
Empty St=WfiP,
Number of
channel
Channel 2:
Data
Points
1:
Sll; s21;
parameters)
Value
LpTeset)
14
HP4B Programming and Command Reference
Page 16
‘Ihble
12-3. Preset Conditions (2 of 5)
Preset Conditions
kequency
Retrace Power Standard
!lkst ‘l&t
or 085) Intensity
Beeper: Done Beeper: Wamiug Off
D2/Dl
Title
IF Bandwidth IF Averaging Factor Smoothing Aperture Phase offset Electrical Scale/Division
CfdlbllltiOll
Correction Calibration Type
calibration
(HP Calibration Kit
(HP System ZO
Velocity
EXtA?IlSiOUS
ChopAandB
Power Meter Calibration
Blank Disabled
Set Switch Continuous Set Switch (Opt. 007
to
D2
DeIay
Kit
8719D/‘20D)
8722D)
Factor
Port 1 Port 2 Input A Input B
Numberof
Readin@
1
Pretzet
Hold
Factory selected value is not changed by
ou
Off Channel 1 = Channel 2 = Empty 3000 Hz 16; off 1%
SPAN; off
0 Degrees
OIlS 10 dB/Division
Off None
3.5 mm
2.4 mm
50 ohms
1
Off
OS
OS OS OS
on Off
Value
set to 100%; user
(jjj.
bp]
Preset Conditions
Power Loss Correction
Sensor A/B
InterpoIated Error
Correction
Markers (coupled) Markers 1, 2, 3, 4, 5 Last Active Marker Reference Marker Marker Mode Display Markers Delta Marker Mode
coupling
Marker Search Marker
‘ILxrget
Value Marker Width Marker Tracking Marker Marker Marker Marker Statistics
PoIar
Marker
Smith Marker
Limit Lines
LimitLines
Limit
n?sting LimitList
Edit Mode
stimuhls
Amplitude Offset
LimitType
Beep Fail
Value
Stimuli Value O&t Aux
Offset
Offset (Phase)
oKset
Preset Off A
on1
1
GHZ;
AII Markers Off
1
None Continuous
on
Off
off
-3dB
-3dB;off
Off
OH2
DdB
D
Degrees
Off LinMkr
R+jX Mkr
OK
OK
Empty
Upper/Lower
OH2
DdB
Soping Line
OK
Value
Limit9
1
InterpoIated
describes how to set the factory preset state of
Error Correction can be on or OK when the
anaIyzer
InterpoIated
is in the factory preset state. The User’s Guide
Error Correction.
HP-IB
Programming and Command Reference
l-5
Page 17
‘Ihble
12-3. Preset Conditions (3 of 5)
Preset
oondaioM
Preset Viahe
Time Domain Transform
!lYramform fart.
Type
Transform
stop Transform
Gating
Gate
Bhape GateBtart
Gate Stop
Demodulation window Use Memory
ou Bandpass
-1
nano6econd 4nanosecond13 OE
Normal
-600
picosecond8
600 picoseconds OlT
Normal
on
ByLlJtelnParame~s
HP-IB
Addresses
HP-IB Mode
Clock Time Stamp Preset:
F’actoryNser
LastActiveBtate
Lai3tActiveBtate
Last Active
state
on
LastGelectedSt&4Z
bPY amtion
Parallel Port La8tActiveBtat.e
Plotbr Type
Plotter Port Plotter Baud Rate
?lotter
Handshake LmtActiveBtate
HP-IB
AddTess ?rinter’Ippe ?rinter
Port
?rint.er
Baud Rate
VnterHandshake Writer HP-IB Address
LastActiveBtate
hstActiveBtate
LastActiveBtate
LaetActiveBtate
LastActiveBtate
LastActiveBtate La8tActiveBtat.e hstActive&ate
LastActiveBtate
Preset oonditioM
Disk Save
Conliguration
t-w 8tore)
Data Array Raw Data Array Formatted Data Array Graphics
D-W
DirectorySize
Ewe Using
Select Disk Disk Fbrmat
9eqpencing2
Loop
Counter
l-l-LOUT
service HP-IB
3ource Pux
Modea D&no&c
Phase Lock
Input Resolution
k.nalogBusNode
Plot
?lot Data ‘lot Memory ‘lot Graticule ‘lot
l&t
‘lot
Marker
btofeed
‘lot
Quadnmt
kale
PW
‘lot.
Bpeed
Preset
hhe
OE
Off Off
m
Off
Default1 Binary
tnternal
Memory
LIP
lm iOOpOIl
hW
11 (Aux Input)
1 The directory size is calculated es 0.013% of the floppy disk
2
Pres&g
preset turns off sequencing modify (edit) mode and
size
(which is
stops
any running sequence.
~266)
or 0.006% of the hard disk size.
Page 18
Preset
Cmditiom
Pen Number:
ChllCh3 Data ChllCh3 Memory Chl/Ch3 ChllCh3 Graticule
ChllCh3 Ch2/Ch4 Ch2ICh4 Ch2lCh4 ch2/Ch4 !R?xt Ch2lCh4
ne
Type:
ChlKh3
ChllCh3 Memory
Ch2Xh4 Data Ch2/Ch4
Marker
‘lbxt
Data
Memory
Graticule
Marker
Data
Memory
‘lhble
2 5
7
1 7 3 6
1 7 7
7 7 7 7
12-3. Preset Conditions (4 of 5)
Preset Value
Preset
Ckmditiom
Print
Printer Mode Auto-Feed
Printer
cOlors CHlRh3 CHl/ChS CH2/Ch4 CH2Kh4 Mem
Graticule
W=Wt lkxt
F&f Line
Data Mem Data
Last Active State
on
Magenta
Seen
Blue
I&d =yan
Slack
3lack 3lack
Preset
Vahe
‘Ruble
12-3. Preset Conditions (5 of 5)
Format
Log
Wude
Phase (degree) Group Delay
Smith Chart Polar Linear Magnitude
Real
­SWR
WV
(ns)
lgble
Scale
10.0
90.0
10.0
1.00
1.00
0.1
0.2
0.2
1.00
Reference
PO&ion Iblue
5.0
5.0
5.0
0.0
5.0
5.0
0.0
0.0
0.0
0.0
1.0
1.0
0.0
0.0
0.0
1.0
1
HP-IB Programming and Command Reference
1-7
Page 19

Analyzer Command Syntax

Code Naming Convention

The analyzer HP-IB commands are derived from their front-panel key titles (where possible), according to this naming convention:
Simple commands are the command name for power. If the function label contains two words, the
letters are the
Ilrst
three letters of the
first
four letters of the function they control, as in POWE, the
iirst
three mnemonic
first
word, and the fourth mnemonic letter is the
f&t
letter of the second word. For example, ELED is derived from electrical delay. If there are many commands grouped together in a category, as in markers or plotting pen
numbers, the command is increased to 8 letters. The
ilrst
4 letters are the category label and the last 4 letters are the function specifier. As an example, category pen numbers are represented by the command PENN, which is used in combination with several functions such as PENNDATA, PENNMEMO.
The code naming guidelines, listed in lhble
n
make commands more meaningful and easier to remember
n
maintain compatibility with other products (including the HP 8510)
Note
There are times when these guidelines are not followed due to technical
l-2,
are used in order to:
considerations.
‘able
Convention
ne Word
1-2.
Key
!lWe
Power Start
Code
Naming Convention
For HP-IB Code Use
First Four Letters
Example
POWE
b0
Words
Two Words in a Group
Three Words
Electrical Delay
Search Right
Marker
+Center
Gate--span
CalKitN50Q
Pen Num Data
Three Letters of First Word,
of Second Word
Four
I&~KXS
of
Both
First Three Letters of First Word,
of Second Word, First Four Letters of Third Word
First
Letter ELED
First
Letter
MARKCENT GATESPAN
CALKN50
PENNDATA
FhsZ
Some codes require appendages (ON, OFF, 1, 2, etc). Codes that do not have a front-panel equivalent are HP-IB only commands They use a similar convention based on the common name of the function.
l-8
HP-IB Programming and Command Reference
Page 20

Valid Characters

The analyzer accepts the following ASCII characters:
w
letters
w
numbers
n
decimal points
n
+I-
n
semicolons (;)
n
quotation marks
n
carriage returns (CR)
n
Iinefeeds (LF)
Both upper- and lower-case letters are acceptable. Carriage returns, leading zeros, spaces, and unnecessary terminators are ignored, except for those within a command or appendage. If the analyzer does not recognize a character as appropriate, it generates a syntax error message and recovers at the next terminator.

units

(“)
The analyzer can input and output data in basic units such as Hz,
S
Seconds
v
Volts
Hz DB
Input data is assumed to be in basic units (see above) unless one of the following
dB,
seconds,
Hertz
dBordBm
etc.
units
is used
(upper and lower case are equivalent):
MS Milliseconds US Microseconds NS Nanoseconds PS
Picoseconds
KHZ Kilohertz
MHZ Megahertz
GHZ Gigahertz
FS
Femtoseconds

Command Formats

The
HP-II3
commands accepted by the analyzer can be grouped into five input-syntax types
The analyzer does not
distmguish
between upper- and lower-case letters
General Structure:
[unit]
The general syntax structure is:
[code] [appendage] [data]
The individual sections of the syntax code are explained below.
[terminator]
[code]
The root mnemonic (these codes are described in the ‘Alphabetical Mnemonic Listing” later in this chapter.)
[appendage1
A OFF (toggle a function ON or OFF), or integers, which specify one capability out of several. There can be no spaces or symbols between the code and the appendage.
qualiher
attached to the root mnemonic Possible appendages are ON or
HP-IB Programming and Command Reference
l-9
Page 21
Idat4
A single operand used by the root mnemonic, usually to set the value of a function. The data can be a number or a character string. Numbers are accepted as integers or example, STAR 0.2E+lO ; sets the start frequency to 2
decimals,
with power of ten
speciiied
GHz).
Character strings
by E (for
must be enclosed by double quotation marks
For example:
A title string using
OuTp’(JT 7~~;ll~~~llllll~~~~~llll
where the first two
RMI3
BASIC would look like:
IIll
are an escape so that RMB BASIC will interpret the
ll;ll
third II properly.
bm
The units of the operand, if applicable. If no units are specified, the analyxer
assumes
the basic units as described above. The data is entered into the
function when either units or a terminator are received.
[terminator]
The
specific
SYNTAX
TYPE
Indicates the end of the command, enters the data, and switches the active-entry area OFF. A semicolon
YIMninators
are not necessary for the analyzer to interpret commands correctly, but in the case of a syntax error, the analyxer at the next terminator. The analyxer also interprets line feeds and OR IDENTIFY
(EOI)
messages as terminators
(;)
is the recommended terminator.
wiIl
attempt to recover
HP-R3
syntax types are:
1: [code] [terminator]
END
These are simple action commands that require no complementary information, such as AUTO ; (autoscales the active channel).
SYNTAX TYPE 2:
These
are simple action commands requiring limited
CORROFF;
[code][appendage][terminator]
(error correction ON or OFF) or
FlEXAl;, RECA2;, RECA3; (recall register 1, 2, 3).
customixation,
such as
CORROhl ;
and
There can be no characters or symbols between the code and the appendage.
Note
In the
[D] must be 2 characters For example,
CLEAREGl
SYNTAX
TYPE
3: [code] [data]
These are data-input commands such as STAR 1.0 GHZ
folIowing
cases:
CLEAREG[D],
; will generate a syntax error.
[unit][terminator]
RECAREG[D],
CLEAREGO ;
;
(set the start frequency to 1
will execute, while
SAVEREG[D],
SYNTAX TYPE 4: [code] [appendage] [data] [terminator]
These are titling and marker commands that have an appendage, such as TITRi (title register 1
QUERY
SYNTAX:
‘lb
query a front-panel-equivalent
mnemonic (For example,
STATEl), TITR2 YEST2tB
[code][?]
ftmction,
POUE?, AVERO?,
(title register 2
TEST2).
append a question mark (?) to the root
or REAL?.) lb query commands with integer
appendages, place the question mark after the appendage.
l-10
HP-IB Programming and Command Reference
and EG[D],
GHx).
“STATEI”
Page 22

HP-IB Operation

The Hewlett-Packard Interface Bus (HP-IB) is Hewlett-Packard’s hardware, software, documentation, and support for IEEE 488.2 and instruments. This interface allows you to operate the analyzer and peripherals in two methods:
n
by an external system controller
n
by the network analyzer in system-controller mode

Device Types

The HP-IB employs a party-line bus structure in which up to 15 devices can be connected on one contiguous bus. The interface consists of 16 signal lines and 8 ground lines within a shielded cable. With this cabling system, many different types of devices including instruments, computers, power meters, plotters, printers, and disk drives can be connected in
IEC-625
worldwide standards for interfacing
parallel.
Every
HP-II3
device must be capable of performing one or more of the following interface
functions:
Tblker
A

talker

is a device capable of transmitting device-dependent data when addressed to talk.
There can be only one active talker at any given time. Examples of this type of device include:
n
power meters
n
disk drives
n
voltmeters
n
counters
n
tape readers
The network analyzer is a
taIker
when it sends trace data or marker information over the bus.

Listener

A listener is a device capable of receiving device-dependent data over the interface when addressed to listen. There can be as many as 14 listeners connected to the interface at any given time. Examples of this type of device include:
n
printers
w
power supplies
n
signal generators
The network
analyzer
is a listener when it is controlled over the bus by a system controller.

Controller

A controller is
1. managing the operation of the bus
2.
addressing talkers and listeners
There can be only one active controller on the interface at any time. Examples of controllers include desktop computers, minicomputers, workstations, and the network analyzer. In a
multiple-controller
only be one master and can regain active control at any time. The analyzer is an active controller when it plots, prints, or stores to an system controller when it is operating in the system-controller mode.
dehned
system, active control can be passed between controllers, but there can
system
as a device capable of:
controller connected to the interface. The system controller acts as the
external
disk drive in the pass-control mode. The analyzer is also a
l-1
HP-IB Programming and Command Reference
1
Page 23

HP-IB Bus Structure

Figure l-l.
EP-IB
Bus Structure
Data Bus
The data bus consists of 8 bi-directional lines that are used to transfer data from one device to another. Programming commands and data transmitted on these lines are typically encoded in ASCII, although binary encoding is often used to speed up the transfer of large arrays Both ASCII- and binary-data formats are available to the analyzer. In addition, every byte transferred over HP-IB undergoes a handshake to insure valid data.
HandshakeLines
A three-line handshake scheme coordinates the transfer of data between talkers and listeners. To insure data integrity in multiple-listener transfers, this technique forces data transfers to occur at the transfer rate of the slowest device connected to the interface. With most computing controllers and instruments, the handshake is performed automatically, making it transparent to the programmer.
Control Lines
The data bus
also
has five control lines. The controller uses these lines to address devices and
to send bus commands. IFC (Interface Clear)
This line is used exclusively by the system controller. When this line is true (low), all devices (whether addressed or not) unaddress and revert to an idle state.
l-12
HP-IB Programming
and Command Reference
Page 24
ATN (Attention)
The active controller uses this line to
the information on the data bus is command-oriented or
data-oriented. When this line is true (low), the bus is in the
command mode, and the data lines carry bus commands. When this line is false (high), the bus is in the data mode, and the data
SRQ (Service Request)
This and the active controller services the requesting device. The network analyzer can be enabled to pull the SRQ line for a variety of reasons such as requesting control of the interface, for the purposes of printing, plotting, or accessing a disk.
deline
whether
lines
carry device-dependent instructions or data.
line
is set true (low) when a device requests service
REN (Remote Enable)
This line is used exclusively by the system controller. When this line is set true (low), the bus is in the remote mode, and devices are addressed by the controller to either listen or talk. When the bus is in remote mode and a device is addressed, it receives instructions from the system controller via HP-IB rather than from its front panel (pressing m returns the device to front-panel operation). When this line is set false (high), the
bus and all of the connected devices return to local operation.
EOI (End or Identify)
This line is used by a talker to indicate the last data byte in a multiple-byte tr
ansmission,
a parallel-poll sequence. The analyzer recognizes the EOI line as a terminator, and it pulls the EOI line with the last byte of a message output (data, markers, plots, prints, error messages). The analyzer does not respond to parallel poll.

HP-IB Requirements

Number of Interconnected Devices: Interconnection Path
Maximu
Cable Length:
Message Transfer Scheme:
15 maximum. 20 meters maximum or 2 meters per device
(whichever is less). Byte serial, bit parallel asynchronous data
transfer using a
or by an active controller to initiate
3-line
handshake system.
Data Rate:
Address Capability:
Multiple-Controller Capability:
Maximum of 1 megabyte-per-second over the
spetied
distances with tri-state drivers Actual data rate depends on the transfer rate of the slowest device connected to the bus
Primary addresses: 31
maximu
of 1 talker and 14 listeners can be
talk,
31 listen. A
connected to the interface at given time. In systems with more than one controller (such
as this instrument), only one controller can be active at any given time. The active controller can pass control to another controller, but only the system controller can assume unconditional control. Only one wm controller is allowed.
HP-IB Programming and Command Reference
l-13
Page 25

HP-IB Operational Capabilities

On the network analyzer’s rear panel, next to the HP-IB connector, there is a list of HP-IB device subsets as capabilities:
delined
by the IEEE 488.2 standard. The analyzer has the following
SHl
AH1 T6 L 4
SRl RLl
PPO DC1
DTl
Cl,C2,C3
Cl0
E2
LEO TEO
Pull-source handshake. Pull-acceptor handshake. Basic talker, answers serial poll, unaddresses if MLA is issued. No talk-only mode. Basic listener, unaddresses if MTA is issued. No listen-only mode. Complete service request (SRQ) capabilities. Complete remote/local capability including local lockout. Does not respond to parallel poll. Complete device clear Responds to a Group Execute Trigger (GET) in the hold-trigger mode. System controller capabilities in system-controller mode. Pass control capabilities in pass-control mode.
T&state
drivers No extended listener capabilities. No extended talker capabilities
These codes are completely explained in the IEEE Std 488 documents, published by the Institute of Electrical and Electronic Engineers, Inc, 345 East
47th
Street, New York,
New York 11017.
1-14 HP-IB Programming and Command Reference
Page 26
BP-IB Status Indicators
When the analyzer is connected to other instruments over the HP-IB, the HP-IB status indicators illuminate to display the current status of the analyzer. The HP-IB status indicators are located in the instrument-state function block on the front panel of the network analyzer.
R = Remote Operation L = Listen mode T = Talk mode S = Service request (SRQ) asserted by the analyzer

Bus Device Modes

The analyzer uses a single-bus architecture. The single bus allows both the analyzer and the host controller to have complete access to the peripherals in the system.
Three different controller modes are possible in and
n
system-controller mode
n
talker/listener mode
w
pass-control mode
GRAPHICS PLOTTER
HP-16
PRINTER
HP-II3
system:
DISK DRIVE
HOST CONTROLLER
Figure
l-2.
NETWORK ANALYZER
Analyzer Single Bus Concept
HPJB Programming and Command Reference
l-15
Page 27
System-Controller Mode
This mode allows the analyzer to control peripherals directly in a stand-alone environment (without an external controller). This mode can only be selected manually from the
analyzer’s front panel. It can only be used if no active computer or instrument controller is connected to the system via HP-IB. If an attempt is made to set the network analyzer to the system-controller mode when another controller is connected to the interface, the following
message is displayed on the analyzer’s display screen:
"ANOTHER SYSTEM CONTROLLER ON HP-IB BUS"
The analyzer must be set to the system-controller mode in order to access peripherals from the front panel. In this mode, the analyzer can directly control peripherals (plotters, printers, disk drives, power meters, etc) and the analyzer may plot, print, store on disk or perform power meter functions
Note
Do not attempt to use this mode for programming. HP recommends using an external instrument controller when programming. See the following section,
“lhIker/Listener
Mode.
n
‘Ih&erListener Mode
This is the mode that is normally used for remote programming of the analyzer. In talker/listener mode, the analyzer and all peripheral devices are controlled from an external instrument controller. The controller can command the analyzer to talk and other devices to listen. The analyzer and peripheral devices cannot talk directly to
each
other unless the computer sets up a data path between them. This mode allows the analyzer to act as either a talker or a listener, as required by the controlling computer for the particular operation in progress.

Pass-Control Mode

This mode
allows
the computer to control the analyzer via
HP-LB
(as with the talker/listener mode), but also allows the analyzer to take control of the interface in order to plot, print, or access a disk. During an analyzer controlled peripheral operation, the host computer is free to perform other internal tasks (i.e. data or display manipulation) while the analyzer is controlling the bus After the analyzer-controlled task is completed, the analyzer returns control to the
system
Note
controller.
Performing an
instrument
preset does not affect the selected bus mode, although the bus mode will return to talker/listener mode if the line power is cycled.
Note
“Specifications and Measurement Uncertainties” in the
Network
AnuZ~zm
User’s
Guide
provides information on setting the correct bus
HP 8719~A2OWZ?~
mode from the front-panel menu.

Analyzer Bus Modes

As discussed earlier, under control, the analyzer can operate in one of three modes: talker/listener, pass-control, or system-controller mode.
In
taIker/Iistener
mode, the analyzer can make a plot or print using the
mode, the analyzer behaves as a simple device on the bus. While in this
OUTPPLOT;
or
OUTPPRIN
; commands The analyzer will wait until it is addresses to talk by the system controller and then dump the display to a plotter/printer that the system controller has addressed to listen. Use of the commands
l-16
PLOT ;
HP-IB Programming and Command Reference
and
PRINALL ; require control to be passed to another controller.
Page 28
In pass-control mode, the analyzer can request control from the system controller and take control of the bus if the controller addresses it to take control. This allows the analyzer to
take control of printers, plotters, and disk drives on an as-needed basis. The analyzer sets
event-status register bit 1 when it needs control of the interface, and the analyzer will transfer control back to the system controller at the completion of the operation. It will pass control
back to its controller address, specified by ADDRCONT. The analyzer can also operate in the system-controller mode. This mode is only used when
there is no remote controller on the bus. In this mode, the analyzer takes control of the bus, and uses it whenever it needs to access a peripheral. While the analyzer is in this mode, no other devices on the bus can attempt to take control. Specifically, the REN, must remain unasserted, and the data lines must be freed by
all
but the addressed
ATN,
and IFC lines
taIker.

Setting HP-IB Addresses

In systems interfaced using HP-IB, each instrument on the bus is address This address code must be different for each instrument on the bus. These addresses
are stored in short-term, non-volatile memory and are not affected when you press
cycle the power.
Note
The analyzer addresses are set by pressing m the addresses must be set for the plotter, printer, disk drive, and power meter.
The default address for the analyzer is device 16, and the display address is device 17.
Note
Response to HP-IB Meta-Messages
The analyzer occupies two HP-IB addresses: the instrument itself and the display. The display address is derived from the instrument address by complementing the instrument’s least-significant bit. Hence, if the instrument is at an even address, the display occupies the next higher address. If the instrument is at an odd address, the display occupies the next lower address
_
.~~~~~~~~.
_..._.._
- . . - .
.._..... - - - .._ -.
There is also an address for the system controller. This address refers to the
controller when the network analyzer is being used in pass-control mode. This
is the address that control is passed back to when the analyzer-controlled
operation is complete.
(IEEE-488
Universal Co
identilied
. . . . . . . . . . . . . . . .
In system-controller mode,
by an
HP-B3
m
-W
or
Abort
The analyzer responds to the abort message (IFC) by halting all listener, talker, and controller functions
Device Clear
The analyzer responds to the device clear commands (DCL, SDC) by clearing the input and output queues, and clearing any HP-IB errors. The status registers and the error queue are unaffected.
Local
The analyzer will go into local mode if the unasserted, or the front-panel local key is pressed. Changing the analyzer’s HP-IB status from remote to local does not affect any of the front-panel functions or values.
local
command (GTL) is received, the remote line is
HP-IB Programming and Command Reference
l-17
Page 29
Local Lockout
If the analyzer receives the local-lockout command
(LLO)
while it is in remote mode, it will disable the entire front panel except for the line power switch. A local-lockout condition can only be cleared by releasing the remote line, although the local command (GTL) will place the instrument temporarily in local mode.
Parallel Poll
The analyzer does not respond to parallel-poll conhgure (PPC) or parallel-poll
unconhgure
(PPU)
messages.
If the analyzer is in pass-control mode, is addressed to talk, and receives the take-control
command
(TCT),
from the system control it will take active control of the bus. If the analyzer
is not requesting control, it will immediately pass control to the system controller’s address.
Otherwise, the analyzer will execute the function for which it sought control of the bus and then pass control back to the system controller.
Remote
The analyzer will go into remote mode when the remote line is asserted and the analyzer is addressed to listen. While the analyzer is held in remote mode, exception of
=I)
are disabled. Changing the analyzer’s HP-IB status from remote
ail
front-panel keys (with the
to
local
does not affect any front-panel settings or values.
Serial Poll
The analyzer will respond to a serial poll with its status byte, as Reporting” section of this chapter. talk and issue a
serial-polI
enable command (SPE). Upon receiving this command, the analyzer
‘RI
initiate the serial-poll sequence, address the analyzer to
dehned
in the “Status
will return its status byte. End the sequence by issuing a serial-poll disable command (SPD). A serial poll does not affect the value of the status byte, and it does not set the instrument to remote mode.
Trigger
In hold mode, the analyzer responds to device trigger by taking a single sweep. The analyzer responds only to selected-device trigger execute-trigger (GET) unless it is addressed to listen. The analyzer will not respond to GET if it is not in hold mode.
(SDT).
This means that it will not respond to group
l-18
HP-IB Programming and Command Reference
Page 30

Analyzer Operation

Operation Complete

Occasionally, there is a need to know when certain analyzer operations have been completed. There is an operation-complete function (OPC) that the execution of certain key commands This mechanism is activated by issuing OPC ; or OPC? ; prior to an OPC-compatible command. The status byte or ESR operation-complete bit
be set after the execution of the OPC-compatible command. For example, issuing OPC
causes the OPC bit to be set when the
single
sweep is
the OPC ; causes the analyzer to output a one (1) when the command execution is complete. The analyzer completed. For example, executing OPC? causes the bus to
wiII halt
halt untiI
the computer by not transmitting the one (1)
; PRES
the instrument preset is complete and the analyzer outputs a one
(1).
As another example, consider the timing of sweep completion. Send the command string SWET
3
S; OPC? ; SING; to the analyzer. This string sets the analyzer sweep time to 3 seconds, and
then waits for completion of a
single
sweep to respond with a one (1). The computer should be programmed to read the number one (1) response from the analyzer indicating completion of the
single
sweep. At this point a
valid
trace exists and the trace data could be read into the
computer.
‘Ihble
1-3. OPGcompatible
ahows
a synchronization of programs with
wiII
then
;
SING;
Iinished.
Issuing OPC? ; in place of
until
the command has
; , and then immediately querying the analyzer
Chnmands
AUXC<ONIOFF> CHANl
CHANB
cHAN31 cHAN41
CLASS1 1A2 CLASS1 1B2 cLASS11c2 CLASS22A2 CLASS22B2
cLAss22c2
CLEA<l
to
5> CLEARALL
CLEAREG<Ol to 31) DATI
EXTTOFF EXlTON
EX’ITPOIN RESPDONE
FREQOFFS<ONJOFF>
FWD12 FWDM2
REVI REVM2
REVT2 FWDT2 GkI’EO<ONIOF’F>
INSMNETA
INSMTUNR
ISOD MANTRIG
NOOP NUMG
PRES
RAID
RECA<l RECAREG<Ol
to
5>
to
31>
REFD
SAVl
SAV2
SAVC
SAVE<1
to
5>
SAVEREG<Ol to 31>
SAVT
SING
SLIS STAN<A
to G>
SWI’START
WAIT
1TheSecOmmands are not queriable, but the active channel may be found by OUTPCHAN.
2Theclassco
mmands
are OPC-comptible if there is only one standard in the class.
HP-IB Programming and Command Reference
l-19
Page 31

Reading Analyzer Data

Output Queue

Whenever an output-data command is received, the analyzer puts the data into the output queue (or buffer) where it is held until the system controller outputs the next read command. The queue, however, is only one event long: the next output-data command will overwrite the data already in the queue. Therefore, it is important to read the output queue immediately after every query or data request from the analyzer.

Command Query

All instrument functions can be queried to
find
the current ON/OFF state or value. For instrument state commands, append the question mark character (?) to the command to query the state of the functions. Suppose the operator has changed the power level from the analyzer’s front panel. The computer can ascertain the new power level using the analyzer’s command-query function. If a question mark is appended to the root of a command, the analyzer will output the value of that function. For instance, to 7
dB,
and receives
ilhnninates
POBE?
the analyzer front-panel talk light
POUE? ;
outputs the current RF source power at the test port. When the analyzer
; ,it prepares to transmit the current RF source power level. This condition
(I”).
In this case, the analyzer transmits the
POW3
7 DB ; sets the source power
output power to the controller. ON/OFF commands can be also be queried. The reply is a one (1) if the function is ON or a
zero (0) if it is OFF. For example, if a command controls an active function that is underlined on the analyzer display, querying that command yields a one (1) if the command is underlined or a zero (0) if it is not. As another example, there are nine options on the format menu and only one option is underlined at a time. Only the underlined option will return a one when queried.
For instance, send the command string DUAC? ; to the analyzer. If dual-channel display is switched ON, the analyzer will return a one (1) to the instrument controller.
Similarly, to determine if phase is being measured and displayed, send the command string
PHAS? ; to the analyzer. In this case, the analyzer will return a one (1) if phase is currently being displayed. Since the command only applies to the active channel, the response to the PHAS? ; query depends on which channel is active.

Identification

The analyzer’s response to IDN? ; is HEWLETT PACKARD, model number of the instrument and
X.xX
is the
The analyzer also has the capability to output its serial number with the command OUTPSEBN; ,
and to output its installed options with the command OUTPOPTS
87NND,
llrmware
0, X . XX where 87NND is the
revision of the instrument.
;
.

Output Syntax

The following three types of data are transmitted by the analyzer in ASCII format:
n
response to query
w
certain output commands
n
ASCII floating-point (FORM 4) array transfers
l-20
HP-IB Programming and Command Reference
Page 32
Marker-output commands and queried commands are output in ASCII format only, meaning that each character and each digit is transmitted as a separate byte, leaving the receiving computer to reconstruct the numbers and strings. Numbers are transmitted as 24character strings, consisting of:
DDDDDDDDDDDDDDD
g”
3 digits
l-3.
Sl
Figure
s3n
3 digits
Decimal
Point
15 digits Sign Exponent
E
FORM 4 (ASCII) Data-Transfer Character String
‘-’
for negative, blank for positive.
Digits to the left of the decimal point.
hg61a
Decimal point Standard decimal point.
15 digits
E
SW
Exponent
Digits to the right of the decimal point. Exponent notation.
‘-’
for negative, ’ + ’ for positive.
Two digits for the exponent.
When multiple numbers are sent, the numbers are separated by commas When number pairs
are sent, the numbers are separated by a comma and terminated with a line feed (IF).

Marker data

The network analyzer offers several options for outputting trace-related data. Trace information can be read out of the analyzer in several methods Data can be selectively read from the trace using the markers, or the entire trace can be read by the controller. If only specific information is required (such as a single point on the trace or the result of a marker search), the marker output command can be used to read the information. points can be read using the much faster data transfer than when using markers to output information on these commands, see “Limit Line and Data Point
OUTPDATP
or
OUTPDATR
commands. These commands allow a
specific
Special
Chapter 2.
Specihc
data
data points For more
Functions, n located in
‘Ib
read the trace data using the marker, the marker must
hrst
be assigned to the desired frequency. This is accomplished using the marker commands The controller sends a marker command followed by a frequency within the trace-data range. If the actual desired frequency was not sampled, the markers can be set to continuous mode and the desired marker value will be linearly interpolated from the two nearest points This interpolation can be prevented by putting the markers into discrete mode. Discrete mode allows the marker to only be positioned on a measured trace-data point.
As an alternative, the analyzer can be programmed to choose the stimulus value by using the MARKER SEARCH function. Maximum,
automaticahy
determined with
MARKER SEARCH. ‘lb continually update the search, switch the
minimum, target value, or bandwidths search can be
marker tracking ON. The trace-maximum search will remain activated until:
n
The search is switched
w
The tracking is switched OFF.
OFF
HP-IB Programming and Command Reference
l-21
Page 33
n
All markers are switched OFF.
Marker data can be output to a controller with a command to the analyzer. This set of
commands causes the analyzer to transmit three numbers: marker
value
1, marker value 2, and marker stimulus value. For example, in log-magnitude display mode we get the log magnitude at the marker complete listing of
(value
l), zero (for value
all
the possibilities for values 1 and 2. The three possibilities for the marker
2),
and the marker frequency. See
I)able l-4
for a
stimulus value are:
n
frequency
n
time (as in time domain, Option 010 Only)
n
CWtime
n
power (in power sweep mode)
‘Ihble l-4.
DiepW
Format
LOGMAG
PHASE degrees
DJ%LAY
SMITH CBART
POLAR
JJN MAGS
SWR SWR
REAL real
IMAGINARY
The
marker readout values are the marker values displayed in the upper right-hand corner of the display.
They also correspond to the value and ‘Value 2 is not
LIN
MAG data expressed as: "Watts,” for single input measurements (A,B,R), and “Units,” for ratioed
neasurements (A/R, B/R).
s&u&ant
Marker OUTPMAEK
LIN MKR
LOGMKR dB
R+S
G +
LIN MKR
ILIGMKR
in this format, though it is included in data transfers. See also OUTPFORF.
Units as a Function of Display Format
Mode
value 1
seconds
hmag
ReAm
realohms imfigohms
JiB
Siemens
hmag
Rdm
hmag
imag
auxilbry
value associated with the fIxed marker.
value
2 value 1 value 2
dB
real
real
dB degrees
real
t t
t
degrees real degrees real
imsg
imag
Siemens Siemens Siemens
degrees real
imag
t
t
t t
OUTPFOEM
dB
degrees
seconds
real real real
real real
h-l3
SWR
real
m
t
t t
imag inag
imag imag imsg
imag imag imag
t t
t
t
real ohms
degrees seconds
hmag
hmag
firnag
MAEKRE
lzBADouT*
value aux
dB
degrees
dB
real
real
dB
real
SWR
real
imsg
degrees
imagohm~
den-
degrees
value
t
t
t
imag
imag
imag
t t t t
1-22 HP-IB Programming and Command Reference
Page 34

Array-Data Formats

The analyzer can transmit and receive arrays in the analyzer’s internal binary format as
well
as four different numeric formats The current format is set with the
FORM3,
FORM4,
and
FORM5
commands. These commands do not affect learn-string transfers,
calibration-kit string transfers, or non-array transfers, such as command query, or output
marker values.
FORMl, FORM2,
A transmitted array will be output in the current format, and the analyzer
wili
attempt to read incoming arrays according to the current format. Each data point in an array is a pair of numbers,
usuaIly
a real/imaginary pair. The number of data points in each array is the same as
the number of points in the current sweep. The five formats are described below:
FORM1
The analyzer’s internal binary format, 6 bytes-per-data point. The array is preceded by a four-byte header. The first two bytes represent the string “#A”, the standard block header. The second two bytes are an integer representing the number of bytes in the block to
follow. FORM 1 is best applied when rapid
data transfers, not to be modified by the computer nor interpreted by the user,
are required. IEEE
32-bit
FORM2
by the same header as in biased exponent, and a
floating-point format, 8 bytes-per-data point. The data is preceded
FORMl.
23-bit
Each number consists of a l-bit sign, an S-bit
mantissa. FORM 2 is the format of choice if your
computer supports single-precision floating-point numbers IEEE
64-bit
FORM3
floating-point format, 16 bytes-per-data point. The data is preceded by the same header as in FORM 1. Each number consists of a l-bit sign, an
11-bit
biased exponent, and a
52-bit
mantissa. This format may be used with double-precision floating-point numbers. No additional precision is available in the analyzer data, but FORM 3 may be a convenient form for transferring data to your computer.
FORM4
ASCII floating-point format. The data is transmitted as ASCII numbers, as described in “Output Syntax”.
There is no header. The analyzer always uses FORM 4 to transfer data that is not related to array transfers (i.e. marker responses and instrument settings).
FORM5
PC-DOS point. The data is preceded by the same header as in FORM 1. The byte order is reversed to comply with PC-DOS formats If you are using a PC-based controller, FORM 5 is the most effective format to use.
The
analyzer
transmitted. Table
terminates each
l-5
32-bit
floating-point format with 4 bytes-per-number, 8 bytes-per-data
transmis
sion by asserting the EOI interface Iine with the last byte
offers a comparative overview of the five array-data formats.
HP-IB Programming and Command Reference
1-23
Page 35
able
1-5.
EIP
8719D/20D/22D Network Analyzer Array-Data Formats
Format type
FORM 1 FORM 2
FORM 3
FORM 4
FORM 5
No header is used in FORM 4.
Type of Data
Internal IEEE
FloatingPoint
IEEE
FloatingPoint
ASCII
PC-DOS
FloExtingPoint
Binary
32-bit
64-bit
Numbers
32-bit
B-8 per
Data Value
3 4
8
(Ty$xd)
4
Bytes per point
2 data values
6 8
16
Gail)
8
(24.31
Bytes per trace
PW
1206
1608
3216
10,050
Crypical)
1608
Total Bytes
with header
1210 1612
3220
1612

Trace-Data Transfers

Transferring trace-data from the analyzer using an instrument controller can be divided into three steps:
1. allocating an array to receive and store the data
2. commanding the analyzer to transmit the data
3. accepting the transferred data Data residing in the analyzer is always stored in pairs for each data point (to accommodate
real/imaginary pairs). Hence, the receiving array has to be two elements wide, and as deep
as the number of points in the array being transferred. Memory space for the array must be
declared before any data can be transferred from the analyzer to the computer. As mentioned earlier, the analyzer can transmit data over HP-IB in five different formats. The
type of format affects what kind of data array is declared (real or integer), because the format determines what type of data is transferred. Examples of data transfers using different formats are discussed “Example 3: Measurement Data Transfer.” For information on the various types of data that can be obtained (raw data, error-corrected data, etc), see “Data Levels,” located later in this chapter.
For information on transferring trace-data by selected points, see “Limit Line and Data Point Special
Note
F’unctions,”
located in Chapter 2.
“Example
F’ile, n
7C:
Reading ASCII Disk Files to the Instrument Controller’s Disk
located in Chapter 2, explains how to access disk
Bles
from a computer.
l-24
HP-IB Programming and Command Reference
Page 36

Stimulus-Related Values

Frequency-related values are calculated for the analyzer display. The start and stop frequencies or center and span frequencies of the selected frequency range are available to the programmer.
In a linear frequency range, the frequency values can be easily calculated because the trace
data points are equally spaced across the trace. Relating the data from a linear frequency sweep to frequency can be done by querying the start frequency, the frequency span, and the number of points in the trace.
Given that information, the frequency of point
n
in a linear-frequency sweep is represented by
the equation:
F=Start
frequency + (n-1) x
Span/(Points-1)
In most cases, this is an easy solution for determining the related frequency value that
corresponds with a data point. This technique is illustrated in “Example
3B:
Data Transfer
Using FORM 4 (ASCII Format).” When using log sweep or a list-frequency sweep, the points are not evenly spaced over the
frequency range of the sweep. In these cases, an effective way of determining the frequencies of the current sweep is to use the OUTPLIML command. Although this command is normally
used for limit lines, it can also be used to identify all of the frequency points in a sweep. Limit lines do not need to be on in order to read the frequencies directly out of the instrument with the OUTPLIML command. Refer to example Information.
Note
n
Another method of identifying all of the frequency points in a sweep is to
3D,
“Data Transfer Using Frequency Array
use the marker commands MARKBUCKx and OUTPMARK in a FOR NEXT programming loop that corresponds to the number of points in the sweep. MARKBUCKx places a marker at a point in the sweep, where x is the number of the point in a sweep, and OUTPMARK outputs the
stimuhis
value as part of
the marker data.
HP-IB
Programming and Command Reference
1-25
Page 37
Data-Processing Chain
This section describes the manner in which the analyzer processes measurement data. It includes information on data arrays, common output commands, data levels, the learn string, and the calibration kit string.

Data Arrays

F’igure l-4
n
pre-raw measured data
n
raw measured data
n
error-corrected data
n
formatted data
n
trace memory
m
calibration coefficients
Trace memory can be directly output to a controller with
shows the different kinds of data available within the instrument:
OUTPMEMO
transmitted back.
;
, but it cannot be directly
l-26
HP-l6
Programming and Command Reference
Page 38
One channel shown.
+
OlJPPRE
I
L-
Legend
Accessible Array
0
Raw Data
o-
w OurPFlAW
OUTPRAF
OCITPCALC
4
OUTPMEMO
OUTPDATA
OUTPDATF
+
OUTPFORM OUTPFORF
Figure 1-4. The Data-Processing Chain
All the data-output commands are designed to insure that the data transmitted reflects the current state of the instrument:
n
OUTPDATA,
transmit data until all formatting functions have completed.
n
OUTPPRE transmits data in conjunction with
Programming Example
n
OUTPLIML, occurred (if activated).
OUTPRAW<I>,
OUTFUMM,
OUTPFORM, OUTPDATF,
2E:
lhke4 - Error Correction Processed on an External PC.
and OUTPLIMF will not transmit data until the limit test has
OUTPRAF<I>
lhke4
mode and the SWPSTART command. See
HP-M
Programming and Command Reference
and OUTPFORF will not
l-27
Page 39
n
OUTPMARK will activate a marker if a marker is not already selected. It will also insure that
any current marker searches have been completed before transmitting data.
n
OUTPMSTA
insures that the statistics have been calculated for the current trace before transmitting data. If the statistics are not activated, it will activate the statistics long enough to update the current values before deactivating the statistics
n
OUTPMWID insures that a bandwidth search has been executed for the current trace before transmitting data. If the bandwidth-search function is not activated, it will activate the bandwidth-search function long enough to update the current values before switching OFF the bandwidth-search functions

Fast Data Transfer Commands

The HP 8753D has four distinct fast data transfer commanda These commands circumvent the internal “byte handler” routine and output trace dumps as block data. In other words, the
analyzer outputs the entire array without allowing any process swapping to occur ASCII data transfer times are not affected by these routines. However, there are speed improvements with binary data formats The following is a description of the four fast data transfer commands:
n
OUTPDA!lT
outputs the error corrected data from the active channel in the current output
format. This data may be input to the analyzer using the INPUDATA command.
n
OUTPFORF
output format, but only the first number in each of the OUTPF’ORM data pairs is actually
transferred
- ._..
- .._. -
"- -
_--
and
~Z#&&mary.
_~,.~ _ -
outputs the formatted display trace array from the active channel in the current
.-
- -
for me display form&
-..-.
. . . .._._..._.
. . . .
Because the data array does not contain the second value for these display
. . . .
-” _.... -”
~::~::~:~- .._ -
~~~~
_..........._ - -...f
.._.
.._.................
-
.._
.._...........
j@m
.._...... - ..- :.:..:..?
#oup
~~~~~
.._..__ - .._.. 9__,-
~~~~~
_ .-.........._.....
formats, the INPUFORM command may not be used to re-input the data back into the
analyxer.
The second value may not be
signiiicant
in some display formats (see ‘0ble
thus eliminating it reduces the number of bytes transferred.
-..._.....
__... - -.
r-1 ~~
9_..... - ._.._.,. 9
PORM4,
.._....__ -
v
l-4),
n
OUTPMEMF outputs the memory trace from the active channel. The data is in real/ii
pairs, and, as such, may be input back into the memory trace using INPUDATA or
INPUFVRM
followed by the DATI command.
n
OUTPRAF’<I>
memory trace using the
outputs the raw measurement data trace The data may be input back into the
INPURAW<I>
command.

Data Levels

Different levels of data can be read out of the
in Figure 14. the network
Pre-raw data
‘I’he
following list describes the different types of data that are available from
analyzer.
This is the raw data without attenuator offsets applied. With raw offsets turned off, the calibration coefficients generated
can be transferred to an external controller and used with
the data gathered using the
Programming Example 2E: lhke4 - Error Correction Processed on an External Computer. The four arrays refer to
512
and S22 respectively. These four arrays are available only if 2-port correction or in
real/ihnaginary
Raw data
The basic measurement data, reflecting the parameters, IF averaging, and IF bandwidth. If a full 2-port measurement calibration is activated, there are actually four
instrument.
‘I&e4
Refer to the data-processing chain
mode is on. This data is represented
pairs
OUTPPRE[1-4]
commands See
stimuhis
Sll,
S21,
1-28 HP-IB
Proflnmming and Command Reference
Page 40
raw arrays kept: one for each raw S-parameter. The data can
be output to a controller with the commands
OUTPRAW2,OUTPRAW3,OUTPRAW4.
Normally, only raw 1
OUTPRAWI,
is available, and it holds the current parameter. If a 2-port measurement calibration is active, the four arrays refer to
Sll, Szl, SK!,
and
SZZ
respectively. This data is represented in
real/imaginary pairs
Error-corrected data
This is the raw data with error-correction applied. The array represents the currently measured parameter, and is stored in real/imaginary pairs. The error-corrected data can be output to
a controller with the OUTPDATA
;
command. The OUTPMEHO
;
command reads the trace memory, if available. The trace memory also contains error-corrected data. Note that neither raw nor error-corrected data reflect such post-processing functions as electrical-delay offset, trace math, or time-domain
gating.
Formatted data
This is the array of data actually being displayed. It reflects all post-processing functions such as electrical delay and time domain. The units of the array output depend on the current display format. See
‘Iable l-4
for the various units
dehned
as a
function of display format.
Calibration coefficients
The results of a measurement calibration are arrays containing calibration coefficients. These calibration coefficients are then used in the error-correction routines. Each array corresponds to a
specihc
Anulym
error term in the error model. The HP 87530
User’s
details
which error coefficients are used for
Network
specific calibration types, as well as the arrays those coefficients can be found in. Not all calibration types use all 12 arrays The data is stored as real/imaginary pairs
Generally, formatted data is the most useful of the five data levels, because it is the same information the operator sees on the display. However if post-processing is unnecessary (e.g. possibly in cases involving smoothing), error-corrected data may be more desirable. Error-corrected data also affords the user the opportunity to input the data to the network analyzer and apply post-processing at another time.

Learn String and Calibration-Kit String

The learn string is a the limit-test tables, and the list-frequency table for the current instrument state. It does not include calibration data or the information stored in the save/recall registers.
The learn string can be output to a controller with the the analyzer to start transmitting the binary string. The string has a llxed length for a given firmware revision. The array has the same header as in FORM 1. See Example 5, ‘Using the
Learn
String.”
The calibration kit includes a set of key characteristics of the calibration standards used to
determine the calibration accuracy. There are default kits for several different connector types. There is also space for a user-defined calibration kit. The command OUTPCALK outputs the currently active calibration kit as a binary string in FORM 1. As with the learn string, the
calibration-kit string has a fixed length for a given
summary
of the instrument state. It includes all the front-panel settings,
ODTPLEAS ;
hrmware
HP-IB Programming and Command Reference
command, which commands
revision.
1-29
Page 41

Error Reporting

This section describes the analyzer’s error-reporting process. It includes information on status reporting, the status byte, the event-status registers, and the error output.

Status Reporting

The analyzer status reporting structure is depicted in Figure
l-5.
Refer to lhble
description of each bit within the status reporting structure.
57
SRE
ESNB
CH.3
2048
0.4
1024 512 256 128 64 32
04.3
0.4
I
0.2
a.1
EVENT STATUS REGISTER B
CH.2 Complete
16
l-6
for a
SRE
wa,t,ng
8 4 2
carp,ete
1
128
64 32 16
EVENT STATUS REGISTER
Figure
130
HP-IB Programming and Command Reference
8
l-5.
Status
4 2
I&porting
SE
E
1
Structure
cb67d
Page 42
‘Ifdbe
1-6. Status Bit
Detiitions
Status Byte
Bit Name
BP
0
Waiting for reverse GET
1
Waiting for forward GET
2
Check event-status register B
3
Check error queue
4
Message in output queue
5
Check event-status register
One of the enabled status-byte bits is causing an
6 Request service
7 Preset
Bit
0
Cperation
1 Request control
2 Query error
3
Bequence
4 Execution error
5 Syntaxerror
6 User request
7 Power on
Bit
0
single
or calibration step complete
1
Service
2
Data entry complete
3
Limit failed, Channel 2
4
Limit failed, Channel 1
5
Search failed, Channel 2
6
Search failed, Channel 1
7 Copy Complete
complete
Bit
sweep, number of groupa
routine waiting or done
NLUIE
NallX?
Not applicable for the Not applicable for the BP
One of the enabled bits in event status register B has been set.
An error has occurred and the message has been placed in the error queue, but has not been read yet.
A command has prepared information yet.
One of the enabled bits in the event-status register has been set.
An instrument preset has been executed.
Event-Statas
A command for which OPC has been enabled has completed operation.
Theanalyxerhasbeencomman
control of a peripheral, and needs control of mode.
The analyxer has been addressed to talk
queue to transmit. A sequence has executed the assert SRQ command. A command was received that could not be executed.
The incoming HP-IB can only be cleared by a device clear or an instrument preset.
The operator has pressed a front-panel key or turned the RPG.
A power-on sequence has occurred since the last read of the register.
EventA3tatus lCegist.er
A single sweep, group, or calibration step has been completed since the last
read of the register. An internal service routine has completed operation, or is waiting for an
operator response.
A terminator key has been pressed or a value entered over HP-IB since the
last read of the
Limit test failed on Channel 2.
Limit test failed on Channel 1.
A marker search was executed on
found.
A marker search was executed on Channel 1, but the target value was not
found.
A copy has been completed since the last read of the register.
Begida
register.
8719DLZODLZ2D. 871QD/20D/22D.
comman
dscontained 8 syntax error. The syntax error
B
Definition
to be output, but it has not been
BRQ.
DdIliti0I.l
ded to perform an operation that
I-FIB.
Requires passcontrol
but
there is nothing in the output
Definition
Chanue12,
but the target value was not
rea
requires
i
HP-IB
Programming and Command Reference
l-31
Page 43
‘lhble
1-7. Status Bit Definitions (Continued)
Event
Status
Begister B (Contimed)
Definition
3
Limit failed, Channel 4 Limit failed, Channel 3 Search failed, Channel 4
Search failed, Channel 3
The
Status Byte
Nt4JIll?
7
Limit test failed on channel 4. Limit test failed on channel 3.
A marker search was executed on Channel 4, but the target value was not
found. A marker search was executed on Channel 3, but the target value was not
found.
The analyzer has a status-reporting mechanism that reports information about specific analyzer functions and events The status byte (consisting of summary bits) is the top-level register. Each bit reflects the condition of another register or queue. If a summary bit is set (equals
l),
the corresponding register or queue should be read to obtain the status information and
clear the condition. Reading the status byte does not affect the state of the summary bits.
The summary bits always reflect the condition of the summarized queue or register. The
status byte can be read by a serial poll or by using the command OUTPSTAT.
When using
this command, the sequencing bit can be set by the operator during the execution of a test
sequence. OUTPSTATdoes not automatically put the instrument in remote mode, thus giving
the operator access to the analyzer front-panel functions The status byte:
n
summarizes
the error queue
summarizes two event-status registers that monitor specific conditions inside the instrument
n
contains a bit that is set when the instrument is issuing a service request (SRQ) over HP-IB
n
contains a bit that is set when the analyzer has data to transmit over HP-IB
Any bit in the status byte can be selectively enabled to generate a service request (SRQ) when set. Setting a bit in the service-request-enable register with the corresponding bit in the status byte. The units variable the bit in the status byte. For example,
SRE24 ;
enables status-byte bits 3 and 4 (since 23 +
nn
SFLEnn ;
command enables the
represents the binary equivalent of
24
= 24) and disables all the other bits SRE will not affect the state of the status-register bits.
The status byte also summarizes two queues: the output queue and the error queue. (The error queue is described in the next section.) When the analyzer outputs information, it puts the information in the output queue where it resides until the controller reads it. The output queue is only one event long. Therefore, the next output request will clear the current data. The summary bit is set whenever there is data in the output queue.

The Event-Status Register and Event-Status Register B

The event-status register and event-status register B are the other two registers in the status-reporting structure. They are selectively summarized by bits in the status byte via enable registers. The event-status registers consist of latched bits. A latched bit is set at the
beginning of a specific trigger condition in the instrument. It can only be cleared by reading
the register. The bit will not be reactivated until the condition occurs again. If a bit in one of these two registers is enabled, it is summarized by the summary bit in the status byte. The registers are enabled using the commands same manner as
SREn.n.
The units variable
status byte.
ESEnn; and ESNBnn;
nn
represents the binary equivalent of the bit in the
, both of which work in the
132
HP-IB Programming and Command Reference
Page 44
If a bit in one of the event-status registers is enabled, and therefore, the summary bit in the
status byte is enabled, an SRQ will be generated. The SRQ will not be cleared until one of the five following conditions transpire:
1. The event-status register is read, clearing the latched bit.
2. The summary bit in the status byte is disabled.
3. The event-status register bit is disabled.
4. The status registers are cleared with the CLES ; command.
5. An instrument preset is performed.
HP-IB Programming and Command Reference
133
Page 45
Service requests generated when there are error messages or when the instrument is waiting for the Group Execute Trigger (GET) command are cleared by:
n
reading the errors
w
issuing GET (disabling the bits)
w
clearing the status registers

Error Output

When an error condition is detected in the analyzer, a message is generated, displayed on the analyzer’s display screen, and placed in the error queue. Error messages consist of an error number followed by an ASCII string no more than
same message that appears on the analyzer’s display. The error queue holds up to 20 error messages in the order in which they occur. The error messages remain in the error queue until the errors are read by the system controller using the command OUTPERRO. The OUTPERRO
command outputs one error message.
50-characters
long. The string contains the
Note
The error queue can only be cleared by performing an instrument preset or by cycling the line power. In order to keep the queue up-to-date, it is important to read all of the messages out of the queue each time errors are detected.

Calibration

Measurement calibration over the front-panel. For detailed information, refer to “Optimizing Measurement Results” in the
HP
8719D/2OD/22D
Network
1. Start by selecting a calibration kit, such as 50 ohm type N.
2. Select a calibration type, such as
3.
C&l
ea& class Used by the calibration type, such as ~~~~~~~~~
a
2-port
calibration, the reflection, opened before the classes in the subsequence are called, and then closed at the end of each subsequence.
4. If a class has more than one standard in it, select a standard from the menu presented
(STANA
to STANG).
5. If, during a calibration, two standards are measured to satisfy one class, the class must be closed with DONE ; .
6.
Declare the calibration done, =,,., as ee ~~~~~~~~~~~~ (SAVl; Over HP-B).
HP-II3
Aruzl~m
follows the same command sequence as a calibration from
User’s
Ouide,
(CALKN50; )
Sll
l-port
transmis
(CALISlll; ).
;.:< .,..
_;
.v;.;m;
i
(CLASS 11~ ;
../..../........
)
luring
sion,and isolation subsequences must be
The
STANA
to STANG commands will hold off the
HP-II3
until completion because they trigger a sweep. If a class has only one standard in it, which means that it will trigger a sweep when called, the class command will also hold off the
Note
Since different
cal
kits can have a different number of standards in a given
class, any automated calibration sequence is valid only for a specific
1-34 HP-IB Programming and Command Reference
HP-B
cal
kit.
Page 46
‘Ihble
1-8. Relationship between
CUbrations
and Classes
~sponse
IsoIation
TRL
thnl?
TRL
reflect:*
TRL line
1 These subheadings must be 2 These subheadin@ must be called when doing TRL
or
mat&z*
caIIed
.
.
when doing
fuII 2-port calibrations.
0 0
l
2-port adibrations.
HP-IB Programming and Command Reference
l-35
Page 47
lhble l-9.
Error
Coefkient Arrays
r
A==Y
1
2
3 4
6
6
7
8
9 10 11 12
1 One path, 2-port cal duplicates arrays 1 to 6 in arrays 7 to 12. 2 Response and isolation corrects for
transmission measurements, aud for reflection measurements.
Besponse
ER
or
ET
Responseand
ISOl8tiOD
Ex (ED)~
ET(ER)
cnmstak
dire&vi@
l-port
ED
ES
ER
and trawmission tracking in
%-port1
EDF
ESF
ERF
EXF
ELF
ETF
EDR
ESR
ERR
EXR
ELR
ETR
and reflection tracking in
!lwJLRM
EDF
ESF
ERF
EXF
ELF
ETF
EDR
ESR
ERR
EXR
ELR
ETR
Meaning of fhxt subscript:
D = directivity S
=
source match R = reflection tracking
X=crosstalk
or isolation L-load match T = transmission tracking
Meaning of second subscript:
F=forward
R = reverse
136
HP-IB Programming and Command Reference
Page 48

Disk File Names

Disk
IiIes
created by the analyzer consist of a state name of up to eight characters, such as
F’IDI’ER,
DOS format, the the kind of information in the distinguish
appended with up to two characters. In
GIename
is
FIIiI’ER.XX.
fiIe.
files
of the same type.
LIF
format, the
The first appended character is the
file
name is
FIITERXX.
EIe
type,
teUing
In
The second appended character is a data index, used to
Error corrected data, raw data, formatted data, memory traces, and calibration
FORM 3 data
decoded.
Ivies
‘Ihble l-10
(IEEE
64-bit
floating point format). The other files are not meant to be
lists the appended characters and their meanings
‘Ihble l-10.
-1
I, P Instrument state
Four-channel
W
Graphic8
G
Rrror
D
Raw data
R
Formatted data
F
MM
instrmnent state
corrected data
Disk File Names
Char2
1
Display graphia,
1
Channel 1
2
Channel 2
3
Channel 3
4
Channel 4
1 to 4
ChlICh3,
5t.o8
Ch2/Ch4,rawarrays6t~8
Channel 1
1
2
Channel 2 Channel 3
3 4
Channel 4
Meaning
raw arrays 1 to 4
files
are
Memory trace
M
Calkit
C
Cal data, channel 1
1
Cal data, channel 2
2
(HPGL
Full page
F
Left
L
R
S
(HPGL
Right
(HPGL
Error corrected data (S2P)
plot)
plot)
plot)
1
Channel 1
2
Channel 2 Channel 3
3
Channel 4
4
K
stimuhls state
0
lto9
CoefEcientsltoQ
Caeflicient
A
Cbef3icient
B
Coellicient
C
OtoC
Sameaschannell
P
Lower
L
u
Upper
Lower
L
U
UpPer
1
Channel 1
Channel 2
2
10 11 12
HPJB Programming and Command Reference
137
Page 49

Using Key Codes

Using key codes to using other HP-IB commands This may be
allows
remote control of the analyzer keys and can be used as an alternative
usefuI,
but it is a
highly
recommended
programming practice to use the HP-IB command mnemonic appropriate for the function
desired.
R
CHANNELl
cbdld
Figure 1-6. Key Codes
When using key codes, the following notes must be taken into consideration:
Note 1: Note 2:
An “invalid key” is reported with a 63.
OUTFXEY;
outputs the key code of the last key pressed. This command reports a
knobtumasa-1.
Note 3:
KOR? ; outputs the last key code or knob count. If the reply is positive, it is a key code. If it is negative, then set bit 15 equal to bit 14, and the integer is the
RPG
knob count. It can be either positive or negative. There are about
resulting
two byte
120 counts per turn.
l-38
HP-IB Programming and Command Reference
Page 50

Key Select Codes for the Network Analyzer

The HP-IB mnemonics in the following table are
functiomxlly
arranged by their front-panel key equivalent. For example, all of the mnemonics that correspond to softkeys accessed by means of the
Lear]
key, will be listed under the a key in the following table.
&YS
AVG CAL-Error correction, calibration CAL-Calibration kits CAL-Power Meter Calibration CHANNEL COPY DISPLAY ENTRY FORMAT LOCAL
MEAS
MENU (stimulus) MARKER MARKER FCTN SAVE/RECALL-Internal registers SAVE/RECALL-Disk
files
SCALE REF SEQ-Sequencing STIMULUS
SYi!mlM
SYSTEM-Limit testing SYSTEM-Transform
Column headings:
Function Action Mnemonic S ? 0
Range
The front-panel function affected by the mnemonic The effects of the mnemonic on that function. The HP-IB mnemonic Syntax type. See “Syntax Types”, earlier in this chapter. Interrogate response. If a response is defined, it is listed. OPC-compatible command.
The range of acceptable inputs and corresponding units.
Symbol conventions:
[I
D I
Optional data.
Numerical data.
An integer appendage that is part of the command. For example, where I= 1 to 5, indicates that the actual commands are CLEAl,
CLEA3, CLEA4, and
8 <>
|
A character string operand which must be enclosed by double quotes A necessary appendage. An either/or choice in appendages
CLEA<I>,
CLEA2,
CLEA5.
HP-IB Programming and Command
Referenca
l-39
Page 51
‘lhble
l-11. Key Select Codes
FlUlCtiOIl
Averaging
smoothing
IFbandwidth
Correction
Intirpolative
correction
Resumecal Bequence
Receiver
calibration
ACtlOll
Factor
on/off
Set aperture
wofz
Set bandwidth
CAL-error correction,
woff
wofe
Resume a previous& started
calibration
Set power level for receiver calibration
Mnemonic
AVG
AVERREST AVERFACX[D] AVERO<ON(OFF>
SMOOAPER[D]
SMOOO<ONJOFF>
~WDI
cUbration
CORR<ONIOFF>
CORI<ONIOFF>
RESC
RJWDI
s 1 0
1
3 D
2
I,0
3 D
2 l,o
3 D
2 l,o
2 l,o
1
3
oto999
0.06 to 20%
10,30,
loo, 300,
looo, 3ooo,3700
stimuhw
power
Hz
rangf+
Portextmwion8
VeIocity factor
4
Adapter
kst
removal
set switching
7hke
receiver
MeeP
Port 1 Port 2 Input A Input B
on
Set value
Set Value
RecaII
Cal Port1
R4?caIIcaIPort2
Adapter Adapter: Adapter: waveguide Remove adapter
Continuous/fuII a-port Cal (contInuousIy Gparametem)
Hold
2-port Cal (initWly
measure6
then only 2 parameters)
Number of
calibration
deIay
axx
measures
ail
4
Sparametera,
sweep a-port Cal
aII
4
PORlqD] ~Rm.u
~RTWl PO~[Dl
PORE<ONIOFT>
VELOFAClJD]
sE’Iz[Dl
CAIsPORTl cAIsPom ADAPl[D] ADPTcoAx ADPTWAVE
MODS
CSWION
TSSWION
CSWIOFF
TSSWIOFF TSSWI[D]
3 D
f10 8
3 D f10 3 D 3 D
f10 8 f10s
2 l,o
3 D
3 D
1 1
3 D
1 1 1
ot.010
0.1 to
f10s
2 l,o
2 l,o
3 D
8
6ool-l
_
--
__-_--
--
Page 52
‘Ihble l-10.
Key Select Codes (continued)
Function
Sweep modes
Calibrate
menu
Intermediate
=l*ps,
1 patI-&-port
Intermediate
~stmsl full z-port Cal
Intermediate
=l*P% TRIJLRM
ACtlOll
C&error AlternateAandB
Chop A and B
None
FkSpOnSe
Response and Isol
Sll
l-port
sz2
l-port
FUII
z-port One path
TRL/LRM 2-port kolation
Reflection
lkammmkon
Transmission Reflection Isolation
Transmission
%1
&
Line/match 1 Line/match 2
a-port
Reflection
Reflection
corn
Mnemonic
AU!AB
CHOPAB
CALN CALIRESP CALIRAI
CALISlll cALIsz21 CALIFUL2 CALIONE2 CALITRL2 ISOOP
REFOP
TRAOP
TRAN REFL
ISOL
TRIX TRLRl
TRLLl
TRLL2
1
S?
1 1 1 1 1 1 1 1 1 1 1
1 1 1
1 1 1 1
0
1 1
Bange
0,1 0,1 0,1 0,1 0,1 0,1 0,1 0,1
lelect
response
isol.
class
lelect
reflection
CIass
elect
transmkion
ChSS
elect isolation
ChSS
Tl’hechssco
hat standard is measured
ails
another menu.
&
31l.A
(forward open)
311B
(forward short)
3llC
(forward load)
322A
(reverse open)
522B
(reverse short)
B2C (reverse load)
?wd trammission Zev transmkion ?wd match 2ev
match
“orward isolation kverse hit
isolation
mmands
are
isolation
OPCampatible
aut.amatically.
If there is more than one standard in the class, the class
RAIRESP
RAHSOL
CLASSllA CLASSllB CLASS1 1c C­CLASS22B
-C
FWDT
REVT
FWDM REVM
FWDI
REVI
OMII
if there is only one standard in the class. If there is just one standard,
1 1
1 1 1 1 1 1
1 1 1 1
1 1 1
-
,pctt >pctt >pctt )P& >pctt )P&
,pctt )P&
-
comman
donly
I
HP-IB Programming and Command Reference
141
Page 53
‘Ihble l-10.
Key Select Codes (continued)
Function
lect
standard
inClass
Sliding
load
Offset
load
Done
with:
Save Cal
Select
default kits
ACtiOll
C&error
Standard A Standard B Standard C
Standard D Standard E Standard F Standard G
set
Done
Load no Load offset
Class Isolation
Reflection
Transmi6sion OBset
~sponse Ftesp
l-port cal a-port
TRIJLRM
7-mm
3.6-IUUlC 35mmD TypeN,6Oohm Type
2.4mm
2.92~mm
2.929
User-defined
!cRL 3.6-mm
otfset
load
and
isol
CaI
N, 76 ohm
correction, calibration (continued)
SIYANA !TI!ANB SllANc STAND SIANE SIXNF SI!ANG
8LIS
SLID
LOAN
LOAO
DONE
ISOD
REFD
OFLD RESPDONE RAID
SAVl SAV2 SAW
CAL-calibration kits
CALK7MM CALK36MC* CALK36MD
CALKN60 CALKN76 CALK24MM CALK292MM cALK2Q2s
CALKUSED CALKTRLK
Mnemonic
s ? 0
1 1 1 1 1 1 1
1
1
1 1
1 1 1
1 1 1 1 1 1 1
1 l,0 1 l,0 1 l,0 1 l,0 1 1 l,0 1 l,0 1 l,0
1 l,0 1 l,0
OPC
1,o
Bange
OPC OPC
OPC OPC OPC OPC OPC
OPC
OPC OPC OPC
OPC OPC OPC OPC
kit
Modify
Define ski. number std. definition)
CALE35MM selects the HP [P 8719D/ZOD/22D.
(begiu
142
HP-IB Programming
Modify current
86033C cal
kit for the HP
and Command Referenca
MOD11
D~S[Dl
8762C/63D,
and selects the HP 86062 series cal
1
3
lto8
kits
for the
Page 54
‘lhble l-10.
Key Select Codes (continued)
Function
Define std. type
DefIneski.
parameters
Define
std. offsets
ACtiOIl
Own
ShOlt
had
Delay/thru
Arbitrary
Gpen cap. CO Opencap. Cl Gpencap. Open cap.
Fixed load Sliding load
mset
lkrminaI imped.
Delay Loss Z0
Min.
Max. frequency
-
Waveguide
imped.
C2 C3
load
frequency
CAL-W
Mnemonic
ation
kits (continued)
SI’DTGPEN STDTSHOR SI’DTLGAD STDTDELA
SI’DTARBI
COPI CUDI CW'I
C3Pl
FIXE
SLIL
OFLS
=Pl
OFSD[D]
DF’WDl D=Wl BWDI
-PI xxx
WAVE
8 1
T
LO
1
14
1
LO
1
190
1
1,o
3 3 3 3
1 1 1
3
3 3
3 3 3
1
0,1
1
0,1
0
flOk
(lo-15
flOk (1O-27 F/Hz) flOk (1O-3s F/Hz2) flOk (1O-45 Fm)
OtolkR
*1 s oto
1OOOTQ/s
0.1 to
6000 Otm 1OOOGHz OtolOOOGHz
Basge
1
I
F)
Std.
done
Label std.
ipecify cIass
Staudard delIned
R-PO=
ResptIso1 Sl lA (forward open) SllB
(forward short)
SllC
(forward load)
SZL4
(reverse open)
S22B
(reverse short)
SZ2C
(reverse load) Forward Tram Forward Match Reverse Reverse Match
IRLThlll IXL IXL
Trans
Reflect Line or Match
STDD
LABs[$l
~ECRESP[I,I..] SPECRESIHJ..] PECSllA[I,I..] SPECSllB[I,I..] SPECSllCHJ..] IPECS22AH,I..] IPECS22B[I,I..] IPEcs22C[I,I..] IPECFWDT[I,I..] IPECFWDMHJ..] IPECREVTHJ..] IPECREVMH,I..] PEClWX~,I..] PECCRLR~,I..] PEcTRLLH,I..]
1
3
3 3 3 3 3
3 3 3 3 3 3 3 3 3 3
-
LO char.
3t.d
numbers
3td
numbers
3td
numbers
5t.d
numbers
3t.d
numbers
5t.d
numbers
3td
numbers
3td
numbers
5t.d numIxx8 3rd
numbers
Wd
numbers
3td
numbers
3td
numbers
3td
numbers
5t.d numbem
HP-IB Programming and Command Reference
143
Page 55
‘Ihble l-10.
Key Select Codes (continued)
Function
Class
done
Label
class
Label
kit
Cit
done
ReSpOnSe
Resp. t isolation LABERESI[$]
SllA SllB SllC 822A !%22B S22C
Forward Forward Match LABEFWDM[
Reverse Tram LABEREVT[$] Reverse Match
TRLThru
TRL Reflect TRL Liue or Match LABETRLL[$]
btion
CAk?aIibration
Trans
Mnemonic
kits
CLAD
LABERESP[$]
LABESllA[$] LABESllB[L] LABESllC[$] LABES22A[$] LABES22B[$] LABES22C[$] LABEFWDT[$]
LABEREVM[$] LABETRIX[$]
LABETRLR[$]
(continued)
$1
LAJW$l
KITD
s
1
3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
3 10char.
1
1
0
10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 char.
me
char. char. char. char. char. char. char. char.
ChaL
char. char. char. char. char.
Save kit
mIJLRM Option
Into user
CaIZCkLiueZO
Cal SET REF: Thru SET REF: Reflect
kit
20:
System
Zo
SAVEUSEK
CALZLINE CALZSYSl’[D] 10,l SETRTBRU
SETRREFL
1
1
1 1
0,l
0,l 0,l
144
HP-IB Programming and Command Reference
Page 56
Tlhble l-10.
Key Select Codes (continued)
Function
‘ower meter
Edit power loss
table
cal
Action
CAL-p0
Off
Each sweep
One
sweep
lhke cd sweeps
Number of readin@
SetportcaIpwr
OdOff
Edit
Iist
UsesensorAorB
Add
sequent Edit segment N Done with sequent Delete segment Done
3ear Iist
Mnemonic
er
meter caIibration
PWMCOFF[D]
PWMCEACS[D]
PWMCONES[D]
TAKCS NUME[D]
PWEMCAL
PWELOSS<ON]OFF> P0WLLIsr
USES<ENSA]ENSB>
SADD SEDI[D] SDON SDEL
EDITDONE
S?
0
-
3
D
3
D
3
D
1
3
D
D
1
2
LO
1
2
1 3
D 1 1 1 1
Eange
Cal power:
-1ooto 1oodB
Cal power:
-1oot.o
Cal power:
-100 to loo
1 to 100
-100 to 100 dB
Sensor B HP
1 to 12
438A
1oodB
avaIlable
only
dB
with
tit
power loss
sequent
kiitcalsensor
table
kIit Cal
sensor
segment
For frequency or power sweeps, refer to Chapter 12, ‘Preset State and Memory
Ip 8719D/zODBZD User’s
Requires
pass control mode when using the BP-IB port.
Frequency Value
GIit
sensor menu A
GIit
sensor menu B
Add
segment
3dit sequent lone with segment k1et.e )one Xear Iist
“requency hI
factor
N
segment
POWLFBEQ[D] POWLLOWD]
CALFSENA
XLFSENB SADD SEDI[D] 3DON SDEL EDITDONE XEL
XLFFBEQ[D] XLFCALF[D]
3 3
1
1 1 3 1
1 1 1
3 3
­Al&&ion, ”
Guide.
D
D
D
D D
stimuhls ranget
-9900 to 9900
HP
1
to 12
3timulus ranget
lto200%
in the
438A
dB
only
HP-IB Programming and Command Reference
145
Page 57
‘lhble l-10.
Key Select Codes (continued)
Function
Channel
COPY display
Title plot
Printer
Printer
Printer setup
Plotter
Plotter
Plotter setup
CH 1 active CH 2 active CH 3 active CH 4 active
lb
printer§ ‘Ib plotter§ lbdisk
Auto feed
Form feed
Default
Auto feed
Form feed
Default
Action
Mnemonic
cE4NNEL CHANl CHAW cHAN3 CHAN4
COPY PRINALL
PLOT
nTm1
PRN’l’RAUTF<ON~OFT>
PRNTRFORF
DEFLPRINT
PWI’RAUTF<ON(OFF>
PEITRFORF
DFIX
s ? 0
1
1 1 1
1 1
4
2 l,o
1
1
2 l,o
1
1
Bange
OPC OPC OPC OPC
10 char.
List vahles
Operating
parameters
Vext
page
‘revious page
‘rid. List values Raster display dump to
or Operating parameters
bstore dispIay
ielect
print color
Requires pass control mode when using the HP-IB port.
Theseco
eturna 1, 2, 3, or 4.
mmands
Monochrome
Color PRIC
are not
queriable,
HP-IBQ
but the channel active status may be found by using OUTPCHAN which
LI8v
OPEP
PREP
PRINTALL
RESD
PRIS
1
1
1
1
1
1
1 1
146
HP-IB Programming and Command Reference
Page 58
‘Jhble
l-10. Key Select Codes (continued)
channel
lower
AdSOIl
2
PlUMiOn
Print feature color Data channel 1
Data channel 2 Data channel 3 Data channel 4
Memory channel 1 Memory Memory channel 3 Memory channel 4
GraticuIe Reference Iine
l#xt we
features t.4-1
Plotted
be
Data Memory Graticule
Text
Marker
Left lower Left upper
Right W upper
mpage
MnemDlliC
COPY
(continued)
PCOLDA!FAl<color> PCOLDATA2<color>
PCOLDATA3<color> PCOLDATA4<color>
PCOLMEMOl<color>
PCOLMEMO2<color> PCOLMEMO3<cdor> PCOLMEM~color> PCOLGRAT<color> PCOLREFX<color> PCOUEXT<cdor> PCOLWARN<color> PDATA<ONIOFP>
PMEM<ONIOFT> PGRAT<ONIOPF> PTEXT<ONIOFF> PMKR<ONIOFT>
RIGL
RIGU
8
2
0
2 2
2 2 2 2 2 2 culon?~ 2 2 2 2 2 l,o 2 l,o 2 l,o 2 l,o 2 l,o
1
0,l
1
0,l
1
0,l
1
0,l 0,l
1
cdord colors~ colors% cdord colors~ colors~
colors*
CQlord CQlolB~ cvlors~ colors~
‘en number
hetrpe
‘lot
wale
‘Mepeed
Colors - whiteIcyanlmagenta)bluelyellowl~nlredlblack
Data Memory Graticule
!Ikxt
Marker
Data Memory
F+ullpage GraticuIe to p&p2
SlOW
FaBt
PENNDA!IA(D] PENNMEMO[D]
PENNGRA!QD] PENN’IXXT[D]
PENNMARK[D]
IJmATND1
LINTMEMO[D]
SXPFVLL GCAPGRAT
PIBSSLOW PLQSl?M
. . .
. . .
. . . . . . . . .
. . . . . .
10 10 10 10 10
10 10
3 3 3 3 3
3 3
1 1
1 1
0,1,2 0,1,2 0,1,2 0,1,2 0,1,2
0,1,2 0,1,2
HP4B Proflramminfl and Command Referenoa
147
Page 59
‘Ihble l-10.
Key Select Codes (continued)
Fimction
F
%anueIs
Action
Auxikry Dud ordolp
split One-graticule Two-graticule display
Four-graticule
Two-graticule channel 2 on top
Two-graticule display with channel 3 on
Four-graticule display with channel 2 iu upper right
Four-graticule display with channel 3 in upper right
D2/Dl
divided by channel 1 data, and displayed on channel 2)
Data
Memory only
Data
DaWmem
Data -
Data to
htensity
Blank
l?itle
on/off
au/off
display
display
dispIay
with
top
to D2 (Channel 2 data
and mem
mem
mem
Display
Mnemonic
DISPLAY
AUXC<ONIOFF> DUAC<ONJOFF> SPLD<ONIOFF> SPLID<l> SPLID<2> SPLID<4> D2XUPCH2
DlXUPCH3
D4XUPCH2
D4XUPCH3
DlDIVDB<ONIOFF>
DISPDATA
DISPMEMO DISPDATM DISPDDM
DIVI
DISPDMM
MINU DA!ll
[N’WDI
BLAD<ONIOlT>
mv1
8
7 0
T
l,O
2
l,O
2
l,O
1
190
1
170
1
LO
1
1
1
1
2
60
1
41
1
41
1
41
1
41
1
41
1
41
3
1
2
LO
4
b
OPC
OPC
iot.0
B
char.
100
kequency
notation
148
3n
done
3nwamingmefsage
Background intensity
Save
colors
Real
colors
Default colors
BEJZPDONE<ONIOFF> BEEPWARN<ONJOFF>
?REO
HP-IB Programming and Command Reference
2
LO
2
LO
1
3
1
1 1 1
-
lt.0100
Page 60
‘able l-10.
Key Select Codes (continued)
Fnnction
Modify specific
iispIay
feature
:olors
idjust specific Iisplay
feature
mlor
Action
DISPLAY(Continued) Chldata’limlu
Ch 1 memory
Ch2datakmln
Ch 2 memory
Ch3daWIimIn
Ch 3 memory COLOCHSM
Ch4dataAimln
Ch 4 memory COLQCH4M Graticule Reference Iine
Text Wsrning
Brightness
Color COLOR[D] Tiut Reset color to default
COLOCH2D COLXX2M COLOCHBD
COLOCH4D
COLOGRAT COLOLREF co= COLOWmN
CBRI[D]
~N’W-4
RSCO
Mnemonic
COLN!HlD COLOCHlM
s ?
1 1 1 1 1 1 1 1 1
1 1 1
3 D 3 D 3 D 1
0
Otoloo oto1oo oto1oo
Bange
HP-IB Programming and Command Reference
149
Page 61
‘lhble l-10.
Key Select Codes (continued)
Function
Step keys
Entry off
Format
HP-IB modes
Debug
Action
UP Down
Mmag
Phase Delay Smith chart Polar
bmag
Real
SWR
lhlkedlistener
Use pass control
Display comma&~
Mnemonic
ENTRY
UP
DOWN
ENTO
FORMAT LOGM
PHAS
DELA
SMIC
POLL4
LINM REAL IMAG
SWR
LQCAL TALKLIST
USEPASC
DEBU<ONIOFF>
s ? 0
1 1
1
1
0,l
1
0,l
1
0,l
1
0,l
1
0,l
1
0,l
1
0,l
1
0,l
1
0,l
1
0,l
1
0,l
2 l,o
Eange
Disk drive
HP-IB addresses
?ower
meter
Select plotter type Plotter
Select printer type
unit Volume
Plotter Printer Disk drive Controller ADDRCONT[D]
Address
HPGL printer
ThinkJet
DeskJet LaserJet PRNTYPLJ
PfiintJet Epson-P2
DJ
640
DISCUNITfD]
DISCVOLU[D]
ADDRPLOT[D] ADDRPRIN[D]
ADDRDISC[D]
PCW’I
ADDRPOWM[D] POWM<ONIOFF>
PIXTYPPIXR PKlTYPHPGL
PRNTYPT.J
PRNTYPDJ
PRNTYPPJ PRNTYPEP
PRNTYP540
3 D 3 D
3 D 3 D 3 D 3 D
3 2
1 1
1 1 1 1 1 1
0,l
OtO30 OtO30
OtO30
0 to 30 0 to 30
Ot.030
0 to 30
On-436A, ofr=438Al437B
l-50
HP-IB Programming and Command Reference
Page 62
‘lhble l-10.
Key Select Codes (continued)
Function
Select printer port HP-IB
ParaIlel
serial
blect plotter port
Printer serial port Baud rate
?rinter seriaI
‘latter
serial
‘latter 8eriaI
%raIlel
port
I-FIB
Parallel
serial Disk
port Handshake
port
Baud rate
port Handshake
an&me
ACtiOll
LOCAL (continued)
Mnemonic
PRNPRTHPIB PRNPRTPARA PRNPRTSERI
PWPRTHPIB PWF’RTPARA PWRTSERI PIJ’PRTDISK
PRNTREMJD[D]
PRNHNDSHK<XONIDTR>
PIJITRBAUD[D]
PCIMNDSHK<XONIDTR>
PARAL<GPIOICPY>
2 1,0
2 1,0
8 1
1 1 1
1 1 1 1
3 D
3 D
2
0,l
0
Bange
1200,2400,4800,
9600,19200
1200, 2400,
9600,19200
GPIO = Gen.Purpose I/O,
cPY=cOPY
4800,
use
AIR
B/R
AIB
A B R
testport 1 or 2
Selects Analog input
S-Parameters
Jonversion to
alternate
parameters Z%mmmission
Sll Sll
s12 s21
s22
off
Z:reflection
Yxeflection CONVYREF Y:trammission l/S
MEAS
AR BR
AB
MEASB
TsrP<PlIP2>
mAWI
RFLP
512 521 1 0,l
522 1 0,l
CONVOF’F 1 0,l CONVZR~ 1 0,l
CONVZTRA 1 0,l
CONVYTRA CONVlDS
1
0,l
1
0,l
1 0,l 1 0,l 1
0,l
1
0,l
2
1* 0,l
1 0,l
1 0,l
1 0,l 1 0,l
0,l
1
Syntax type 1 when ANABOF’F. Syntax type 3, and range = 1 to 31, when ANABON. Refer to the
ZP 8719DE?ODkZ?D hktwlc Analyrsr f3fmnh Guide
for
information
on the analog bus.
HP-IB Programming and Command Reference
l-51
Page 63
‘lhble l-10.
Key Select Codes (continued)
Flulction
F
?ower
ACtiOll
Level
MP
Always couple power Port power coupling
Range0
Range3
Range4
Range5
Range6
Range9
Range 10
Rsnge 11
Power range Source power on/off Attenuator A (Option 086) Attenuator B (Option 086)
autdnanual
Mnemonic
MENU fstimul~~
. I
POWE[D] POWT<ONIOFF> COUP<ONIOF'F> PORTP<CPLDIUNCPLD: POWROO
PRANOl POwROl PRAN02 POwRo2 PRANOS POwRO3 PRAN04 POwRo4 PRAN05 POWROS PRANO6 POWROG PRANO7 POwRO7 PRANO8 POWRO8
PRANOQ POWROQ
PRANlO POwRlO PRANOll POwRll PRANlP PWRR<PAUTOIPMAN>
3OUP<ONIOFF>
m[D1 =[D1
s
3
2 2 2 2 2 2
2 2 2 2 2 2 2 2 2 2
2 2 2 2 2 2 2 2 2 2 2 2 2 3 3
1
D
I,0 I,0
0
-85to +2OdF$m
0to55dB 0to55dB
Bange
Time
Measurement
l-52
HP-IB
specify
Selects fastest sweep time
Restart
WET[D] 3wEA
REST
Programming and Command Reference
3
)
1
1
-
0.Ol to 86,400s
Page 64
‘lhble l-10.
Key Select Codes (continued)
FiUlCtiOll
mr
‘OiIltS
Coupled
channels On/off
JW
freq
iweeP
type
ACtiOll
MENU (stimnlns) (continued)
Hold
single
Number of groups Continuous
External trigger off External trigger on sweep External trigger on point
Manual trigger on point
specify
Set value
Linear
Log
List Select a segment Select all segments Power
CW time
*P
Mnemonic
HOLD TRIG SING NUMG[D]
CONT
FRER
EXTZYlFF EXTI’ON
EX’ITPOIN MANTRIG
POIN[D]
COUC<ONIOFF>
-EQ[Dl
LINFREQ
LOGFREQ
LISFREQ
=JWJ-V
ASEG POWS
CWTIME SI’EPSWP<ONIOFF>
8
? 0
1 0,l
1
3
1 0,l
2 0,l 2 0,l
1 0,l 1 0,l
3 D
2 l,o
3 D
1 0,l 1 0,l 1 0,l 3 0,l 1 0,l 1 0,l 1 0,l
2 0,l
OPC
OPC
1 to 999
OPC OPC OPC OPC
3, 11, 26, 51, 101
201,401, 801, 1601
stimuli ranget
lb30
Bange
klitlist
For
frequency or power sweeps, refer to Chapter 12, ‘Preset State and Memory Allocation,” in the
fP 87Yl9D~DBZD
tep.
For CW time sweep,
wi@
Add segment Edit segment N SEDI[D]
Delete segment Done Clear list
Ubr’s
Guide. For CW time: 0 to 24 hours. For frequency sweep, transform on: f l/frequency
tran&orm
on: f l/time step.
EDITLIST
SADD
SDEL EDITDONE
CLEL
1 1 3 D 1 1 1
HP-IB Programming and Command Reference
1 to 30
l-53
Page 65
‘Ihble l-10.
Key Select Codes (continued)
Function
Edit
segment
single/AU
Select
Barker zero
)elta
segment Single segment sweep
active
reference
start
StoP
Center
Points
stepsize
cw Done with segment
All segment sweep ASEG
lt.05
AlIOfp
zero omets
lto5
Fixed marker DEZRFIXM 1 0,l Mode off
Action
Mnemonic
MENU (stimuIns) (continued)
=!WDl =WDl
CENT[D]
SPAN[D]
POIN[D] SlT’SIZE[D]
CWFREQ[Dl
SDON
=Wl
MARKER
MARK<I>[Dl MARKOFF 1 0,l
MARKZERO
DELR<I> 2
DEL0 1
s 2 0
3 D 3 D 3 D 3 D 3 D 3 D 3 D 1
1 1
0,l
3 D
1
0,l
0,l
Bange
stimuhls ranget
stimuli stimuli ranget stimulw ranget
1 to 1632
sthnuhls ranget stimuhls rfmget
stimuhls ranget
It05
rmget
Fixed
mkr position Stimulus
Value
Aux value MARKFAUV[D]
brker
placement Discrete
Continuous
loupled
mbY&
‘alar markers
For frequency or power sweeps, refer to Chapter 12, ‘Preset State and Memory
FP
8719DBODBZD
tep.
For CW time sweep, transform on:
1
For
log
mag: f 500
t
500 units. For SWR: f 500 units. The scale is
.Oe-12
degrees,
Couple channels
Uncouple MARKUNCO 1 0,l
OdOir
Log
Linear
ReAm POLMRI
User’s
Guide.
For CW time: 0 to 24 hours. For frequency sweep, transform on: f l/frequency
H/time
dB.
For phase: f 500 degrees. For Smith chart and PoIaz f 500 units. For
lOe-15
seconds, and 10
picounits.
MARKFSl’I[D] MARKFVAL[D]
MARKERFCTN
MARKDISC 1 0,l MARKCONT 1 0,l
MARKCOUP 1 0,l
DISM<ONIOFF>
POLMLQG POLMIJN 1 0,l
step.
always
positive, end has minimum values of
3 D 3 D 3 D
2 l,o
1
1
Allocation,”
0,l
0,l
stimuhls ranget Amplitude range#
Amplitude range#
in the
linear
magnitude:
.OOl dB,
l-64
HP-IB Programming and Command Reference
Page 66
able l-10.
Key Select Codes (continued)
Function
%nith
markers
ststistics
%zt
function to
marker value
Search
Action
MARKER
Linear
I-a ReAm
R+jX
G+jB
on/OK
start
*P
Center
Reference MARKREF Delay
Off Maximum
Minimum
*et
Search left Search right
Mnemonic
IXXIU
(continued) SMIMLIN
SMIMIBG SMIMRI SMIMRX
SMIMGB
MEASIAT<ONIOFF>
MARKSCAR
MARKSI’OP
MARKCENT MARKSPAN
MARKDELA
SEAOFF SEAMAX MARKMAXI SEAMIN WKMINI
-WA
s ? 0
1 0,l 1
0,l
1 0,l 1 0,l 1
0,l
2 l,o
1 1
1
1 1 1
1 0,l 1 0,l
1 0,l
3 D
1 1
We
Amplitude ran@
Width
hacking search
c
For log mag: f 500 dB. For phase: f 500 degrees. For Smith chart and Polar: f 500 units. For linear magnitude:
t5OOunits.ForSWR:f5OOunits.
Value Width on/off
O&OK
~WPI
WIDT<ON(OFF> 2 l,o
TRACK<ONIOlT> 2 l,o
3 D
Amplitude
ran@
HP-IB
Programming and Command Reference
l-55
Page 67
lhble l-10.
Key Select Codes (continued)
Fimction
Save
Clear Selected reg
E&all
l%le
PUS
Store
Title Disk file
Selected reg Selected reg
Selected reg
AlI
rep
Selected reg Selected reg
Internal
Internal reg
Plot
Selected
lb
reg
Save state llle
fiIe§
disks
Action
Mnemonic
&WE/RECALLhdernal registers
SAVE<I>
SAVEREG<I>
cm<1>
CLEAREG<I>
CLEARALL
RECA<I> RECAREG<I>
TITR<I>[rbl
TITREG<I>[$] TITFO<I>[61
~Twl
StSWRECALGdisk
PURG<I>
SIWR<I>
files
TITF<1>[61
s ? 0
2
2
2 2
1
2 2
4 4 4 4
2
2
4
OPC OPC Olt.031
OPC lt.05 OPC OPC
OPC It05 OPC
Bange
1 to 5
01 to31
01
to31
lto6, lOchar.
01 to 31, 10 char. 01 to 31, 10 char. 01 to 31, 10 char.
lt.05
lto5
lt.05,
lOchar.
Copy
IabeIs
from
fIIe
titles
Copy Iabels from register titles
Include
with disk
illes
Save
format
Load
5
Requires pass control mode when using the HP-IB port.
‘SeeF&urel-1.
Data (error correcte$
andimaginarypairs)
RaWdata
Formatted data User graphics Data only (error corrected,
real and
Binary
ASCII/CITIFile SAVUASCI
From Recall file title&
Thiserrorcorrecteddat.aisthesameasthatoutputbythecomman d
imaginary
disks
reaI
pairs)’
COPYFRFT COPYFRRT
EXTMDKlX<ONIOFF>
E2ZMRAW<ONjOFF> EXTMFORM<ONIOFF> EXTMGRAP<ONJOFF> EXTMDAI”O<ON~OFF>
SAVUBINA
LOAD<I>
1 1
2 l,o
2 l,o 2 l,o 2 l,o 2 l,o
1 1
2
1
lt.05
OUTPDATA.
l-56
HP-IB Programming and Command Reference
Page 68
‘lhble l-10.
Key Select Codes (continued)
Function
Select storage
Disk format
Scale
bference
Action
Internal
disk
External
LIF Directory size
Internal
Internal disk
ExternaI Internal
DOS
Auto
Value
Position Value
settomkr
Set deIay
Cmxial deIay
Waveguide deIay
disk
memory
disk
disk
Mnemonic
SAVE/BECALGdisk ffles (continued)
INID
INIE
DIRS[D]
INTM INTD EXTD
INTD FORMATDOS FORMATLIF
KXLE REF AUTO
f=fiPl
REFW’l
REFV[D] MARKREF
ELWDl
COAD WAVD
s
r
1
3
1 1
1 1 1 1
-
-
1
3
3 3
1
3
1 1
?
0
D
256
Amplitude ranges
ot.0
Amplitude range#
zt
to 8192
10
10.0
Bange
s
iequencing
P
For log mag: f 500
t 600 Be-12
menu
units. For
degrees,
S!VR: f
lOe-15
3ffset
8
2-seclpencing
Zontinue
Do
Ziwub
rJew/modify ?ause lone modify Llect sequence
Duplicate seq. X
Print sequence I
Begin title sequence
Title sequence I Clear sequence I
sequence
sequence
sequence
sequence
to select seq.
toseq.
Y
dE3.
For phase: f 500 degrees. For Smith chart and
500 units. The
seconds, and 10
scale
picounits.
CONS
DOSEQ<I>
-<I> NEWSE<I>
PTOS DONM
sEQ<I>
Q<I> DUl’LSE&<X>SEQ<Y>
PRINSEQ<I> nTsQ
TITSEQ<I>[b] CLEAsEQ<I>
is always positive, and has minimum values of
PoIarz f
3
-
r
2 2 2
1
1
2
2
2
1
2 2
-
500 units. For
.OOl dB,
360 deg
Lto6 Lto6 lt.4~6
lto6
lto6
lto6,lOchar.
Iinear
magnitude:
1
HP-IB Programming and Command Reference
l-57
Page 69
‘Ihble l-10.
Key Select Codes (continued)
Fnnction
TTL
I/O
Save/recall
sequences
Special
functions
Tl’L TTL lTL ‘ITL high - end sweep low ‘kstset lhtaet I/O
Programs alI GPIO output bits Set Clear specilled bit on GPIO Specify input GPIO bit for PARAIN(D]
IFBI Input GPIO bit high
SEQ<I>
Input GPIO bit low - do
SEQ<I>
Store sequence I to
RecaII
Peripheral address Title to peripheral TIlTF%RI Wait D seconds SEQWAIT[D] Pause Marker to CW freq.
ElUitkp
Title to HP-IB printer Title to pwr Show menus SHOM Assert seq. status bit Read pwr
into
Send number into TITTMEM
trace memory
Action
SEQ-sequencing (continued)
out high continuously out low continuously low - end sweep high
lTLLPULS
I/O forward
reverse
specifled
title string
bit on GPIO SETBIT[D]
-
do IFBIHIGH
disks
sequence I from
mtr/HPIB
mtr/HP-IB PMTRTTIT
disks
TSI’IOFWD
TSI’IOREV PARAOUT[D]
CLEABIT[D]
IFBILOW
S’J?OI’tSEQ<I> LOADSEQ<I>
ADDRPERI[D]
PAUS
MARKCW
EMIB
TI’I-I’PRIN TImm
bfllemOniC
!lTLOH lTLOL lTLHPULS
8
? 0
1 1 1 1 1
1 3 2 2 2
1
1
2 2
3 D
1
3 D
1 1 1 1 1 1 1 1
1
Bange
Oto255
ot.07 oto7 otQ4
lto6
lto6
0.1to3ooos
D ecision making
loop
counter
Requires pass control when
l-58
HP-IB Programming and Command Reference
Iflimittestpass
then do sequence I
IfIimittestfail
then do sequence I
Set value Increment by 1 Decrement by 1 If counter equals 0
then do sequence
If counter not equal to
0 then do sequence
using
the HP-IB port.
IFIJrPASSSEQ<I>
DU’FA.ILsEQ<I>
mP1
INCRLQOC DECRLOOC
IFLcE&zEsE&<I>
IFLCNEZESEQ<I>
2
2
3
2
2
lt.06
lt.06
0 to 32,760
lt.06
lt.06
Page 70
‘Ihble l-10.
Key Select Codes (continued)
Function
stimulus
Set clock
%nfbwe
[nstrument
wvice
Frequency oKset
1
For frequency or power sweeps, refer to Chapter 12, “Preset State and Memory
mode
KP 8719Dk?ODk?2D
rtep.
For CW time sweep, transform on:
Center
start
-JP
Time stamp
set date
Set time
Sample&
Retrace power RETP<ONIOFF> Step sweep
Network analyzer Tuned receiver INSMTUNR External R channel EXTRCHAN
Analog bus
On/oK
Value
SetRF>LO SetRF<LO
Select up converter Select down converter DCONV View measurement/mixer
setup
User’s Gu&.
AdSon
STIMULUS
Mnemonic
CENT[D]
SPAN[D]
-PI
f=WDl
SYSTEM
TIMESIIAM<ONIOFF> SETDATE[$] sElTIME[$]
attenuator
oKsets
RAWOFFS<ONIOFF>
Sl’EPSWP<ONIOFF>
INSMNETA
ANAB<ON(OFF>
FREQOFFS<ONIOFF>
vomw LOFRE&Pl
RFGTLO RFIJI-LO UCONV
VIEM<ONIOFF>
For CW time: 0 to 24 hours. For frequency sweep, transform on: f l/frequency
&l/time
step.
2 l,o 3 3
2 l,o 2 2
2 l,o
2 l,o
3
3 1 1 1 1
2 l,o
s ? 0
3 D 3 D 3 D 3 D
1
0,l
OPC
1
0,l
OPC
1
OPC
All&ion,”
Bange
sthnllhls ranget Sthnulw ranget stimuhls ranget 8thnulw ranget
DD MMM YYY
HH:MM:SS
frequency range of instrument
in the
HP-IB
Programming and Command Reference
l-59
Page 71
able l-10.
Key Select Codes (continued)
Function
Limit line
Limit test
Limit oKset
Edit table Begin
Edit segment
Limittype
r
For frequency or power sweeps, refer to Chapter 12,
KP
8719D/zOD/zaD
tip. For CW time sweep, transform on: f l/time step.
On/off
On/oK
Beeper
!3timul~
Amplitude hlarker to offset
Add segment Edit segment D Delete segment Done with edit Clear list
Stimuli
Marker to Upper Iimit Lower Iimit Delta limits Middle value Marker to middle kgment done
Flatliuetype SIoping Single
User’s
Action
EM-limit testing
LIMILINE<ONIOFF>
LIMITEST<ONIOFF> BEEPFAIL<ONJOFF>
WMISI’IO[D] LIMIAMPO[D]
LIMIMAOF
edit
EDITLIML
SADD
=DW’l
SDEL EDITDONE XEAL
value
stimulus
~MS[Dl
HARKSI’IM
~~Ul?l
~MUDl
WMJXDl
LIMM[D] HARKMIDD 3DON LmTFL
Iine type
point type
Guide For CW time: 0 to 24 hours. For frequency sweep, transform on: f l/frequency
l4uvmsL l4umsP
“Preset
Mnemonic
State and Memory
S)?
0
-ii-
170
2
170
2
190
3
D
3
D
1
1 1
3
D
1 1 1
3
D
1
3
D
3
D
3
D
3
D
1 1 1
3,1
1
A1
1
31
I
­AI&&ion, n
stimuhw ranget
Amplitude range#
1 to 18
3thtluhls
SmpIitude range# bpIitude range# SmpIitude range# Amplitude range#
in the
l-mget
p
For log
k
500 units. For SWR: f 500 units. The scale is always positive, and has minimum values of
toe-12
magz f
500
dB.
For phase: f 500 degrees. For
degrees,
l-60
lOe-15
seconds, and 10
picounits.
HP-IB Programming and Command Reference
smith
chart and
PoIar: f
500 units. For Iinear magnitude:
.OOl
dB,
Page 72
‘liable l-10.
Key Select Codes (continued)
Function
Time Domain Transform
On/oK
Set freq
Mode Low pass impulse
L0wpass-P Bsndpass
Specify gate menu
Window
Window shape Demodulation
Maximum
Normal
Minimum Any value
Use trace memory
3K kmplitude
Action
Phase
InIoK start bP
k&.er span
Mnemonic
SY
51
l93M-transform TIMDTRAN<ONIOFF>
SETF
LOWPIMPU
LOWPSl-EP BANDPASS
SPEG
1
WINDMAXI WINDNORM
7
WINDMINI
1
WINDOW[D]
1
WINDUSEM<ONIOFF> DEMOOFF
1
DEMOAMPL
1
DEMOPHAS
1
(
XI’EO<ONIOFF>
(
XI’ESIIAR[D]
(
L4TESIOP[D]
(
XTECENT[D]
(
Xl’ESPAN[D]
2
2 3 3 3 3
S?
1
1 1 1 1
1
1
1
3
1 1 1
0,l 0,l 0,l
D
l,o
0,l 0,l 0,l
I,0
D D D D
0
OPC
Eange
tate
dependent
timul~ ranget timulm timul~ ranget timlll~ ranget
ranget
1
I
3ate
shape
1
For frequency or power sweeps, refer to Chapter 12, “Preset State and Memory Allocation,” in the
YP 8719DBODk?ZD U..‘s
rtep.
For CW time sweep, transform on:
blaximum
Wide
VOIlUd
blinimum
Guide. For CW time: 0 to 24 hours. For frequency sweep, transform on: f l/frequency
H/time
(
:ATsMAxI
(
:ATSWIDE
(
XI’SNORM
(
:ATsDIINI
step.
1
3,l
1
$1
1
3,l
1
31
-I
HP-IB
Pronrammin6
and Command Reference
l-61
Page 73

HP-IB Only Commands

‘Ihble
1-12. HP-IB Only Commands
Action
Identify instrument
Key
Key code
Move marker
On completion
Plot/print
softkeys
Copy default
Mnemonic SyntaxJ 1
IDN?
KEY [D]
KOR?
MARKBUCK[D]
OPC
P!SOFI’<ONIOFF>
D-10
MISCELLANEOUS
1
1
D Imitates pressing a key. The data transmitted is the
1
D Moves the marker to the selected point on the trace.
2
1
2
1
Description
Outputs the PACKARD, 87NND,O,XXX”, where model number of the instrument and
fIrmware
code,asdefinedinFigure1-6.
outputs
positive, it is a key code. If it is negative, then set bit
16
equal to
the RPG knob count. It can be either positive or negative. There are about 120 counts per turn.
On a 201 point sweep, D can range from 0 to 200.
Causes reporting of the completion.
Includes the plotting the screen.
Sets up a default state for copy.
identification
revision of the instrument.
last key code or knob count. If the reply is
bit 14, and the resulting two byte integer is
softkey
string: “HEWLETT
87NND
is the
X.xX
is the
RangeforD=lto61.
Iast OPC-compatible
menu keys when printing or
command
ke]
Revision
Leamstrhlg
SOFR
-PI
1
2
Displays the software revision on the
D
Selecta
the learn
from the analyzel The valid parameters are: 0: Defaults to current revision. 201: Revision 612: Revision
string
8720A 872OA
revision to input to and output
2.01
6.12
analyzer.
l-62
HP-IB Programming and Command Reference
Page 74
‘able l-11. EIP-IB
Only Co
mmands
(continued)
Action
Mnemonic
F
iweep
start
hllect raw data IKKE4<0N(OFF>
lelftest
No operation
Select
l-port cal
External
trigger
SwPm
Tsr?
NOOP
CAL1
EX’ITHIGH EXlTLOW
MISCI
syntax
LANE
JS (continued)
1
2
?
Initiates a sweep and immediately releases the bus, allowing the analyzer to initiate data output as soon as the appropriate data is ready. Use in conjunction with
1,0
Initiates a mode in which every measurement cycle is characterized by sweeping in both the forward and reverse directions and collecting raw data for all four S-parameters. The sweeping can occur when a
SWPSIYART
analyzer is in continuous, number of external trigger mode.
Causesaselftest. Returnsazeroifthetestpasses.
Creates a cycle that has no operation. OPC compatible.
Provides access to functions within the l-port cal
menu. (HP 8610 compatibility.)
Sets the trigger polarity high. Sets the trigger polarity low.
or SING
Description
I-FIB
‘I&e4
mode only.
commandis received or when the
OPC-compatible.
grouIq
or
1
I
bit
kror-corrected ht.43
‘ormatted Data
law Data INPURAWl[D]
kror
coefIicient
‘ower
meter
Yalkit
WAIT
INPUDKlA[D]
INPUFORM[D]
INPURAW2[D] INPURAW3[D] INPURAW4[D]
SAVC
INPUPMCAL<I>
Cal.
INPUCALK[D]
12>
Makes the analyzer wait for a clean sweep when used with the OPC command.
T
INl
-
T
[nputa
3
D
3
D
3
D D
3 3
D
3
D
2
1
3
D
3
errorsorrected data.
Lnputs
formatted data.
hlputa
raw data.
kputs
an individual error coefficient array. Issue the command
caIibration individual Fhudly,
l’his
the error coefllcienta transfer to the instrument.
inputs ss
100 times the power meter reading in
[nputa
“CALIXXSS; “(XxXx
type), then input each of the appropriate
error
c0efEcient-s
issue
“SAVC;
OPC compatible command denotes completion of
power meter cal array.
a
Cal
kit.
and trigger a sweep.
specifies the data
using “INPUCALC”.
Values should
be entered
dEL
Ram string
kputs
D
3
-
the learn string. Preceded by SELL if learn string is not current revision.
HP-IB Programming and Command Reference
l-63
Page 75
‘lhble l-11. HP-IB
Only Co
mmands
(continued)
Action
Wive
function
Pctive
channel OUTPCHAN
*tions
Serial number
dentify OUTPIDEN
nstrument
Zrror coefecient
Interp. cal.
hlkit
lata
OUTPACTI
OUTPOPTS
OUTPSERN
OUTPCALC<O1,02
0uTP1cAL<1>
0uTPcALK
OUTPDATA
OUTPDATF
Mnemonic
. . .
syntax ? Description
12>
OUTPUT 1
1
1
1
1
2
2
1
1
1
Outputs value of function in active entry area in ASCII format.
Outputs the active channel number.
Outputs an ASCII
Outputs the serial number of the analyzer.
See IDN?
Outputs the selected error
active channel. Each array is the same as a data array.
See
‘Ihble
Outputa
Outputs the active
inFORM1.
Outputs the error corrected data from the active
channel in Fastdatatransferco
string
of the options
coeficient
l-9, for the contents of the arrays.
the selected interpolated
Cal
kit, a less than 1000 byte string
reavimaginary
pairs. See Figure l-4.
mmand for OUTPDATA.
instaIled.
array from the
Cal
coel&ient array.
Error
formatted
Power meter
?ower
meter cal. OUTPPMCAL<I>
Icy
code
OUTPERRO
OUTPFORM
OUTPFORF
Cal.
OUTPIPMCAL<I>
OUTPKEY
1
1
1
2
2
1
Outputs the oldest error in the error queue. The error
number is
format (FORM 4).
Outputs the formatted trace data from the active channel in current transferred.
Fast data transfer
first
number of the OUTPFORM data pairs is
transferred. See
Outputs the interpolated power meter channel 1 or channel 2.
Outputs power meter channel 2. Values are sent as 100 times the power meter reading in
Outputs the code of the format. See Figure for a knob turn.
followed
%ble
by the error message in ASCII
dispIay
units. See
command for OUTPFORM. Only the
l-4.
Cal
array for channel 1 or
dB.
Iast
key pressed, in ASCII
l-6
for key codes. -1 is
‘Ihble
Cal
array for
l-4 for data
transm&ec
1-64 HP-IB Programming and Command Reference
Page 76
‘able l-11.
HP-IB Only Co
mmands (continued)
Action
Learn
string
External source
smoothing
Sequencing
Limit
faihlres
Limitlist
Limit marker
Mnemonic
OUTPLEAS
OUTPRFFR
OUTPAPER
OUTPSEQ<I>
OUTPLIMF
OUTPLIML
OLITPLIMM
syntax
OUTPUT (continued)
1
1
1
1
2
Outputs the learn string in binary, not intended for decoding.
Outputs source instrument mode.
Outputs the smoothing aperture.
Outputs sequence I (I = 1 to 6) listing over HP-IB.
Outputs the limit results as described under OUTPLIML for only those
Outputs the Iimit test results for each The results consist of four numbers. The
stimuhs
for no test, 0 for fail, 1 for pass. The third number is the upper limit value, and the fourth is the lower Iimit value. This is an ASCII transfer (FORM 4).
Outputs the limit test results as described for
OUTPLIML for the active marker.
Description
external
value tested, the second is the test
source RF frequency when in external
stimulus
points that failed.
stimulus
flmt
point. is the
result:-1
Marker
Memory
Marker statistics
Bandwidth
Bandwidth+ loss
Plot
OUTPMARK
OUTPMEMO
OUTPMEMF
OUTPm
OUTPMWID
OUTPMWIL
OUTPPLOT
1
1
Outputs the active marker values in 3 numbers. The
fmt
two numbers are the marker values, and the last
the stimulus value. See
Outputs the memory trace from the active channel. It
iserrorcorrecteddatainreaUW@narypaim,andcan
be treated the same as data from
Fast data transfer comman
Outputs marker statistics: mean, standard deviation,
and peak to peak deviation. ASCII format (FORM 4).
Outputs results of bandwidth searchzbandwidth, center; and Q. ASCII format (FORM 4).
Same operation as OUTPMWID plus the loss value.
Outputs the HP-IB port. Can be directed to an
printeL
HPGL
‘Ihble l-4
plot string in ASCII format to the
for the marker values
OUTPDA!I!A.
d
for OUTPMEMO.
HP-GL
plotter or
is
HP-IB Pro6ramming and Command Reference
l-65
Page 77
‘Ihble l-11.
HP-IB Only
Co
mmands (continued)
ACtiOll
Prim
Pre-raw data
iaw
data
Mnemonic
OUTPPRIN OUTPPRNALL
OUTPPREl
OUTPPRE2 OUTPPRES OUTPPREQ
OUTPRAWl
oUTPRAw2 oUTPRAw3 oUTPRAw4 OUTPRAP<I>
syntax ?
OUTPUT (continued)
1 1
1
1 1 1
1
1
1 1 1
Outputs the print string of the dispIay graphics. Outputs
Operating and marker parameters in ASCII. Activate the desired function with LISV to print values or OPEF to print operating parameters prior to this command.
Array 1 that pre-raw data has not had sampler correction nor attenuator offsets applied. Use in conjunction with
We4
mode Array 2 Array 3 (512 data). Array 4
Array 1 (Sll the active channel. Raw 1 holds the sin&e parameter data unless a
1 holds
S22,
respectively. The data is in Array 2 Array 3 (512 data). Array 4 Fast data transfer
Description
alI pages
(Sll
(521
(522
Sll
(521
(s22
List Values or current page of
data). Analogous to OUTPRAW except
only.
data).
data).
data).Outputs
2-port calibration
and the following arrays hold
data).
data).
uncorrected data arrays for
is on, in which case raw
reaI/mmgmary
co
mmand for
OUTPRAW<I>.
S21, 512,
pairs.
and
Ratus
byte
XspIay
title
Max values
Min
values OUTPAMIN*
Min/Max
Min/max
For the detinition of a limit segment, see “Example Display of Limit Lines” in the Chapter 2 section titled “Limit
line
and Data Point Special
Refer to the “Lhnit Line and Data Point Special Functions” section in Chapter 2.
OU!CPSTCA!l! sm?
OUTP!CITL
OUTPAMAX*
OUTPSEGAM*
values
OUTPSEGM*
value
Punctions.”
1
1
1
1
1
1
Outputs the status byte. ASCII format (FORM 4).
Outputa
Outputs max values for all limit line segments.
Outputs min values for
Outputs Iimit test segment
stimuIq
Outputs Iimit test
SELSEG[D].t
the
display
title. ASCII format
min/max aII
numbel;
max stimuhq max value, min
min value for
min/max
(FORM
aII
limit Iine segments.
se@. Outputs the
aII
active segmentat
for a
specitled
4).
segment.
Set
1-66 HP-IB Programmin6 and Command Reference
Page 78
able l-11.
HP-IB Only Co
mmands (continued)
ACtiOJl
Data: point
Data: range
Limit test: chl Limit test:
Limit
Limit test: ch4
Limit test status
Limit test status
Fail
%ck
test:
report
ch2 ch3
Mnemonic
OUTPDATP
OUTPDATR
OUTPLIMl* OUTPLIIE?’ OUTPLIMS’ OUTPLIM4*
ouTPsEGAF*
OUTPEEGF*
OUTPFAIP’
READDATE
syntax
OUTPUT
1
1
1 1 1 1
1
1
1
1
7
(continued)
Outputs trace data indexed by point. (see SELPT[D])
Outputs trace data for range of points. (see SELMINPT[D],
Outputs Outputs Outputs Outputs
Outputs the segment number and its limit test
status~for
Outputs
See
ThiSW
reports the number of
stimuhm
test.
Outputs the date of the clock in the following format: DDMMMYYYY
Description
SELMA2D’T[D])
stat&
of limit test for channel 1.
stat&
of limit test for
status§
of limit test for channel 3.
status§
of limit test for channel 4.
all active segmentat
the
Emit
test
statm-8
SRLSRG[D].t
mmand is similar to OUTPLIMF except that it
and trace values for each failed point in the
failures Rrst,
charmel
for a
specitled
followed by the
2.
segment.
Xock
Killhax ecordmg
Segment
Aast
point
%st point
specify point
Refer to the “Limit Line and Data Point 3pecial Functions” section in Chapter 2.
Values
returned for limit test status are: 1 (PASS), 0
For the defhrition of a limit segment, see “Example Display of Limit Lines” in the Chapter 2 section titled “Limit
dne and Data Point Special Functions.
READTIME
LIbiITLINRANDDA!C4POINTTR6I’
MINMAX<ONIOFF>*
SELSEG[D]*
1
2 1,0
3
3
3
3
(FAIL),
n
Outputs the
HH:MM:ss
Enables/disables and max
D
Selects segment OUTPSEGM w
1 to
D Selects the last point number in the range of points
that the from 0 to the number of points minus 1.
D
Selects the that the OUTPDATR w from 0 to the number of points minus 1.
D Selects point number that the OUTPDATR command
wiII
report. D can range from 0 to the number of points
minus 1.
-1 (NO-LIMIT)
time
of the clock in the following format:
min/max
values
are recorded per limit segment.
number
mmauds
1s.t
OUTPDA!TRwmmandwillreport. Dcanrangc
fhst.
point number in the range of
recording per segment. Min
for the OUTPSEGF and
to report on. D can range from
mmandwfllreport.
Darnrange
points
HP-IB Programming and Command Reference
l-67
Page 79
‘able l-11.
HP-IB Only Co
mmands
(continued)
ACtlOll
FORM1 FORM2 FORM3 FORM4 FORM6
Press Label
Clear CLES
hterrogate
Enable
~Fwl
wRsK<I>[$l
CL8
ESB? ESR?
0UTPm
E~PI
ESNB[D]
=Wl
Mnemonic syntax ?
OUTPUT
STATUS REPORTING
FOBMATS
1 1 1 1 1
SOFTKEYS
2 4
1
1 1 1
1 1 1
Description
HP 8719/20/22 internal format, with header. 32 bit floating point, with header (IEEE).
64 bit floating point, with header (IEEE). ASCII format. No header. 32 bit PC format (bytes reversed).
Activates
Writes label (10 char) to indicated softkey I, where I = 1
to& Initialusaofthisw
commands
Clears the status byte.
Returns event-status register B. Returns the
Returns the status byte.
D
Enables event-status register. (O<D<265)
D
Enables event-status register B. (O<D<256)
D Enables SRQ.
softkey
I, I= 1 to 8.
MENUPORM;
eventgtatus
(O<D<265)
mmand requires previous
and MENUOFF;.
register.
Averaging MENUAVG
calibration copr
DisplsV FoTmat
Marker
Meas
Marker function
3ff Save RecalI Save RecaII Scale 3timul~ Qstem bquencing
MENUCAL MENUCOPY
MENUDISP
MENUFORM MENUMARK
MENUMEAS
MBNUMRKP MBNU<ON]OPP>
MENURECA
MENUSAVE MENUSCAL MENUSI’IM MENUSWI
MENUSBQU
MENUS
1 1 1 1 1 1 1 1
2
1
1 1 1 1
1
1-66
HP-IB Programming and Command Reference
Page 80

Alphabetical Mnemonic Listing

Mnemonic
AB
ADAPl[D]
ADDECONT[D]
ADDRDIS~D] ADDRPERI[D] ADDRPLOT[D] ADDRPOWM[D] ADDEPIUN[D] ADPTCOAX ADPTWAVE
ANAB<ONIOFF>
Description
Measures and displays A/B on the active channel. Sets adapter electrical delay. Controller HP-IB address: the address where control is returned
after a pass control. Disk HP-IB address. Peripheral HP-IB address (for sequencing). See also Plotter HP-IB address. Power meter HP-IB address Printer HP-IB address Sets adapter to Sets adapter to ALC control. Places the analyzer in the alternate inputs measurement mode,
where measurements are made on alternate sweeps See also
CHOPAB ; . Enables the analog bus for service use.
COAXial. WAVEguide.
TIYITPERI.
A=Pl AIt
ASEG ASSS
-PI
-PI
AUXC<ONIOFF>
AUTO
AVEBFACILTDI
A-VERO<ON~OlV> A-ST
~01
BANDPASS
These 3 commands control the warning beeper, causing it to sound if the indicated condition occurs:
Measures and displays the data at the auxihary input (ANALOG IN).
Measures and displays A/R on the active channel.
Uses all segments for list frequency sweep. See also SSEG[D]. Asserts the sequence status bit. Attenuator A (Option 085 Only). Attenuator B (Option 085 Only).
Enables and disables the auxiliary channels (3 and 4). OPC-compatible.
Auto scale the active channel.
Sets the averaging factor on the active channel. Turns averaging ON and off on the active channel. Restart the averaging on the active channel.
Sets the background intensity of the display.
Selects the time domain
bandpass
mode.
BEEPDONE<ONIOFF>
BEEPFAIkONIOFF>
The completion of functions such as save, done with calibration
standard, and data trace saved. A
limit
test
failme.
HP-IB Programming and Command Reference
l-69
Page 81
BEEPWARN<ONIOFF>
The generation of a warning message.
BLAD<ONJOFF> BR
These commands set the open capacitance values of an open circuit while it is being defined as
a calibration standard.
Blanks the display.
Measures and displays B/R on the active channel.
01 CW 01 ~Pl
CAL1
These commands set the power meter calibration factor corrections for the particular sensor used. Sensor B is only
CALFCALF[D]
C-QPI
CALFSENA
CALFSENB
Accepted for compatibility with the HP 8510, where its function is to begin a calibration sequence.
valid for the HP
Sets the calibration factor. Selects the frequency for the calibration factor correction. Edits the sensor A calibration factor table. Edits the sensor B calibration factor table.
438A
which has two input channels:
These commands begin a calibration sequence:
CALIFUL2
CALIONEB
CALIRAI
CALlRESP cALIs cALIs CALITRL2
These commands select a default calibration kit:
cALK24MM
cALK292Bm cALK292s
cALK35BfD CALK35MC
Note
CALK35MM selects the HP
the HP 85052 series
Short, load, open, thru One-path Response and isolation. Response.
Sll
l-port.
s22 l-port.
Thru,
2.4~mm (HP
2.92~mm.
2.92’ (HP
3.5~mm (HP
3.5~mm (HP
2-port.
reflect, line or Line, reflect, match
85056A/D Cal
85056K cal
85052B/D,
85033C Cal
Cal
kits for the HP
(SLOT) 2-port.
kit).
kit).
HP
kit).
85033C cal
85033D cal
kit for the HP
8719D/20D/22D.
(TRL*/LRM*) 2-port.
kit).
8752C/53D,
and selects
CALK7MM
cALKN50 cALKN75
l-70
HP-IB Programming and Command Reference
7-mm (HP
Type-N 50 Type-N 75
85031B Cal
ohm (HP 85032B/E
ohm (HP 85036B/E
kit and HP 85050 series).
Cal
Cal
kit). kit).
Page 82
CALKTRLK
TRL
3.5~mm
(HP
85052C
cal kit).
CALKUSED
CALN
CALPOW CAISPORTI CALsPORT
CALZLINE
CALZSYST[D]
CHANl CHAN2 CHANS CHAN4
User-defined calibration kit.
Calibration: none. Turns calibration type to off. Provides access to the power meter calibration functions. Recalls cal set associated with Port 1 for adapter removal. Recalls cal set associated with Port 2 for adapter removal. Establishes the line or match standard(s) as the characteristic
impedance for a
TRL/LRM
Establishes the system Z0 (see for a
TRIJLRM
calibration.
calibration.
SEl’Z)
as the characteristic impedance
Adjusts the color brightness of the selected display feature. (See COLOXXXX commands)
Sets the center stimulus value. If a
list
frequency segment is being
edited, sets the center of the list segment. Makes channel 1 the active channel. OPC-compatible. Makes channel 2 the active channel. OPC-compatible. Makes channel 3 the active channel. OPC-compatible. Makes channel 4 the active channel. OPC-compatible.
CHOPAB
Places the analyzer in the chop measurement mode. See also
Al.IrAB.
CLAD
Class done, modify cal
kit,
specify class
These commands call reflection standard classes during a calibration sequence. If only one standard is in the class, it is measured. If there is more than one, the standard being used must be selected with
S.WN<AIBICIDIEIF(G>.
If there is only one standard in the class, these
commands are OPC-compatible.
CLASSllA CLASSllB CIdws11c CLiSS22A CLASS22B CLAss22c
SllA: Sll SllB: SllC: S22A: S22 S22B: S22
S22C: S22 l-port, loads
l-port, opens
Sll
l-port, shorts
Sll
l-port, loads
l-port, opens
l-port, shorts
These commands (all OPC- compatible) clear the indicated save/recall registers:
CLEAl CLEAZ CLEAS CLEA4
Clears save/recall register 1. Clears save/recall register 2. Clears
save/recall
register 3.
Clears save/recall register 4.
CLEA5
Clears save/recall register 5. Clears the limit line list. Should be preceded by EDITLIML.
HP-IB Programming and Command Reference
l-71
Page 83
CLEARALL
Clears
all
the save/recall registers. OPC-compatible.
CLEABIT[D] CLEAREG<I>
These commands clear the sequence from the internal registers:
CLEASEQl
CLXASEQZ CLEASEQS CLEASEQ4 CXEASEQB CLEASEQG
COAD
Clears the specified bit on the GPIO. Clears save/recall registers 01 through 31.
CLEAREG05
compatible.
Sequence 1. Sequence 2. Sequence 3. Sequence 4. Sequence 5. Sequence 6.
Clear the currently selected list. This could be a frequency list, power loss list, or limit test list.
Clears the status register, the event-status registers, and the enable registers.
Same as CLES. Selects coaxial electrical delay. See also WAVD.
are the same as
CLEAl
CLEAREGOl
through
CLEAS. OPC-
through
COAX
These commands select the indicated display feature for color modification:
COLOCHlD
COLOCEIlM CQLOCE2D
COLOcEr2M
COLOCE3D
COLOCHSM
coLocH4D coLocEl4M COLOGRAT CxaoLREF COLOTEXT
COLOWABN
~~I&[Dl
CONS
Selects coaxial offsets instead of waveguide while defining a standard during a
Channel 1 data and limit lines.
Channel 1 memory. Channel 2 data and limit lines. Channel 2 memory. Channel 3 data and limit lines.
Channel 3 memory.
Channel 4 data and limit lines Channel 4 memory. Graticule. Reference line.
Text.
Warning.
Adjusts the color saturation for the selected display feature. Continues the paused sequence.
cal
kit modification.
1-72 HP-IB Programming and Command Reference
Page 84
CONT
Continuous sweep trigger mode.
These 6 commands convert the S-parameter data to:
CON-VlDS
CONVOFF
CDNVYREF COIWYTRA CONVZREF CONVZTBA
COP­COPYFRET CORI<ONIOFF> CORR<ONIOFF> COUCkONIOFF> COUP<ON(OFF> CSWI<ON(OFF>
Inverted S-parameters.
Conversion OFF.
Yreflection.
Y
transmission.
Z:reflection. Z:transmission.
Copies labels from file titles. Copies labels from register titles. Turns interpolative error correction ON and OFT. Turns error correction ON and
OFT.
Couples and uncouples the stimulus between the channels Couple the power when coupled channels is turned OFF, COUCOFF. Selects test set continuous switching (ON) or test set hold (OFT)
when there is a 2-port calibration active. Continuous switching
is allowed only when the power ranges on both attenuator ports
are set the same. When continuous switching is ON, the analyzer
measures all four S-parameters each time before displaying the
data for a full 2-port cal measurement. In test set hold mode, the analyzer measures all four S-parameters once and then measures the desired parameter continuously. measurement and it is less accurate than a full
This
is known as a fast 2-port
2-port
cal
calibrated
measurement.
-QPl
DlDlVDZ<ONIOFF>
D2XUPCE2 D2XUPCH3 D4XUPCX2
D4XUPCH3
DATI
DCONV
DEBU<ONIOFF>
Sets the CW frequency for power sweep and CW frequency modes While the list frequency table segment is being edited, it sets the center frequency of the current segment.
Selects the CW time sweep type.
This command divides the data in channel 2 by the data in channel
1 and displays the result on channel 2. Dual display must be on
(DUACON;).
Positions channels in a 2X display with channel 2 on top. Positions channels in a 2X display with channel 3 on top. Positions channels in a 4X display with channel 2 in the upper right. Positions channels in a 4X display with channel 3 in the upper right. Stores trace in channel memory. OPC- compatible. Selects down converter for mixer measurements.
Turns the HP-IB debug mode ON and OFF. When ON, the analyzer
scrolls incoming
HP-LB
commands across the display.
HP-IB Programming and Command Reference
l-73
Page 85
DECRLOOC
Decrements the sequencing loop counter by 1.
DEFC DEFLPIUNT
DEIWIXPIO
Sets the default colors for all display features Sets the printer to the following default setup conditions:
Print
Auto-feed
Monochrome on
Print Colors:
Chl/Ch3 Chl/Ch3 Memory Ch2/Ch4 Ch2/Ch4
Graticule
Warning
Text
Data
Data Memory
Magenta Green Blue
Red
cyan
Black
Black
Sets up the following default state for copy. There is no equivalent front-panel key.
Plotter Type: PLOTTER Plotter Port: SERIAL
Printer Type: Printer Port:
DESKJET
PARALLEL Baud Rate: Handshake:
9600 Xon-Xoff
HP-IB Address: 5
Parallel Port:
COPY
Begins standard definition during
Baud Rate: 19200 Handshake:
HP-B?
Address: 1
cal
kit modification. D is the
standard number.
DEL4 DEL0
Displays the data formatted as group delay. Turns the delta marker mode
OFT’.
These 6 commands make the indicated marker the delta reference:
DELItl DELR2 DF4LR3 DELR4 DELIS5
DELWIXBi
Marker 1. Marker 2. Marker 3. Marker 4. Marker 5.
F’ixed
marker.
Xon-Xoff
DEMOAWL
l-74
HP-IB
Proprammiq
and Command Reference
Turns on transform demodulation and sets the transform demodulation to amplitude demodulation. Only has a meaningful effect with a CW time transform.
Page 86
DEMOOFF
Turns the transform demodulation function OFF.
DEMOPHAS
DJTIX
DISCVOLU[D]
Sets the transform demodulation to phase demodulation. Only has a meaningful effect with a CW time transform.
Sets the plotter to the following default setup conditions
Plot Data On Plot Mem On Plot Grat On Plot Text On Plot Mkr On
Auto-feed On
Scale Plot Pull Plot Speed Past
Pen Number:
Data
2 Memory 5 Graticule 1
Text.
7
Marker 7
Line Type:
Data
7
Memory 7
Sets the number of
files
in the directory at disk initialization.
LIP
only.
Specifies which disk in an external multiple-disk drive to be used for save/recall.
Specilles
which volume of an external multiple-volume disk drive to
be used for save/recall.
DISM<ONIOFF>
When on, displays the response and sthnulus values for all markers that are turned on; when off, only the active marker’s value is displayed.
These 6 commands display the indicated combinations of data and trace memory on the active channel:
DISPDATA DISPDATBi
DISPDDM DISPDMM DISPMEMO DM
DONE
Data only. Data and memory. Data divided by memory (linear division, log subtraction). Data minus memory (linear subtraction). Memory only. Same as DISPDDM.
Done with a class of standards, during a calibration. Only needed when multiple standards are measured to complete the class
DONM DOSEQ<I> DOWN
DUAG<ONIOFF>
Done modifying a test sequence. Begins execution of the selected sequence. I = 1 to 6. Decrements the value in the active entry area (down key).
Dual
channel display ON or OFF
DUPmEQ[X]SEQPI]
Duplicates sequence X to sequence Y. X,Y = 1 to 6.
HP-IB
Programming and Command Reference
l-75
Page 87
EDITDONE
Done editing list frequency or limit table.
EDITLlML
Begins editing limit table.
EDITLIST Begins editing list frequency table.
ELED[D]
EBIIB ENTO
ESB?
ESE[D]
Sets the electrical delay offset. Send out a beep during a sequence. Tums the active entry area
OFF.
Outputs event-status register B. Enables the selected event-status register bits to be summarized by
bit 5 in the status byte. An event-status register bit is enabled when the corresponding bit in the operand D is set.
ESNB[D]
Enables the selected event-status register B bits to be summarized by bit 2 of the status byte. A bit is enabled in the register when the corresponding bit in the operand D is set.
ESR?
Outputs the value of the event-status register.
EXTD Selects the external disk as the active storage device.
These commands include the indicated information when a register is stored on disk. See
F’igure
l-4 for data types:
EXTMDATl<ONIOFF>
Adds error corrected data (real and imaginary pairs) along with the other
llles. EXTMDATO<ONIOFF> EXTMFORM<ONIOFF> EXTMGIUl’<ONIOFF>
EXTBfRAW<ON~OFF>
EXlTFEGH
EXTTLOW ExIToFF EXTl’ON
EXITFOIN
EXTRCHAN<ONIOFF>
Error corrected data array only (real and imaginary pairs). Formatted trace data. Uses currently selected format for data. User graphics Raw data arrays (real and
imaary
pairs).
Sets the external trigger line high. Sets the external trigger line low. Deactivates the external trigger mode. OPC- compatible. Activates the external trigger mode. OPC- compatible. Sets the external trigger to auto trigger on point. OPC- compatible.
Sets the internal phase lock reference selection switch on or off. This allows the analyzer to receive its R channel input through the R CHANNEL IN port or from its own internal source.
Specifies a fixed load, as opposed to a sliding load or offset load, when
defining
a standard during a cal kit
modification.
These 5 commands set the data format for array transfers in and out of the instrument:
HP
FOE&i1
FOIM.2
FOEBl3
l-76
HP-IB
8719D/20D/22D
32 bit floating point format. Preceded by 4 byte header.
64 bit floating point format. Preceded by 4 byte header.
Programming and Command Reference
internal format. Preceded by 4 byte header.
Page 88
FORM4
ASCII format. No header.
FORM5
32 bit floating point PC format. Bytes reversed. Preceded by 4 byte header.
These commands define the format to use on disk initializations:
FORMATDOS
FOEMATLIF
FREQOFFS<ONJOFF>
FEE0
FREB
Selects DOS as the disk format. Selects LIF as the disk format.
Activates the frequency offset instrument mode. OPC- compatible. Frequency blank. Turns OFF frequency notation. HP-IB free run. Acts the same as CONT; . Selects full page plotting, as opposed to plotting in one of the four
quadrants
These 3 commands select a forward calibration class, during a
2-port calibration sequence.
They are OPC-compatible if there is only one standard in the class:
FWDI
FWDM
Isolation. Match. Transmission.
These 5 commands control the time domain gate:
GAT-ECENT[Dl
GATEO<ONIOlW>
GATESPAN[D] GAl”ESTAB[D] GkI’ESTOP[D]
Center time. Gate ON/OFF, OPC-compatible. Span time. Start time.
Stop time. These 4 commands set the gate shape:
GATSMAXI GATSMIN-I GATSNORM
GATSWTDE
GOSUB<I>
HOLD
IDN?
MUimlmL
Minimum.
Normal.
Wide.
Invokes a sequence as a subroutine. I =
Puts the sweep trigger into hold.
Outputs the
where
the
firmware
identihcation
87NND
is the model number of the instrument and
revision of the instrument.
1
to 6.
string: HEWLETT PACKARD,
87NND,
0, X . XX,
XXX
is
These 7 commands branch an executing sequence to a new sequence if the following condition is satisfied.
IFBIHIGH
Tests the
specified
input GPIO bit (see
PARAIN
CD]).
If high, invokes
the sequence which follows
HP-IB Programming and Command Reference
l-77
Page 89
IFBILOW
Tests the specified input GPIO bit (see the sequence which follows.
PARAIN ED]).
If low,
invokes
-IDI
IF’LCEQZESEQ<I> IF’LCNEZESEQ<I>
IFIXT!EQ<I> lFIXI!ASSSEQ<I>
IMAG
INcRLooc
These commands input an individual error coefficient array. Before sending an array, issue a
CALIXXXX ; command, where XXXX specifies the calibration type of the data. Then input the array or arrays Lastly store the data with SAVC
uncorrected data. Complete the process by triggering a sweep. See
of the different arrays.
INPUCALCOl[D]
Sets the IF bandwidth. If loop counter equals zero, then do the sequence that follows If loop counter does not equal zero, then do the sequence that
follows. If limit test fails, then do sequence that follows. If limit test passes, then do sequence that follows
Selects the imaginary display format. Increments the sequencing loop counter by 1. Initializes the internal disk. All previous information on the disk
will be destroyed. Initializes the external disk. All previous information on the disk
will be destroyed. Requires pass control when using the HP-IB port.
;
. The instrument goes into hold, displaying
‘Ihble l-9,
Array 1.
for the contents
INPUCALCO2[D] INPucALa3p] INPucALCo4p] INPucALCo5p]
INPucALco6p]
INPUCALfX7[D]
INFucALco8p]
INmJcALcosp]
INPUCALClO[D] INPUCALCll[D] INPucALC12p]
INPUCfwqD]
INPuFoI?.Mp]
~~fJ[Dl
Array 2. Array 3. Array 4. Array 5. Array 6. Array 7. Array 8. Array 9. Array 10. Array 11. Array 12. Inputs a cal kit read out with
data should be saved into the user
Inputs an error corrected data array, using the current setting of the
FORM command.
Inputs a formatted data array, using current the current setting of
the
FORM
command.
Inputs a learn string read out by
ODTCALK ;
Cal
OUTPLEAS
. After the transfer, the
kit area with SAVEUSEK; .
; .
l-78
HP-IB Programming and Command Reference
Page 90
These commands input power meter calibration arrays into the instrument. Values should be entered as
100
x power meter reading in
dB.
INPUPMCALl
INPUPMCALZ
These commands input a raw data array using the current format. See
Channel 1. Channel 2.
OUTPRAW<I>
for the
meaning of the arrays The instrument stops sweeping, error corrects the data, then formats
and displays the data.
INPURAWl[D]
lNPuRAw2p]
INPURAWS[D] INPURAWC[D]
These commands select the instrument mode. They are
INSMNETA INsMruNR
Array 1. Array 2. Array 3. Array 4.
alI
OPC-compatible.: Standard network analyzer. OPC-compatible. Tuned receiver. OPC-compatible.
Selects the internal disk as the active storage device.
=Pl
Sets the display intensity, 50 to 100 percent. Selects the internal memory for save/recall.
ISOD
Done with isolation subsequence in a 2-port calibration. OPC-compatible.
ISOL ISOOP
Begins the isolation subsequence step in a 2-port calibration. Selects isolation for one path, two port calibration.
Sends a keycode, equivalent to actually pressing the key. It does not matter if the front-panel is in remote mode. See Figure
l-6
key codes Calibration kit done This is the last step in modifying a cal kit.
KOR?
Outputs last key code or knob count. If the reply is positive, it is a key code. If it is negative, then set bit 15 equal to bit 14, and the resulting two byte integer is the RPG knob count. It can be either positive or negative. There are about 120 counts per turn.
These commands enter labels for the standard classes during a cal kit modification:
LABEPwDM[ $1
~-$I
LABEREsI[s] LABERESP[L]
LABEREvBq $1
LABEBEvT[$l
IABESllA[$]
Forward match. Forward transmission. Response, response and isolation. Response. Reverse match. Reverse
SllA
transmission.
(opens).
for the
LABESllB[$]
SllB
(shorts).
HP-IB
Programming and Command Reference
l-79
Page 91
LABESl lC[$]
SllC
(loads).
LABES22A[ $1 LABES22B[ LABESZBC[ $1 LABEWI] LABETRW[ $1
IABETELR[ $1
LABK[
LABS[
IJMIAMPO[D] LWILINE<ONIOlV> LIMIMAOF
LlMISTIO[D] LIMITEST<ON~OFF>
$1
$1
$1
S22A
(opens).
S22B
(shorts).
S22C
(loads). TRL line or match. TRL thru.
TRL
reflect. Enters a cal kit label during a cal kit modification. Enters a standard’s label during standard definition.
Selects a plot in the left lower quadrant. Selects a plot in the left upper quadrant. Enters the limit line amplitude offset. Turns the display of the limit lines ON and
OFF.
Marker to limit offset. Centers the limit lines about the current marker position using the limit amplitude offset function.
Enters the stimulus offset of the limit lines. Turns limit testing ON and OFT.
These 8 commands edit a limit test segment. The limit table editing is begun with and a segment is brought up for editing with SEDI
I;
or added using SADD
;
. The segment is
EDITLIML;,
closed with SDON; , the table is closed with EDITDONE;
-PI VI
-PI
-I?1
Sets the limit delta value while editing a limit line segment. Sets the lower limit value. Sets the middle limit value. Sets the limit stimulus break point. Makes the segment a flat line.
LIBlTSL LIMTSP
-PI
Makes the segment a sloping line. Makes the segment a single point. Set the upper limit value.
Selects a linear frequency sweep. Selects the linear magnitude display format. Enters the line type for plotting data. Enters the line type for plotting memory. Selects the list frequency sweep mode.
l-80
HP-IB Programming and Command Reference
Page 92
LISV
Activates the list values function. The next page of values can be called with NEXP ; and the previous page can be called with
PREP
; . The current page can be plotted or printed, in raster graphics mode, with PLOT;, or PRINALL
;
respectively. The entire L; “. (Since these commands may need to take control of an HP-IB peripheral, the system controller must have pass control capability.)
These 5 commands load the command. The actual
TlTF’n
command. Requires pass control mode.
LOAD1
llle
from disk with the name indicated by the previous
llle
loaded depends on the file title in the
Loads the
file
from disk using the
file
file
name provided by the
preceding TITF 1; command.
LOAD2 Loads the file from disk using the
preceding
LOAD3 Loads the
preceding
LOAD4 Loads the
preceding
LOAD5 Loads the
preceding
These 6 commands load the command. The actual
TlTSEQn
LOADSEQl LOADSEQZ LOADSEQS
command. Requires pass control mode.
llle
from disk with the name indicated by the previous
file
loaded depends on the
Loads sequence 1 from disk. Loads sequence 2 from disk.
Loads sequence 3 from disk.
TITF2 ;
hle
TITF3
llle TITF4;
llle TITF5
command.
from disk using the
; command.
from disk using the
command.
from disk using the file name provided by the
; command.
file
title in the
llle
name provided by the
llle
name provided by the
lile
name provided by the
llle
TlTl?n
position specified by the
TlTSEQn
position specified in the
LOADSEQ4 LOADSEQ5 LOADSEQ6
LOAN
LOAO
w=QF’l
LOGFREQ LOGM
MOPI
LOWPIB!IPU
LOWPSTEP LEN?
-PI
Loads sequence 4 from disk. Loads sequence 5 from disk.
Loads sequence 6 from disk.
Measures the load as not being offset when a standard has been
dellned
Measures the load as being offset when a standard has been
as an offset load (see OFLS).
dellned
as an offset load (see OFLS). Sets the local oscillator frequency for use in frequency offset mode. Selects a log frequency sweep. Selects the log magnitude display format.
Sets the value of the sequencing loop counter. Turns ON the low pass impulse transform. Turns ON the low pass step transform.
Same as
OUTPLEAS
(output learn string).
Same as INPULEAS (input learn string).
HPJB Programming and Command Reference
l-81
Page 93
MAIUTlUG
Sets the external trigger to manual trigger on point.
OPC-compatible.
These commands make the indicated marker active and set its stimulus value:
MARKl[D]
BfA=Pl
BtARKS[D]
M-A=Wl
MAEK5[D]
BtAEKBucKp]
BfAEKcENT
MAmcoNT
lbiAEKcouP
IbiARKcw BiAEKDELA
MAaMlIsC
Marker 1. Marker 2. Marker 3. Marker 4. Marker 5.
Places the active marker on a specific sweep point (bucket). D is the bucket number, ranging from 0 to number of points less 1.
Sets the center stimulus value to that of the active marker’s stimulus value.
Places the markers continuously on the trace, not on discrete points (interpolates the marker values between discrete points).
Couples the markers between the channels, as opposed to
MARKuNco.
Sets the CW frequency to the active marker’s frequency.
Sets
electrical length so group delay is zero at the active marker’s
StiXUlllUS.
Places the markers on the discrete measurement points
-AWDl
-TV4
-WI
lMAMMIDD
MARKOFF
-PAN
-TAB BIARKSTIM
MARKSTOP MARKUNCO
Sets the auxiliary value of the hxed marker position. Works in coordination with MARKFVALandMARKFSTI.
Sets the
stirnuhrs
position of the hxed marker. Sets the value of the fixed marker position. Same as
SEAMAX
(search for maximum on current channel’s trace).
During a limit segment edit, makes the marker amplitude the limit segment middle value.
Sane as
SEAMIN
(search for
minimum on current channel’s trace). Turns all markers and marker functions OFT. Sets the reference value to that of the active marker’s amplitude. Sets the span for the entire trace to that of the span between the
active marker and the delta reference marker. Sets the start
stimuhrs
to that of the active marker’s
During a limit segment edit, sets the limit stimulus break point to that of the active marker’s
Sets the stop
stimuhrs
to that of the active marker’s
Uncouples the markers between channels, as opposed to
MARKcolJF!
-0
Places the hxed marker at the active marker position and makes it the delta reference.
l-82
HP-IB Programming and Command Reference
Page 94
Page 95
~Pl
Sets the number of power meter readings per point used during a power
meter calibration. OFLD
OFIS
Offset loads done.
Selects the calibration standard load as being an offset load, as opposed to
a sliding or fixed load, during a cal kit modification. These 3 commands specify the offset value for the indicated parameter for a standard being
delined
OFSD[D]
OFSL[D]
OFSZ[D]
OBIII OPC
during a
cal
kit modification:
Delay offset. Loss offset.
Impedance offset.
Omits the isolation step of a calibration sequence. Operation complete. Reports the completion of the next command
received by setting bit 0 in the event-status register, or by replying to an interrogation if OPC? ; is issued.
OPEP
Presents a list of key operating parameters. NEXP ; calls the next page of parameters and the previous page can be called with
PREP ;
. Requesting a plot or print copies the current page. The current page can be plotted or printed, in raster graphics mode, with PLOT;, or PRINALL ; respectively. The entire list can be printed, in mode, with of an
PRINTALL ;
HP-lEl
peripheral, the system controller must have pass control
. Since these commands need to take control
ASCII
text
capability.
ORJENT<VEItT~HOB>
When the auxiliary channels are enabled in 2x or 4x split mode, formats the display so that the auxiliary channels are vertically or horizontally aligned to their primary channels
OUTI?ACI’I
Outputs the value of the active function, or the last active function if the active entry area is OFF.
OUTPABfAX
OUTPAMIN
OUTPAPEE
Outputs the max values for all limit line segments Outputs the
ruin
values for all limit line segments.
Outputs the smoothing aperture in stimulus units, rather than as a percentage.
These 12 commands output an error correction array for the active calibration on the active channel. See set form determined by the
‘lhble l-9,
for the contents of each array. Each array is output in the currently
F’ORMn
command. The data is in real/imaginary pairs, the same
number of pairs as points in the sweep.
ouTPcm1 OUTPCALCO2
ouTPcALco3
ouTPcALCo4
ouTPcALco5
ouTPcALc66
Array 1. Array 2. Array 3.
Array 4. Array 5. Array 6.
ouTPcALco7
l-84
HPqB Programming and Command Reference
Array 7.
Page 96
OUTPCALCOS
Array 8.
OUTPCALCQ9 OUTPCALClO 0uTPcALc11 OUTPCALC12
OUTPCALK
OUTPCHAN
OUTPDATA
OUTPDATF
OUTPDATP OUTPDATIt
Array 9. Array 10. Array 11. Array 12.
Outputs the currently active calibration kit, as a less than 1000 byte
string. The data is in FORM 1. Outputs the active channel number, where:
H
1 = channel 1
n
2=channel2
w3=channel3
=
channel 4
84 Outputs the error corrected data from the active channel. See
Figure
l-4
and
FORMn
command. Fast data transfer command for OUTPDATA. = Outputs the trace data indexed by point (see Outputs the trace data for range of points (see
SELPT[D]).
SELMINPT[D],
SELMAXPT[D]).
ouTFEI?Ro
OUTPFAJP
OUTPFORM
Outputs the oldest error message in the error queue. Sends fkst the
error number, and then the error message itself as a string no longer than 50 characters.
This command is similar to number of
failures first,
OUTPLIMF
followed by the
except that it reports the
stimuhrs
and trace values
for each failed point in the test. Outputs the formatted display data array from the active channel.
See
‘Ihble l-4
format. See also
for the contents of the array as a function of display
FORMn
command.
Fast data transfer command for OUTPFORM.
HP-IB Programming and Command Reference
l-85
Page 97
These 12 commands output an interpolated error coeihcient array for the active calibration on the active channel. See
‘lhble l-8
for the contents of each array.
OUTPICAL91 OUTPICAL02 OUTPICAL03 OUTPICAI.B4 OUTPICAL05 OUTPICAIB6 OUTPICAL97
ouTPIcAIA)s
OUTPICAL99 0uTP1cAL10
OUTPICALl 1
OUTPICAL12
OUTPIDEN
Array 1. Array 2. Array 3. Array 4. Array 5. Array 6. Array 7. Array 8. Array 9. Array 10. Array 11. Array 12.
Outputs the identification string for the analyzer: HEWLETT PACKARD, instrument and
87NKD,
0 ,X . XX where
X.xX
is the
87NND
hrmware
is the model number of the
revision of the instrument.
These 2 commands output the interpolated power meter calibration arrays for channels 1 and
2.
0uTPrPlKcL1 OUTPIPMCL2
OUTFKEY
OUTPLEAS
OuTPLtMl OUTPLIM2
ouTPLlM3 ouTPLIM4
Channel 1.
Channel 2.
Outputs the key code of the last key pressed. An invalid key is
reported with a 63, a knob turn with a -1. See
F’igure l-6
for the
front-panel key codes Outputs the learn string, which contains the entire front panel state,
the Iimit table, and the Iist frequency table. It is always in binary
format not intended for decoding. Outputs the status of the
iimit
test for channel 1. Outputs the status of the Iimit test for channel 2. Outputs the status of the Iimit test for channel 3. Outputs the status of the Iimit test for channel 4.
l-85
HP-IB Programming and Command Reference
Page 98
These 3 commands output the Iimit test results. The results consist of four fields. First is the stimulus at that point. Fourth is the lower Iimit at that point. If there are no
value
for the point. Second is an integer indicating test status. Third is the upper Iimit
limits
at that point, the
third and fourth fields are zero. The test status is-l for no test, 0 for fail, and 1 for pass.
OUTPLIMP
OUTPLIML
OUTFLIMM
OUTPMARIC
OUTPMEMO
OUTPB4EMF OUTPMSTA
OUTPMWID
OUTPBfWIL
Outputs the Iimit test results for each failed point. Outputs the Iimit test results for each point in the sweep. This is an
ASCII transfer. Outputs the Iimit test results at the marker.
Outputs the marker values. The
response values, and the last is the
Rrst
two numbers are the marker
stimuIus
value. See
Table l-4
for
the meaning of the response values as a function of display format. Outputs the memory trace from the active channel. The data is in
reaHmaginary
pairs, and can be treated the same as data read with
the OUTPDATA command. Fast data transfer command for OUTPMEMO. Outputs the marker statistics: mean, standard deviation, and
peak-to-peak variation in that order. If statistics is not ON, it is turned ON to generate current values and turned OFF again. See also
MEASTAT<ONIOFF>.
Outputs the marker bandwidths search results: bandwidth, center, and Q in that order. If widths is not ON, it is turned ON to generate current values and turned OFF again.
Performs the same operation as OUTPMWID plus appends the loss
value
as
well.
ouTPoPTs
OUTPPLOT
Outputs an ASCII string of the options Outputs the plot string. Can
be
directed to a plotter, or read into the
installed.
computer.
These commands output the power meter calibration array. Values should be entered as 100 times the power meter reading in sweep,
OUTPPMCALl OUTPPMCAL2
TAKCS,
has not been taken:
Channel 1. Channel 2.
dB.
A default array is used if a power meter calibration
These 4 commands output the pre-raw measurement data. See Figure 14 for the meaning of the data. Analogous to OUTPRAW except that pre-raw data has not had sampler correction nor attenuator offsets applied. These offsets are not necessary for data that corrected. See BASIC programming Example External Computer. The arrays hold
OuTPPREl OuTPPRE2 OuTPPItE3 OuTPPEE4
Array 1 Array 2 Array 3 Array 4
Sll, S21, S12,
(Sll
data).
(S21
data).
(S12
data).
(S22
data).
2E: Take4 -
and
Error Correction Processed on an
S22,
respectively:
wiII
be fully error
HP-IB Programming and Command Reference
l-87
Page 99
OUTPPIUN
Outputs a raster dump of the display, intended for a graphics printer.
OUTPPRNALL
These 5 commands output the raw measurement data. See Figure 14 for the meaning of the data. Normally, array 1 holds the current parameter. If a hold
Sll, S21, S12, OUTPRAF<I> OUTPRAWl oUTPRAw2 OUTP~W3 oUTPRAw4
OUTPSEGAF
OUTPSEGAM
OUTPSEGF
and
Outputs all of the List Values or Operating parameters in text mode. Activate the desired function by preceding with LISV or OPEP, respectively.
2-port
calibration is active, the arrays
S22,
respectively: Fast data transfer command for Array 1. Array 2. Array 3.
Array 4.
Outputs the segment number and it’s limit test status for all active
segments
Outputs the limit test segment nwnber, max stimulus, max value, min stimulus, min value for all active segments
Outputs the limit test status for a SELSEG[D] .
min/max
OUTPRAW<I>.
for all segments Outputs the
specified
segment. See
OUTPSEGM
OUTPSEQ<I> OUTPSERN
OUTFSTAT Outputs the status byte.
OIJTFTWL
p-l?1
PABAL<GPIO]CPY>
PABAOUT[D] PAUS
p-ID1
Outputs limit test Outputs I’s sequence listing. I = 1 to 6. Outputs the serial number of the analyzer.
Outputs the display title.
Specify the input GPIO bit to be used by IFBIHIGH and tests.
Selects use of the parallel port: for general purpose copy function.
Programs all GPIO output bits (0 to 255) at once. Inserts a pause into a sequence. Same as ADDRCONT. Indicates where control will be returned after
a pass control.
min/max
for a
specilied
segment. See SELSEG[D].
IFHILOW
I/O
or for the
1-88 HP-IB Programming and Command Reference
Page 100
These 12 commands select the color for printing the indicated display feature where <COLOR>
is one of the following colors: white, cyan, magenta, blue, yellow, green, red, or black.
PCOLDATAl<COLOB> PCOLDATA2<COLOR> PcOLDrn3<cOLOB>
PCOLDATAI<COLOB> PCOLMEMOl<COIX)R~ PCOLMEM02<COLOB>
PCOIMEMO3dXXOR> PCOLMEMO4<COLOR> PCOLGRAT<COLOR>
PCOLREFLcCOLOR> PCOIXEXT<COLOR> PCOIIVARN<COLOR>
PDATA<ONIOFF>
Channel 1 data. Channel 2 data. Channel 3 data.
Channel 4 data.
Channel 1 memory. Channel 2 memory. Channel 3 memory. Channel 4 memory.
Graticule. Reference line. Displays text.
Warning text.
Selects whether trace data is plotted.
These 5 commands select the pen (value for D) for plotting the indicated display feature for the active channel:
p-J=4?1 P-GBAT[Dl
PENNMARK[D]
Data trace.
Graticule.
Markers and marker text.
P-WI p-1
PGRAT<ONIOFF> PEAO[D] PHAS
PLOS<SLOW(FAST>
PLOT
P~HK<XONJM’R>
PIXPRTDISK
PIXPRTEPIB PIXPRTPARA PIXPRTSERI PIXTRAUTF<ON~OFF>
p-WD1
PIXTRFORF PUTYPHPGL PmTYPPwR
Memory trace.
l’kxt
and user graphics Selects whether the graticule is plotted. Sets the phase offset. Selects the phase display format. Selects the pen speed for plotting. (Slow is useful for transparency
plotting.) Initiates a plot.
Selects the plotter handshake mode as either Xon-Xoff or DTR-DSR. Sets the plotter port to disk (either internal disk or external disk). Sets the plotter port to HP-IB. Sets the plotter port to parallel. Sets the plotter port to serial. Turns ON and OFT the plotter auto feed. Sets the plotter baud rate. Sends a form feed to the plotter.
Selects HP-GL compatible Selects
plotter as the plotter type.
printer
as the plotter type.
HP-IB Programming and Command Reference
l-88
Loading...