54501A Digitizing Oscilloscope Programming Refe
54501A Digitizing Oscilloscope Programming Refe
This manual may contain references to HP or Hewlett-Packard. Please note that Hewlett-
Packard's former test and measurement, semiconductor products and chemical analysis
businesses are now part of Agilent Technologies. We have made no changes to this
manual copy. The HP XXXX referred to in this document is now the Agilent XXXX.
For example, model number HP8648A is now model number Agilent 8648A.
We’ve added this manual to the Agilent website in an effort to help you support your
product. This manual provides the best information we could find. It may be incomplete
or contain dated information, and the scan quality may not be ideal. If we find a better
copy in the future, we will add it to the Agilent website.
Agilent no longer sells or supports this product. You will find any other available
product information on the Agilent Test & Measurement website:
www.tm.agilent.com
Search for the model number of this product, and the resulting product page will guide
you to any available information. Our service centers may be able to perform calibration
if no repair parts are needed, but no other support from Agilent is available.
Programming Reference
HP 54501A Digitizing Oscilloscope
Printing History
A software code may be printed before the date; this indicates the version
of the software product at the time the manual or update was issued.
Many product updates and fixes do not require manual changes and,
conversely, manual corrections may be done without accompanying
product changes. Therefore, do not expect a one to one correspondence
between product updates and manual updates.
The List of Effective Pages gives the date of the current edition and of any
pages changed in updates to that edition. Within the manual, any page
changed since the last edition is indicated by printing the date the changes
were made on the bottom of the page. If an update is incorporated when
a new edition of the manual is printed, the change dates are removed from
the bottom of the pages and the new edition date is listed in the Printing
History and on the title page.
Certification Hewlett-Packard Company certifies that this product met its published
specifications at the time of shipment from the factory.
Hewlett-Packard further certifies that its calibration measurements are
traceable to the United States National Bureau of Standards, to the
extent allowed by the Bureau's calibration facility, and to the
calibration facilities of other International Standards Organization
members.
Safety This product has been designed and tested according to International
Safety Requirements. To ensure safe operation and to keep the
product safe, the information, cautions, and warnings in this manual
must be heeded.
Introduction
HP 54501A
Programming Introduction-1
Chapter 10 lists the Channel Subsystem Commands which control
all Y-axis oscilloscope functions.
At the end of the manual is Quick Reference Guide that lists the
commands and queries with their corresponding arguments and
returned formats. Also, at the end of the manual is a complete index
for easy reference of commands and functions.
HP 54501A
Introduction-2 Programming
Contents
Introduction
HP 54501A Contents-1
Programming
Chapter 2: Interface Functions
Introduction 2-1
................................................ 2-1
Interface Capabilities
........................................
Command and Data Concepts
Addressing .................................2-1
.................................................2-1
Remote, Local and Local Lockout
Bus Commands
.............................2-2
2-3
Device Clear .............................................
.............................................2-3
Group Execute Trigger (GET)
Interface Clear (IFC)
..............................2-3
Status Annunciators
......................................2-3
.........................................2-3
I——————————————————————————————————————
Contents-2 HP 54501A
Programming
Chapter 4: Programming and Documentation Conventions
Introduction 4-1
................................................ 4-1
Truncation Rules
The Command Tree ............................................
Command Types .........................................4-4
..........................................4-4
Tree Traversal Rules
Examples ......................................4-54-5
................................................
Infinity Representation
.......................................4-6
Sequential and Overlapped Commands. 4-7
Response Generation ........................
........................................4-7
Notation Conventions and Definitions 4-7
Syntax Diagrams ..........................
Command Structure ............................................4-8 4-9
Common Commands ......................................... 4-9
Root Level Commands...................................... 4-9
Subsystem Commands .................................... 4-9
Program Examples .....................................
.........................................4-11
Command Set Organization
..................................4-12
I————————————————————————————————————————
HP 54501A Contents-3
Programming
Chapter 6: Root Level Commands
Introduction
AUToscale ................................................6-1
BEEPer .................................................6-4
BLANk ....................................................6-5
DIGitize ....................................................6-6
EOI ...................................................6-7
ERASe.......................................................6-8
....................................................6-9
LER......................................................6-10
LTER
MENU ....................................................6-11
MERGe ...................................................6-12
PRINt ..................................................6-13
RUN ....................................................6-14
SERial.....................................................6-15
.6-16
STOP ...................................................
STORe.....................................................6-17
.6-18
TER ..................................................
VIEW......................................................6-19
....................................................6-20
I————————————————————————————————————————
Contents-4 HP 54501A
Programming
Chapter 8: Acquire Subsystem
Introduction
................................................8-1
(Normal) Persistence Mode
Averaging Mode ...................................8-1
Envelope Mode ............................................8-2
.............................................8-2
COMPlete..................................................8-4
COUNt
POINts ....................................................8-5
TYPE ....................................................8-6
.....................................................8-7
I——————————————————————————————————————
HP 54501A Corrtents-7
Programming
Chapter 15: Timebase Subsystem
Introduction 15-1
...............................................
DELay....................................................15-3
MODE 15-4
RANGe ................................................... 15-5
................................................... 15-6
REFerence
WINDOW ................................................ 15-7
.................................................. 15-8
WINDowDELay...........................................
WINDowRANGe 15-9
..........................................
I——————————————————————————————————————
Contents-8 HP 54501A
Programming
Chapter 17: Waveform Subsystem
Introduction 17-1
............................................... 17-2
Data Acquisition Types
Normal ..................................... 17-2
Average ................................................. 17-3
Envelope ................................................ 17-3
............................................... 17-4
Data Conversion
Conversion from...........................................
Data Value to Voltage 17-4
Conversion from Data Value to Time
..................... 17-4
Data Format for HP-IB Transfer ....................... 17-5
WORD Format ..............................17-5
BYTE Format ......................................... 17-6
COMPRESSED...........................................
Format 17-6
ASCII Format .................................. 17-6
COUNt ........................................... 17-9
DATA ...................................................
FORMat
...................................................17-10
17-12
POINts .................................................
PREamble..................................................17-13
.17-14
SOURce .............................................. .17-16
TYPE ................................................
...................................................17-17
XINCrement .17-18
XORigin ............................................. .17-19
................................................ 17-20
XREFerence
..............................................17-21
YINCrement.............................................
YORigin .17-22
YREFerence................................................ .17-23
............................................
HP 54501A Contents-9
Programming
Appendix A: Algorithms
Introduction A-l
............................................... A-l
Measurement Setup
Making Measurements ........................................ A-l
Automatic Top-Base ...................................... A-2
Edge Definition ........................................ A-2
............................................ A-3
Algorithm Definitions
delay .......................................
...................................................A-3
+ width
-
width ................................................A-4
Period .................................................A-5
..................................................A-5
Frequency
Duty Cycle ..............................................A-5
Risetime ..............................................A-5
A-5
Falltime ................................................ A-5
Vmax ................................................
Vmin ..................................................A-5
Vp-p
...................................................A-5
A-5
Vtop ...................................................
Vbase
...................................................A-5
Vamp
..................................................A-6
Vavg
..................................................A-6
Vrms
...................................................A-6
A-6
...................................................
I————————————————————————————————————————
Index
Contents-10 HP 54501A
Programming
Introduction to Programming an Oscilloscope 1
Introduction This chapter introduces you to the basic concepts ofHP-IB
communication and provides information and examples to get you started
programming. The exact mnemonics for the commands are listed in
chapters 5 through 17.
There are four basic operations that can be done with a controller and an
oscilloscope via HP-IB. You can:
This chapter deals mainly with how to set up the instrument, how to
retrieve setup information and measurement results, how to digitize a
waveform, and how to pass data to the controller. The chapter is divided
into two sections. The first section (page 1-2) concentrates on program
syntax, and the second section (page 1-11) discusses programming an
oscilloscope. Refer to the chapter "Measure Subsystem" for information
on sending measurement data to the instrument.
Note
The programming examples in this manual are written in
HP Basic 4.0 for an HP 9000 Series 2001300 Controller.
Messages are placed on the bus using an output command and passing the
device address, program message, and terminator. Passing the device
address ensures that the program message is sent to the correct interface
and instrument.
OUTPUT < device address > ;":SYSTEM:HEADER ON" < terminator >
< device address > represents the address of the device being
programmed.
Note
The programming examples in this manual are written in
HP Basic 4.0 for an HP 9000 Series 200/300 Controller.
AddreSSiDQ the Since HP-IB can address multiple devices through the same interface
Instrument cazd, the device address passed with the program message must include
not only the correct interface select code, but also the correct instrument
address.
DEVICE ADDRESS =
(Interface Select Code
•
100) + (Instrument Address)
For the HP 54501A, the instrument address is typically set to "7" at the
factory. This address can be changed in the HP-IB menu of the Utility
menu.
Note
The program examples in this manual assume the HP 54501A is
at device address 707.
Program Message To program the instrument over the bus, you must have an understanding
Syntax of the command format and structure expected by the instrument. The
instrument is remotely programmed with program messages. These are
composed of sequences of program message units, with each unit
representing a program command or query. A program command or
query is composed of a sequence of functional elements that include
separators, headers, program data, and terminators. These are sent to the
instrument over the system interface as a sequence of ASCII data
messages. For example:
T COMMAND ——————————————————
E ADDRESS —————————————————————————
ONAL) —————————————————————————————————
AM MNEMONICS ——————————————————————————————
ATOR —————————————————————————————————————————————————
DATA
When program data must be included with the simple command header
(for example, :DIGITIZE CHAN1), a separator is added. The syntax is:
< program mnemonic > < separator > < program data > < terminator >
: < subsystem >: < function > < separator > < program data > < terminator >
: < subsystem >: < subsystem >: < function > <
separator > < program
data> < terminator >
: < subsystem >: < function > < separator > < data >; < function > < separator > <data >
Identical function mnemonics can be used for more than one subsystem.
For example, the function mnemonic RANGE may be used to change the
vertical range or to change the horizontal range:
:CHANNEL1:RANGE .4
-
sets the vertical range of channel 1 to 0.4 volts full scale.
:TIMEBASE:RANGE 1
-
< command header > < terminator >
passes the value across the bus to the controller and places it in the
variable Range.
Query commands are used to find out how the instrument is currently
configured. They are also used to get results of measurements made by
the instrument, with the query actually activating the measurement. For
example, the command :MEASURE:RISETIME? instructs the
instrument to measure the risetime of your waveform and place the result
in the output queue.
Note
The output queue must be read before the next pro/yam message
is sent. For example, when you send the query
:MEASURE:RISETIME? you must follow that query with the
program statement ENTER Value jisetime to read the result of
the query and place the result in a variable (Value jisetime).
:SY?TEM:HEADERON -longform
:SYCT:HEAD ON -
shortform
Note
The rules for shortform syntax are shown in the chapter
"Programming and Documentation Conventions."
< program mnemonic > < separator > <data> < terminator >
<
program mnemonic > < separator > < data < data > <
terminator >
>,
Program Message The program codes within a data message are executed after the program
Terminator message terminator is received. The terminator may be either an NL
(New Line) character, an EOI (End-Or-Identify) asserted, or a
combination of the two. All three ways are equivalent with the exact
encodings for the program terminators listed in the chapter "Message
Communication and System Functions." Asserting the EOI sets the EOI
control line low on the last byte of the data message. The NL character is
an ASCII linefeed (decimal 10).
Note
The NL (New Line) terminator has the same function as an
EOS (End Of String) and EOT (End Of Text) terminator.
< program mnemonic > < data >;: < program mnemonic > < data > <
terminator >
Note
Multiple commands may be any combination of compound and
simple commands.
Summary The following illustration summarizes the syntax for programming over
the bus.
OUTPUT XXX;
"
T COMMAND ————————————————————
E ADDRESS —————————————————————————
AM MNEMONICS ——————————————————————————————————————————
ATOR ——————————————————————————————————————————————————
DATA
Initialization To make sure the bus and all appropriate interfaces are in a known state,
begin every program with an initialization statement. For example:
Note
The actual commands and syntax for initializing the instrument
are discussed in the chapter "Common Commands."
Setting Up A typical oscilloscope setup would set the vertical range and offset
the Instrument voltage, the horizontal range, delay time, delay reference, trigger mode,
trigger level, and slope. A typical example of the commands sent to the
oscilloscope are:
This example sets the vertical to 0.64 volts full-scale (80 mV/div) centered
at 0.25 V. The horizontal time is 1 ms full-scale with 20 ns delay. The
timebase mode is set to triggered, and the trigger circuit is programmed to
trigger at 0.25 volts on a positive slope.
Information from the instrument interrogates the requested function and places the answer
in its output queue. The answer remains in the output queue until it is
the Instrument
read or another command is issued. When read, the answer is transmitted
across the bus to the designated listener (typically a controller). The input
statement for receiving a response message from an instrument's output
queue typically has two parameters; the device address and a format
specification for handling the response message. For example, to read the
result of the query command :SYSTEM:LONGFORM? you would
execute the statement:
where < device address > represents the address of your device. This
would enter the current setting for the longform command in the string
variable SettingS.
Note
All results for queries sent in a program message must be read
before another program message is sent. For example, when you
send the query :MEASURE:RISETIME?, you must follow that
query with the program statement ENTER Risetime$ to read the
result of the query and place the result in a variable (Risetime$).
< header > < separator > <data> < terminator >
The header identifies the data that follows and is controlled by issuing a
:SYSTEM:HEADER ON/OFF command. If the state of the header
command is OFF, only the data is returned by the query. The format of
the header is controlled by the :SYSTEM:LONGFORM ON/OFF
command. If longform is OFF, the header will be in its shortform and the
header will vary in length depending on the particular query. The
following would be returned from a :MEASURE:FREQUENCY?
frequency measurement query:
:MEAS:FREQ < separator > < data > < terminator > (with HEADER ON/LONGFORM OFF)
:MEASURE:FREQUENCY < separator > < data > < terminator > (with HEADER ON/LONGFORM ON)
Note
A command or query may be sent in either longform or
shortform, or in any combination of longform and shortform.
The HEADER and LONGFORM commands only control the
format of the returned data and have no effect on the way
commands are sent. Common commands never return a header.
Note
Refer to the individual commands in this manual for
information on the format (alpha or numeric) of the data
returned from each query.
Note
String variables are case sensitive and must be expressed exactly
the same each time they are used.
Note
For the example programs, assume that the device being
programmed is at device address 707. The actual address will
vary according to how you have configured the bus for your own
application.
The following example shows the data being returned to a string variable
with headers off:
10 DIM Rang$[30]
20 OUTPUT 707;":SYSTEM:HEADER OFF"
30 OUTPUT 707;":CHANNEL1:RANGE?"
40 ENTER 707;Rang$
50 PRINT RangS
60 END
+1.00000E-1
Note
When you are receiving numeric data into numeric variables, the
headers should be turned off. Otherwise the headers may cause
misinterpretation of returned data.
.1
For example, for transmitting 80 bytes of data, the syntax would be:
NUMBER OF DIGITS
THAT FOLLOW
ACTUAL DATA
The "8" states the number of digits that follow, and "00000080" states the
message, but you must also read them back within a single program
message. This can be accomplished by either reading them back into a
string variable or into multiple numeric variables. For example, you could
read the result of the query :TIMEBASE:RANGE?;DELAY? into the
string variable Results$ with the command:
ENTER 707;Results$
When you read the result of multiple queries into string variables, each
response is separated by a semicolon. For example, the response of the
query :TIMEBASE:RANGE?;DELAY? with HEADER and
LONGFORM on would be:
If you do not need tosee the headers when the numeric values are
returned, then you could use following program message to read the query
:TIMEBASE:RANGE?;DELAY? into multiple numeric variables:
ENTER 707;Resultl,Result2
Note
When you are receiving numeric data into numeric variables, the
headers should be turned off. Otherwise the headers may cause
misinterpretation of returned data.
Instrument Status Status registers track the current status of the instrument. By checking the
instrument status, you can find out whether an operation has been
completed, whether the instrument is receiving triggers, and more. The
chapter "Message Communication and System Functions" explains how to
check the status of the instrument.
This setup places the instrument into the average mode with four averages
and defines the data record to be 500 points. This means that when the
DIGITIZE command is received, the waveform will not be stored into
memory until 500 points have been averaged at least four times.
Introduction This section describes the interface functions and some general concepts
of the HP-IB. In general, these functions are defined by IEEE 488.1.
They deal with general bus management issues, as well as messages which
can be sent over the bus as bus commands.
Interface The interface capabilities of the HP 54501A, as defined by IEEE 488.1 are
Capabilities SH1, AH1, T5, L4, SRI, RL1, PP1, DC1, DT1, CO, and E2.
Command and The HP-IB has two modes of operation: command mode and data mode.
The bus is in command mode when the ATN line is true. The command
Data Concepts
mode is used to send talk and listen addresses and various bus commands,
such as a group execute trigger (GET). The bus is in the data mode when
the ATN line is false. The data mode is used to convey device-dependent
messages across the bus. The device-dependent messages include all of
the instrument command and responses found in chapters 5 through 17 of
this manual.
Addressing By using the front-panel controls, the instrument can be placed in either
talk-only mode or addressed (talk/listen) mode (see your front-panel
reference). Talk-only mode should be used when you want the instrument
to talk directly to a printer without the aid of a controller. Addressed
mode is used when the instrument will operate in conjunction with a
controller. When the instrument is in the addressed mode, the following
is true:
The active controller specifies which devices will talk, and which will
listen.
Remote, Local The local, remote, and remote with local lockout modes may be used for
various degrees of front-panel control while a program is running. The
and Local
instrument will accept and execute bus commands while in local mode,
Lockout and the front panel will also be entirely active. If the HP 54501A is in
remote mode, all controls (except the power switch and the LOCAL key)
are entirely locked out. Local control can only be restored by the
controller or pressing the front-panel LOCAL key.
Note
Cycling the power will also restore local control, but this will also
reset certain HP-IB states.
The instrument is placed in remote mode by setting the REN bus control
line true, and then addressing the instrument to listen. The instrument
can be placed in local lockout mode by sending the local lockout
command (LLO). The instrument can be returned to local mode by
either setting the REN line false, or sending the instrument the go-to-local
command (GTL), or simulating a front-panel LOCAL key press using the
SYSTEM:KEY command.
Device Clear The device clear (DCL) or selected device clear (SDC) commands clear
the input and output buffers, reset the parser, and clear any pending
commands.
GrOUp Execute The group execute trigger (GET) command arms the trigger which is the
Trigger (GET) same action produced by sending the RUN command.
Interface Clear The interface clear (IFC) command halts all bus activity. This includes
(IFC) unaddressing all listeners and the talker, disabling serial poll on all
devices, and returning control to the system controller.
Status The HP 54501A will display the HP-IB status on the CRT. The message
will indicate whether the instrument is in the remote mode, whether talk
Annunciators
or listen is addressed, and whether the instrument has requested service.
When the instrument is in the local mode only the SRQ annunciator may
be displayed.
Protocols The protocols of IEEE 488.2 define the overall scheme used by the
controller and the instrument to communicate. This includes defining
when it is appropriate for devices to talk or listen, and what happens when
the protocol is not followed.
Functional Elements Before proceeding with the description of the protocol, a few system
components should be understood.
Input Buffer. The input buffer of the instrument is the memory area
where commands and queries are stored prior to being parsed and
executed. It allows a controller to send a string of commands to the
instrument which could take some time to execute, and then proceed to
talk to another instrument while the first is parsing and executing
commands. The HP 54501A's input buffer will hold 300 characters, or
bytes of data.
Protocol Overview The instrument and controller communicate using < program message > s
and < response message > s. These messages serve as the containers into
which sets of program commands or instrument responses are placed.
<
program message > s are sent by the controller to the instrument, and
< response message >
are sent from the instrument to the controller in
s
< program message > which contains one or more queries. The
instrument will only talk when it has received a valid query message, and
therefore has something to say. The controller should only attempt to
read a response after sending a complete query message, but before
is
sending another < program message
>. The basic rule to remember
that the instrument will only talk when prompted to, and it then expects to
talk before being told to do something else.
Protocol Operation When the instrument is turned on or when it receives a device clear
command, the input buffer and output queue are cleared, and the parser
is reset to the root level of the command tree.
The instrument allows the controller to send multiple queries in one query
message. This is referred to as sending a "compound query." As will be
noted later in this chapter, multiple queries in a query message are
separated by semicolons. The responses to each of the queries in a
compound query will also be separated by semicolons.
Commands are executed in the order they are received. This also applies
to the reception of the group execute trigger (GET) bus command. The
group execute trigger command should not be sent in the middle of a
<
program message >.
Query Error. A query error will be reported if the proper protocol for
reading a query is not followed. This includes the interrupted and
unterminated conditions described below.
will be generated. The parser will reset itself, and the response will be
cleared from the output queue of the instrument without being sent over
the bus.
Syntax This overview is intended to give a quick glance at the syntax defined by
IEEE 488.2. It should allow you to understand many of the things about
Overview the syntax you need to know. This chapter also contains the details of the
IEEE 488.2 defined syntax.
IEEE 488.2 defines the blocks used to build messages which are sent to
the instrument. A whole string of commands can therefore be broken up
into individual components.
1. A semicolon separates
commands from one another. Each < program
message unit serves as a container for one command. The
>
<
program message unit > s are separated by a semicolon.
< NL > with EOIasserted, or EOI being asserted on the last byte of
the message. The recognition of the < program message terminator
>,
or < PMT by the parser serves as a signal for the parser to begin
>,
execution of commands. The < PMT > also affects command tree
traversal (see the Programming and Documentation Conventions
chapter).
4. The first data parameter is separated from the header with one or more
spaces.
< white space >. < white space > is defined to be one or more characters
from the ASCII set of 0 32 decimal, excluding 10 decimal (NL). < white
-
program.
<wh i te spoce
choracter>
<
program message unit >. The < program message unit > is the
container for individual commands within a < program message >.
/ 54120/BH2
<
program message unit separator >. A semicolon separates <
program
message unit > s, or individual commands.
<
command program header > / < query program header >. These
elements serve as the headers of commands or queries. They represent
the action to be taken.
<simp Ie commond
program header>
<compound connmand
progrom header>
<corTmon command
program heoder>
<pcogrom
mnemon i c>
<program <program
mnemon i c> mnemon i c>
<progr om
mnemon i c>
S4120/BL45
Where < upper/lower case alpha > is defined as a single ASCII encoded byte in the range
41 5A, 61 7A (65 90,97 -122 decimal).
- - -
Where < digit > is defined as a single ASCII encoded byte in the range 30 - 39 (48 - 57
decimal).
Where (_) represents an "underscore", a single ASCII-encoded byte with the value 5F (95
decimal).
<compound query
program heoder>
<common query
program heoder>
<progrom
mnemon i c>
Where <
compound query program header > is defined as
<progr am
mnemon i c>
<progr am
mnemon i c>
M120/BL46
<progrom
mnemon i c>
<opt i ono1
di gi ts>
<digi t>
<wh i te spoce>
Suffix Multiplier. The suffix multipliers that the instrument will accept
are shown in table 3-1.
Value Mnemonic
1E18 EX
1E15 PE
1E12 T
1E9 G
1E6 MA
1E3 K
.1E-3 M
1E-6 U
1E-9 N
1E-12 P
1E-15 F
1E-18 A
Suffix Unit. The suffix units that the instrument will accept are shown in
table 3-2.
V Volt
s Second
Where < inserted' > is defined as a single ASCII character with the value 27 (39 decimal).
Where < non-single quote char > is defined as a single ASCII character of any value except
27 (39 decimal).
Where < inserted" > is defined as a single ASCII character with the value 22 (34 decimal).
Where < non-double quote char > is defined as a single ASCII character of any value
except 22 (34 decimal).
digit>
k, <digi t> \ -^-». dota byte>
<8-b i t
data byte>
Where < non-zero digit > is defined as a single ASCII encoded byte in the range 31 - 39 (49
- 57 decimal).
Where < 8-bit byte> is defined as an 8-bit byte in the range 00 -ff (0 - 255 decimal).
<
program data separator >. A comma separates multiple data
parameters of a command from one another.
<wh i te space>
<
program message terminator >. The < program message terminator >
or < PMT > serves as the terminator to a complete < program message >.
When the parser sees a complete < program message > it will begin
execution of the commands within that message. The < PMT > also resets
the parser to the root of the command tree.
X
——»-
\ . /
< response message >. This element serves as a complete response from
the instrument. It is the result of the instrument executing and buffering
the results from a complete < program message
>. The complete
< response message > should be read before sending another <
program
message > to the instrument.
<
response message unit >. This element serves as the container of
individual pieces of a response. Typically a < query message unit > will
generate one < response message unit >, although a < query message
unit > may generate multiple < response message unit > s.
<
response header >. The < response header >, when returned, indicates
what the response data represents.
<response
mnemon i c>
<response <response
mnemon i c> mnemon i c>
54120/BL60
Where <
common response header > is defined as
54120/BL62
Where <uppercase alpha > is defined as a single ASCII encoded byte in the range 41 -
5A
(65-90 decimal).
Where (_) represents an "underscore", a single ASCII encoded byte with the value 5F (95
decimal).
<
response data >. The < response data > element represents the
various types of data which the instrument may return. These types
include: < character response data
>, nrl numeric response data
< >
(integer), < nr3 numeric response data > (exponential), < string response
<response
mnemonic>
Where < ASCII data type > represents any ASCII-cncoded byte except <NL> (OA.10
decimal).
2. The IEEE 488.1 END message serves the dual function for terminating this element as
well as terminating the < RESPONSE MESSAGE >. It is only sent once with the last
byte of the indefinite block data. The NL is presented for consistency with the
< RESPONSE MESSAGE TERMINATOR >.
54120/BL69
<
response message unit separator >. A semicolon delimits the
< response message unit > s if multiple responses are returned,
<
response message terminator >. A response message terminator >
<
Note
If you do not read the < response message terminator > the
HP 54501A will produce an interrupted error on the next message.
The bits in the status byte act as summary bits for the data structures
residing behind them. In the case of queues, the summary bit is set if the
queue is not empty. For registers, the summary bit is set if any enabled bit
in the event register is set. The events are enabled via the corresponding
event enable register. Events captured by an event register remain set
until the register is read or cleared. Registers are read with their
associated commands. The "*CLS" command clears all event registers and
all queues except the output queue. If "*CLS" is sent immediately
following a < program message terminator will also
>, the output queue
be cleared.
N OT
QUEUE
wrr —————
————
\ P
>--fi^}.•—— REXO BY :LTER?
^.,
3 REQUEST CONTROL
OPERATION COtfl.ETE
"I"' r
,ES;@i
)*—[TO"}*—
STANDARD
CEHERAT 101IN
REAO BY ;LE»T ;9YSTEU:DSP? 7 6 | | 1 6
EVENT STATUS REGISTER
^^
READ BY -ESR?
i ,
E
^)
\
"I ), )
i
————^J
]}^
^ ®,)
T
g STANDARD
^
^), 76543216 EVENT STATUS ENABLE
REGrSTER
SET BY •ESE <Wf>
READ BV •ESE?
|
^ )
1'/ )
,
^
.
| .
y i
ESB event status bit Indicates if any of the conditions in the Standard
•
bit is returned during a serial poll. RQS will be set to 0 after being read via
a serial poll (MSS is not reset by -STB?).
PON •
power on. Always 0 in the HP 54501A.
QYE query error. Indicates whether the protocol for queries has been
-
violated.
OPC operation complete. Indicates whether the device has completed all
-
pending operations.
Key Features A few of the most important features of Status Reporting are shown below.
The Trigger Bit. The TRG bit indicates if the device has received a
trigger. The TRG event register will stay set after receiving a trigger until
it is cleared by reading it or using the *CLS command. If your application
needs to detect multiple triggers, the TRG event register must be cleared
after each one.
Status Byte. If the device is requesting service (RQS set), and the
controller serial polls the device, the RQS bit is cleared. The MSS bit
(read with *STB?) will not be cleared by reading it. The status byte is not
cleared when read, except for the RQS bit.
Using Serial Poll. This example will show how to use the service request
by conducting a serial poll of all instruments on the bus. In this example,
assume that there are two instruments on the bus; an oscilloscope at
address 7 and a printer at address 1. These address assumptions are made
throughout this manual, and it is also assumed that we are operating on
Interface Select Code 7.
address 7. This command reads the contents of the HP-IB Status Register
into the variable called Stat. At that time bit 6 of the variable Stat can be
tested to see if it is set (bit 6 1).
=
1. Enable interrupts on the bus. This allows the controller to "see" the
SRQ line.
6. As soon as the instrument with status bit 6 high is found, check the
rest of the status bits to determine what is required.
The SPOLL(707) command causes much more to happen on the bus than
simply reading the register. This command clears the bus, automatically
addresses the talker and listener, sends SPE (serial poll enable) and SPD
(serial poll disable) bus commands, and reads the data. For more
information about serial poll, refer to your controller manual, and
programming language reference manuals.
After the serial poll is completed, the RQS bit in the HP 54501A Status
Byte Register will be reset if it was set. Once a bit in the Status Byte
Register is set, it will remain set until the status is cleared with a *CLS
command, or the instrument is reset. If these bits do not get reset, they
cannot generate another SRQ.
Figure 3-32 shows the Parallel Poll Data Structure. The summary bit is
sent in response to a Parallel Poll. This summary bit is the "ist" (Individual
Status) local message.
UN ••"
TIO
1
iJHHH
7 MSS ESB MAV LTF MSG LCL TRG
STATUS BYTE REGISTER
READ BY «STB?
•*-(&
t
^ ^
,
^ 5,
§ •^——
/-
s
'^ '
) 1
<
0
>—i
~\p,
8
J
M),
1
K), i
1
;
)
PARALLEL POLL
INDIVIDUAL STATUS
7654.3210 M501/BLZ1
SET BY *PRE <NRf>
READ BY «IST?
Configuring Parallel Certain devices, including the HP 54501A, can be remotely programmed
Poll Responses by a controller to respond to a parallel poll. A device which is currently
programmed for a parallel poll responds to the poll by placing its current
status on one of the bus data lines. The response and the data-bit number
can be programmed by the PPC (Parallel Poll Configure) statement.
Multiple listeners cannot be specified in this statement. If more than one
device is to respond on a single bit, each device must be configured with a
Disabling Parallel Poll The PPU (Parallel Poll Unconfigure) statement gives the controller the
Responses capability of disabling the parallel poll response of one or more devices on
the bus.
This statement disables all devices on interface select code eight from
responding to a parallel poll:
PPOLL UNCONFIGURE 8
HP-IB Commands The following paragraphs describe actual HP-IB command which can be
used to perform the functions of the Basic commands shown in the
previous examples.
Introduction This section covers conventions which are used in programming the
instrument, as well as conventions used in the remainder of this manual.
This chapter contains a detailed description of the command tree and
command tree traversal. For more information on command syntax refer
to the chapter "Message Communication and System Functions."
Truncation The truncation rule for the mnemonics used in headers and alpha
Rules arguments is:
The fourth character is a vowel, then the mnemonic is the first three
characters of the keyword.
This rule will not be used if the length of the keyword is exactly four
characters.
Longfonn Shortform
RANGE RANG
PATTERN PATT
TIME TIME
DELAY DEL
*CLS AUT oscoIe System: ACQuire: CAL ibrote: CHANneKN>: DISPlay: FUNCtion<
*ESE BEE Per
•ESR BLA Nk DSP COMPIete TNUL 1 COUP 1 i ng COLu mn ADD
DIG ITize ERRor COUNt ECL CONN ect INVert
*IDN DATA
-1ST EOI HEADer POINts HFRe ject MULTiply
ERA ep KEY TYPE OFFSet FORM ot OFFSet
*LRN GRAT i cu Ie
-OPC 1F R LONGform PROBe ONLY
<OPT LTER SETup RANG e INVe rse RANGE
«
ppr
'• MENU TTL LINE SUBTract
nr\L
»RCL MERGe WSK VERSUS
PERS i stence
*RST PRINt
*SAV RUN KUW
*SRE SER i a 1 SCRe en
•STB STOP auUKce
«TRG STORe ^^"S
ILX 1
•TST
<WAI VTFW TMARker
•1[- VMARker
Root Leve 1
Common
Comn onds
Commands
(IEEE 488.2) 54501S30
VAVerage
VBASe
VDELta
VFIFty
VMAX
VMIN
VPP
VRELoti ve
VRMS
VSTAr t
VSTOp
VTIMe
VTOP
Command Types The commands for this instrument can be placed into three types. The
three types are:
Example: »RST.
Root Level commands. The root level commands reside at the root of the
command tree. These commands are always parsable if they occur at the
beginning of a program message, or are preceded by a colon.
Example: :AUTOSCALE
Examples The OUTPUT statements are written using HP BASIC 4.0 on a HP 9000
Series 200/300 Controller. The quoted string is placed on the bus,
followed by a carriage return and linefeed (CRLF).
or
Comments: In the first line of example 2, the "subsystem selector" is implied for the
DELAY command in the compound command.
Comments: The leading colon before CHAN1 tells the parser to go back to the root of
the command tree. The parser can then see the CHAN1:OFFSET
command.
Response IEEE 488.2 defines two times at which query responses may be buffered.
The first is when the query is parsed by the instrument, the second is when
Generation
the controller addresses the instrument to talk so that it may read the
response. The HP 54501A will buffer responses to a query when the query
is parsed.
{ } When several items are enclosed by braces, one, and only one of these
elements must be selected.
< NL > :: =
Newline or Linefeed (ASCII decimal 10).
Syntax At the beginning of each of the following chapters are syntax diagrams
showing the proper syntax for each command. All characters contained in
Diagrams a circle or oblong are literals, and must be entered exactly as shown.
Words and phrases contained in rectangles are names of items used with
the command and are described in the accompanying text of each
command. Each line can only be entered from one direction as indicated
by the arrow on the entry line. Any combination of commands and
arguments that can be generated by following the lines in the proper
direction is syntactically correct. An argument is optional if there is a
path around it. Where there is a rectangle which contains the word
"space" a white space character must be entered. White space is optional
in many other places.
Common The common commands are the commands defined by IEEE 488.2.
Commands These commands control some functions that are common to all IEEE
488.2 instruments. Sending the common commands do not take the
instrument out of a selected subsystem.
ROOt L6Vel The root level commands control many of the basic functions of the
Commands instrument.
Subsystem There are several subsystems in this instrument. Only one subsystem may
Commands be selected at any given time. At power on, the command parser is set to
the root of the command tree, therefore no subsystem is selected.
Note
System -
controls some basic functions of the oscilloscope.
Acquire -
sets the parameters for acquiring and storing data.
Channel -
controls all Y-axis oscilloscope functions.
Function -
controls the waveform math functions of the oscilloscope.
Hardcopy -
controls the parameters used during the printing of
waveforms.
Measure -
selects the automatic measurements to be made.
Timebase -
controls all X-axis oscilloscope functions.
Trigger -
controls the trigger modes and parameters for each trigger
mode.
Note
Command Set The command set for the HP 54501A is divided into 13 separate groups:
Common commands, root level commands and 11 sets of subsystem
Organization
commands. Each of the 13 groups of commands is described in the
following chapters. Each of the chapters contain a brief description of the
subsystem, a set of syntax diagrams for those commands, and finally, the
commands for that subsystem in alphabetic order. The commands are
shown in the longform and shortform using upper and lowercase letters.
As an example, AUToscale indicates that the longform of the command is
AUTOSCALE and the shortform of the command is AUT. Each
command listing contains a description of the command and its
arguments, the command syntax, and a programming example.
Table 4-2 lists the commands for the HP 54501A in alphabetical order
with their corresponding subsystem or command type.
The common commands are defined by the IEEE 488.2 standard. These
commands will be common to all instruments that comply with this
standard. They control some of the basic instrument functions, such as
instrument identification and reset, reading the learn (instrument setup)
string, how status is read and cleared, and how commands and queries are
received and processed by the instrument.
Note
mask_value = An integer, 0 through 255. This number is the sum of all the bits in the
mask corresponding to conditions that are enabled. Refer to the *IST? query.
recall_buffer_number =
An integer, 0 through 4.
save_buffer_number =
An integer, 1 through 4.
The *CLS (clear status) common command clears the status data
structures, including the device defined error queue. This command also
clears the Request-for-OPC flag.
Note
Refer to chapter 3 for a complete discussion of status.
The *ESE command sets the Standard Event Status Enable Register bits.
The Standard Event Status Enable Register contains a mask value for the
bits to be enabled in the Standard Event Status Register. A one in the
Standard Event Status Enable Register will enable the corresponding bit
in the Standard Event Status Register, a zero will disable the bit. Refer to
table 5-1 for the information about the Standard Event Status Enable
Register bits, bit weights, and what each bit masks.
Where:
In this example, the *ESE 64 command will enable URQ (user request)
bit 6 of the Standard Event Status Enable Register. Therefore, when a
front panel key is pressed, the ESB (event summary bit) in the Status Byte
Register will also be set.
Where:
Note
Refer to chapter 3 for a complete discussion of status.
The *ESR query returns the contents of the Standard Event Status
Register.
Note
Reading the register clears the Standard Event Status Register.
Where:
Table 5-2 shows each bit in the Event Status Register and its bit weight.
When you read the Event Status Register, the value returned is the total
bit weights of all bits that are high at the time you read the byte.
7 128 PON 1 =
an OFF to ON transition has occurred
6 64 URQ 0 =
no front-panel key has been pressed
1 =
front-panel key has been pressed
5 32 CME 0 =
no command errors
1 = a command error has been detected
4 16 EXE 0 =
no execution error
1 =
an execution error has been detected
3 8 DDE 0 =
no device dependent errors
1 = a device dependent error has been detected
2 4 QYE 0 =
no query errors
1 = a query error has been detected
1 2 RQC 0 =
request control NOT used always 0
- -
0 1 OPC 0 =
operation is not complete
1 =
operation is complete
0 =
False Low
=
1 =
True =High
The *IDN query allows the instrument to identify itself. It returns the
string:
>,
Where:
< MMDD> :: = the software revision of this instrument. The first two parameters
represent the month and the second two parameters represent the day of the month.
An *IDN query must be the last query in a message. Any queries after the
The *IST query allows the instrument to identify itself during a parallel
poll by allowing the controller to read the current state of the IEEE 488.1
defined "ist" local message in the instrument. The response to this query is
dependent upon the current status of the instrument
Where:
Where:
The *LRN query returns a program message that contains the current
state of the instrument.
Note
Where:
The *OPC query places an ASCII "1" in the output queue when all
pending device operations have finished.
The *OPT query is used to report the options installed in the instrument.
This query will always return a zero because the HP 54501A does not have
any possible options to report.
The *PRE command sets the parallel poll register enable bits.
The Paralled Poll Enable Register contains a mask value for the bits to be
enabled that can produce an "ist" during a parallel poll.
Where:
Note
Where:
The *RCL command restores the state of the instrument from the
specified save/recall register. An instrument setup must have been stored
previously in the specified register. Registers 1 through 4 are general
purpose and can be used with the *SAV command. Register 0 is special
because it recalls the state that existed before the last AUTOSCALE,
RECALL, ECL, or TTL operation.
Note
Where:
Timebase Menu
reference cntr
Time/Div 100 \is
delay O.OOs
timebase window off
Channel Menu
Channel 1 on
Channel 2,3, and 4 off
Volts/Div 500 mV
offset 0.00
coupling dc
probe attenuation 1.000:1
Trigger Menu
Mode edge
triggering auto
source Channel 1
level 0.0 V
slope positive
holdoff 40ns
Display Menu
Mode norm
persistence minimum
off/frame/axes/grid axes
connect dots off
# of screens 1
At/AV
At markers off
AV markers off
chan/mem chani
function sensitivity 1.00 V/div
function offset 0.0V
Utility Menu
clicker on
The *SAV command stores the current state of the device in a save
register. The data parameter is the number of the save register where the
data will be saved. Registers 1 through 4 are valid for this command.
Where;
The *SRE command sets the Service Request Enable Register bits. The
Service Request Enable Register contains a mask value for the bits to be
enabled in the Status Byte Register. A one in the Service Request Enable
Register will enable the corresponding bit in the Status Byte Register, a
zero will disable the bit. Refer to table 5-5 for the bits in the Service
Request Enable Register and what they mask.
Where:
Note
This example enables a service request to be generated when a
Where:
Message Available
3 8 LTF -
Limit Test Fail
2 4 MSG Message -
1 2 LCL Local -
0 1 TRG Trigger -
The *STB query returns the current value of the instrument's status byte.
The MSS (Master Summary Status) bit is reported on bit 6 instead of the
RQS (request service) bit. The MSS indicates whether or not the device
has at least one reason for requesting service. Refer to table 5-6 for the
meaning of the bits in the status byte.
Note
Where:
7 128 0 =
not used
...
6 64 ROS/MSS 0 =
instrument has no reason for service
1 =
instrument is requesting service
5 32 ESB 0 =
no event status conditions have occurred
1 =
an enabled event status condition has occurred
4 16 MAV 0 =
no output messages are ready
1 =
an output message is ready
3 8 LTP 0= no limit test has failed
1 =
limit test has failed
2 4 MSG 0 =
no message has been displayed
1 =
message has been displayed
1 2 LCL 0 = a remote-to-local transition has not occurred
1 = a remote-to-local transition has occurred
0 1 TRG 0 =
no trigger has occurred
1 = a trigger has occurred
0 = False =
Low
1 =
True =High
The *TRG command has the same effect as the Group Execute Trigger
(GET). That effect is as if the RUN command had been sent.
The *TST query causes the instrument to perform a self-test. The result of
the test will be placed in the output queue.
Note
Prior to sending this command all front panel inputs must be
disconnected.
A 0 indicates the test passed and a non-zero value indicates the test failed.
Where:
Where:
The '"'WAI command has no function in the HP 54501A, but is parsed for
compatibility with other instruments.
Introduction Root Level commands control many of the basic operations of the
oscilloscope. These commands will always be recognized by the parser if
they are prefixed with a colon, regardless of current command tree
position. After executing a root level command, the parser is positioned
at the root of the command tree. Figure 6-1 lists the root level commands
syntax diagram.
.PRINt?.
/^M^,
SERiol
h-—{s7oP)—
,WMEMory)—»^ wmemory_num
TER?
''VIEW) CHANnel)
,
chonneI_num
^FUNCtion '
funct i on_num
^WMEMory^ wmemory_num
[pMEMorv pmemory_num
channel_num =
an integer 1,2,3, or 4.
function_num =
an integer 1 or 2.
wmemory_num =
an integer 1 through 4.
pmemory_num =
an integer 1 or 2.
AUToscale command
markers;
all measurements;
functions;
windows;
memories; and
connect the dots.
If input signals are present on more than one vertical input, the sweep will
be triggered on channel 1 if a signal is present on that channel. If a signal
is not present on channel 1 then the oscilloscope will be triggered on
BEEPer command/query
The BEEPER command sets the beeper mode, which controls the sound
of the instrument. The beeper can be set to on or off. If the BEEPER
command is sent without an argument the beeper will be sounded without
effecting the current mode of the instrument.
The BEEPER query returns the current state of the beeper mode.
BLANk command
The BLANK command causes the instrument to turn off (stop displaying)
the specified channel, function, pixel memory, or waveform memory. To
blank a channel display use the command :BLANK
CHANNEL{ 1121314}. To blank a waveform memory display use
:BLANK WMEMORY{ 1121314}, to blank a pixel memory display use
the command :BLANK PMEMORY{ 112}, and to blank a function use
the command :BLANK FUNCTION{ 112}.
Where:
DIGitize command
Note
Sending the DIGITIZE command will turn off any unused
channels.
The speed of the total digitize operations may be improved if two or more
DIGITIZE commands are sent without changing other parameters.
Where:
The EOI command specifies whether or not the last byte of a reply from
the HP 54501A is to be sent with the EOI bus control line set true or not
true. The last byte of a response is usually a "new line" character, ASCII
decimal 10 (LF).
Note
ERASe command
Erasing pixel memory 0 is a special case which is the same as pressing the
CLEAR DISPLAY front-panel key. If the scope is running and being
triggered and ERASE PMEMORYO is executed, the instrument will
momentarily stop acquiring data, clear the CRT and continue with data
acquisition.
Note
Once you erase pixel memory lor 2 there is no way to retrieve the
original information.
The LER query allows the LCL (Local) Event Register to be read. After
the LCL Event Register is read, it is cleared. A one indicates a remote to
local transition has taken place due to the front-panel LOCAL key being
pressed. A zero indicates a remote to local transition has not taken place.
Once this bit is set it can only be cleared by reading the Event Register or
sending a *CLS command.
A Service Request (SRQ) can only be generated when the bit transitions
0
from to 1, therefore the bit must be cleared each time you would like a
new Service Request to be generated.
The LTER query allows the Limit Test Event Register to be read. The
Limit Test Event Register contains the Limit Test Fail bit. This bit is set
when the limit test is active and a limit test has failed. After the Limit Test
Event Register is read, it is cleared.
A Service Request (SRQ) can only be generated when the bit transitions
from to 1, therefore the bit must be cleared each time you would like a
0
new Service Request to be generated.
MENU command/query
The MENU command selects one of the 10 menus on the front panel.
Where:
Where:
MERGe command
The MERGE command stores the contents of the active display into the
specified pixel memory. The pixel memories are PMEMORY 1 or 2.
This command has a similar function as the "add to memory" key in the
pixel menu of the Waveform Save menu.
PRINt query
The output includes the displayed waveforms, the graticule, time and
voltage markers, trigger setup, and measurement results.
RUN command
The RUN command acquires data for the active waveform display. The
data is acquired in the manner defined by the timebase mode.
This serial number is part of the string returned for the *IDN? query.
Note
A serial number corresponding to the serial number of the board
in the HP 54501A is loaded at the factory. Do not use this
command unless you need to serialize the instrument for a
different application.
Where:
STOP command
The STOP command causes the instrument to stop acquiring data for the
active display.
STORe command
where:
The TER query allows the Trigger Event Register to be read. When the
Trigger Event Register is read it is cleared. A one indicates a trigger has
occurred. A zero indicates a trigger has not occurred.
If a trigger event is not found and the sweep is auto-triggering this bit will
not be set.
A Service Request (SRQ) can only be generated when the bit transitions
from 0 to 1, therefore the bit must be cleared each time you would like a
new Service Request to be generated.
VIEW command
The BLANK command causes the instrument to turn off (stop displaying)
a specified channel, function, pixel memory, or waveform memory.
Introduction SYSTEM subsystem commands control the way in which query responses
are formatted, simulate front panel key presses, and enable reading and
writing to the advisory line of the instrument.
DSP command/query
The DSP query returns the last string written to the advisory line. This
may be a string written with a DSP command or an internally generated
advisory.
The string is actually read from the message queue. The message queue is
cleared when it is read. Therefore the displayed message can only be read
once over the bus.
Where:
< string > :: = string response data containing the last information written on the
advisory line
ERRor query
The :SYSTEM:ERROR query outputs the next error number in the error
queue over the HP-IB. This instrument has an error queue that is 30
errors deep and operates on a first-in, first-out basis. Successively sending
the query, :SYSTEM:ERROR?, returns the error numbers in the order
that they occurred until the queue is empty. Any further queries then
return zeros until another error occurs.
When the NUMBER parameter is used in the query only the numeric
error code is output. When the STRING parameter is used the error
number is output followed by a comma and a quoted string. If no
parameter is specified then the numeric error code is output. No
parameter specified is the same as specifying NUMBER.
Where:
HEADer command/query
Where:
1::= ON
0:: = OFF
Note
Headers should be turned off when returning values to numeric
variables.
KEY command/query
The KEY query returns the key code for the last key pressed from the
front panel or the last simulated key press over the HP-IB. Key codes
range from 1 to 44, zero represents no key and will be returned after
power up.
Where:
<keycode> ::= 1 to 44
Where:
Menus TIMEBASE
- l "-"(minus) 24
Menus CHAN
- 2 "." (decimal pt.) 25
Menus TRIG
- 3 0 26
Menus DISPLAY
- 4 1 27
Menus At AV
- 5 2 28
Menus WFORM MATH
-
6 3 29
Menus WFORM SAVE
- 7 4 30
Menus- DEFINE MEAS 8 5 31
Menus UTIL
- 9 6 32
Function Select 1 10 7 33
Function Select 2 11 8 34
Function Select 3 12 9 35
Function Select 4 13 RUN/STOP 36
Function Select 5 14 SINGLE 37
Function Select 6 15 CLEAR DISPLAY 38
Function Select 7 16 LOCAL 39
FINE 17 HARDCOPY 40
sV 18 AUTO-SCALE 41
mmV 19 RECALL 42
p,s 20 SAVE 43
ns 21 SHOW 44
CLEAR 22 no key 0
Shift (blue key) 23
The function select keys are at the right of the CRT and are numbered
from the top (10) to the bottom (16).
LONGform command/query
Note
Where:
1 ::= ON
0::= OFF
SETup command/query
The SETUP query outputs the current HP 54501A setup in the form of a
learn string to the controller. The SETUP query operates the same as the
*LRN? query.
The learn string is sent and received as a binary block of data. The format
for the data transmission is the # format defined in the IEEE 488.2
specification.
Where:
Where:
Note
The logical order for this instruction is to send the query first
followed by the command at a time of your choosing. The query
causes the learn string to be sent to the controller and the
command causes the learn string to be returned to the
HP 54501A.
Note
The on-screen time is divided into a specific number of
horizontal time points as defined by the ^4CQUIRE:POINTS
command. Each of these increments in time is referred to as a
time bucket with each time bucket having a fixed time associated
with it.
The ACQUIRE subsystem is also the only HP-IB control for two display
parameters: Display Mode and Number of Averages. There is a coupling
between the front panel and the ACQUIRE subsystem parameters. This
means that when the HP-IB parameters for ACQUIRE TYPE or
COUNT are changed, the front panel will change. Also, when the front
panel parameters are changed, the HP-IB parameters will change.
To activate the averaging mode from the front panel, select the Display
menu, then select Average. Changing the number of averages changes the
COUNT value.
A count value can be set in the envelope mode. This value determines the
number of values to be used, at each time point, when constructing the
envelope. The count value cannot be set from the front panel.
To activate the Envelope mode from the front panel, select the Display
menu, then select the Envelope mode.
COMPIete command/query
The range for the COMPLETE command is 0 to 100 and indicates the
percentage of time buckets that must be "full" before the acquisition is
considered complete. If the complete value is set to 100%, all time buckets
must contain data for the acquisition to be considered complete. If the
complete value is set to 0 then one acquisition cycle will take place.
The COMPLETE query returns the completion criteria for the currently
selected mode.
Where:
Where:
COUNt command/query
When the acquisition type is set to AVERAGE the count can range from
1 to 2048. Any value can be sent, however the value will be rounded to the
nearest power of 2.
When the acquisition type is set to ENVELOPE the count can be any
value between 1 and 2048.
Where:
Where:
POINts command/query
Any value between 32 and 1024 can be sent to the instrument. If a value is
sent that is not one of the legal values it is rounded to the nearest power of
2. If a number smaller than 31 or greater than 1024 is sent an error is
produced.
Note
Always query the Waveform Subsystem Points value to
determine the actual number of time buckets acquired.
Where:
<
points_arg >:: = 32 to 1024 (see above for legal values)
Where:
<
points_arg > :: = 32 -1024 (see above for legal values)
TYPE command/query
Where:
Note
The time null is set in the Probe Cal menu of the Utility menus.
For more information refer to the HP 54501A Front-Panel
Reference Manual.
.TNULI
r
fTNULI
valuel =
channel 1 to channel 2 skew
value2 =
channel 1 to channel 3 skew
value3 =
channel 1 to channel 4 skew
TNULI command/query
The TNULL query tells the instrument to output the tune null values to
the controller.
Where:
Where:
<null_value1 > :: =
channel 1 to channel 2 skew (exponential -
NR3 format)
<null value2> :: =
channel 1 to channel 3 skew (exponential •
NR3 format)
<null_value3> :: =
channel 1 to channel 4 skew (exponential - NR3 format)
The channel displays are toggled on and off with the root level commands
VIEW and BLANK.
4
1,2,3, or
=
channel_number
COUPIing command/query
The COUPLING query returns the current coupling for the specified
channel.
Where:
Where:
ECL command
The :CHANNEL< N > :ECL command sets the vertical range, offset,
channel coupling, and trigger level of the selected channel for optimum
viewing of ECL signals. The offset and trigger level are set to -1.3 volts
and the range is set to 12.8 volts full scale. Channel coupling is set to DC.
Where:
HFReject command/query
Where:
Where:
OFFSet command/query
The :CHANNEL < N > :OFFSET command sets the voltage that is
represented at center screen for the selected channel. The range of legal
values varies with the value set with the RANGE command. If you set the
offset to a value outside the legal range, it will automatically be set to the
nearest legal value.
The OFFSET query returns the current offset value for the selected
channel.
Where:
Where:
PROBe command/query
The PROBE query returns the current probe attenuation factor for the
selected channel.
Where:
Where:
Where:
RANGe command/query
The :CHANNEL < N > :RANGE command defines the full scale vertical
axis of the selected channel. The RANGE for channels 1 and 4 can be set
to any value from 40 mV to 40 V, when using 1:1 probe attenuation. The
RANGE for channels 2 and 3 can be set to any value from 800 mV to
4.0 V, when using 1:1 probe attenuation. If the probe attenuation is
changed, the range value is multiplied by the probe attenuation factor.
The RANGE query returns the current range setting for the specified
channel.
Where:
Where:
TTL command
Where:
Introduction The DISPLAY subsystem is used to control the display of data, voltage
and time markers, text, and graticules.
Note
The command that changes the Display mode is
^4CQUIRE:TYPE. The command that controls the number of
averages is ACQUIRE.-COUNT.
data_spec =
Block data in IEEE 488.2 # format.
mask_arg =
An integer, 0 through 255.
pers_arg
=
An real number 0.1 through 11.
pmemory_num =
An integer, 0 through 3.
=
An integer, 0 through 24.
row_arg
string_arg =
Any quoted string.
COLumn command/query
The COLUMN query returns the column where the next LINE or
STRING will start.
Where:
Where:
CONNect command/query
DATA command/query
Note
The pixel planes are specified by the :DISPLAY:SOURCE
command with PMEMORYO through PMEMORY3.
Where:
Returned Format: [:DISPIay;DATA] #800016576< 16576 bytes of binary data> < NL>
This example transfers data from the active display memory to the
controller, then transfers the data back to pixel memory 1 in the
HP 54501A.
FORMat command/query
GRATicule command/query
Where:
INVerse command/query
LINE command
If the text string is longer than the available space on the current line, the
text will wrap to the start of the same line. In any case, the ROW value is
incremented by one and the COLUMN value remains the same. The next
:DISPLAY:LINE command will write on the next line of the display
starting at the same column as the previous text. After writing line 24, the
last line in the display area, ROW is reset to 0.
Where:
MASK command/query
The mask parameter is an 8-bit integer in which each bit controls writing
to an area of the screen. A zero inhibits writing to the area represented by
the bit, and a 1 enables writing to that area.
Where:
The previous example enables writing to the Menu Area (bit 6), the Status
Line (bit 1), and the Advisory Area (bit 0).
Where:
7 128 unused
6 64 Menu Area
5 32 Timebase Information
4 16 Measurement Result Area
3 8 Graticule Area
2 4 unused
1 2 Status Line
0 1 Advisory Area
PERSistence command/query
When the key word SINGLE is sent as the argument for this command,
the persistence value is set to minimum.
Where:
ROW command/query
The :DISPLAY:ROW command specifies the starting row on the CRT for
subsequent STRING and LINE commands. The ROW number remains
constant until another ROW command is received, or it is incremented by
the LINE command. The ROW value is 0 through 24.
Where:
Where:
SCReen command/query
The SCREEN query returns the current setting of this function. The
returned status is indicated by using a 1 for on and a 0 for off.
The command :DISPLAY:TEXT BLANK removes only the text from the
display.
SOURce command/query
Where:
PMEMoryO :: =
active display
PMEMoryl :: = pixel memory 1
PMEMory2 :: = pixel memory 2
PMEMory3 :: = half-bright portion of the display (graticule, markers, and displayed
memories)
This example transfers data from the active display to the controller and
then back to pixel memory 1 in the HP 54501A.
STRing command
TEXT command
The :DISPLAY:TEXT command allows you to blank the user text area on
the CRT. All text on the entire screen will be blanked. This command
has only one parameter.
TMARker command/query
Note
VMARker command/query
Note
It isrecommended practice to turn the Vmarkers on before
a
If a
channel or memory that is not on is specified as an operand, then that
channel is enabled.
See figure 12-1 for a syntax diagram of the Function subsystem commands.
function_num = 1 or 2
range_arg
= full screen voltage
4
wmemory_num =
1,2,3, or
ADD command
The :FUNCTION < N > :ADD command algebraically sums the two
defined operands.
Where:
1 or2
<N> ::=
INVert command
Where:
MULTiply command
Where:
OFFSet command/query
The :FUNCTION < N > :OFFSET command sets the voltage represented,
at center screen for the selected function. The maximum value of offset is
+/- volts full screen.
The OFFSET query returns the current offset value for the selected
function.
Where:
Where:
Where:
1
<N> ::= or2
< offset > :: =
offset value (see above) (exponential -
NR3 format)
ONLY command
The :FUNCTION < N > :ONLY command is just another copy of the
operand. The ONLY command is useful for scaling channels and
memories with the :FUNCTION < N > :RANGE and
:FUNCTION < N > :OFFSET commands.
Where:
RANGe command/query
The :FUNCTION < N > :RANGE command defines the full scale vertical
axis of the selected function.
The RANGE query returns the current range setting for the specified
function.
Where:
Where:
Where:
1
<N> ::= or2
< range > ::= current range setting (exponential -
NR3 format)
SUBTract command
Where:
1 or2
<N> ::=
<operand> ;:= {CHANnell | CHANnel2 | CHANnel3 | CHANneM | WMEMoryl |
WMEMory2 | WMEMory3 | WMEMory4}
VERSUS command
The X axis range and offset is always equal to that of the second operand.
It can only be changed by changing the vertical settings of the second
operand. This will also change the Y axis vertical sensitivity and offset.
Where:
1 or 2
<N> ::=
To actually make the hardcopy print, refer to the root level command
:PRINT for the sequence of bus commands that actually get the data to
the printer.
Refer to figure 13-1 for the syntax diagram of the Hardcopy subsystem
commands.
V^
LENGth command/query
PAGE command/query
The PAGE query returns the current state of the page command.
Measurement To makea measurement, the portion of the waveform required for that
must be displayed.
• For a pulse width measurement, the entire pulse must be displayed.
• For a risetime measurement, the leading (positive-going) edge of the
waveform must be displayed;
• For a falltime measurement, the trailing (negative-going) edge of the
waveform must be displayed.
Note
When WINDOW is ON, measurements are ONLY applied to the
windowed portion of the waveform.
In User-Defined the mid threshold is the mid point between the upper
and lower threshold when the lower threshold value is less than the upper
threshold value.
From this information, it can determine the other important voltage values
(10% voltage, 90% voltage, and 50% voltage) for making the
measurements. The 10% and 90% voltage values are used in the risetime
and falltime measurements when standard measurements are selected.
The 50% voltage value is used for measuring frequency, period, pulse
width, and duty cycle with standard measurements selected..
All time values are returned in seconds. Returned time values are
measured with the trigger point (time 0) as the reference. The value
returned for TDELTA? is the time difference between the stop and start
markers.
Refer to figure 14-1 for the syntax diagram of the Measure subsystem
commands.
slope—and—occurrence
sIooe-ond-occur rence
FALLtime
FALLt ime?
——^ FREOuency V
——»{FREOuency^)
'—^('USER ")—————/
—-("MODE?.)—————
—»\W/lDth)————
—^^Nwioth'T)———
—»-(oVERshoo t')——
—»-(oVERshoot?^)—
——(PERiod)————
—»(PERiod7)————
—»^POSTfoi lure)-
'-»(I7o?)——/
—••(POSTfoi lure^}
•I spoce |————»/COARse)——————————————————————————————»•
—»^PRECision^)——I
—t^PRECision?^)-
—»{pREShoot)———
—-(PREShoot?)——
—»{pWIDTh)————
—»/PWIDthT)—————————————————————————————————— —
—»^RESults?)—————————————————————————————————————————————————————»•
—-{^RISelime?^——
5<501S26 ^
^-^{'VOLTs')———/
—-CUNITS?)—————————————————————————————————————————————————————————
—^{'UPPer?')—————————————————————————————————————————————————————————»•
—»{'VAMP I i tude')——————————————————————————————————————————————————————»•
—»-{VAMPI i tude?^)—————————————————————————————————————————————————————»•
—•/VAVerage)————————————————————————————————————————————————————»•
—••(vAVerage?^)———————————————————————————————————————————————»
—»^VBASe')——————————————————————————————————————————————————————»•
—B^VBASe?)—————————————————————————————————————————————————————————»•
—»^VDELto7)————————————————————————————————————————————————————»•
—»^VFIFty )————————————————————————————————————————————————————————»•
*
54501S26
——»-{vRELoti ve?V
edge_number =
An integer, 1 through 127.
func_num =
An integer, 1 or 2.
level =
MIDDle, UPPer, or LOWer.
lowerjimit =
Lower limit for compare.
lowlimit_value =
Lower threshold value in percent or volts.
measurement =
Name of measurement to be compared.
=
An integer, 1 or 2.
pmem_num
slope_and_occurrence =
An integer, -127 to 127 (excluding 0) specifying
a displayed edge.
tstart_arg =
Time in seconds from trigger.
tstop_arg =
Time in seconds from trigger.
upperjimit =
Upper limit for compare.
upperlimit_value =
Upper threshold value in percent or volts.
=
An integer, 0 to 100.
vrel_arg
=
An integer, 1 through 4.
wmem_num
ALL query
Returned Format: [:MEASure:FREQuency] < result >;[PERiod] < result >;[PWlDth] < result >;[NWIDth]
< result >;[RISetime] < result >;[FALLtime] < result >;[VAMPIitude] < result >;[VPP]
Where:
Note
COMPare command/query
This command does not start the test, but only sets the test parameters.
Command Syntax: :MEASure:COMPare < measurement >, < upperjimit >, < lowerjimit >
Where:
Note
When setting the limits for Frequency the suffix "HZ" can be used.
Where:
Note
The only way to see if a limit test failure has occurred over the
bus is by checking if bit 3 of the status byte is set to a 1.
If DELTA is specified:
If START is specified:
If STOP is specified:
Where:
<time > :: =
delta time, start time or stop time
< voltage > :: = delta voltage, VMarker 1 voltage or VMarker 2 voltage
DEFine command/query
measurement.
Where:
Where:
This example will set the parameters for a time measurement from the
first positive edge at the upper threshold level to the second negative edge
at the middle threshold. If one source is specifed, both parameters apply
to that signal. If two sources are specified the measurement is from the
first positive edge on source 1 to the second negative edge on source 2.
Where:
<
measurement_spec > ::= {DELay <polarity>, <edge_num>, <level>,
<polarity>, <edge_num>, <level> | PWlDth {MIDDIe | UPPer | LOWer} [ NWIDth
{MIDDIe | UPPer | LOWer}}
Where:
DELay command/query
Where:
<delay_value > :: =
time value in seconds (exponential -
NR3 format)
DESTination command/query
violation is found.
Note
If WMEMORIES are used as the destination, the source must be
set up separately using the WAVEFORM:SOURCE command.
DUTycycle command/query
The DUTYCYCLE query measures and outputs the duty cycle of the
signal specified by the SOURCE command. The signal must be displayed
for the measurement to be made. The value returned for duty cycle is the
ratio of the positive pulse width to period.
The positive pulse width and the period of the specified signal are
measured, then the duty cycle is calculated.
Where:
ESTArt command/query
Note
The short form of this command does not follow the defined
convention. The short form "EST" is the same for ESTART and
ESTOP, so be careful not to send this form for the ESTART
command. Sending "EST' will produce an error.
Where:
<edge > :: =
-127 to 127 excluding 0 (if a positive value is sent the + sign may be
omitted or a space may be used)
Where:
<edge> :: =
edge number (integer - NR1 format)
ESTOp command/query
Note
The short form of this command does not follow the defined
convention. The short form "EST' is the same for ESTART and
ESTOP, so be careful not to send this form for the ESTOP
command. Sending "EST' will produce an error.
Where:
<edge > :: =
-127 to 127 excluding 0 (if a positive value is sent the + sign may be
omitted or a space may be used)
Where:
FALLtime command/query
The FALLTIME query measures and outputs the fall time of the first
displayed falling (negative-going) edge. For best measurement accuracy
set the sweep speed as fast as possible while leaving the falling edge of the
waveform on the display. The falltime is determined by measuring the
time at the upper threshold of the falling edge then measuring the time at
the lower threshold of the falling edge and calculating the falltime with the
formula:
fall time =
time at lower threshold point -
time at upper threshold point
Where:
< value > :: time in seconds between lower threshold and upper threshold voltage
=
FREQuency command/query
The FREQUENCY query measures and outputs the frequency of the first
complete cycle on screen using the 50% levels when Standard
measurements are selected and the mid threshold value when User
Defined measurements are selected.
Where:
LIMittest command
The LTF (limit test failure) bit of the status byte will be set when a failure
is found.
LOWer command/query
Note
The LOWER query returns the current setting of the lower measurement
threshold.
Where:
Where:
MODE command/query
NWIDth command/query
The NWIDTH query measures and outputs the width of the first negative
pulse on screen using the 50% levels with Standard measurements
selected.
Where:
OVERshoot command/query
else
overshoot = (Vbase •
Vmin)/Vamplitude
Where:
PERiod command/query
The PERIOD query measures and outputs the period of the first
complete cycle on screen. The period is measured at the 50% point when
Standard measurements are selected and at the mid threshold voltage
level of the waveform when User-Defined measurements are selected.
Where:
POSTfailure command/query
PRECision command/query
PREShoot command/query
else
preshoot =
(Vmax Vtop)/Vamplitude
•
Where:
PWIDth command/query
The PWIDTH query measures and outputs the width of the first displayed
positive pulse. Pulse width is measured at the 50% voltage level with
Standard measurements selected and at the mid level threshold value with
User-Defined measurements selected. The algorithm for this
measurement is:
Where:
RESults query
are returned.
Where:
RISetime command/query
The RISETIME query measures and outputs the rise time of the first
displayed rising (positive-going) edge. For best measurement accuracy
set the sweep speed as fast as possible while leaving the leading edge of
the waveform on the display. The rise time is determined by measuring
the time at the lower threshold of the rising edge then the time at the
upper threshold of the rising edge and calculating the rise time with the
formula:
rise time =
(time at upper threshold point -
time at lower threshold
point)
Where:
SCRatch command
SOURce command/query
The SOURCE query returns the current source selection. If the specified
sources are different both will be returned, otherwise one source will be
returned.
Where:
Where:
STATistics command/query
Note
"Average" will be replaced by "pass ratio" when limit test is
selected and "after failure" is set to continue. Pass ratio lists the
percentage of times a certain test passed.
TDELta query
Tdelta =
Tstop Tstart
•
where Tstart is the time at the start marker and Tstop is the time at the
stop marker
Where:
TMAX query
TMIN query
TSTArt command/query
Note
The short form of this command does not follow the defined
convention. The short form "TST'is the same for TSTART and
TSTOP, so be careful not to send this form for the TSTART
command. Sending "TST' will produce an error.
Where:
Where:
TSTOp command/query
Note
The short form of this command does not follow the defined
convention. The short form "TST is the same for TSTART and
TSTOP, so be careful not to send this form for the TSTOP
command. Sending "TST' will produce an error.
Where:
Where:
TVOLt query
Where:
< voltage > :: voltage level the waveform must cross. This can be
= a positive or
negative voltage.
Where:
<time > :: =
time in seconds of specified voltage crossing (exponential -
NR3 format)
UNITS command/query
UPPer command/query
Note
The UPPER query returns the value of the upper measurement threshold.
Where:
Where:
NR3 format)
VAMPIitude command/query
The VAMPLITUDE query returns the difference between the top and
base voltage of the displayed signal. The VAMPLITUDE value will not
normally be the same as the Vp-p value if the input signal is a pulse.
Vamplitude =
Vtop Vbase
-
Where:
VAVerage command/query
Where:
<avg_value > :: =
calculated average voltage (exponential -
NR3 format)
VBASe command/query
The VBASE query measures and outputs the voltage value at the base of
the waveform. The base voltage of a pulse is normally not the same as the
TninimHm value.
Where:
< value > :: = voltage at base of selected waveform (exponential - NR3 format)
VDELta query
VDELTA =
Voltage at VMarker 2 - Voltage at VMarker 1
Where:
VFIFty command
If only one source has been specified with the source command, the
VFIFty command sets both voltage markers (VMarker 1 and VMarker 2)
to the 50% voltage level on that source.
VMAX command/query
The VMAX query measures and outputs the absolute maximum voltage
present on the selected waveform.
Where:
VMIN command/query
The VMIN query measures and outputs the absolute minimym voltage
present on the selected waveform.
Where:
VPP command/query
The VPP query measures the maximum and minimum voltages for the
selected source, then calculates the peak-to-peak voltage and outputs that
value. The peak-to-peak voltage (Vpp) is calculated with the formula:
Vpp =
Vmax Vmin -
where Vmax and Vmin are the maximum and minimum voltages present
on the selected source.
Where:
VRELative command/query
As an example, when the following values are sent the markers are moved
to the following percentage values of their current position.
The starting position of the markers must be known for this command to
be meaningful. The markers can be set to a known position on the
selected waveform using the :MEAS:VAMPLITUDE? query.
Note
The VRELATIVE command does not affect the upper and
lower thresholds selected by the UPPER and LOWER
commands.
Where:
Where:
VRMS command/query
The VRMS query measures and outputs the RMS voltage of the selected
waveform. The RMS voltage is computed using the data available on the
display.
Note
This RMS measurement is an AC RMS measurement. This
means that the average value of the waveform is subtracted from
each data point before RMS is computed.
Where:
VSTArt command/query
Note
The short form of this command does not follow the defined
convention. The short form "VST is the same for VSTART and
VSTOP, so be careful not to send this form for the VSTART
command. Sending "VST" will produce an error.
Where:
Where:
<value> :: =
voltage at VMarker 1 (exponential -
NR3 format)
VSTOp command/query
Note
The short form of this command does not follow the defined
convention. The short form "VST" is the same for VSTARTand
VSTOP, so be careful not to send this form for the VSTOP
command. Sending "VST' will produce an error.
Where:
Where:
VTIMe query
Where:
Where:
VTOP command/query
Where:
The TIMEBASE subsystem also contains the commands that control the
Timebase Window mode.
DELay command/query
reference point. The delay reference point is the left edge of the display,
the right edge of the display, or center of the display, and is set with the
:TIMEBASE:REFERENCE command.
Where:
Where:
MODE command/query
If the AUTO mode is selected, the unit will provide a baseline on the
display in the absence of a signal. If a signal is present but the oscilloscope
is not triggered, the display will be unsynchronized but will not be a
baseline.
If the SINGLE mode is selected the screen will be cleared and the
instrument will be stopped. The RUN command will arm the trigger, then
data will be acquired when the trigger is found. To make a single
acquisition a RUN command should be sent.
RANGe command/query
<
range > ::= 20ns to 50s in a 1,2,5 sequence"
Where:
REFerence command/query
WINDOW command/query
Where:
Where:
<wid_delay> :: =
current setting in seconds (exponential - NR3 format)
Where:
Where:
You must be sure that the instrument is in the proper trigger mode for the
command being sent. The instrument can be placed in the trigger mode
from the front panel or over the HP-IB. One method of insuring the
instrument is in the proper trigger mode is to send the
:TRIGGER:MODE command in the same program message as the
parameter to be set. As an example, send:
This will place the instrument in the TV Trigger Mode and set the trigger
level to 200 mV. This is necessary because the LEVEL command is also
valid for the other trigger modes.
The Trigger modes are described on the next few pages prior to the
command syntax. Table 16-1 lists the different TRIGGER subsystem
commands that are available for each trigger mode.
Note
Note
In this mode you must set the trigger source, using the TRIGGER
SOURCE command. This selects the channel that the oscilloscope will
trigger on. The argument for this command is channell through channel4.
The next thing that must be set in this mode is the trigger level. This value
is set using the LEVEL command and can be set for each trigger source.
The trigger level values that are set in this mode are used for all modes
except TV Trigger Mode, or conversely, the LEVELS set in the
PATTERN, STATE, or DELAY modes will set the EDGE LEVELS as
weU.
The trigger level is used in the PATTERN and STATE mode to define
the voltage that determines if the input voltage is a logic high or a logic
low for the logic triggers.
The next field to be set in the Edge Trigger Mode is the actual edge that
will create the trigger. This command is the SLOPE command and can be
set to POSITIVE or NEGATIVE for each of the sources.
The last setting in this mode is the Trigger Holdoff value. This value is
only used for the EDGE mode.
The logic pattern for the Pattern Trigger Mode is set using the PATH and
LOGIC commands. The PATH command specifies which of the four
inputs is selected for the logic pattern. Once the path has been selected,
the pattern can be set using the LOGIC command. The LOGIC
command uses the arguments HIGH, LOW, and DONTCARE to set the
"trigger on" bit pattern.
The next command sets the "when" field on the front panel. This is set
with the CONDITION command. This command is used in several of the
trigger modes, therefore it has parameters that are not valid in this mode.
The valid parameters for the CONDITION command in the Pattern
Trigger Mode are: ENTER, EXIT, GT, LT, and RANGE.
Also, in the Pattern Trigger Mode, you can set the holdoff time using the
TRIGGER:HOLDOFF command.
After the clock source is selected, the correct edge for the clock can be
selected using the TRIGGER:SLOPE command which can be set to
NEGATIVE or POSITIVE.
The next settings (in front panel order) are the delay settings. The
DELAY command is used to set the Time or Count parameter and the
amount of delay. To set the delay to time use the command
TRIGGER:DELAY TIME, < time >, and to set the delay to count use
the command TRIGGER:DELAY EVENT < number_events
>.
Next (on the front panel) is the "trigger on" field. The values within this
field are set with the OCCURRENCE command. To set the number of
occurrences use the command syntax "TRIGGER:OCCURRENCE
3333". To set the source for the number of occurrences use the command
syntax ":TRIGGER:OCCURRENCE:SOURCE CHANNEL2" and to set
the slope of the trigger occurrence use the command syntax
":TRIGGER:OCCURRENCE:SLOPE NEGATIVE".
Once the TV Trigger Mode has been selected the Television Signal
Standard can be selected using the TRIGGER:STANDARD command.
The three parameters for this command are 525,625, and USER. Any of
these modes allow you to select the source of the trigger signal and the
trigger level.
With the standard set to 525 or 625 the commands that can be used are
POLARITY, FIELD, and LINE. The POLARITY command can accept
NEGATIVE and POSITIVE as its parameters and sets the edge for the
trigger. The FIELD command uses 1 and 2 for its parameters which
select the first or second field of the television signal. The LINE
command parameters are different for the two standards, refer to the
command to determine the correct values.
The HOLDOFF value can also be set in the TV trigger mode, as in all
modes.
The QUALIFY command is used to set the "qualify on" field. This
command uses the parameters HIGH and LOW.
The edge defined by the QUALIFY command must occur within the
range of time values that are displayed in the next front panel field. The
TRIGGER:CONDITION RANGE command sets the greater than and
less thantime values. In order to actually generate a trigger the qualified
conditions must be met within the specified time. To set the time values
send "TRIGGER:CONDITION RANGE, < gt_value >, < lt_value >".
The next field "trigger on" is set with the OCCURRENCE command and
OCCURRENCE:SLOPE command. To set the number of occurrences
send the command ":TRIGGER:OCCURRENCE < number >" and to
set the slope for the occurrences send the command
":TRIGGER:OCCURRENCE:SLOPE POSITIVE". The slope command
can also use NEGATIVE as a parameter.
The description for each of the commands will tell you in which modes
that command is valid.
^HOLDoff?_)———————
LINE i
ne—arg
^LINE?
''LOG i c^)
.LOW)
^HIGM'
LOGIC?.
^MODE^ EDGE
, PATTern
STATe^
DELoy^
^(^>
event_arg =
An integer, 1 to 16000000.
gt_arg
= A time value, 20 ns to 160 ms.
range_gt
= A time value, 20 ns to 159.999 ms (value must be less than
range_lt).
time_arg
= A time value, 30 ns to 160 ms.
»>ccur_ar(; =
An integer, 1 to 16000000.
CONDition command/query
Time values entered using this command are rounded to the nearest 10 ns.
In the Pattern Trigger Mode the valid arguments for the CONDITION
command are ENTER, EXIT, GT, LT, RANGE.
These are the same settings that are specified using the front panel "when"
key in the Pattern Trigger Mode.
In the State Trigger Mode the valid parameters for the CONDITION
command are TRUE (is present) and FALSE (is not present).
command that are valid in the Pattern or State Trigger Modes are valid
here.
The CONDITION query returns the currently selected condition, for the
currently selected mode.
Where in TV mode:
<
argument > ::= RANGe,<range_gt>,< range Jt>
Where:
<
rangejt > :: 30 ns to 160 ms (must be greater than range_gt)
=
Where in TV mode:
<
argument > :;= RANGe, <range_gt>,< rangejt >
Where:
DELay command/query
Where:
<time_value > :: =
time of delay from 30 ns to 160 ms
1 to 16000000
<
event_value >
::= number of events from
Returned Format: [:TRIGger: DELay] {TIME, < time_value > | EVENt, <
event_value > } < NL >
Where:
<time_value > :: =
time of delay from 30 ns to 160 ms
1 to 16000000
< event_value >
::= number of events from
DELay:SLOPe command/query
DELay:SOURce command/query
The DELAY:SOURCE query returns the source of the delay in the Delay
Trigger Mode.
FIELd command/query
The FIELD query returns the current setting of the FIELD command.
HOLDoff command/query
The HOLDOFF query returns the value of the holdoff for the current
mode.
Where:
Where:
LEVel command/query
The LEVEL query returns the trigger level of the current trigger mode.
Where:
Where:
LINE command/query
The LINE query returns the current line of the selected standard.
Where:
Where:
LOGic command/query
The LOGIC query returns the last specified logic level of the currently
enabled path.
MODE command/query
Occurrence command/query
Where:
Where:
OCCurrence:SLOPe command/query
OCCurrence:SOURce command/query
PATH command/query
The PATH query returns the current trigger source of the present mode.
Where:
POLarity command/query
QUALify command/query
• EDGE
• PATTERN
• STATE
The parameters for this command when in the TV Trigger Mode are:
• LOW
• HIGH
SLOPe command/query
The :TRIGGER:SLOPE command specifies the slope of the edge for the
trigger. The SLOPE command is valid in the Edge Trigger Mode, State
Trigger Mode, and Delay Trigger Mode when EDGE or STATE is
selected as the qualifier.
The SLOPE query returns the current slope for the currently selected
trigger mode.
SOURce command/query
The SOURCE query returns current source for the selected trigger mode.
STANdard command/query
record is actually contained in two portions, the waveform data and the
preamble. The waveform data is the actual data acquired for each point
in the specified source. The preamble contains the information for
interpreting the waveform data. This includes the number of points
acquired, format of acquired data, and type of acquired data. The
preamble also contains the X and Y increments, origins, and references
for the acquired data, so that the raw data can be translated to time and
voltage values.
The values set in the preamble are determined when the :DIGITIZE
command is executed or the front panel store key is pressed. The
Preamble values are based on the settings of variables in the ACQUIRE
subsystem or the front panel setup if the store key is pressed. Although the
preamble values can be changed with a controller, the way the data was
acquired cannot be changed. Changing the preamble values cannot
change the type of data that was actually acquired, the number of points
actually acquired, etc. Therefore, extreme caution must be used when
changing any waveform preamble values to ensure the data will still be
useful. For example, setting POINTS in the preamble to a value different
from the actual number of points in the waveform will result in inaccurate
data.
The waveform data and preamble must be read (by the controller) or sent
(to the HP 54501A) with two separate commands, DATA and
PREAMBLE.
Note
The on-screen time is divided into a specific number of
horizontal time points as defined by the ^4CQUIRE:POINTS
command. Each of these increments in time is referred to as a
time bucket with each time bucket having a fixed time associated
with it.
Normal Normal data consists of the last data point (hit) in each time bucket. This
data is transmitted over HP-IB in a linear fashion starting with time
bucket 0 and going through time bucket n-1, where n is the number
returned by the WAVEFORM:POINTS query. Time buckets that don't
have data in them return -1. Only the magnitude values of each data point
are transmitted, the time values correspond to the position in the data
array. The first voltage value corresponds to the first time bucket on the
left of the CRT and the last value corresponds to the next to last time
bucket on the right side of the CRT.
Envelope Envelope data consists of two arrays of data, one containing the minimum
of the first n hits in each time bucket and the other containing the
maximum of the first n hits in each time bucket, where n is the value
returned by the ACQUIRE:COUNT query. If a time bucket does not
have any hits in it, then -1 is returned for both the minimum and maximum
values. The two arrays are transmitted one at a time over the HP-IB
linearly, starting with time bucket 0 (on the left side of the CRT) and
proceeding through time bucket m-1, where m is the value returned by the
WAVEFORM:POINTS query. The array with the minimum values is
sent first. The first value of each array corresponds to the data point on
the left of the CRT. The last value is one data point away from the right
side of the CRT.
The data is transferred from the channel buffer to a controller using the
WAVEFORM:DATA query.
Conversion from The formula to convert a data value from waveform memories 1-4 to a
Voltage
voltage =
[(data value yreference)*yincrement]
- + yorigin
Conversion from The time value of a data point can be determined by the position of the
Data Value to Time data point. As an example, the third data point sent with XORIGIN 16 =
time =
[(data point number xreference)*xincrement]
• + xorigin
time = ((3 0)
-
*
2 ns] + 16 ns = 22 ns.
When you use this format, the ASCII character string "#S < DD...D >" is
sent before the actual data. The 8 indicates how many < D > 's will follow.
The < D > 's are ASCII numbers, which indicate how many data bytes will
follow.
For example, if 512 points were acquired the Block Header "#800000512"
would be sent. The 8 indicates that eight length bytes follow, 512 indicates
that 512 data bytes (binary) follow.
WORD Format In the WORD format the number of data bytes is twice the number of
words (data points). The number of data points is the value returned by
the :WAVEFORM:POINTS? query. The number of data bytes is followed
by a sequence of bytes representing the data points, with the most
significant byte of each word transmitted first. In this format the data is
shifted so that the most significant bit after the sign bit contains the most
significant bit of the data. If there is a hole in the data, it will be
represented by the 16-bit value of -1. The range of data in the WORD
format is from 0 to 32640.
Word and ASCII formatted data returns the most accurate data values.
BYTE formatted data will transfer over the HP-ffi faster than WORD
formatted data, since one byte per point is transferred in BYTE format
and two bytes per point are transferred in WORD format. BYTE
formatted data has less resolution than WORD formatted data.
ASCII Format ASCII formatted waveform records are transmitted one value at a time,
separated by a comma. The data values transmitted are the same as the
values sent in the WORD FORMAT except that they are converted to an
integer ASCII format (six or less characters) before being sent over the
HP-IB.
—»/XOR i g i n
?)———
XREFerence7)-
YINCrement?
——^YORigin?^)
^-^YREFerencepV
channel_number =
1,2,3, or 4.
preamble_data =
Refer to PREAMBLE command.
wmemory_number =
An integer 1 through 4.
COUNt query
The value returned for this query has no meaning for the HP 54501A.
DATA command/query
Note
The format of the data being sent must match the format
previously specified by the waveforms preamble for the
destination memory.
The DATA query tells the instrument to output the waveform record
stored in the waveform memory or channel buffer, previously specified
with a :WAVEFORM:SOURCE command, over the HP-IB.
Returned Format: [:WAVeform:DATA] <binary block length bytes> < binary block > <NL>
The following program moves data from the HP 54501A to the controller
and then back to the HP 54501A with the :WAVEFORM:DATA query
and command.
Example:
10 CLEAR 707
20 ! SET UP ACQUIRE SUBSYSTEM
30 OUTPUT 707;":ACQUIRE:TYPE NORMAL;COUNT 1; POINTS 512"
40 OUTPUT 707;": DIGITIZE CHANNEL!" ! STORE CHAN 1 DISPLAY TO WMEM1
50 OUTPUT 707;":SYSTEM:HEADER OFF;:EOI ON"
60 OUTPUT 707;":WAVEFORM:SOURCE CHANNELI ;FORMAT WORD" 'SELECT WAVEFORM DATA
70 I SOURCE AND OUTPUT FORMAT
80 OUTPUT 707;":WAVEPORM:DATA?"
90 ENTER 707 USING "#,2A,8D";Headers$, Bytes ! READ LENGTH BYTE
100Lengths Bytes
110Length =Length/2
120ALLOCATE INTEGER Waveform (1: Length)
130ENTER 707 USING "#,W';Waveform (*) ! ENTER WAVEFORM DATA TO INTEGER ARRAY
140ENTER 707 USING °-K,B";End$ ! ENTER TERMINATOR
150DIMPreamble$[200]
160 OUTPUT 707;":WAV:PREAMBLE?" ! OUTPUT WAVE SOURCE PREAMBLE TO CONTROLLER
170 ENTER 707 USING "-K";Preamble$ ! ENTER PREAMBLE INTO CONTROLLER
180 OUTPUT 707;":WAV:SOURCE WMEMORY4" 'CHANGE SOURCE TO WMEMORY 4
190 OUTPUT 707 USING "ilt,K";":WAVEFORM:PREAMBLE ";Preamble$! SEND PREAMBLE FROM
200 ! CONTROLLER TO WMEMORY 4
210 OUTPUT 707 USING "#,k";":WAVEFORM:DATA #800001024" ISEND HEADER
220 OUTPUT 707 USING "W";WAVEFORM(*) ! SEND WAVEFORM DATA TO WMEMORY 4
220 OUTPUT 707;": BLANK CHANNEL1 ;VIEW WMEMORY4"! TURN CHAN 1 OFF-WMEM40N
230 END
Note
FORMat command/query
When the ASCII mode is selected, the data is ASCII digits with each data
value separated by a comma.
The FORMAT query returns the current output format for transfer of
waveform data.
Where:
POINts query
In most cases the number of time buckets actually acquired will be the
number of points set in the ACQUIRE subsystem. There are some sweep
speeds where the actual number of points will be less than requested.
These are shown below.
With the sweep speed set to 2 ns per division the number of points
actually acquired will be 32,64,128, or 200.
With the sweep speed set to 5 ns per division the number of points
actually acquired will be 32,64,128,256, or 500.
With the sweep speed set to 10 ns per division the number of points
actually acquired will be 32,64,128,256,500,512, or 1000.
Where:
PREamble command/query
Where:
<preamble block > ::= <format NR1 >,<type NR1 >,<points NR1 >,<count
NR3 < xorigin NR3
NR1
>, xincrement >, xreference NR3 >, yincrement
< < <
>,
NR3>,<yorigin NR3>,<yreference NR3>
Returned Format: [:WAVeform: PREamble] < preamble block > < ML >
Where:
<preamble block > ::= <format NR1 >,<type NR1 >, < points NR1 >,< count
>,< xincrement NR3 >,< xorigin NR3 >,< xreference
NR1 NR1
>,< yincrement
NR3>,<yorigin NR3>,<yreference NR1 >
Where:
Example: This example program uses both the command and query form of the
PREAMBLE command. First the preamble is queried (output to the
controller). Then the preamble is returned to the previously selected
waveform memory.
10 DIMPre$[120]
20 OUTPUT 707;"SYSTEM:HEADER OFF"
30 OUTPUT 707;"WAVEFORM: PREAMBLE?"
40 ENTER 707 USING "-K";Pre$
50 OUTPUT 707 USING "#,K";"WAV:PREAMBLE ";Pre$
60 END
Note
Example: The following program example brings the preamble in a numeric array.
10 DIMPreamble[1:10]
20 OUTPUT 707;"SYSTEM:HEADER OFF'
30 OUTPUT 707;°WAVEFORM:PREAMBLE?"
40 ENTER 707; Preamble)*)
50 OUTPUT 707;"WAV: PREAMBLE ";Preamble(*)
60 END
SOURce command/query
The SOURCE query returns the currently selected source for the
waveform commands.
Where:
TYPE query
The :WAVEFORM:TYPE query returns the data type for the previously
specified waveform source.
Where:
XINCrement query
Where:
XORigin query
Where:
< value > :: = x-origin value currently in preamble (exponential - NR3 format)
XREFerence query
Where:
YINCrement query
Where:
YORigin query
Where:
YREFerence query
Where:
Introduction One of the HP 54501A's primary features is its ability to make automatic
measurements on displayed waveforms. This appendix provides details on
how automatic measurements are calculated and offers some tips on how
to improve results.
Making If more than one waveform, edge, or pulse is displayed, the measurements
are made on the first (leftmost) portion of the displayed waveform that
Measurements
can be used. If there are not enough data points the oscilloscope will
display s with the measurement results. This is to remind you that the
results may not be as accurate as possible. It is recommended that you
re-scale the displayed waveform and make your measurement again.
HP 54501A Algorithms
Programming A-1
When any of the standard measurements are requested, the HP 54501A
first determines the top-base voltage levels at 100%-0%. From this
information, it can determine the other important voltage values (10%,
90%, and 50%) needed to make the measurements. The 10% and 90%
voltage values are used in the risetime and falltime measurements as well
as in all other edge measurements. The 10% and 90% values are also
used to determine the 50% value. The 50% voltage value is used for
measuring frequency, period, pulse width, and duty cycle.
EdQG Definition Both rising and falling edges are defined as transitional edges that must
cross three thresholds.
Algorithms HP 54501A
A-2 Programming
A falling edge must cross the upper threshold in a negative direction,
cross the mid threshold (any number of times), and then cross the lower
threshold without crossing the upper threshold.
Note
AlQOrithrn Following are the definitions that all measurements are based on:
Definitions
• jitter
• standard
• user-defined
if
first edge on minimum waveform is rising
then
delay = mid-threshold of first rising edge of max waveform minus
mid-threshold of first rising edge on min waveform
else
delay=
mid-threshold of first falling edge on min waveform
minus mid-threshold of first falling edge on max waveform
HP 54501A Algorithms
Programming A-3
The standard delay measurement occurs when in the standard mode (not
user-defined) and is not a jitter measurement.
Note
if
first edge is rising
then
+ width mid-threshold crossing of first falling edge
= •
else
+ width = mid-threshold crossing of second falling edge-
HP 54501A
Programming
•
width The width algorithm has standard and user-defined considerations:
-
if
first edge is rising
then
width
-
=
second rising edge •
first falling edge
else
•
width =
first rising edge first falling edge
•
Period if
first edge is rising
then
period =
second rising edge -
first rising edge
else
period =
second falling edge •
first falling edge
Frequency frequency =
I/period
Note
Risetime risetime =
time at upper threshold -
time at lower threshold
Falttime falltime =
time at lower threshold -
time at upper threshold
Vmax Vmax =
voltage of the maximum point on screen
Vtop Vtop =
most prevalent point above waveform midpoint
HP 54501A
Programming
Vbase Vbase =
most prevalent point below waveform midpoint
Vamp Vamp =
Vtop Vbase-
Vavg Average voltage of the first cycle of the displayed signal is measured. If a
complete cycle is not present the oscilloscope will average all data points.
Vrms The nns voltage of the first cycle of the displayed signal is measured. If a
complete cycle is not present, the measurement will compute rms on all
data points.
Vj}172
Vrms (ac) = { 1/n £°j.i Vj2 -
1/n S-j^i
Algorithms HP 54501A
A-6 Programming
Example Programs B
Introduction This appendix contains example programs using the command set for the
HP 54501A. In general, they use the long form of the command with
alpha (as opposed to numeric) arguments with each command having a
separate output statement for clarity. To optimize speed, switch to the
concatenated short form numerics.
channel 1 to 10:1.
210 ENTER 2
220 OUTPUT 707;":SYSTEM:DSP ""
230 !
240 'The following Unes vary the channel 1 offset
250 !
260 FOR J=l TO 18
270 OUTPUT 707;":CHANNEL1:OFFSET ".Offset" 'Set next offset
!Sets
280 Offset=0ffset-.l
290 WAIT .5
300 NEXT J
310 !
510 WAIT 15
520 OUTPUT 707;":SYSTEM:OSP ""
530 LOCAL 707 [Returns instrument to local
540 END
10:1 probe.
210 ENTER 2
220 OUTPUT 707;":SYSTEM:DSP
230 Tde1ay=0 'Set Tdelay to zero
240
250 'The following lines vary the timebase delay
260 i
330
340 OUTPUT 707;":BEEPER"
350 OUTPUT 707;":SYSTEM:DSP "PRESS ENTER HORIZONTAL TIME WILL CHANGE'"
360 ENTER 2
10:1 probe.
1.2"
170 OUTPUT 707 "
CHANNELl:OFFSET -.4" !Channel centered at -.4 V
180 !
Pts=Pts*2
WAIT 2
NEXT J
i
OUTPUT 707;":BEEPER"
OUTPUT 707;":SYSTEM:DSP 'PRESS ENTER - CHANGE COMPLETION CRITERIA'"
ENTER 2
OUTPUT 707;":SYSTEM:DSP ""
OUTPUT 707;":ACQUIRE:POINTS 128" !128 points for
!each acquisition record
Cmp=100 !Sets Cnip variable to 100
WAIT 15
OUTPUT 707;":SYSTEM:DSP ""
LOCAL 707 'Returns instrument to local
END
600 •The following lines set the voltage and time tolerance limits
610 !a percent of fu11 scale
620 !
630 Vo1tto1=5 !5% of full scale voltage
640 Timeto1=5 !5% of full screen width
650 !
660 Timetics=INT(512-l•Timeto^/100)
670 Vo1ttics=INT(2*Preamb(lO)*Vo1ttoVlOO)
680 MAT Wavemin=Waveform !Copy the waveform into the
690 !min template memory
700 MAT Wavemax=Waveform 'Copy the waveform into the
710 !max template memory
720 FOR Timecntr=l TO Length !This is the time bucket where
730 'the center of the ellipse
740 !is located
750 PRINT Timecntr !This counter te11s you which
760 (time bucket the program is
770 'currently calculating
780 FOR Time pt=(Tiine cntr-Time tics) TO (Time cntr+Time tics) !This loop increments along the
790 'time axis of the ellipse
800 IF Timept>0 AND Timept<=Length THEN
The following section lists the commands and queries with their
corresponding arguments and returned formats. The arguments for each
command list the minimum argument required. The returned format
listed assumes that HEADERS are off. The part of the command or
query listed in uppercase letters refers to the short form of that command
or query. The long form is the combination of uppercase and lowercase
letters.
EX::=1E18 M::=1E-3
PE::=1E15 U::=1E-6
T:: = 1E12 N:: =
1E-9
G::=1E9 P::=1E-12
MA:: = 1E6 F:: =
1E-15
K::=1E3 A::=1E-18
HP 54501A
Programming Quick Reference Guide-1
Command Argument Returned Format
Common Commands
*CLS
*ESE {0 -
255}
*ESE? {0 -
255}
*ESR? {0 -
255}
*IDN? <string>
*IST? {1 or 0}
*LRN? —
<b1ock data>
*OPC
*OPC? {1}
*OPT? {0}
*PRE {0 -
255}
*PRE? {0 -
255}
*RCL {0 -
4}
*RST
*SAV {1 -
4}
*SRE {0 -
255}
*SRE? {0 -
255}
*STB? {0 - 255}
*TRG
*TST? <integer>
*WAI
HP 54501A
Quick Reference Guide-2 Programming
Command Argument Returned Format
:AUTosca1e
..
:BEEPer
-- --
{ON or 1} —
{OFF or 0} —
:BEEPer? —
{1 or 0}
:BLANk {CHANnel 1 -
4} —
{FUNCtion 1 or 2} —
{WMEMory 1 4}
- —
{PMEMory 1 or 2} —
DIGitize {CHANnel 1 4}
- —
EOI {ON or 1}
--
{OFF or 0} —
EOI? —
{1 or 0}
ERASe {PMEMory
0-2} —
LER? —
{1 or 0}
LTER? {1 or 0}
--
MENU {TIMebase}
{CHANnel} —
{TRIGger} —
{DISPlay} —
{DELTa} —
{MATH} —
{SAVE} —
{MEASure} —
{UTILity} —
{SHOW}
HP 54501A
Programming Quick Reference Guide-3
Command Argument Returned Format
:MENU? {CHANnel}
{TRIGger}
{DISPlay}
{DELTa}
{MATH}
{SAVE}
{MEASure}
{UTILity}
1{SHOW}
MERGe {PMEMoryl or 2}
PRINt?
RUN
SERial <string>
STOP
STORe {CHANnel 1 -
4},{WMEMory 1 -
4}
{FUNCtion 1 or 2},{WMEMory 1 4} -
{WMEMory 1 4},{WMEMory 1
-
4} -
:TER? {1 or 0}
:VIEW {CHANnel 1 -
4}
{FUNCtion I or 2}
{WMEMory I 4}
-
{PMEMory I or 2}
HP 54501A
Quick Reference Guide-4 Programming
Command Argument Returned Format
:SYSTem:DSP <string>
:SYSTeni:DSP? <string>
:SYSTem:ERRor? <integer>
{NUMBer} <integer>
{STRing} <integer>,<string>
SYSTeni:HEADer {ON or 1}
{OFF or 0}
SYSTem:HEADer? {1 or 0}
SYSTem:KEY {1 -
44}
SYSTem:KEY? {0 -
44}
SYSTem:LON6fon7i {ON or 1}
{OFF or 0}
SYSTeni:LON6forni? {1 or 0}
SYSTem:SETup <b1ock data>
HP 54501A
Programming Quick Reference Guide-5
Command Argument Returned Format
:ACOuire:COMP1ete {0 -
100}
:ACQuire:COMP1ete? {0 -
100}
:ACQuire:COUNt {1 -
2048}
:ACOuire:COUNt? {1 -
2048}
:ACQuire:POINts {32 -
1024}
:ACQuire:POINts? {32 -
1024}
:ACQuire:TYPE {NORMal}
{AVERage}
{ENVelope}
ACQuire:TYPE? {NORMal}
{AVERage}
{ENVelope}
HP 54501A
Quick Reference Guide-6 Programming
Command Argument Returned Format
CHANne1{l -
4}:COUP11ng {AC}
{DC}
{DCFifty}
;CHANne1{l -
4}:COUP1ing? {AC}
{DC}
{DCFifty}
:CHANne1{l -
4}:ECL
;CHANne1{l -
4}:HFReject {ON or 1}
{OFF or 0}
;CHANne1{l -
4}:HFReject? {1 or 0}
HP 54501A
Programming Quick Reference Guide-7
Command Argument Returned Format
DISP1ay:COLumn {0 72}
..
-
DISP1ay:COLunin? —
{0 -
72}
DISP1ay:CONNect {ON or 1}
--
{OFF or 0} —
DISP1ay:CONNect? —
{1 or 0}
DISP1ay:DATA <b1ock data>
--
DISP1ay:DATA? <b1ock data>
--
DISP1ay:FORMat {1, 2, or 4} —
DISP1ay:FORMat? —
{1, 2, or 4}
DISP1ay:GRATicu1e {OFF} —
{GRID} —
{AXES}
--
{FRAMe} —
:DISP1ay:GRATicu1e? —
{OFF}
—
{GRID}
—
{AXES}
{FRAMe}
--
:DISP1ay:INVerse {ON or 1}
--
{OFF or 0} —
:DISP1ay:INVerse? —
{1 or 0}
:DISP1ay:LINE <string> --
:DISP1ay:MASK {0 255}
- —
:OISP1ay:MASK? {0 255}
--
-
:OISP1ay:PERSistence {INFinite} --
{SINGIe} —
{0.1 -
11} —
:DISP1ay:PERSistence? —
{INFinite}
—
{SINGIe}
—
{0.1 -
11}
:DISP1ay:ROW {0 24}
--
-
:DISPlay:ROW? —
{0 -
24}
:DISP1ay:SCReen {ON or 1}
--
{OFF or 0}
HP 54501 A
Quick Reference Guide-8 Programming
Command Argument Returned Format
DISP1ay:SCReen? {1 or 0}
OISP1ay:SOURce {PMEMory
0-3}
DISP1ay:SOURce? {PMEMory 0 -
3}
DISP1ay:STRing <string>
DISP1ay:TEXT {BLANk}
:DISP1ay:TMARker {ON or 1}
{OFF or 0}
:DISP1ay:TMARker? {1 or 0}
:DISP1ay:VMARker {ON or 1}
{OFF or 0}
:DISP1ay:VMARker? {1 or 0}
{CHANnel 4}
1-4}, {WMEMory 1 -
4}
{WMEMory
1-4}, {CHANnel 1 -
{WMEMory 4}
1-4}, {WMEMory 1
-
{CHANnel {WMEMory 1 4}
1-4} -
{WMEMory {CHANnel 1 4}
1-4} -
{WMEMory {WMEMory 1 4}
1-4} -
HP 54501A
Programming Quick Reference Guide-9
Command Argument Returned Format
HP 54501A
Quick Reference Guide-10 Programming
Command Argument Returned Format
:MEASure:DELay? —
<rea1 number>
: MEASure: DEST mat ion {WMEMory 1 -
4} —
{PMEMory 1 or 2} —
{OFF} —
:MEASure:OESTination? —
{WMEMory 1 -
4}
—
{PMEMory 1 or 2}
{OFF}
--
:MEASure DUTycycle
-- --
:MEASure DUTycycle? —
<rea1 number>
:MEASure ESTArt <+ or -><integer> —
:MEASure ESTArt? —
<integer>
:MEASure ESTOp <+ or -><integer>
--
:MEASure ESTOp? <integer>
--
:MEASure FALLtime
-- --
:MEASure FALLtime? —
<rea1 number>
:MEASure FREQuency — —
{USER} —
:MEASure MODE? —
{STANdard}
{USER}
HP 54501A
Programming Quick Reference Guide-11
Command Argument Returned Format
:MEASure:NWIDth
:MEASure:NWIDth? <rea1 nuniber>
:MEASure:OVERshoot
:MEASure:OVERshoot? <rea1 number>
MEASure:PERiod
MEASure PREShoot
MEASure PREShoot? <rea1 number>
MEASure PUIDth
MEASure PWIDth? <rea1 number>
MEASure RESults? {1 -
8}<string>[;<string>],
{0}
:MEASure:RISetime
:MEASure:RISet1ine? <rea1 nuniber>
:MEASure:SCRatch
{CHANnel
:MEASure:SOURce 1-4}
{FUNCtion 1 or 2}
{WMEMory 1 4}
-
:MEASure:SOURce? {CHANnel 1 -
4}
{FUNCtion 1 or 2}
{WMEMory
1-4}
:MEASure:STATist1cs {ON or 1}
{OFF or 0}
:MEASure:STATistics? {1 or 0}
:MEASure:TDELta? <rea1 number>
:MEASure:TMAX? <rea1 number>
:MEASure:TMIN? i<rea1 nuinber>
HP 54501A
Quick Reference Guide-12 Programming
Command Argument Returned Format
<rea1 number>
:MEASure:TSTOp <rea1 nuniber> —
:MEASure:TSTOp? —
<rea1 number>
:MEASure:TVOLt? <rea1 number>,{+ or -}<integer> <rea1 number>
:MEASure:UNITs {PERCent}
--
{VOLTs} —
:MEASure:UNITs? —
{PERCent}
—
{VOLTs}
:MEASure: UPPer <rea1 number> —
:MEASure:UPPer? —
<rea1 number>
:MEASure:VAMPiitude
--
—
:MEASure:VAVerage? —
<rea1 number>
:MEASure:VBASe
--
—
:MEASure:VBASe? —
<rea1 number>
:MEASure:VMAX — —
:MEASure:VMAX? —
<rea1 number>
:MEASure:VMIN
-- --
:MEASure:VMIN? <rea1 number>
--
:MEASure:VPP
--
—
:MEASure:VRMS
--
—
:MEASure:VRMS? —
<rea1 number>
:MEASure:VSTArt <rea1 number> —
:MEASure:VSTArt? —
<rea1 number>
:MEASure:VSTOp <rea1 number>
HP 54501A
Programming Quick Reference Guide-13
Command Argument Returned Format
HP 54501A
Quick Reference Guide-14 Programming
Command Argument Returned Format
TRIGger:CONDition {ENTer}
{EXIT}
{GT},<rea1 number
{LT},<rea1 nuniber>
{RANGe},<rea1 number>,<rea1 number>
{TRUE}
{FALSe}
:TRIGger:CONDition? {ENTer}
{EXIT}
{GT},<rea1 number>
{LT},<rea1 number^
{RANGe},<rea'l nuniber>,<rea1 number?)
{TRUE}
{FALSe}
:TRIGger:DELay {TIME},<rea1 number>
{EVENt},<rea1 number>
:TRI6ger:DELay? {TIME},<rea1 nuniber>
{EVENt},<rea1 number>
:TRI6ger:DELay:SLOPe {POSitive}
{NEGative}
:TRI6ger:DELay:SLOPe? {POSitive}
{NEGative}
:TRIGger:DELay:SOURce {CHANnel 1 -
4}
:TRIGger:DELay:SOURce? {CHANnel 1 -
4}
:TRI6ger:FIELd {1 or 2}
:TRI6ger:PIELd? {1 or 2}
HP 54501A
Programming Quick Reference Guide-15
Command Argument Returned Format
<rea1 number>
:TRIGger:LINE {1 -
625} —
:TRIGger:LINE? —
{1 -
625}
:TRIGger:LOGic {HIGH} —
{LOW} —
{DONTcare}
--
:TRIGger:LOGic? {HIGH}
--
—
{LOW}
—
{DONTcare}
:TRIGger:MODE {EDGE} —
{PATTern} —
{STATe} —
{OELay}
--
{TV} —
:TRIGger:MODE? —
{EDGE}
—
{PATTern}
{STATe}
--
{DELay}
--
—
{TV}
:TRIGger Occurrence {1 - 16000000} —
:TRIGger Occurrence? {1 -
16000000}
--
:TRIGger Occurrence:SLOPe {POSItive} --
{NEGative} —
:TRIGger Occurrence:SLOPe? —
{POSitive}
—
{NEGative}
:TRIGger Occurrence:SOURce {CHANnel 1 -
4} —
{NEGative} —
:TRIGger POLarity? —
{POSitive}
{NEGative}
HP 54501A
Quick Reference Guide-16 Programming
Command Argument Returned Format
:TRIGgei-:QUAL1ty {EDGE}
{PATTern}
{STATe}
{LOW}
{HIGH}
:TRIGger:QUALity? {EDGE}
{PATTern}
{STATe}
{LOW}
{HIGH}
:TRIGger:SLOPe {POSitive}
{NEGative}
:TRIGger:SLOPe? {POSitive}
{NEGative}
:TRIGger:SOURce {CHANnel 1 -
4}
:TRIGger:SOURce? {CHANnel 1 -
4}
:TRIGger:STANdard {525}
{625}
{USER}
:TRIGger:STANdard? {525}
{625}
{USER}
HP 54501A
Programming Quick Reference Guide-17
Command Argument Returned Format
:WAVefonn:COUNt? {1}
:WAVefon7):DATA <b1ock data» —
:WAVeform:DATA? —
<b1ock data>
:WAVeform:FORMat {ASCit} —
{WORD} —
{BYTE} —
{COMPressed} —
:WAVefonn:FORMat? — {ASCii}
— {WORD}
— {BYTE}
— {COMPressed}
:WAVefonn:POINts? <integer>
--
:WAVefonn:PREamb1e <rea1 nuniber>,... —
{WMEMory 1 -
4} —
:WAVeform:SOURce? {CHANnel 1 4}
--
-
{WMEMory
-- 1-4}
:WAVefonn:TYPE? {AVERage}
{ENVelope}
--
{NORMal}
--
:WAVeform:XINCrement? <rea1 nuniber>
--
:WAVefonn:XORigin? —
<rea1 number>
:WAVeform:XREFerence? {0}
--
:WAVeforni:YINCrenient? —
<rea1 nuniber>
HP 54501A
Quick Reference Guide-18 Programming
Index
A B
HP 54501A
Programming
COLUMN Command/Query, 11-4 Command (continued)
comma, 3-6 ERASe, 6-9
Command, 1-4,1-14 *ESE, 5-5
Acquire Subsystem, 8-1 *ESR, 5-7
AUToscale, 6-4 Function Subsystem, 12-1
BEEPer, 6-5 FUNCtionN:ADD, 12-4
BLANk, 6-6 FUNCtionN:INVert, 12-5
CALibrate, 9-2 FUNCtionN:MULTiply, 12-6
Calibrate Subsystem, 9-1 FUNCtionN:OFFSet, 12-7
Channel Subsystem, 10-1 FUNCtionN:ONLY, 12-8
CHANnelN:COUPling, 10-3 FUNCtionN:RANGe, 12-9
CHANnelN:ECL, 10-4 FUNCtionN:SUBTract, 12-10
CHANnelN:HFReject, 10-5 FUNCtionN: VERSUS, 12-11
CHANnelN:OFFSet, 10-6 Hardcopy Subsystem, 13-1
CHANnelN:PROBe, 10-7 HARDcopy:LENGth, 13-2
CHANnelN:RANGe, 10-8 HARDcopy:PAGE, 13-3
CHANnelN:TTL, 10-9 HEADer, 1-14
"•CLS, 5-1,5-4 *IDN, 5-9
common, 4-4 *1ST, 5-10
Common Commands, 5-1 LER, 6-10
COMPlete, 8-4 LONGform, 1-14
COUNt, 8-5 ^LRN, 5-11
Cross-Reference, 4-13 LTER, 6-11
DIGitize, 6-7 Measure Subsystem, 14-1
Display Subsystem, 11-1 MEASure:ALL, 14-11
DISPlay:COLumn, 11-4 MEASure:COMPare, 14-12'
DISPlay:CONNect, 11-5 MEASure:CURSor, 14-14
DISPlay:DATA, 11-6 MEASure:DEFine, 14-15
DISPlay:FORMat, 11-8 MEASure:DELay, 14-17
DISPlay:GRATicule, 11-9 MEASure:DESTmation, 14-18
DISPlay:INVerse, 11-10 MEASure:DUTycycle, 14-19
DISPlay:LINE, 11-11 MEASure:ESTArt, 14-20
DISPlay:MASK, 11-12 MEASure:ESTOp, 14-22
DISPlay:PERSistence, 11-14 MEASure:FALLtime, 14-24
DISPlay:ROW, 11-15 MEASure:FREQuency, 14-25
DISPlay:SCReen, 11-16 MEASure:LIMittest, 14-26
DISPlay:SOURce, 11-17 MEASure:LOWer, 14-27
DISPlay:STRing, 11-18 MEASure:MODE, 14-28
DISPlay:TEXT, 11-19 MEASure:NWIDth, 14-29
DISPlay:TMARker, 11-20 MEASure:OVERshoot, 14-30
DISPlay: VMARker, 11-21 MEASure:PERiod, 14-31
EOI, 6-8 MEASure:POSTfaUure, 14-32
Index-2 HP 54501A
Programming
Command (continued) Command (continued)
MEASure:PRECision, 14-33 •••RST, 5-16
MEASure:PREShoot, 14-34 RUN, 6-15
MEASure:PWIDth, 14-35 •SAV, 5-18
MEASure:RESults, 14-36 SERial, 6-16
MEASure:RISetime, 14-37 •SRE, 5-19
MEASure:SCRatch, 14-38 •STB, 5-21
MEASure:SOURce, 14-39 STOP, 6-17
MEASure:STATistics, 14-40 STORe, 6-18
MEASure:TDELta, 14-41 System Subsystem, 7-1
MEASure:TMAX, 14-42 SYSTem:DSP, 7-3
MEASure:TMIN, 14-43 SYSTem:ERRor, 7-4
MEASure:TSTArt, 14-44 SYSTem:HEADer, 7-6
MEASure-.TSTOp, 14-45 SYSTem:KEY, 7-7
MEASure:TVOLt, 14-46 SYSTem:LONGform, 7-9
MEASure:UNITs, 14-48 SYSTem:SETup, 7-10
MEASure:UPPer, 14-49 TER, 6-19
MEASure:VAMPlitude, 14-50 Timebase Subsystem, 15-1
MEASure:VAVerage, 14-51 TIMebase:DELay, 15-3
MEASure:VBASe, 14-52 TIMebase:MODE, 15-4
MEASure:VDELta, 14-53 TIMebase:RANGe, 15-5
MEASure:VnFty, 14-54 TIMebase:REFerence, 15-6
MEASure:VMAX, 14-55 TIMebase:WINDow, 15-7
MEASure:VMIN, 14-56 TIMebase.-WINDowDELay, 15-8
MEASure:VPP, 14-57 TIMebase:WINDow:RANGe, 15-9
MEASure:VRELative, 14-58 •TRG, 5-23
MEASure:VRMS, 14-60 Trigger Mode, 16-1
MEASure:VSTArt, 14-61 Trigger Subsystem, 16-1
MEASure:VSTOp, 14-62 TRIGGER:CONDITION, 16-4/16-5,16-13
MEASure:VTIMe, 14-63 TRIGGER:DELAY, 16-6,16-16
MEASure:VTOP, 14-64 TRIGger:DELay:SLOPe, 16-17
MENU, 6-12 TRIGGER:DELAY:SOURCE, 16-6,16-18
MERGe, 6-13 TRIGGER:HELD, 16-7,16-19
*OPC,5-12 TRIGGER:HOLDOFF, 16-4,16-20
*OPT, 5-13 TRIGGER:LEVEL, 16-1,16-3/16-4,16-21
parsing, 3-1 TRIGgerLINE, 16-22
POINts, 8-6 TRIGGER:LOGIC, 16-5,16-23
*PRE, 5-14 TRIGgerMODE, 16-24
PRINt, 6-14 TRIGGER:OCCURRENCE, 16-6,16-8,16-25
*RCL, 5-15 TRIGGER:OCCURRENCE:SLOPE, 16-6,16-8,
Root Level, 4-4 16-26
Root Level Commands, 6-1
HP 54501A Index-3
Programming
Command (continued) Common Commands (continued)
TRIGGER:OCCURRENCE:SOURCE, 16-6, *LRN Query, 5-11
16-27 "OPC Command/Query, 5-12
TRIGGER:PATH, 16-4/16-5,16-28 *OPT Query, 5-13
TRIGGER:POLARITY, 16-7,16-29 *PRE Command/Query, 5-14
TRIGGER:QUALIFY, 16-6,16-8,16-30 *RCL, 5-15
TRIGGER:SLOPE, 16-3,16-32 *RST, 5-16
TRIGGER:SOURCE, 16-3,16-7,16-33 *SAV Command, 5-18
TRIGGER:STANDARD, 16-7,16-34 *SRE Command/Query, 5-19
TRIGGER:TIME, 16-6 *STB, 5-21
•TST, 5-24 Syntax Diagram, 5-1
TYPE, 8-7 *TRG Command, 5-23
VIEW, 6-20 *TST, 5-24
*WAI, 5-25 *WAI Command, 5-25
Waveform Subsystem, 17-1 COMPare Command/Query, 14-12
WAVeform:COUNt, 17-9 COMPlete Command/Query, 8-4
WAVeform:DATA, 17-10 Compound command header, 1-5
WAVeform:FORMat, 17-12 compound header, 4-5
WAVeform:POINts, 17-13 compound query, 3-3
WAVeform:PREamble, 17-14 COMPRESSED format, 17-5
WAVeform:SOURce, 17-16 CONDition Command/Query, 16-13
WAVeform:TYPE, 17-17 CONNect Command/Query, 11-5
WAVeform:XINCrement, 17-18 Controllers, 1-2
WAVeform:XORigin, 17-19 COUNt Command/Query, 8-5
WAVeform-.XREFerence, 17-20 COUNt Query, 17-9
WAVeform:YINCrement, 17-21 COUPling Command/Query, 10-3
WAVeform:YORigin, 17-22 CURSor Query, 14-14
WAVefornrYREFerence, 17-23
Command and Data Concepts, 2-1
D
command error, 3-4
Command header, 1-5
Command Table
Data Acquisition Types, 17-2
TRIGgerMODE, 16-2
DATA Command/Query, 11-6,17-10
command tree, 4-1,4-4,4-9
DDE device specific error, 3-30
-
Index-4 HP 54501A
Programming
DELay SOURce Command/Query, 16-18 EOI, 1-9
Delay Trigger Mode, 16-6,16-13 EOI Command/Query, 6-8
DESTination Command/Query, 14-18 ERASe Command, 6-9
Device address ERASE PMEMORYO, 6-9
HP-IB, 1-3 error number, 7-4
device clear command, 3-2 ERRor Query, 7-4
Device Listening Syntax, 3-8 error queue, 5-4
Device Talking Syntax, 3-19 ESB event status bit, 3-30
-
HP 54501A
Programming
MULTiply Command, 12-6 IEEE 488.2 instruments, 3-1
OFFSet Command/Query, 12-7 IEEE 488-2 standard, 3-1
ONLY Command, 12-8 Individual Status, 3-34
RANGe Command/Query, 12-9 Infinity Representation, 4-6
SUBTract Command, 12-10 Initialization, 1-11
Syntax Diagram, 12-2 input
VERSUS Command, 12-11 vertical, 6-4
Functional Elements Input Buffer, 3-1/3-2,3-4
Input Buffer, 3-1 instrument
Output Queue, 3-2 serial number, 5-9
Parser, 3-2 Instrument address
HP-IB, 1-3
integer NR1,3-23
-
G
Interface Capabilities, 2-1
Interface select code
HP-IB, 1-3
GRATicule Command/Query, 11-9
Interrupted Condition, 3-4
group execute trigger (GET), 3-3 interrupted error, 3-26
GT, 16-4 INVerse Command/Query, 11-10
INVert Command, 12-5
H *IST Query, 5-10
K
Hardcopy Subsystem, 13-1
LENGth Command/Query, 13-2
PAGE Command/Query, 13-3 key codes, 7-7
Syntax Diagram, 13-1
KEY Command/Query, 7-7
HEADer command, 1-14
HEADer Command/Query, 7-6
headers, 4-1 L
HFReject Command/Query, 10-5
HOLDoff Command/Query, 16-20
HP-IB, 1-3 LCL local, 3-30
-
Index-6 HP 54501A
Programming
UMittest Command, 14-26 Measure Subsystem (continued)
LINE Command, 11-11 PREShoot Command/Query, 14-34
LINE Command/Query, 16-22 PWIDth Command/Query, 14-35
linefeed, 4-4 RESults Query, 14-36
linefeed (CRLF), 4-5 RISetime Command/Query, 14-37
LOGic Command/Query, 16-23 SCRatch Command, 14-38
Longfonn, 1-8 SOURce Command/Query, 14-39
LONGfonn command, 1-14 STATistics Command/Query, 14-40
LONGform Command/Query, 7-9 Syntax Diagram, 14-4
LOWer Command/Query, 14-27 TDELta Query, 14-41
Lowercase, 1-8 TMAX Query, 14-42
*LRN Query, 5-11 TMIN Query, 14-43
LT, 16-4 TSTArt Command/Query, 14-44
LTER Query, 6-11 TSTOp Command/Query, 14-45
TVOLt Query, 14-46
UNITs Command/Query, 14-48
M
UPPer Command/Query, 14-49
VAMPlitude Command/Query, 14-50
VAVerage Command/Query, 14-51
Making Measurements, A-l, 14-2
VBASe Command/Query, 14-52
MASK Command/Query, 11-12
VDELta Query, 14-53
MAV -
message available, 3-30
VFIFty Command, 14-54
Measure Subsystem, 14-1
VMAX Command/Query, 14-55
ALL Query, 14-11
VMIN Command/Query, 14-56
COMPare Command/Query, 14-12 VPP Command/Query, 14-57
CURSor Query, 14-14
VRELative Command/Query, 14-58
DEFine Command/Query, 14-15
VRMS Command/Query, 14-60
DELay Command/Query, 14-17 VSTArt Command/Query, 14-61
DESTination Command/Query, 14-18
VSTOp Command/Query, 14-62
DUTycycle Command/Query, 14-19
VTIMe Query, 14-63
ESTArt Command/Query, 14-20
VTOP Command/Query, 14-64
ESTOp Command/Query, 14-22
Measurement Error, 14-2
FALLtime Command/Query, 14-24
Measurement Setup, A-l, 14-1
FREQuency Command/Query, 14-25 MENU Command/Query, 6-12
LIMittest Command, 14-26
MERGe Command, 6-13
LOWer Command/Query, 14-27
message exchange protocols, 3-1
MODE Command/Query, 14-28
Message terminator, 1-3
NWIDth Command/Query, 14-29 -
width, A-5
OVERshoot Command/Query, 14-30
mnemonic, 4-1
PERiod Command/Query, 14-31
Mode
POSTfailure Command/Query, 14-32
Delay Trigger, 16-6
PRECision Command/Query, 14-33
Pattern Trigger, 16-4
HP 54501A
Programming
State Trigger, 16-5 OPC operation complete, 3-30
-
Index-8 HP 54501A
Programming
Channel Setup, B-2 Response data, 1-18,3-23
Digitize, B-9 response data separator, 3-25
Hardcopy, B-ll Response Generation, 4-7
Measurement Setup, B-6 Response header, 3-21
Timebase Subsystem, B-4 response header separator, 3-26
Wavefonn Template, B-12 response message, 3-2 / 3-3,3-21
Program message, 1-4,3-2 / 3-3,3-6,3-9,4-6 response message terminator, 3-26
Program message syntax, 1-4 response message unit, 3-21
Program message terminator, 1-9,3-2,4-5 response message unit separator, 3-26
Program message unit, 1-4,3-6 response messages, 3-2
program message unit separator, 3-10,4-5 RESults Query, 14-36
Program query, 1-4 risetime, A-5
Program syntax, 1-4 RISetime Command/Query, 14-37
Protocols, 3-1 risetime measurement, 14-1
pulse width measurement, 14-1 risetime measurements, A-l
PWIDth Command/Query, 14-35 Root Level Command
ERASe Command, 6-9
PRINt Query, 6-14
Q Root Level commands, 4-4,6-1
AUToscale Command, 6-4
BEEPer Command/Query, 6-5
QUALify Command/Query, 16-30 BLANk Command, 6-6
Query, 1-4,1-7,1-14 DIGitize Command, 6-7
Query command, 1-7
EOI Command/Query, 6-8
query error, 3-3 / 3-4
LER Query, 6-10
query message, 3-2 / 3-3
LTER Query, 6-11
query message unit, 3-21
MENU Command/Query, 6-12
query program header, 3-10
MERGe Command, 6-13
Query response, 1-13
RUN Command, 6-15
query responses, 4-7 SERial Command, 6-16
Question mark, 1-7
STOP Command, 6-17
QYE query error, 3-30
-
HP 54501A
Programming
Status Reporting, 3-28
*STB Query, 5-21
s
STOP command, 6-15,6-17
STORe Command, 6-18
STRing Command, 11-18
*SAV Command, 5-18
string program data, 3-14
save register, 5-18
string response data, 3-23
save/recall register, 5-15
String variables, 1-16
SCRatch Command, 14-38
Subsystem
SCReen Command/Query, 11-16
Acquire, 8-1
semicolon, 3-6
Calibrate, 9-1
sensitivity
Channel, 10-1
vertical, 6-4 Display, 11-1
Separator, 1-5
Function, 12-1
Sequential commands, 4-6
Hardcopy, 13-1
SERial Command, 6-16
Measure, 14-1
serial number, 5-9,6-16
System, 7-1
Serial Poll, 3-32
Timebase, 15-1
Service, 5-19
Trigger, 16-1
SETup Command/Query, 7-10
Waveform, 17-1
707,1-16 Subsystem commands, 4-4
Shortform, 1-8
SUBTract Command, 12-10
Simple command header, 1-5
suffix multipliers, 3-16
SINGLE timebase mode, 15-4
suffix program data, 3-14
SLOPe Command/Query, 16-32
suffix units, 3-16
SOURce Command/Query, 11-17,14-39,16-33,
sweep speed, 6-4
17-16
Syntax Diagram
space, 3-6
Acquire Subsystem, 8-3
*SRE Command/Query, 5-19
Calibrate Subsystem, 9-1
standard + width, A-4
Channel Subsystem, 10-1
standard width, A-5
-
Index-10 HP 54501A
Programming
System Subsystem, 7-1 Trigger Level command, 16-1,16-3
DSP Command/Query, 7-3 Trigger Logic command, 16-4 /16-5
ERRor Query, 7-4 Trigger Mode, 16-1
HEADer Command/Query, 7-6 EDGE, 16-1,16-3
KEY Command/Query, 7-7 TV, 16-1
LONGfonn Command/Query, 7-9 Trigger Occurrence command, 16-6,16-8
SETup Command/Query, 7-10 Trigger Occurrence Slope command, 16-8
Syntax Diagram, 7-2 Trigger Path command, 16-4 /16-5
Trigger Polarity command, 16-7
Qualify command, 16-6,16-8
Trigger
T
Slope command, 16-3
Trigger
Trigger
Source command, 16-3,16-7
Trigger
Standard command, 16-7
Talking to the instrument, 1-2
Trigger
Subsystem, 16-1
TDELta Query, 14-41
CONDition Command/Query, 16-13
TER Query, 6-19
DELay Command/Query, 16-16
Terminator, 1-3,1-9
DELay SOURce Command/Query, 16-18
TEXT Command, 11-19
DELay:SLOPe Command/Query, 16-17
Timebase Subsystem, 15-1
FIELd Command/Query, 16-19
DELay Command/Query, 15-3
HOLDoff Command/Query, 16-20
MODE Command/Query, 15-4
LEVel Command/Query, 16-21
RANGe Command/Query, 15-5
LINE Command/Query, 16-22
REFerence Command/Query, 15-6
LOGic Command/Query, 16-23
WINDOW Command/Query, 15-7
MODE Command/Query, 16-24
WINDow:DELay Command/Query, 15-8
Occurrence Command/Query, 16-25
WINDow:RANGe Command/Query, 15-9
OCCurrence:SLOPe Command/Query, 16-26
Timebase Window mode, 15-1
OCCurrence:SOURce Command/Query, 16-27
TMARker Command/Query, 11-20 PATH Command/Query, 16-28
TMAX Query, 14-42 POLarity Command/Query, 16-29
TMIN Query, 14-43 QUALify Command/Query, 16-30
TNUL1 Command/Query, 9-2
SLOPe Command/Query, 16-32
*TRG Command, 5-23
SOURce Command/Query, 16-33
TRG trigger, 3-31
-
HP 54501A Index-11
Programming
TTL Command, 10-9 Voltage measurements, 14-2
TV Trigger Mode, 16-1,16-7,16-13 Vp-p,A-5
TVOLT Query, 14-46 VPP Command/Query, 14-57
TYPE Command/Query, 8-7 VRELative Command/Query, 14-58
TYPE Query, 17-17 Vrms,A-6
VRMS Command/Query, 14-60
VSTArt Command/Query, 14-61
u
VSTOp Command/Query, 14-62
VTIMe Query, 14-63
Vtop, A-5
UNITS Command/Query, 14-48
VTOP Command/Query, 14-64
Unterminated Condition, 3-4
UPPer Command/Query, 14-49
Upper/Lower Case Equivalence, 3-8 w
Uppercase, 1-8
URQ user request, 3-30
-
Index-12 HP 54501A
Programming
x
HP 54501A
Programming