The following general safety precautions must be observed during all phases of
operation of this instrument. Failure to comply with these precautions or with
specific warnings elsewhere in this manual violates safety standards of design,
manufacture, and intended use of the instrument. Agilent Technologies, Inc.
assumes no liability for the customer’s failure to comply with these
requirements.
GENERAL
This product is a Safety Class 1 instrument (provided with a protective earth
terminal). The protective features of this product may be impaired if it is used in
a manner not specified in the operation instructions.
All Light Emitting Diodes (LEDs) used in this product are Class 1 LEDs as per
IEC 60825-1.
ENVIRONMENTAL CONDITIONS
This instrument is intended for indoor use in an installation category II, pollution
degree 2 environment. It is designed to operate at a maximum relative humidity
of 95% and at altitudes of up to 2000 meters. Refer to the specifications tables
for the ac mains voltage requirements and ambient operating temperature range.
BEFORE APPLYING POWER
Verify that the product is set to match the available line voltage, the correct fuse
is installed, and all safety precautions are taken. Note the instrument’s external
markings described under Safety Symbols.
GROUND THE INSTRUMENT
To minimize shock hazard, the instrument chassis and cover must be connected
to an electrical protective earth ground. The instrument must be connected to
the ac power mains through a grounded power cable, with the ground wire
firmly connected to an electrical ground (safety ground) at the power outlet.
Any interruption of the protective (grounding) conductor or disconnection of
the protective earth terminal will cause a potential shock hazard that could
result in personal injury.
Page 3
FUSES
Only fuses with the required rated current, voltage, and specified type (normal
blow, time delay, etc.) should be used. Do not use repaired fuses or
short-circuited fuse holders. To do so could cause a shock or fire hazard.
DO NOT OPERATE IN AN EXPLOSIVE ATMOSPHERE
Do not operate the instrument in the presence of flammable gases or fumes.
DO NOT REMOVE THE INSTRUMENT COVER
Operating personnel must not remove instrument covers. Component
replacement and internal adjustments must be made only by qualified service
personnel.
Instruments that appear damaged or defective should be made inoperative and
secured against unintended operation until they can be repaired by qualified
service personnel.
WARNINGThe WARNING sign denotes a hazard. It calls attention to a procedure,
practice, or the like, which, if not correctly performed or adhered to,
could result in personal injury. Do not proceed beyond a WARNING
sign until the indicated conditions are fully understood and met.
CautionThe CAUTION sign denotes a hazard. It calls attention to an operating
procedure, or the like, which, if not correctly performed or adhered to, could
result in damage to or destruction of part or all of the product. Do not proceed
beyond a CAUTION sign until the indicated conditions are fully understood and
met.
Page 4
Safety Symbols
Warning, risk of electric shock
Caution, refer to accompanying documents
Alternating current
Both direct and alternating current
Earth (ground) terminal
Protective earth (ground) terminal
Frame or chassis terminal
Terminal is at earth potential.
Standby (supply). Units with this symbol are not completely disconnected from ac mains when
this switch is off
Page 5
TABLE OF CONTENTS
CHAPTER 1: GPIB Programming with the Agilent 35670A
This is GPIB Programming with the Agilent 35670A. It contains the command syntax, structure and a
detailed description of each GPIB command available for the Agilent 35670A. In addition, it contains
instrument-specific information not available in the GPIB Programmer’s Guide.
For an introduction to GPIB programming, read the GPIB Programmer’s Guide. It is intended for people
not familiar with GPIB programming or remote control of an instrument. The book introduces the basic
concepts of GPIB programming and describes the Standard Commands for Programmable Instruments
(SCPI). In addition, it describes how to operate an instrument in an GPIB system and how to transfer data
between an external controller and an instrument.
Chapter 1 presents GPIB programming information specific to the Agilent 35670A. It includes:
How to setup the Agilent 35670A to an external controller and how to verify it works.
A description of the Agilent 35670A’s input, output and error queues.
A listing of GPIB commands that require synchronization or passing control.
A description of each of the Agilent 35670A’s status registers.
A listing of all SCPI commands.
Chapter 2 describes the conventions and syntax descriptions used in the command reference chapters, and
a section on finding commands.
Chapters 3 - 24, the Command Reference, contain a detailed description of each GPIB command. The
commands are organized alphabetically. A chapter introduction describes the SCPI subsystem and where
it fits in the flow of control and measurement data within the Agilent 35670A.
The appendices, A - F, contain a variety of reference material:
Appendix A provides a quick reference to the Agilent 35670A’s GPIB command set.
Appendix B provides a cross reference of the Agilent 35670A’s hardkeys and softkeys and their
equivalent GPIB commands.
Appendix C provides a complete listing of the Agilent 35670A’s error messages.
Appendix D provides a list of valid GPIB commands for each of the major instrument modes.
Appendix E explains how to determine the Y-axis units you send with certain commands.
Appendix F lists some of the example programs for the Agilent 35670A that appear on the Agilent
35670A Example Programs Disk. The example programs demonstrate how to transfer data between
the Agilent 35670A and an external controller.
Included in the documentation set is the “Agilent 35670A GPIB Commands: Quick Reference.” This
card provides quick and convenient access to command syntax and structure.
1-1
Page 20
GPIB Setup
GPIB Setup
This section contains a procedure for configuring the Agilent 35670A and an external controller in a
simple GPIB system. Although an HP 9000 Series 340 computer is the controller used in the system,
other computers that support an GPIB interface can also be used. If you are using one of those other
computers, the configuration procedure can only be used as a general guide. You should consult your
computer’s documentation for more complete information.
This section also contains a procedure for verifying that commands can be sent over the GPIB. BASIC is
used for the verification procedure’s test program. If your computer uses some other language, the
keywords and syntax for the test program may be different. You will need to write a similar program
using your language’s keywords and syntax.
Configuring the GPIB System
Equipment and Software
Agilent 35670A Dynamic Signal Analyzer
HP 9000 Series 340 computer
Agilent 10833A, B, C, or D GPIB Cable
BASIC
Procedure
Turn off the Agilent 35670A and the HP 9000 Series 340, then connect them with the GPIB
cable as shown in figure 1-1.
1-2
3-1. GPIB Connections
Page 21
GPIB Setup
1. 1. Turn on the HP 9000 Series 340. If necessary, load BASIC following the instructions in the
computer’s operating manual. Note that the following language extensions must be installed for the
verification program to work:
CRTA
–
GPIB
–
IO
–
EDIT
–
Programs that are more complex than the verification program will probably require more language
extensions. For a complete list of loaded language extensions, enter the following BASIC
command into your computer:
LIST BIN
Turn on the Agilent 35670A. When the softkey labels appear, press the [ Local/GPIB ] hardkey.
See figure 1-2.
1-2. Agilent 35670A Front Panel
Verify that the analyzer’s address is set to 11. The current address setting is displayed when you
press the [
[
ANALYZER ADDRESS
ANALYZER ADDRESS
], then using the numeric keypad and the [
] softkey (see figure 1-3). You can change the address by pressing
] softkey to enter a new value.
ENTER
However, the instructions in the verification procedure assume that the analyzer address is set to 11.
1-3
Page 22
GPIB Setup
Analyzer’s Address
3-3. Agilent 35670A Screen After Pressing Local/GPIB
Verify that the analyzer is set to the addressable-only mode. The softkey labels that appear when
you press the [ Local/GPIB ] hardkey include [
SYSTEM CONTROLLR
] and [
ADDRESSBL ONLY
]. Only
one of these two softkeys can be selected at a time, and the one that is selected will have a box
around it. Press [
ADDRESSBL ONLY
] if it is not selected.
NoteIn any GPIB system there can be more than one device with controller capabilities. But
at any given time, only one device on the bus can be designated as the system controller.
See the GPIB Programmer’s Guide for more information about controller capabilities.
1-4
Page 23
GPIB Setup
Quick Verification
Having just completed all the steps in the preceding section, you are ready to verify that commands can
be sent over the GPIB. In this quick verification, you are going to enter an BASIC keyword that should
place the Agilent 35670A under remote control.
Procedure
Type the following on the computer:
REMOTE 711
then press the computer’s ENTER key. The RMT indicator should appear highlighted at the top of
the Agilent 35670A’s screen (see figure 1-4). This tells you that the analyzer is under remote
control of the computer.
3-4. RMT (Remote) Indicator
Remote Indicator
Now type the following on the computer:
LOCAL 711
then press the computer’s ENTER key. The RMT indicator should become “ghosted.” That is, the
word is still readable, but no longer highlighted. This tells you that the analyzer has been returned
to front-panel control.
1-5
Page 24
GPIB Setup
Troubleshooting
If the RMT indicator does not perform as expected, check the following:
Be sure that your GPIB cable connections are secure and that the cable is free of defects.
Verify that the analyzer is in addressable-only mode and that its address is set to 11.
Be sure you are using the required equipment and software.
Be sure you have loaded all the required language extensions into the computer. (For a list of loaded
extensions, enter the following into the computer: LIST BIN)
If everything seems to be in order, but the RMT indicator still doesn’t perform as expected, follow the
procedure in “Need Assistance?,” that appears on the last page of this book.
1-6
Page 25
GPIB Setup
Verification Program
The quick verification procedure confirmed that the computer could talk to the analyzer. However, you
must write a short program to confirm that the analyzer can talk to the computer. If you enter the
program correctly, the computer displays the following statement when you run the program:
FREQUENCY SPAN IS: 51200 HZ
NoteThe following procedure assumes that you have completed all the steps in “Configuring
the GPIB System” using all the required equipment and software.
Procedure
Enter the following program:
10 PRINTER IS 1
20 ASSIGN @Agilent35670A TO 711
30 ABORT 7
40 CLEAR @Agilent35670A
50 OUTPUT @Agilent35670A;"*RST"
60 OUTPUT @Agilent35670A;"SENS:FREQ:SPAN:FULL"
70 OUTPUT @Agilent35670A;"SENS:FREQ:SPAN?"
80 ENTER @Agilent35670A;A
90 PRINT “FREQUENCY SPAN IS:”;A;"HZ"
100 END
See your computer and software documentation if you need help entering the program.
RUN the program. The program tells the analyzer to reset. It then tells the analyzer to select its widest
frequency span. Finally, the program asks the analyzer to return the value of the widest span and has the
computer display the returned value as follows:
FREQUENCY SPAN IS: 51200 HZ
Troubleshooting
If the program does not run correctly, be sure you have entered the program exactly as listed. Then go
back to “Quick Verification” for additional troubleshooting hints.
1-7
Page 26
How the Agilent 35670A Operates in an GPIB System
How the Agilent 35670A Operates in an GPIB System
This section provides instrument-specific information for the operation of the Agilent 35670A in an GPIB
system. For a general overview of how an analyzer operates in an GPIB system, see the GPIB
Programmer’s Guide.
Controller Capabilities
The Agilent 35670A can be configured as an GPIB system controller or as an addressable-only GPIB
device. To configure the analyzer, press the [ Local/GPIB ] key on the front panel. To configure the
analyzer as the GPIB system controller press [
configure the Agilent 35670A as an addressable-only device on the bus, press [
Normally, the Agilent 35670A is not configured as the system controller unless it is the only controller on
the bus. Such a setup would be likely if you only wanted to control printers or plotters with the analyzer.
It might also be the case if you were using Instrument BASIC to control other test equipment.
When the analyzer is used with another controller on the bus, it is normally configured as an
addressable-only GPIB device. In this configuration, when the analyzer is passed control it can function
as the active controller. It can also function as a talker or listener.
SYSTEM CONTROLLR
] which appears in the softkey menu. To
ADDRESSBL ONLY
].
GPIB Commands That Require Passing Control to the Agilent 35670A
If there is more than one controller on the bus, the Agilent 35670A needs to have active control (instead
of system control) to initiate operations such as plotting. The Agilent 35670A must be the active
controller for the following GPIB commands:
C12send IF messages, receive control, pass control
E2tri-state drivers
* only when an Instrument BASIC program is running
1-9
Page 28
How the Agilent 35670A Operates in an GPIB System
GPIB Queues in the Agilent 35670A
Queues enhance the exchange of messages between the Agilent 35670A and other devices on the bus.
The Agilent 35670 contains three queues.
The input queue holds up to 128 bytes.
The error queue temporarily stores up to 5 error messages.
The output queue temporarily stores a single response message until it is read by a controller.
For additional information about the use of queues in exchanging messages between an analyzer and an
external controller, see the GPIB Programmer’s Guide.
Command Synchronization
Device commands can be divided into two broad classes:
sequential commands
overlapped commands
Most device commands that you send to the analyzer are processed sequentially. A sequential command
holds off the processing of subsequent commands until it has been completely processed. Some
commands do not hold off the processing of subsequent commands. These are called overlapped
commands and in many situations they require synchronization.
See the GPIB Programmer’s Guide for more information and examples about command synchronization.
1-10
Page 29
How the Agilent 35670A Operates in an GPIB System
Overlapped Commands in the Agilent 35670A
The Agilent 35670A has the following overlapped commands that require synchronization:
GPIB Commands That Transfer Mixed (ASCII/REAL) Data
The FORMat:DATA command selects the type of data and the type of data encoding that is used to
transfer large blocks of numeric data between the analyzer and an external controller. Block data that
contains mixed data—both REAL numbers and ASCII characters—ignore the setting of the
FORMat:DATA command. These blocks always transfer as either definite or indefinite length block
data. The following commands transfer blocks of mixed data:
You can determine the units associated with a set value by sending the unit parameter with the
command’s query form. For example, send
SENSE:VOLTAGE:RANGE? UNIT
to determine the units associated with the value of the input range.
1-12
Page 31
The Agilent 35670A’s Status Registers
The Agilent 35670A’s Status Registers
Register Summary
The Agilent 35670A uses eight register sets to keep track of instrument status:
Status Byte
Device State
Limit Fail
Questionable Status
Questionable Voltage
Standard Event
Operation Status
User Status
Their reporting structure is summarized in figure 1-5. They are described in greater detail in the
following sections.
NoteRegister bits not explicitly presented in the following sections are not used by the
Agilent 35670A. A query to one of these bits returns a value of 0.
1-5. Agilent 35670A Register Sets
1-13
Page 32
The Agilent 35670A’s Status Registers
Status Byte Register Set
The Status Byte register set summarizes the states of the other register sets and monitors the analyzer’s
output queue. It is also responsible for generating service requests. See figure 1-6.
1-6. The Status Byte Register Set
The Status Byte register set contains only two registers: the Status Byte register and the Service Request
enable register. The Status Byte register behaves like a condition register for all bits except bit 6. The
Service Request enable register behaves like a standard enable register except that bit 6 is always set to 0.
For more information about generating service requests, see “How to Use Registers” in the GPIB
Programmer’s Guide.
1-14
Page 33
The Agilent 35670A’s Status Registers
Bits in the Status Byte register are set to 1 under the following conditions:
User Status Summary (bit 0) is set to 1 when one or more enabled bits in the User Status event
register are set to 1.
Device State Summary (bit 2) is set to 1 when one or more enabled bits in the Device State event
register are set to 1.
Questionable Status Summary (bit 3) is set to 1 when one or more enabled bits in the Questionable
Status event register are set to 1.
Message Available (bit 4) is set to 1 when the output queue contains a response message.
Standard Event Summary (bit 5) is set to 1 when one or more enabled bits in the Standard Event event
register are set to 1.
Master Summary Status (bit 6, when read by *STB) is set to 1 when one or more enabled bits in the
Status Byte register are set to 1.
Request Service (bit 6, when read by serial poll) is set to 1 by the service request process (see “How
to Use Registers” in the
GPIB Programmer’s Guide
).
Operation Status Summary (bit 7) is set to 1 when one or more enabled bits in the Operation Status
event register are set to 1.
Figure 1-6 also shows the commands you use to read and write the Status Byte registers. See chapter 20
for more information about these commands.
1-15
Page 34
The Agilent 35670A’s Status Registers
Device State Register Set
The Device State register set monitors the states of eight device-specific parameters. See figure 1-7.
1-7. The Device State Register Set
Bits in the Device State condition register are set to 1 under the following conditions:
Autocal Off (bit 0) is set to 1 when the analyzer’s autocalibration function is disabled (CAL:AUTO
OFF).
Hardware Failed (bit 2) is set to 1 when the analyzer detects a failure in its own hardware.
Key Pressed (bit 4) is set to 1 when one of the front panel keys is pressed. This is an event. The
condition register will always return 0 for this bit.
Display Ready (bit 5) is set to 1 when measurement results are available. This is an event. The
condition register will always return 0 for this bit.
RS-232-C Character Available (bit 6) is set to 1 when a character is in the input buffer.
RS-232-C Input Held Off (bit 7) is set to 1 when input is held off due to handshake protocol
conditions.
RS-232-C Output Held Off (bit 8) is set to 1 when output is held off due to handshake protocol
conditions.
RS-232-C Error (bit 9) is set to 1 when a framing error, overrun error, parity error, or break is
detected.
Figure 1-7 also shows the commands you use to read and write the Device State registers. See chapter 20
for more information about these commands.
1-16
Page 35
The Agilent 35670A’s Status Registers
Limit Fail Register Set
The Limit Fail register set monitors limit test results for all traces. See figure 1-8.
1-8. The Limit Fail Register Set
Bits in the Limit Fail condition register are set to 1 under the following conditions:
Trace A Upper Failed (bit 0) is set to 1 when limit testing is enabled and any point on trace A
exceeds its upper limit.
Trace A Lower Failed (bit 1) is set to 1 when limit testing is enabled and any point on trace A falls
below its lower limit.
Trace B Upper Failed (bit 2) is set to 1 when limit testing is enabled and any point on trace B exceeds
its upper limit.
Trace B Lower Failed (bit 3) is set to 1 when limit testing is enabled and any point on trace B falls
below its lower limit.
Trace C Upper Failed (bit 4) is set to 1 when limit testing is enabled and any point on trace C exceeds
its upper limit.
Trace C Lower Failed (bit 5) is set to 1 when limit testing is enabled and any point on trace C falls
below its lower limit.
Trace D Upper Failed (bit 6) is set to 1 when limit testing is enabled and any point on trace D
exceeds its upper limit.
Trace D Lower Failed (bit 7) is set to 1 when limit testing is enabled and any point on trace D falls
below its lower limit.
Figure 1-8 also shows the commands you use to read and write the Limit Fail registers. See chapter 20
for more information about these commands.
1-17
Page 36
The Agilent 35670A’s Status Registers
Questionable Status Register Set
The Questionable Status register set monitors conditions that affect the quality of measurement data. See
figure 1-9.
1-9. The Questionable Status Register Set
Bits in the Questionable Status condition register are set to 1 under the following conditions:
Voltage (bit 0) is set to 1 when one or more enabled bits in the Questionable Voltage event register
are set to 1.
Calibration (bit 8) is set to 1 when the last self-calibration attempted by the analyzer failed.
Limit Fail (bit 9) is set to 1 when one or more enabled bits in the Limit Fail event register are set to 1.
Figure 1-9 also shows the commands you use to read and write the Questionable Status registers. See
chapter 20 for more information about these commands.
1-18
Page 37
The Agilent 35670A’s Status Registers
Questionable Voltage Register Set
The Questionable Voltage register set monitors conditions that affect the amplitude accuracy of
measurement data. See figure 1-10.
1-10. The Questionable Voltage Register Set
Bits in the Questionable Voltage condition register are set to 1 under the following conditions:
Channel 1 Overload (bit 0) is set to 1 when any input signal exceeds the current channel 1 input
range.
Channel 2 Overload (bit 1) is set to 1 when any input signal exceeds the current channel 2 input
range.
Channel 3 Overload (bit 2) in Option AY6 only is set to 1 when any input signal exceeds the current
channel 3 input range.
Channel 4 Overload (bit 3) in Option AY6 only is set to 1 when any input signal exceeds the current
channel 4 input range.
Channel 1 Input Half-Range (bit 8) is set to 1 when any input signal is larger than half the current
channel 1 input range.
Channel 2 Input Half-Range (bit 9) is set to 1 when any input signal is larger than half the current
channel 2 input range.
Channel 3 Input Half-Range (bit 10) in Option AY6 only, is set to 1 when any input signal is larger
than half the current channel 3 input range.
Channel 4 Input Half-Range (bit 11) in Option AY6 only, is set to 1 when any input signal is larger
than half the current channel 4 input range.
Figure 1-10 also shows the commands you use to read and write the Questionable Voltage registers. See
chapter 20 for more information about these commands.
1-19
Page 38
The Agilent 35670A’s Status Registers
Standard Event Register Set
The Standard Event register set monitors GPIB errors and synchronization conditions.See
figure 1-11.
1-11. The Standard Event Register Set
The Standard Event register set contains only two registers: the Standard Event event register and the
Standard Event enable register. The Standard Event event register is similar to other event registers, but
behaves like a positive transition register with all bits set to 1. The Standard Event enable register is the
same as other enable registers.
For more information about the behavior of the Standard Event register set, see the GPIB Programmer’s
Guide.
1-20
Page 39
The Agilent 35670A’s Status Registers
Bits in the Standard Event event register are set to 1 under the following conditions:
Operation Complete (bit 0) is set to one when the following two events occur (in the order listed):
You send the *OPC command to the analyzer.
–
The analyzer completes all pending overlapped commands (see “Command Synchronization”
–
earlier in this chapter).
Request Control (bit 1) is set to 1 when both of the following conditions are true:
The analyzer is configured as an addressable-only GPIB device (see “Controller Capabilities”
–
earlier in this chapter).
The analyzer is instructed to do something (such as plotting or printing) that requires it to take
–
control of the bus.
Query Error (bit 2) is set to 1 when the command parser detects a query error.
Device Dependent Error (bit 3) is set to 1 when the command parser detects a device-dependent error.
Execution Error (bit 4) is set to 1 when the command parser detects an execution error.
Command Error (bit 5) is set to 1 when the command parser detects a command error.
Power On (bit 7) is set to 1 when you turn on the analyzer.
Figure 1-11 also shows the commands you use to read and write the Standard Event registers. See
chapter 20 for more information about these commands.
1-21
Page 40
The Agilent 35670A’s Status Registers
Operation Status Register Set
The Operation Status register set monitors conditions in the analyzer’s measurement process, disk
operations, and printing/plotting operations. It also monitors the state of current Instrument BASIC
program. See figure 1-12.
1-12. The Operation Status Register Set
1-22
Page 41
The Agilent 35670A’s Status Registers
Bits in the Operation Status condition register are set to 1 under the following conditions:
Calibrating (bit 0) is set to 1 while the self-calibration routine is running.
Settling (bit 1) is set to 1 while the measurement hardware is settling.
Ranging (bit 2) is set to 1 while the input range is changing.
Measuring (bit 4) is set to 1 while the analyzer is collecting data for a measurement.
Waiting for TRIG (bit 5) is set to 1 when the analyzer is ready to accept a trigger signal from one of
the trigger sources. (If a trigger signal is sent before this bit is set, the signal is ignored.)
Waiting for ARM (bit 6) is set to 1 when both of the following conditions are true:
Manual arming is selected.
–
The analyzer is ready to be armed.
–
(If you send the ARM:IMM command before this bit is set, the command is ignored.)
Averaging (bit 8) is set to 1 while the analyzer is averaging measurement data. If averaging is
disabled ([SENSe:]AVERage[:STATe] OFF) this bit is set to 1 whenever the Measuring bit (bit 4) is
set to 1 during data collection.
Hardcopy In Progress (bit 9) is set to 1 while the analyzer is performing a print or plot operation.
Waiting for Accept/Reject (bit 10) is set to 1 while the analyzer is waiting for a response during
preview averaging ([SENSe:]AVERage:PREView MANual).
Loading Waterfall (bit 11) is set to 1 while the analyzer is collecting the specified number of traces
for a waterfall display.
Program Running (bit 14) is set to 1 while the current Instrument BASIC program is running.
Figure 18-1 under the [SENSe:]AVERage[:STATe] command illustrates the transition of the bits in the
Operation Status condition register.
Figure 1-12 also shows the commands you use to read and write the Operation Status registers. See
chapter 20 for more information about these commands.
1-23
Page 42
The Agilent 35670A’s Status Registers
User Status Register Set
The User Status register set detects STATus:USER:PULSe commands. See figure 1-13.
1-13. The User Status Register Set
The User Status register set conforms to the general status register model (described at the beginning of
this chapter) with the following exceptions:
You can write (but not read) the condition register.
You cannot write or read the transition registers.
Bits in the positive transition register are always set to 1.
Bits in the negative transition register are always set to 0.
Bit 15 is not available. It is always set to 0.
Bits in the User Status condition register are normally set to 0, but are set to 1 (briefly) when you send a
STAT:USER:PULS command. If you send STAT:USER:PULS 32, bit 5 of the condition register is
pulsed high (2
5
= 32).
Figure 1-13 also shows the commands you use to read or write the User Status registers. See chapter 20
for more information about these commands.
1-24
Page 43
Agilent 35670A Register Set Summary
The Agilent 35670A’s Status Registers
Figure 1-14. Agilent35670A Register Set Summary
1-25
Page 44
SCPI Compliance Information
SCPI Compliance Information
Many of the Agilent 35670A’s GPIB commands comply to SCPI. The attribute summary in the
command reference section identifies these commands as follows:
Confirmed commands which comply to SCPI 1992.
Approved commands which will be added to SCPI 1993.
Instrument-specific commands which do not comply to SCPI.
Use the SYSTem:VERSion? query to determine the SCPI version to which your analyzer complies.
To enter the query in BASIC, you simply type
OUTPUT @711;"SYSTEM:VERSION?"
ENTER @711;version
The analyzer returns a value that looks like this:
1992.0
where 1992 is the year-version and 0 is the revision number for that year.
The Command Reference chapters describe all of the Agilent 35670A’s GPIB commands. Each
command has the following:
A brief description of the command. This one- or two-line description appears just below the
heading.
A syntax description. This consists of two fields. One field specifies whether the command has
only a command form, only a query form, or both. The other field shows you the syntax expected
by the analyzer’s GPIB command parser. At the end of this chapter is a detailed description for the
elements appearing in the syntax description. Additional information about message syntax is also
available in the GPIB Programmer’s Guide.
2
1
2
3
4
5
6
2-1. Sample Command Reference Page
2-1
Page 60
Example statements. This field appears at the end of the syntax description. It contains two BASIC
output statements that use the command.
A return format description. This field is only used if the command has a query form. It tells you
how data is returned in response to the query.
An attribute summary. This field indicates whether one of the analyzer’s options must be installed;
identifies overlapped commands requiring synchronization; defines the command’s preset state and
specifies compliance with SCPI. A “confirmed” command complies with SCPI 1992. An
“approved” command complies with SCPI 1993. An “instrument-specific” command does not
conform to the SCPI standard.
A detailed description. This field contains additional information about the command.
2-2
Page 61
Finding the Right Command
Finding the Right Command
If you can not find a command you have seen in a program, remember that commands can omit
implied mnemonics.
For example, the command SENSe:FREQuency:CENTer 10000 HZ contains the implied mnemonic
SENSe. SENSe can be omitted to create the equivalent command FREQuency:CENTer 10000 HZ.
(See “Implied Mnemonics” in the GPIB Programmer’s Guide.) You will not find an entry for
FREQuency:CENTer—or any other command that omits an implied mnemonic—in the Command
Reference. You will find the FREQuency:CENTer command in the SENSe chapter.
If you do not find a command where you expect it, try scanning the command list in appendix A for
the equivalent command that contains the implied mnemonic.
Each command has a brief description. After you locate the equivalent command, you can find a
more detailed description in the corresponding command reference chapter.
If you are looking for a command that accesses a particular function, use the index.
For example, if you want to find the command that changes the analyzer’s center frequency, look
for “center frequency” in the index. It sends you to the page that describes the
SENSe:FREQuency:CENTer command.
If you are familiar with front panel operation of the analyzer, use Appendix B.
It provides a cross reference of the analyzer’s hardkeys and softkeys and their equivalent GPIB
commands.
If you have an analyzer, use the GPIB Echo facility.
GPIB Echo displays the corresponding GPIB command for front panel operations. It displays the
most abbreviated form of the command. To turn on the facility, press
[ Local/GPIB ] [ GPIB ECHO ON OFF ] to highlight ON.
2-3
Page 62
Finding the Right Command
Figure 2-2 shows the flow of control and measurement data through the Agilent 35670A. The SCPI
subsystems appear in the block diagram. Use figure 2-2 to help identify the subsystem containing a
command. For example, the location of the SENSe subsystem indicates it contains commands which
determine how measurement data is acquired. The use of the brackets ([]) indicates SENSe is an
implied mnemonic.
2-2. Flow of Control and Measurement Data
in the Agilent 35670A
2-4
Page 63
Command Syntax in the Agilent 35670A
Command Syntax in the Agilent 35670A
The Agilent 35670A uses program messages and response messages to communicate with other devices
on the GPIB. This section describes the syntax elements used in the command reference chapters. It also
describes the general syntax rules for both kinds of messages.
NoteFor a more detailed discussion of message syntax, including example program listings,
refer to the GPIB Programmer’s Guide.
Special Syntactic Elements
Several syntactic elements have special meanings:
colon (:) — When a command or query contains a series of keywords, the keywords are separated by
colons. A colon immediately following a keyword tells the command parser that the program
message is proceeding to the next level of the command tree. A colon immediately following a
semicolon tells the command parser that the program message is returning to the base of the
command tree. For more information, see “Programming with GPIB Commands” in the GPIB
Programmer’s Guide.
semicolon (;) — When a program message contains more than one command or query, a semicolon is
used to separate them from each other. For example, if you want to autorange the analyzer’s inputs
and then start a measurement using one program message, the message would be:
comma (,) — A comma separates the data sent with a command or returned with a response. For
example, the SYSTEM:TIME command requires three values to set the analyzer’s clock: one for
hours, one for minutes, and one for seconds. A message to set the clock to 8:45 AM would be:
SYSTEM:TIME 8,45,0
<WSP> — One white space is required to separate a program message (the command or query) from
its parameters. For example, the command “SYSTEM:TIME 8,45,0” contains a space between the
program header (SYSTEM:TIME) and its program data (8,45,0). White space characters are not
allowed within a program header.
For more information, see “GPIB Message Syntax” in the GPIB Programmer’s Guide.
2-5
Page 64
Command Syntax in the Agilent 35670A
Conventions
Syntax and return format descriptions use the following conventions:
< > Angle brackets enclose the names of items that need further definition. The definition will be
included in accompanying text. In addition, detailed descriptions of these elements appear at the end
of this chapter.
::= “is defined as” When two items are separated by this symbol, the second item replaces the first in
any statement that contains the first item. For example, A::=B indicates that B replace A in any
statement that contains A.
| “or” When items in a list are separated by this symbol, one and only one of the items can be chosen
from the list. For example, A|B indicates that A or B can be chosen, but not both.
... An ellipsis (trailing dots) is used to indicate that the preceding element may be repeated one or
more times.
[ ] Square brackets indicate that the enclosed items are optional.
{ } Braces are used to group items into a single syntactic element. They are most often used to
enclose lists and to enclose elements that are followed by an ellipsis.
Although the analyzer is not case sensitive, the case of letters in the command keyword is significant in
the Command Reference. Keywords that are longer than four characters can have a short form or a long
form. The analyzer accepts either form. Upper-case letters show the short form of a command keyword.
For more information, see “Programming with GPIB Commands” in the GPIB Programmer’s Guide.
The analyzer is sensitive to white space characters. White space characters are not allowed within
command keywords. They are only allowed when they are used to separate a command and a parameter.
A message terminator is required at the end of a program message or a response message. Use <NL>,
<^END>, or <NL> <^<END> as the program message terminator. The word <NL> is an ASCII new line
(line feed) character. The word <^END> means that End or Identify (EOI) is asserted on the GPIB
interface at the same time the preceding data byte is sent. Most programming languages send these
terminators automatically. For example, if you use the BASIC OUTPUT statement, <NL> is
automatically sent after your last data byte. If you are using a PC, you can usually configure your system
to send whatever terminator you specify.
For more information about terminating messages, see “Programming with GPIB Commands” in the
GPIB Programmer’s Guide.
2-6
Page 65
Command Syntax in the Agilent 35670A
Syntax Descriptions
Syntax descriptions in the command reference chapters use the following elements:
<BLOCK>
This item designates block data. There are three kinds of block data; binary-definite-length-block data,
binary-indefinite-length-block data, and ASCII data. The analyzer always returns binary definite-length-block
data or ASCII data in response to queries.
When you send block data to the analyzer, you can send it either as definite-length block or indefinite-length
block data or as ASCII data.
If you are sending binary data using indefinite-length syntax, <BLOCK> takes the following form:
See “GPIB Message Syntax” in the
information about block data.
<CHAR>
This item designates a string of ASCII characters. There are no delimiters. Usually, the string is from an
explicit set of responses. Maximum length is 12 characters.
<CMDSTR>
This string specifies the type of measurement data. Channels 3 and 4 are only available with Option AY6.
CPOW[1|2|3|4] Composite Power (INST:SEL ORD only; Option 1D0)
TRACK[1|2|3|4|5] (INST:SEL ORD only; Option 1D0)
[1|2|3|4|5] specifies order track
TIME[1|2|3|4] Resampled Time (INST:SEL ORD only; Option 1D0)
RPM RPM Profile (INST:SEL ORD only; Option 1D0)
NVAR[1|2|3|4] Normalized Variance (INST:SEL SINE only; Option 1D2)
<FILE>
This string is used to describe the name of a file. It does not include any disk drive information.
The valid character set for <FILE> depends on the disk format.
DOS file names are limited to 8 ASCII characters followed by a period and a 3 ASCII character extension.
The period and extension are not required. File names are not case sensitive.
LIF file names are limited to 10 ASCII characters which may include all characters except “:” “<” and “|”.
are
The first character must be a letter. File names
case sensitive.
<FILENAME>
This string is used to describe the name of a file on the default disk, on the specified disk, or the specified disk
and DOS directory. The allowed form is:
“[PATH]filename”
where PATH must be replaced with:
“[MSIS:][\DOS_DIR\]”
where MSIS: must be replaced with:
RAM: which selects the volatile RAM disk.
NVRAM: which selects the non-volatile RAM disk.
INT: which selects the internal disk drive.
EXT[,<select_code>[,<unit_number>]]: which selects an external disk drive.
The brackets are not literal in the parameter. They indicate that the disk drive designation is optional. If the
disk drive is not specified, the default disk drive is used. Select the default specifier with the MMEM:MSIS
command.
DOS_DIR specifies a directory name (DOS only). DOS directory names are limited to ASCII characters. The
forward slash (/) may be used as a directory separator instead of the backward slash (\).
The brackets are not literal in the parameter. They indicate that the directory designation is optional. If the
director is not specified, the default directory is used. Select the default specifier with the MMEM:MSIS
command.
The valid character set for <FILENAME> depends on the disk format.
DOS file names are limited to 8 ASCII characters followed by a period and a 3 ASCII character extension.
not
The period and extension are not required. File names are
2-10
case sensitive.
Page 69
Command Syntax in the Agilent 35670A
LIF file names are limited to 10 ASCII characters which may include all characters except “:” “<” and “|”.
The first character must be a letter. File names
<MSINAME>
This item specifies the mass storage device. It is a <STRING> with one of the following values:
“RAM:”
“NVRAM:”
“INT:”
“EXT[,<select_code>[,<unit_number>]]:”
<MMEMNAME>
This item specifies a single file or an entire mass storage device. It takes the same form as <FILENAME>
except either the name of the file, the name of the mass storage device or both must be present. It can take one
of the following forms:
“[MSIS:][DOS_DIR:]filename”
“MSIS:”
“MSIS:[DOS_DIR:]filename”
are
case sensitive.
See the description for <FILENAME> for the valid mass storage device specifiers and the valid file name
character set. The optional directory specifier (DOS only) may be included with the filename.
<PROGRAM>
This item designates an Instrument BASIC program.
Load and save Instrument BASIC using the indefinite-length-block data format. The simplest way to load an
Instrument BASIC program into the analyzer is to send the command (PROG[:SELected]:DEFine) followed
by #0, followed by all the characters making up the program, including line numbers and linefeeds at the end
of each program statement.
Terminate the entire command with new line (line feed) character (ASCII decimal 10) and <^END> (the
GPIB END message (EOI set true) while the last byte of data is on the bus).
<STRING>
This item specifies any 8-bit characters delimited by single quotes or double quotes. The beginning and
ending delimiter must be the same. If the delimiter character is in the string, it must be entered twice. (For
example, to get “EXAMPLE”, enter “”EXAMPLE"".
2-11
Page 70
Page 71
Common Commands
3
Page 72
Page 73
Common Commands
This chapter describes all of the IEEE 488.2 common commands implemented by the Agilent 35670A.
An important property of all common commands is that you can send them without regard to a program
message’s position in the GPIB command tree.
For more information on the GPIB command tree, see chapter 2, “Programming with GPIB Commands,”
in the GPIB Programmer’s Guide.
The analyzer performs a full calibration when you send this query. If the calibration completes without
error, the analyzer returns 0. If the calibration fails, the analyzer returns 1.
This query is the same as the CAL:ALL? query.
3-2
Page 75
Common Commands
*CLScommand
Clears the Status Byte by emptying the error queue and clearing all event registers.
This command clears the Status Byte register. It does so by emptying the error queue and clearing
(setting to 0) all bits in the event registers of the following register sets:
User Status
Device State
Questionable Voltage
Limit Fail
Questionable Status
Standard Event
Operation Status
In addition, *CLS cancels any preceding *OPC command or query. This ensures that bit 0 of the
Standard Event register will not be set to 1 and that a response will not be placed in the analyzer’s output
queue when pending overlapped commands are completed.
*CLS does not change the current state of enable registers or transition filters.
NoteTo guarantee that the Status Byte’s Message Available and Master Summary Status bits
are cleared, send *CLS immediately following a Program Message Terminator.
See chapter 1 for more information on the Status Byte register.
3-3
Page 76
Common Commands
*ESEcommand/query
Sets bits in the Standard Event enable register.
Command Syntax:*ESE <number>|<bound>
<number> ::= a real number (NRf data)
limits:0:255
<bound> ::= MAX|MIN
Example Statements:OUTPUT 711;"*ese 128"
OUTPUT 711;"*ESE 60"
Query Syntax:*ESE?
Return Format:Integer
Attribute Summary:Option:not applicable
Synchronization Required:no
Preset State:dependent on setting of *PSC
SCPI Compliance:confirmed
Description:
This command allows you to set bits in the Standard Event enable register. Assign a decimal weight to
each bit you want set (to 1) according to the following formula:
(bit_number)
2
with acceptable values for bit_number being 0 through 7. Add the weights and then send the sum with
this command.
When an enable register bit is set to 1, the corresponding bit of the Standard Event event register is
enabled. All enabled bits are logically ORed to create the Standard Event summary, which reports to bit
5 of the Status Byte. Bit 5 is only set to 1 if both of the following are true:
One or more bits in the Standard Event event register are set to 1.
At least one set bit is enabled by a corresponding bit in the Standard Event enable register.
The setting last specified with *ESE is saved in nonvolatile memory. It can be recalled at power-up,
depending on the setting of the Power-on Status Clear flag (set with *PSC). When the flag is 0 at
power-up, all bits in the Standard Event enable register are set according to the saved *ESE value. When
the flag is 1 at power-up, all bits in the Standard Event enable register are initialized to 0.
The query returns the current state of the Standard Event enable register. The state is returned as a sum of
the decimal weights of all set bits.
For more information on the Standard Event register set, see chapter 1.
3-4
Page 77
Common Commands
*ESR?query
Reads and clears the Standard Event event register.
This query returns the current state of the Standard Event event register. The state is returned as a sum of
the decimal weights of all set bits. The decimal weight for each bit is assigned according to the following
formula:
(bit_number)
2
with acceptable values for bit_number being 0 through 7.
The query clears the register after it reads the register.
A bit in this register is set to 1 when the condition it monitors becomes true. A set bit remains set,
regardless of further changes in the condition it monitors, until one of the following occurs:
You read the register with this query.
You clear all event registers with the *CLS command.
For more information on the Standard Event register set, see chapter 1.
3-5
Page 78
Common Commands
*IDN?query
Returns a string that uniquely identifies the analyzer.
Some commands are processed sequentially by the analyzer. A sequential command holds off the
processing of subsequent commands until it has been completely processed. However, some commands
do not hold off the processing of subsequent commands. These commands are called overlapped
commands. At times, overlapped commands require synchronization. The Attribute Summary for each
command indicates whether it requires synchronization.
The analyzer uses the No Pending Operation (NPO) flag to keep track of overlapped commands that are
still pending (that is, not completed). The NPO flag is reset to 0 when an overlapped command is
pending. It is set to 1 when no overlapped commands are pending. You cannot read the NPO flag
directly, but you can use *OPC and *OPC? to tell when the flag is set to 1.
If you use *OPC, bit 0 of the Event Status event register is set to 1 when the NPO flag is set to 1. This
allows the analyzer to generate a service request when all pending overlapped commands are completed
(assuming you have enabled bit 0 of the Event Status register and bit 5 of the Status Byte register).
If you use *OPC?, +1 is placed in the output queue when the NPO flag is set to 1. This allows you to
effectively pause the controller until all pending overlapped commands are completed. It must wait until
the response is placed in the queue before it can continue.
3-7
Page 80
Common Commands
NoteThe *CLS and *RST commands cancel any preceding *OPC command or query.
Pending overlapped commands are still completed, but you can no longer determine
when.
Two GPIB bus management commands—Device Clear (DCL) and Selected Device
Clear (SDC)—also cancel any preceding *OPC command or query.
A list of overlapped commands requiring synchronization appear in chapter 1. See “Synchronization” in
the GPIB Programmer’s Guide for additional information abaout the *OPC command and the *OPC?
query.
3-8
Page 81
Common Commands
*OPT?query
Returns a string that identifies the analyzer’s option configuration.
The response to this query identifies the analyzer’s option configuration. For example, if your analyzer
has Computed Order Tracking installed, it returns 1D0 to this query. Options are identified by the
following:
1D0 Computed Order Tracking
1D1 Real Time Octave Measurements
1D2 Swept Sine Measurements
1D3 Curve Fit / Synthesis
1D4 Arbitrary Source
1C2 Instrument BASIC
AY6 Add 2 Input Channels
UFF Add 1 MByte Nonvolatile RAM
AN2 Add 4 MBytes Memory
UFC Add 8 MBytes Memory
The query returns a null string (“”"") if special options are not installed in the analyzer.
Synchronization Required:no
Preset State:not affected by Preset
SCPI Compliance:confirmed
Description:
Use this command to specify the address of your controller before you pass control of the GPIB to the
analyzer. When the analyzer completes the operation that required it to have control of the bus, it
automatically passes control back to the controller at the specified address.
The optional second number is only used for controllers that support extended addressing. It is ignored
by the analyzer.
The address last specified with this command is saved in nonvolatile memory, so it is not affected when
you turn the analyzer off and on. It is also not affected by the *RST command.
3-10
Page 83
Common Commands
*PSCcommand/query
Sets the state of the Power-on Status Clear flag.
Command Syntax:*PSC <number>|<bound>
<number> ::= a real number (NRf data)
limits:-32767:32767
<bound> ::= MAX|MIN
Example Statements:OUTPUT 711;"*PSC 1"
OUTPUT 711;"*ESE 1;*SRE 16;*PSC 0" ! Generate SRQ on
! powerup
Query Syntax:*PSC?
Return Format:Integer
Attribute Summary:Option:not applicable
Synchronization Required:no
Preset State:not affected by Preset
SCPI Compliance:confirmed
Description:
This command lets you specify whether or not the Service Request enable register and the Event Status
enable register should be cleared (all bits reset to 0) at power-up.
The settings of the Service Request enable register and the Event Status enable register are saved in
nonvolatile memory when you turn the analyzer off. These settings can be recalled when you turn the
analyzer on, but only if the Power-on Status Clear (PSC) flag is reset to 0. When the PSC flag is set to 1,
the two enable registers are cleared at power-up. Use *PSC to specify the state of the PSC flag.
The number last specified with *PSC is saved in nonvolatile memory, so it is not affected when you turn
the analyzer off and on. It is also not affected by the *RST command.
If you want the analyzer to generate a service request at power-up, bit 7 of the Event Status enable
register and bit 5 of the Service Request enable register must be set. This is only possible if the PSC flag
is reset to 0.
The query returns the current state of the PSC flag.
This command returns the analyzer to a reset state. In addition, *RST cancels any pending *OPC
command or query.
The reset state is similiar to the preset state. The preset state of each command is listed in the Attribute
Summary. In some cases, however, a command’s reset state differs from its preset state. These
commands (and their reset states) are listed below.
CALibration:AUTO is set to 0 (OFF).
FREQuency:SPAN:LINK is set to CENTer.
FREQuency:RESolution:AUTO is ON.
CALCulate:GDAPerture:APERture is set to 0.25 PCT.
HCOPy:PAGE:DIMensions:USER:LLEFt is set to +332, +1195.
HCOPy:PAGE:DIMensions:USER:URIGht is set to +9155, +7377.
NoteThis command is not equivalent to a front panel preset. Send SYST:PRES if you want
to send a command that is equivalent to a front panel preset.
3-12
Page 85
The following are not affected by this command:
The state of the Power-on Status Clear flag.
The state of all enable and transition registers.
The GPIB input and output queues.
The time and date (SYST:TIME and SYST:DATE).
The GPIB address settings (SYST:COMM:GPIB:ADDR, HCOP:PLOT:ADDR,
HCOP:PRIN:ADDR).
The GPIB controller capability setting.
The default disk selection (MMEM:MSIS).
The serial interface (RS-232-C) parameters (set with SYST:COMM:SERial commands).
Common Commands
Contents of limit and data registers.
Contents of math function and constant registers.
Contents of the RAM disks.
Calibration constants.
Contents of the time capture buffer.
The external keyboard setup.
3-13
Page 86
Common Commands
*SREcommand/query
Sets bits in the Service Request enable register.
Command Syntax:*SRE <number>|<bound>
<number> ::= a real number (NRf data)
limits:0:255
<bound> ::= MAX|MIN
Example Statements:OUTPUT 711;"*sre 40"
OUTPUT 711;"*Sre 17"
Query Syntax:*SRE?
Return Format:Integer
Attribute Summary:Option:not applicable
Synchronization Required:no
Preset State:dependent on setting of *PSC
SCPI Compliance:confirmed
Description:
This command allows you to set bits in the Service Request enable register. Assign a decimal weight to
each bit you want set (to 1) according to the following formula:
(bit_number)
2
with acceptable values for bit_number being 0 through 7. Add the weights and then send the sum with
this command.
NoteThe analyzer ignores the setting you specify for bit 6 of the Service Request enable
register. This is because the corresponding bit of the Status Byte register is always
enabled.
The analyzer requests service from the active controller when one of the following occurs:
A bit in the Status Byte register changes from 0 to 1 while the corresponding bit of the Service
Request enable register is set to 1.
A bit in the Service Request enable register changes from 0 to 1 while the corresponding bit of the
Status Byte register is set to 1.
3-14
Page 87
Common Commands
The setting last specified with *SRE is saved in nonvolatile memory. It can be recalled at power-up,
depending on the setting of the Power-on Status Clear flag (set with *PSC). When the flag is 0 at
power-up, all bits in the Service Request enable register are set according to the saved *SRE value.
When the flag is 1 at power-up, all bits in the Service Request enable register are initialized to 0.
The query returns the current state of the Service Request enable register. The state is returned as a sum
of the decimal weights of all set bits.
This command allows you to set bits in the Status Byte register. The state is returned as a sum of the
decimal weights of all set bits. The decimal weight for each bit is assigned according to the following
formula:
(bit_number)
2
with acceptable values for bit_number being 0 through 7.
The register is not cleared by this query. To clear the Status Byte register, you must send the *CLS
command.
Bits in the Status Byte register are defined as follows:
Bit 0 summarizes all enabled bits of the User Status register.
Bit 1 is reserved.
Bit 2 summarizes all enabled bits of the Device State register.
Bit 3 summarizes all enabled bits of the Questionable Status register.
Bit 4 is the Message Available (MAV) bit. It is set whenever there is something in the analyzer’s
output queue.
Bit 5 summarizes all enabled bits of the Standard Event Status register.
3-16
Page 89
Common Commands
Bit 6, when read with this query (*STB?), acts as the Master Summary Status (MSS) bit. It
summarizes all enabled bits of the Status Byte register. (Bit 6 acts as the Request Service (RQS) bit
when it is read by a serial poll.
Bit 7 summarizes all enabled bits of the Operation Status register.
For more information on the Status Byte register, see chapter 1.
The analyzer’s self-test performs a full calibration and then compares the calibration results to specified
limits. If the results are within specified limits, the analyzer returns 0. If the results exceed the specified
limits, the analyzer returns 1.
3-19
Page 92
Common Commands
*WAIcommand
Holds off processing of subsequent commands until all preceding commands have been processed.
Use *WAI to hold off the processing of subsequent commands until all pending overlapped commands
have been completed.
Some commands are processed sequentially by the analyzer. A sequential command holds off the
processing of any subsequent commands until it has been completely processed. However, some
commands do not hold off the processing of subsequent commands; they are referred to as overlapped
commands. *WAI ensures that overlapped commands are completely processed before subsequent
commands (those sent after *WAI) are processed.
See “Synchronization” in the GPIB Programmer’s Guide for additional information about the use of
*WAI and overlapped commands.
3-20
Page 93
ABORt
4
Page 94
Page 95
ABORt
This subsystem contains one command which aborts any measurement process.
This command aborts any measurement in progress and resets the trigger system. ABOR forces the
trigger system to an idle state. ABORt forces the Measuring bit (bit 4) and the Averaging bit (bit 8) of the
Operation Status register to 0. To restart a measurement you must send the INIT:IMM command.
The program message ABOR;:INIT:IMM serves a special synchronization function. When you send this
message to restart a measurement, the analyzer’s No Pending Operation (NPO) flag is set to 1 until the
measurement is complete. The two commands that test the state of this flag—*WAI and *OPC—allow
you to hold off subsequent actions until the measurement is complete. See chapter 3 of the GPIB
Programmer’s Guide for more information about synchronization.
NoteWhen averaging is on ([SENSe:]AVERage[:STATe] ON) the NPO flag is not set to 1
until n measurements have been combined into one trace. You specify the value of
with the[SENSe:] AVER:COUNt command.
n
4-2
Page 97
ARM
5
Page 98
Page 99
ARM
This subsystem contains commands that control the analyzer’s trigger-arming functions. See the
TRIGger subsystem for commands related to other triggering functions.
Figure 5-1 shows the model for the Agilent 35670A’s ARM-INITiate-TRIGger functions.
5
Figure 5-1. The Agilent 35670A's ARM-INIT-TRIG Functions