1998 Hewlett-Packard GmbH
Herrenberger Str. 110–140
71034 Boeblingen
Germany
All rights reserved. Reproduction, adaptation or translation without prior
written permission is prohibited, except as allowed under the copyright
laws.
Warranty
This Hewlett-Packard product has a warranty against defects in material
and workmanship for a period of three years from date of shipment.
During the warranty period, Hewlett-Packard Company will, at its option,
either repair or replace products that prove to be defective. For warranty
service or repair, this product must be returned to a service facility
designated by Hewlett-Packard. The Buyer shall pay Hewlett-Packard's
round-trip travel expenses. For products returned to Hewlett-Packard for
warranty service, the Buyer shall prepay shipping charges to HewlettPackard and Hewlett-Packard shall pay shipping charges to return the
product to the Buyer. However, the Buyer shall pay all shipping charges,
duties and taxes for products returned to Hewlett-Packard from another
country. Hewlett-Packard warrants that its software and firmware
designated by Hewlett-Packard for use with an instrument will execute
its programming instructions when properly installed on that instrument.
Hewlett-Packard does not warrant that the operation of the instrument
software, or firmware, will be uninterrupted or error free.
6
Notice
Limitation of Warranty
The foregoing warranty shall not apply to defects resulting from
improper or inadequate maintenance by the Buyer, Buyer-supplied
software or interfacing, unauthorized modification or misuse, operation
outside of the environmental specifications for the product, or improper
site preparation or maintenance.
No other warranty is expressed or implied. Hewlett-Packard specifically
disclaims the implied warranties of merchantability and fitness for a
particular purpose.
Exclusive Remedies
The remedies supplied are the Buyer’s sole and exclusive remedies.
Hewlett-Packard shall not be liable for any direct, indirect, special,
incidental, or consequential damages, whether based on contract, tort or
any other legal theory.
Assistance
Product maintenance agreements and other customer assistance
agreements are available for Hewlett-Packard products. For any
assistance, contact your nearest Hewlett-Packard Sales Office.
Certification
Hewlett-Packard Company certifies that this product met its published
specifications at the time of shipment. Hewlett-Packard further certifies
that its calibration measurements are traceable to the United States
Institute of Standards and Technology, to the extent allowed by the
Institute's calibrating facility, and to the calibration facilities of other
International Standards Organization members.
7
About this Book
About this Book
This guide provides reference information primarily for programming the
HP 81130A via remote control.
Chapter 1 “General Programming Aspects” on page 15 gives general
hints for programming instruments like the HP 81130A using SCPI
commands.
Chapter 2 “Programming Reference” on page 27 provides detailed
information on the SCPI commands supported by the instrument.
Chapter 3 “Specifications” on page 95 lists the instrument’s technical
specifications and provides exact definitions for the instrument’s
parameters.
For an introduction and information on the HP 81130A’s user interface,
please refer to the Quick Start Guide, p/n 81130-91010.
8
About this Book
Conventions Used in this Book
This book uses certain conventions to indicate elements of the
HP 81130A’s user interface. The following table shows some examples:
SoftkeysPress the MODE/TRG softkey to access the Mode/
Trigger screen.
HardkeysPress the MORE key to switch to the alternative
softkey layout.
Alternate KeysPress SHIFT + 0 (ON/OFF1) to switch on output1.
The alternate key label—which is selected by
pressing the SHIFT key—is given in parentheses.
Screen QuotesMove the entry focus down to P
turn the knob to select
INTERNAL
ULSE-PERIOD
PLL.
and
Entry FocusThe highlight field, that can be moved with the
cursor keys, to change modes, parameters, or
parameter formats.
:VOLTage:HIGH 3V
Full command for programming a 3 V high level.
The upper case letters represent the short form
of the command, which results in faster programming times.
*RSTCommon IEEE 488 command, to reset instru-
ment to default status.
9
Safety Information
Safety Information
Safety
This is a Safety Class 1 instrument (provided with terminal for protective
earthing). Before applying power, verify that the correct safety
precautions are taken (see the following warnings). In addition, note the
external markings on the instrument that are described under Safety
Symbols. Do not operate the instrument with its covers removed.
Replace fuse only with specified type.
Warning
Before turning on the instrument, you must connect the protective earth
terminal of the instrument to the protective earth conductor of the
(mains) power cord. The mains plug must only be inserted in a socket
outlet with a protective earth contact. Do not negate the protective
action by using an extension power cord without a protective grounding
conductor. Grounding one conductor of a two-conductor outlet is not
sufficient protection.
Service instructions are for trained service personnel. To avoid
dangerous electric shock, do not perform any service unless qualified to
do so. Do not attempt internal service or adjustment unless another
person, capable of rendering first aid and resuscitation, is present.
If you energize this instrument using an auto-transformer (for voltage
reduction) make sure that the common terminal is connected to the earth
terminal of the power source.
Whenever it is likely that the ground protection is impaired, you must
make the instrument inoperative and secure it against any unintended
operation.
Do not operate the instrument in the presence of flammable gases or
fumes. Operation of any electrical instrument in such an environment
constitutes a definite safety hazard.
Do not install substitute parts or perform any unauthorized modification
to the instrument.
10
Safety Information
Capacitors inside the instrument may retain a charge even if the
instrument is disconnected from its source of supply.
Safety Symbols
Instruction Manual symbol: The instrument is marked with this symbol
when it is necessary for you to refer to the instruction manual in order to
protect against damage to the instrument.
Protected conductor symbol.
In the manuals:
WARNING
CAUTIONCautions call attention to a procedure, practice, or the like, which, if not
Warnings call attention to a procedure, practice, or the like,
which, if not correctly performed or adhered to, could result in
personal injury or loss of life. Do not proceed beyond a Warning
until the indicated conditions are fully understood and met.
correctly performed or adhered to, could result in damage to or
destruction of part or all of the equipment. Do not proceed beyond a
Caution until the indicated conditions are fully understood and met.
This chapter provides general information on writing HP-IB/SCPI
programs for instruments like the HP 81130A.
Detailed information on programming the HP 81130A can be found in
Chapter 2 “Programming Reference” on page 27.
15
General Programming Aspects
The HP-IB Interface Bus
The HP-IB Interface Bus
The Hewlett-Packard Interface Bus is the interface used for
communication between a controller and an external device, such as the
HP 81130A. The HP-IB conforms to IEEE standard 488-1987, ANSI
standard MC 1.1, and IEC recommendation 625-1.
If you are not familiar with the HP-IB, please refer to the following
books:
The Institute of Electrical and Electronic Engineers: IEEE Standard
488.1-1987, IEEE Standard Digital Interface for Programmable Instrumentation.
•
The Institute of Electrical and Electronic Engineers: IEEE Standard
488.2-1987, IEEE Standard Codes, Formats, and Common
Commands for Use with IEEE Standard 488.1-1987.
In addition, the commands not from the IEEE 488.2 standard are defined
according to the Standard Commands for Programmable Instruments
(SCPI). For an introduction to SCPI and SCPI programming techniques,
refer to the following documents:
•
Hewlett-Packard Press (Addison-Wesley Publishing Company, Inc.):
A Beginners Guide to SCPI by Barry Eppler, 1991.
•
The SCPI Consortium: Standard Commands for Programmable
Instruments, published periodically by various publishers. To obtain a
copy of this manual, contact your Hewlett-Packard representative.
16
General Programming Aspects
HP 81130A Remote Control
HP 81130A Remote Control
HP-IB AddressYou can only set the HP-IB address from the front panel of the instrument
(refer to the Quick Start Guide).
The default HP-IB address is 10.
Modes of
Operation
The HP 81130A has two modes of operation:
•
Local
The instrument is operated using the front panel keys.
•
Remote
After receiving the first command or query via the HP-IB, the
instrument is put into remote state. The front panel is locked.
To return to local operating mode, press SHIFT (LOCAL).
17
General Programming Aspects
Programming Recommendations
Programming Recommendations
Here are some recommendations for programming the instrument:
•
Start programming from the default setting. The common command
for setting the default setting is:
*RST
•
Switch off the automatic update of the display to increase the
programming speed. The device command for switching off the
display is:
:DISPlay OFF
•
The SCPI standard defines a long and a short form of the commands.
For fast programming speed it is recommended to use the short
forms. The short forms of the commands are represented by upper
case letters. For example the short form of the command to set 100 ns
delay is:
:PULS:DEL 100NS
•
To improve programming speed it is also allowed to skip optional
subsystem command parts. Optional subsystem command parts are
depicted in square brackets, e.g.: set amplitude voltage of output 1:
[SOURce]:VOLTage[1][:LEV el][:IMMed iate][:A MPLitude] .
Sufficient to use: :VOLT 1.2V
•
For the commands to set the timing and level parameters, except of
period/frequency, you can explicitly specify the output to be
programmed (for compatibility reasons). If there is no output
specified, the commands will set the default output 1.
So, for setting a high level of 3 Volts for output 1 the commands are:
:VOLT:HIGH 3V# sets high level of 3 V at out 1
:VOLT1:HIGH 3V# sets high level of 3 V at out 1
18
General Programming Aspects
Programming Recommendations
• It is recommended to test a new setting that will be programmed on
the instrument by setting it up manually.
Enable the outputs so that the instrument’s error check system is on
and possible parameter conflicts are immediately displayed.
When you have found the correct setting, then use this to create the
program. In the program it is recommended to send the command for
enabling outputs (for example, :OUTPut ON) as the last command.
• Selftest of the instrument can be invoked by the common command
*TST
• If it is important to know whether the last command is completed,
then send the common command
*OPC?
19
General Programming Aspects
Common Command Summary
Common Command Summary
This table summarizes the IEEE 488.2 common commands supported by
the HP 81130A:
CommandParameter Description
*CLS–Clear the status structure
*ESE <0–255>Set the Standard Event Status register mask
*ESE?–Read the state of the Standard Event Status enable register
*ESR?–Read the state of the Standard Event Status event register
*IDN?–Read the Instrument's Identification string
*LRN?–Read the complete Instrument Setting
*OPC–Set the Operation Complete bit when all pending actions
are complete
*OPC?–Read the status of the Operation Complete bit
*OPT?–Read the installed options
*RCL <0–4>Recall a complete Instrument Setting from memory
*RST–Reset the instrument to standard settings
*SAV<1–4>Save the complete Instrument Setting to memory
*SRE <0–255>Set the Service Request Enable Mask
*SRE?–Read the Service Request Enable Mask
*STB?–Read the Status Byte
*TRG–Trigger
*TST?–Execute instrument’s selftest
*WAI –Wait until all pending actions are complete
20
Status Model
TIONABLE STATUS
QUES
Voltage Warning
Current Warning
Timi ng War ning
Frequency Warning
Pattern Warning
Operation Complete
Query Error
Device Dependent Error
Execution Error
Command Error
Power On
0
1
2
3
4
5
6
7
8
9
15
OPERation Status
(NOT USED)
0
1
2
3
4
5
6
7
8
9
15
Standard Event Status
0
1
2
3
4
5
6
7
MAV
SRQ
Status
Byte
0
1
2
3
4
5
6
7
General Programming Aspects
Status Model
The instrument has a status reporting system conforming to IEEE 488.2
and SCPI. The above figure shows the status groups available in the
instrument.
Each status group is made up of component registers, as shown in the
following figure.
21
General Programming Aspects
Status Model
Condition
Register
Hardware
and Firmware
condition
Transition
Filters
1
0
PTR NTR
1
0
Event
Register
Latched
Enable
Register
OR
Summary Bit
Condition Register
A condition register contains the current status of the hardware and
firmware. It is continuously updated and is not latched or buffered. You
can only read condition registers. If there is no command to read the
condition register of a particular status group, then it is simply invisible
to you.
Transition Filters
Transition filters are used to detect changes of state in the condition
register and set the corresponding bit in the event register. You can set
transition filter bits to detect positive transitions (PTR), negative
transitions (NTR) or both. Transition filters are therefore read/write
registers. They are unaffected by *CLS.
Event Register
An event register latches transition events from the condition register as
specified by the transition filters or records status events. Querying
(reading) the event register clears it, as does the *CLS command. There is
no buffering, so while a bit is set, subsequent transition events are not
recorded. Event registers are read only.
22
General Programming Aspects
Status Model
Enable Register
The enable register defines which bits in an event register are included in
the logical OR into the summary bit. The enable register is logically
ANDed with the event register and the resulting bits ORed into the
summary bit. Enable registers are read/write, and are not affected by
or querying.
*CLS
Although all status groups have all of these registers, not all status
groups actually use all of the registers. The following table summarizes
the registers used in the instrument status groups.
Registers in Group
Status Group
QUEStionable
*ESR?
*ESE
*STB?
*SRE
1
to query.
to set,
to query
to set,
OPERation
Standard Event Status
Status Byte
1 Present, but not used. COND and EVEN always 0.
2 Use
3 Use
4 Use
5 Use
CONDitionNTRPTREVENtENABLe
√√√√√
xxxxx
xxx
xxx
to query
*ESE?
to query
*SRE?
2
√
4
√
3
√
5
√
23
General Programming Aspects
Status Model
Status Byte
The status byte summarizes the information from all other status groups.
The summary bit for the status byte actually appears in bit 6 (RQS) of the
status byte. When RQS is set it generates an SRQ interrupt to the
controller indicating that at least one instrument on the bus requires
attention. You can read the status byte using a serial poll or *STB?
Bit Description
0 Unused, always 0
1 Unused, always 0
2Unused, always 0
3 QUESTionable Status Summary Bit
4 MAV—Message AVailable in output buffer
5 Standard Event Status summary bit
6RQS; ReQuest Service
7 OPERation Status summary Bit, unused
Standard Event Status Group
BitDescription
0Operation Complete, set by *OPC
1Unused, always 0
2Query Error
3Device Dependent Error
4Execution Error
5Command Error
6Unused, always 0
7Power On
The QUEStionable Status group is used to report warning conditions
amongst the voltage, current, pulse timing, frequency and pattern
parameters. Warnings occur when a parameter, although not outside its
maximum limits, could be causing an invalid signal at the output because
of the actual settings and uncertainties of related parameters.
26
2
2Programming Reference
This chapter provides reference information on the following topics:
•
“HP 81130A SCPI Command Summary” on page 28
•
“Default Values, Standard Settings” on page 36
•
“Programming the Instrument Trigger Modes” on page 40
•
“SCPI Instrument Command List” on page 44
For general programming information, please refer to Chapter 1
“General Programming Aspects” on page 15.
27
Programming Reference
HP 81130A SCPI Command Summary
HP 81130A SCPI Command Summary
CommandParameterDescriptionsee page
:ARM
[:SEQuence[1] | :STARt]
[:LAYer[1]]
:LEVel
[:THReshold]
:TERMination
:MODE
:SENSe
:SOURce
:INITiate
:CONTinuous
:CHANnel
:MATH
(Trigger mode and source)
<value>Set/read threshold level at EXT INPUT
<value>Set/read the termination voltage at EXT IN-
PUT
GATed | STARtedSet/read the trigger mode, if the source is
POSitive | NEGativeSet/read trigger on edge or gate on level
EXT1| IMM | MANSet/read trigger source
ON | OFF | 1 | 0Starts or stops the instrument, if the arming
OFF|DIGitalSet/read addition of channels of channels 1
IMMediate
not
(EXT INPUT| IMMediate | MAN key)
source is
& 2 at output 1
IMMediate
not
45
45
45
46
46
47
47
28
Programming Reference
HP 81130A SCPI Command Summary
CommandParameterDescriptionsee page
:DIGital
[:STIMulus]
:PATTern50
:LOOP47
:INFinite48
[:STATe]
:STARt
[:LEVel[1]]
[:COUNt]
:STARt
:LENGth
:PRBS
:SEGMent[1|2|3|4]
:DATA[1|2]
:LENGth
:PRESet[1|2]
:TYPE[1|2]
[:STATe]
:UPDate
:SIGNal[1|2]
:FORMat
ON | OFF | 1 | 0Enables/Disables the infinite loop
SEGM1 | SEGM2 |
SEGM3 | SEGM4
<value>Set/read the segment loop count
SEGM1 | SEGM2 |
SEGM3 | SEGM4
1 | 2 | 3 | 4Set/read the number of segments within the
<base>Set/read the PRBS base (the same for all
<data>Set/read pattern data
<segment-length>Set/read the length of the segment (if the
[<n>,]<length>Set preset pattern with frequency CLOCK÷ n
DATA|
PRBS|HIGH|LOW
OFF|ON|0|1Switch PATTERN pulse-mode on or off
OFF|ON|ONCEUpdate the hardware with pattern data
RZ | R1 | NRZSet/read data format of output channel
Set/read the start of the infinite loop (the
segment to restart the output after the last
bit of the last used segment)
Set/read the start segment for the counted
segment loop
segment loop
PRBS segments!)
length is increased, ‘0’ bits are appended)
Set/read the type of the segment
49
49
50
50
51
53
54
55
55
56
29
Programming Reference
HP 81130A SCPI Command Summary
CommandParameterDescriptionsee page
:DISPlay57
[:WINDow]
[:STATe]
:MMEMory
:CATalog?
:CDIRectory
:COPY
:DELete
:INITialize
:LOAD
:STATe
:STORe
:STATe
ON|OFF|1|0Set/read frontpanel display state
[A:]Read directory of memory card
[<name>]Change directory on memory card
<source>[,A:],<dest>
[,A: ]
<name>[,A:]Delete a file from memory card
[A:[DOS]]Initialize memory card to DOS format
<n>,<name>Load file from memory card to memory n
<n>,<name>Store memory n to memory card
Copy a file on memory card
57
58
58
59
59
59
60
:OUTPut[1|2]60
[:NORMal]
[:STATe]
:COMPlement60
[:STATe]
OFF|ON|1|0Set/read normal output state
OFF|ON|1|0Set/read complement output state
30
Programming Reference
HP 81130A SCPI Command Summary
CommandParameterDescriptionsee page
[:SOURce]
:CORRection[1|2]
:EDELay61
[:TIMe]
:CURRent[1|2]
[:LEVel]
[:IMMediate]
[:AMPLitude]
:OFFSet
:HIGH
:LOW
:LIMit
:HIGH
:LOW
:STATe
:FREQency
[:CW]
[:FIXed]
:AUTO
:HOLD[1|2]
<value>Set/read channel delay deskew
The CURRent and VOLTage subsystem cannot be used at the same time. Use the :HOLD
command to select between them.
<value>Set/read channel amplitude current
<value>Set/read channel offset current
<value>Set/read channel high-level current
<value>Set/read channel low-level current
<value>Set/read maximum current limits
<value>Set/read minimum current limits
ON|OFF|1|0Enable/Disable the current limits
<value>Set/read frequency of pulses
ONCEDo a frequency measurement at CLK IN
VOLT|CURRSwitch between VOLTage and CURRent
command subtrees
61
62
63
64
64
65
65
66
67
67
31
Programming Reference
HP 81130A SCPI Command Summary
CommandParameterDescriptionsee page
[:SOURce]
:PHASe[1|2]
[:ADJust]
:PULSe
:DCYCle[1|2]
:DELay[1|2]
:HOLD
:UNIT
:HOLD[1|2]
:PERiod
:AUTO
:TDelay[1|2]
:TRANsition[1|2]73
:UNIT
[:LEADing]
:TRAiling
:TRIGger[1]
:MODE
:POSition
:VOLTage75
[:LEVel]
[:IMMediate]
:WIDTh[1|2]
<value>
<value>Set/read channel phase
<value>Set/read channel dutycycle
<value>Set/read channel delay (to leading edge)
TIME|PRATioHold absolute delay|delay as period fixed
with varying frequency
S|SEC|PCT|DEG|
RAD
WIDTh | DCYCle |
TDELay
<value>Set/read pulse period
ONCEMeasure pulse period at CLK IN
<value>Set/read trailing edge delay
S|SEC|PCTSet/read transition-time units
<value>Set/read leading-edge transition
<value>Set/read trailing-edge transition
CONTinuous | STARt Set/read the mode of the trigger output sig-
1 | 2 | 3 | 4Set/read the trigger output signal position
TTL | PECL | SYM |
ECLGND | ECLN2V
<value>Set/read channel pulse-width
Set/read delay units
Hold Width|Dutycycle|Trailing edge delay
fixed with varying frequency
nal generation (ignored if not in pattern
mode)
Set/read TRIGGER OUTput levels
68
68
69
70
70
71
71
72
72
73
74
74
75
76
32
Loading...
+ 92 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.