Contents
HP E1366A/67A RF Multiplexers User’s Manual
HP E1366A/67A RF Multiplexers User’s Manual Contents
1
HP E1366A/67A RF Multiplexers User’s Manual Contents
3
Notes
4
HP E1366A/67A RF Multiplexers User’s Manual Contents
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 Institute of Standards and Tech-
nology (formerly National Bureau of Standards), to the extent allowed by that organization’s calibration facility, and to the calibration
facilities of other International Standards Organization members.
Warranty
This Hewlett-Packard product is warranted against defects in materials and workmanship for a period of three years from date of ship-
ment. Duration and conditions of warranty for this product may be superseded when the product is integrated into (becomes a part of)
other HP products. During the warranty period, Hewlett-Packard Company will, at its option, either repair or replace products which
prove to be defective.
For warranty service or repair, this product must be returned to a service facility designated by Hewlett-Packard (HP). Buyer shall pre-
pay shipping charges to HP and HP shall pay shipping charges to return the product to Buyer. However, Buyer shall pay all shipping
charges, duties, and taxes for products returned to HP from another country.
HP warrants that its software and firmware designated by HP for use with a product will execute its programming instructions when
properly installed on that product. HP does not warrant that the operation of the product, or software, or firmware will be uninterrupted
or error free.
Limitation Of Warranty
The foregoing warranty shall not apply to defects resulting from improper or inadequate maintenance by Buyer, Buyer-supplied prod-
ucts or interfacing, unauthorized modification or misuse, operation outside of the environmental specifications for the product, or im-
proper site preparation or maintenance.
The design and implementation of any circuit on this product is the sole responsibility of the Buyer. HP does not warrant the Buyer’s
circuitry or malfunctions of HP products that result from the Buyer’s circuitry. In addition, HP does not warrant any damage that oc-
curs as a result of the Buyer’s circuit or any defects that result from Buyer-supplied products.
NO OTHER WARRANTY IS EXPRESSED OR IMPLIED. HP SPECIFICALLY DISCLAIMS THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Exclusive Remedies
THE REMEDIES PROVIDED HEREIN ARE BUYER’S SOLE AND EXCLUSIVE REMEDIES. HP SHALL NOT BE LIABLE
FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER BASED ON CON-
TRACT, TORT, OR ANY OTHER LEGAL THEORY.
Notice
The information contained in this document is subject to change without notice. HEWLETT-PACKARD (HP) MAKES NO WAR-
RANTY OF ANY KIND WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WAR-
RANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. HP shall not be liable for errors contained
herein or for incidental or consequential damages in connection with the furnishing, performance or use of this material. This docu-
ment contains proprietary information which is protected by copyright. All rights are reserved. No part of this document may be photo-
copied, reproduced, or translated to another language without the prior written consent of Hewlett-Packard Company. HP assumes no
responsibility for the use or reliability of its software on equipment that is not furnished by HP.
Restricted Rights Legend
Use, duplication or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in
Technical Data and Computer Software clause in DFARS 252.227-7013.
Hewlett-Packard Company
3000 Hanover Street
Palo Alto, California 94304 U.S.A.
Rights for non-DOD U.S. Government Departments and Agencies are as set forth in FAR 52.227-19 (c) (1,2).
HP E1366A & E1367A RF Multiplexer Modules User’s Manual
Edition 3
Copyright © 1995 Hewlett-Packard Company. All Rights Reserved.
HP E1366A & E1367A RF Multiplexer Modules User’s Manual
5
Documentation History
All Editions and Updates of this manual and their creation date are listed below. The first Edition of the manual is Edition 1. The Edi-
tion number increments by 1 whenever the manual is revised. Updates, which are issued between Editions, contain replacement pages
to correct or add additional information to the current Edition of the manual. Whenever a new Edition is created, it will contain all of
the Update information for the previous Edition. Each new Edition or Update also includes a revised copy of this documentation his-
tory page.
Edition 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . September 1989
Edition 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . March 1993
Edition 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . December 1995
Safety Symbols
Instruction manual symbol affixed to prod-
uct. Indicates that the user must refer to the
manual for specific WARNING or CAU-
TION information to avoid personal injury
or damage to the product.
Alternating current (AC).
Direct current (DC).
Indicates hazardous voltages.
Indicates the field wiring terminal that must
be connected to earth ground before operat-
ing the equipment—protects against electri-
cal shock in case of fault.
Calls attention to a procedure, practice, or
condition that could cause bodily injury or
death.
WARNING
CAUTION
Calls attention to a procedure, practice, or con-
dition that could possibly cause damage to
equipment or permanent loss of data.
Frame or chassis ground terminal—typi-
cally connects to the equipment’s metal
frame.
or
WARNINGS
The following general safety precautions must be observed during all phases of operation, service, and repair of this product.
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 product. Hewlett-Packard Company assumes no liability for the customer’s failure to
comply with these requirements.
Ground the equipment: For Safety Class 1 equipment (equipment having a protective earth terminal), an uninterruptible safety earth
ground must be provided from the mains power source to the product input wiring terminals or supplied power cable.
DO NOT operate the product in an explosive atmosphere or in the presence of flammable gases or fumes.
For continued protection against fire, replace the line fuse(s) only with fuse(s) of the same voltage and current rating and type.
DO NOT use repaired fuses or short-circuited fuse holders.
Keep away from live circuits: Operating personnel must not remove equipment covers or shields. Procedures involving the removal
of covers or shields are for use by service-trained personnel only. Under certain conditions, dangerous voltages may exist even with the
equipment switched off. To avoid dangerous electrical shock, DO NOT perform procedures involving cover or shield removal unless
you are qualified to do so.
DO NOT operate damaged equipment: Whenever it is possible that the safety protection features built into this product have been im-
paired, either through physical damage, excessive moisture, or any other reason, REMOVE POWER and do not use the product until
safe operation can be verified by service-trained personnel. If necessary, return the product to a Hewlett-Packard Sales and Service Of-
fice for service and repair to ensure that safety features are maintained.
DO NOT service or adjust alone: Do not attempt internal service or adjustment unless another person, capable of rendering first aid
and resuscitation, is present.
DO NOT substitute parts or modify equipment: Because of the danger of introducing additional hazards, do not install substitute
parts or perform any unauthorized modification to the product. Return the product to a Hewlett-Packard Sales and Service Office for
service and repair to ensure that safety features are maintained.
6
HP E1366A & E1367A RF Multiplexer Modules User’s Manual
Declaration of Conformity
according to ISO/IEC Guide 22 and EN 45014
Manufacturer’s Name:
Hewlett-Packard Company
Loveland Manufacturing Center
Manufacturer’s Address:
815 14th Street S.W.
Loveland, Colorado 80537
declares, that the product:
Product Name:
Model Number:
Product Options:
RF Multiplexer
HP E1366A/E1367A
All
conforms to the following Product Specifications:
Safety:
IEC 1010-1 (1990) Incl. Amend 1 (1992)/EN61010-1 (1993)
CSA C22.2 #1010.1 (1992)
UL 1244
EMC:
CISPR 11:1990/EN55011 (1991): Group1, Class A
IEC 801-2:1991/EN50082-1 (1992): 4kV CD, 8kV AD
IEC 801-3:1984/EN50082-1 (1992): 3 V/m
IEC 801-4:1988/EN50082-1 (1992): 1kV Power Line
.5kV Signal Lines
Supplementary Information: The product herewith complies with the requirements of the Low Voltage Directive
73/23/EEC and the EMC Directive 89/336/EEC (inclusive 93/68/EEC) and carries the "CE" mark accordingly.
Tested in a typical HP B-size mainframe.
December 5, 1995
Jim White, QA Manager
European contact: Your local Hewlett-Packard Sales and Service Office or Hewlett-Packard GmbH, Department
HQ-TRE, Herrenberger Straße 130, D-71034 Böblingen, Germany (FAX +49-7031-143143).
HP E1366A & E1367A RF Multiplexer Modules User’s Manual
7
Notes
8
HP E1366A & E1367A RF Multiplexer Modules User’s Manual
Please fold and tape for mailing
Reader Comment Sheet
HP E1366A & E1367A RF Multiplexer Module User’s Manual
Edition 3
You can help us improve our manuals by sharing your comments and suggestions. In appreciation of your time, we will
enter you in a quarterly drawing for a Hewlett-Packard Palmtop Personal Computer (U.S. government employees
cannot participate in the drawing).
Your Name
Company Name
Job Title
City, State/Province
Country
Zip/Postal Code
Address
Telephone Number with Area Code
Please list the system controller, operating system, programming language, and plug-in modules you are using.
fold here
NO POSTAGE
NECESSARY
IF MAILED
IN THE
UNITED STATES
BUSINESS REPLY MAIL
FIRST CLASS
PERMIT NO. 37
LOVELAND, CO
HEWLETT-PACKARD COMPANY
Measurement Systems Division
Learning Products Department
P.O. Box 301
Loveland, CO 80539-9984
fold here
Please pencil-in one circle for each statement below:
Disagree
Agree
• The documentation is well organized.
• Instructions are easy to understand.
• The documentation is clearly written.
• Examples are clear and useful.
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
• Illustrations are clear and helpful.
• The documentation meets my overall expectations.
Please write any comments or suggestions below--be specific.
10 HP E1366A & E1367A RF Multiplexer Module User’s Manual
Chapter 1
Getting Started with the
HP E1366A/E1367A RF Multiplexers
Using This Chapter
This chapter includes an RF multiplexer’s description, addressing
guidelines, and an example to check initial operation. Chapter contents are:
• Multiplexer Module Description . . . . . . . . . . . . . . . . . . . . . Page 11
• Programming the Multiplexer Module. . . . . . . . . . . . . . . . . Page 13
• Initial Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 15
Multiplexer Module Description
The HP E1366A 50Ω RF Multiplexer (2 x 4:1) and the HP E1367A 75Ω RF
Multiplexer (2 x 4:1) are VXIbus and VMEbus B-size register-based
products which provide bidirectional switching and scanning for user inputs
and outputs. The multiplexers can operate in a B-size VXIbus or VMEbus
mainframe or (with an adapter) in a C-size VXIbus mainframe.
For the RF multiplexers, switching consists of connecting a channel to its
common terminal. Scanning consists of connecting a series of channels
(one at a time) to the appropriate common terminal.
Basic Operation The multiplexers consist of two banks of channels (bank 0 and bank 1) to
form two 4:1 multiplexers. Bank 0 includes channels 00 through 03 and
com 00. Bank 1 includes channels 10 through 13 and com 10. Se`e Figure
1-1 for a simplified switching diagram.
Each channel is switched (connected to its common) by closing the
appropriate (nonlatching) relays. Channels 00 through 03 can be switched
to com 00, and channels 10 through 13 can be switched to com 10. Only
one channel in each bank can be connected to its common at a time.
User inputs and outputs to each channel are made through BNC connectors.
When open (disconnected from common), each channel is terminated in its
characteristic impedance (50Ω for the E1366A, 75Ω for the E1367A).
A termination resistor (50Ω for the HP E1366A or 75Ω for the HP E1367A)
is mounted on each channel, but can be removed as desired. At power-on or
reset, all channels are open and terminated in their characteristic impedance,
and both commons are open.
Chapter 1
Getting Started with the HP E1366A/E1367A RF Multiplexers 11
Figure 1-1. Multiplexers Switching Diagram
12 Getting Started with the HP E1366A/E1367A RF Multiplexers
Chapter 1
Typical The multiplexer relays are configured in a “ tree” structure which provides
high isolation and low VSWR (voltage standing wave ratio). Each channel
can switch user inputs up to 42 Vdc or 42 Vac peak. User input frequencies
to the multiplexers can be from dc to 1.3 GHz.
Configuration
The multiplexers can be configured for several arrangements, such as
standard, tree, or matrix. You can use single scanning, multiple scanning,
or continuous scanning for any configuration.
For a SCPI (Standard Commands for Programmable Instruments)
environment, one or more multiplexers can be defined as a switchbox
instrument. For a switchbox instrument, all multiplexer channels within the
instrument can be addressed using a single interface address.
Programming the Multiplexer Module
To program the RF multiplexers using SCPI, you must select the controller
language, interface address, and SCPI commands to be used. Guidelines to
select SCPI commands for the RF multiplexers follow. See the appropriate
HP B-size or C-size configuration guide for interface addressing and
controller language information.
Note
This discussion applies to SCPI programming. See Appendix B,
RF Multiplexers Registers, for information on multiplexer registers.
Specifying SCPI To address specific channels within an RF multiplexer, you must specify the
SCPI command and multiplexer channel address. For the RF multiplexers,
Commands
use CLOSe <channel_list> to switch (close) channels and use
OPEN<channel_list> to disconnect channels. Use SCAN <channel_list> to
scan (sequentially close) multiplexer channels.
Multiplexer Channel For the RF multiplexers, the channel address (channel_list) is in the form:
Address
• (@ccnn) for a single channel
• (@ccnn,ccnn) for multiple channels
• (@ccnn:ccnn) for sequential channels
• (@ccnn:ccnn,ccnn:ccnn) for groups of sequential channels
• or any combination of the above
where "cc" is the multiplexer card number (01-99) and "nn" is the channel
numbers (00-03 and 10-13).
Chapter 1
Getting Started with the HP E1366A/E1367A RF Multiplexers 13
Multiplexer Card The multiplexer card number depends on the switchbox configuration
(single-module or multiple-module) set for the multiplexers. (Leading
zeroes can be ignored for the card number.) For a single-module switchbox,
the card number is always 01.
Numbers
For a multiple-module switchbox, the card numbers are 01, 02,...,n. The
switch module with the lowest logical address is always card number 01.
The card number with the next successive logical address is card number
02, and so on. See the HP B-size configuration guide for a definition of
logical addresses.
Example: Multiple-Module Switchbox Card Numbers
Assume the three multiplexers in the following figure form a
multiple-multiplexer switchbox instrument with multiplexer logical
addresses of 120, 121, and 122. Since card number 01 is assigned to the
module with the lowest logical address, etc., the card numbers are as shown.
Figure 1-2. Multiple-Multiplexer Switchbox Instrument
Multiplexer Channel RF multiplexer channel numbers are 00 through 03 and 10 through 13.
The channels can be addressed using channel numbers or channel ranges.
For a single-module switchbox, channel ranges can span across the two
channel banks. For multiple-module switchboxes, channel ranges can
span across the channels of all modules.
Numbers
14 Getting Started with the HP E1366A/E1367A RF Multiplexers
Chapter 1
Use commas (,) to form a channel list or use a colon (:) to form a channel
range. Only valid channels can be accessed in a channel list or channel
range. Also, the channel list or channel range must be from a lower channel
number to a higher channel number. For example, SCAN (@100:213) is
acceptable, but SCAN (@213:100) generates an error.
Example: RF Multiplexer Channel Lists/Ranges
Channel Lists:
!Close channels 00 and 12 on card 01
CLOS (@100,112)
OPEN (@203,210)
!Open channels 03 and 10 on card 02
Channel Ranges:
OPEN (@100:113)
SCAN (@100:213)
!Open all channels on card 01
!Scan all channels on cards 01 and 02
Initial Operation
An example program follows which uses Hewlett-Packard BASIC and SCPI
language to get you started using the RF multiplexers. The computer used in
the example is an HP 9000 Series 200/300 (or equivalent) controller with HP
BASIC as the program language. The computer interfaces to the mainframe
*
using the Hewlett-Packard Interface Bus (HP-IB) .
This program closes channel 02 of an RF multiplexer at logical address 120
(secondary address = 120/8 = 15) and queries the channel closure state. The
result is returned to the controller and displayed (1 = channel closed, 0 =
channel open). See the HP B-size configuration guide for information on
addressing.
Example: Close Multiplexer Channel
! Close channel 02
OUTPUT 70915;"CLOS (@102)"
OUTPUT 70915;"CLOS? (@102)"
ENTER 70915;Value
PRINT Value
! Query channel 02 state
! Enter result into Value
! Display result
END
*
HP-IB is Hewlett-Packard’s implementation of IEEE Std 488.1-1984
Chapter 1
Getting Started with the HP E1366A/E1367A RF Multiplexers 15
Notes
16 Getting Started with the HP E1366A/E1367A RF Multiplexers
Chapter 1
Chapter 2
Configuring the HP E1366A/E1367A
RF Multiplexers
Using This Chapter
This chapter shows how to make user connections to the RF multiplexers
and how to configure the multiplexer modules. Chapter contents are:
• Warnings and Cautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 17
• Connecting User Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 18
• Typical Multiplexer Configurations . . . . . . . . . . . . . . . . . . . Page 20
• Changing Multiplexer Components. . . . . . . . . . . . . . . . . . . . Page 23
Warnings and Cautions
Warning
SHOCK HAZARD. Only qualified, service-trained personnel
who are aware of the hazards involved should install, configure,
or remove the RF multiplexers. Remove all power sources from
the mainframe and installed modules before installing or
removing a module.
Warning
CHANNEL WIRING INSULATION. All channels that have a
common connection must be insulated so that the user is
protected from electrical shock in the event that two or more
channels are connected together. This means wiring for all
channels must be insulated as though each channel carries the
voltage of the highest voltage channel.
Caution
MAXIMUM VOLTAGE/CURRENT. Maximum voltage between
any RF multiplexer center conductor or shield to any other
center conductor, shield, or chassis ground is 42 Vdc or 42 Vac
peak. Maximum current per channel or common is 1 A dc or
1 A ac RMS. Maximum switching power is 24 W or 24 VA per
channel or common. Maximum power per resistive termination
is 1 W or 1 VA. Exceeding any limit may damage the module.
Chapter 2
Configuring the HP E1366A/E1367A RF Multiplexers 17
Caution
CENTER CONDUCTOR MAY SHORT TO SHIELD. Each
channel’s center conductor may momentarily short to the
shield when the channel is opened or closed. Use only
resistive (50Ω or 75Ω) or current-limited (<1 A) inputs with less
than 0.1 µF total capacitance.
Caution
STATIC-SENSITIVE DEVICE. Use anti-static procedures when
removing, configuring, and installing a module. The
multiplexer modules are susceptible to static discharges. Do
not install a multiplexer without its metal shield attached.
Connecting User Inputs
User inputs to the RF multiplexers are made through user-supplied male BNC
connectors to the female BNC connectors on the modules. Figure 2-1 shows
the multiplexer female BNC connectors and associated channel numbers.
Figure 2-1. BNC Connector Locations
18 Configuring the HP E1366A/E1367A RF Multiplexers
Chapter 2
Some guidelines for user input cabling are:
• For best high-frequency performance, user cabling should have at
least two braided shields or one braid and a foil wrap.
• Always use shielded coaxial cables with the characteristic
impedance of the multiplexer used (50Ω or 75Ω). Keep cables as
short as possible, especially in high-frequency circuits or pulse
circuits where a rise/fall time of <50 nsec is critical.
• Long cables can add delay time which can cause timing problems.
All test equipment, such as counters, spectrum analyzers, and
oscilloscopes, must be terminated in the characteristic impedance to
minimize reflection loss.
• To maintain low dc offset voltages, cables should have copper center
conductors, not copper-clad steel. RG-233/U cable is recommended.
Table 2-1 lists Hewlett-Packard BNCcables which meet these
guidelines.
Table 2-1. Hewlett-Packard BNC Cables
Type
Length
Part Number
50 Ω coaxial
30 cm (12 in)
61 cm (24 in)
122 cm (48 in)
8120-1838
8120-1839
8120-1840
75 Ω coaxial
30 cm (12 in)
61 cm (24 in)
5062-6452
5063-0061
Chapter 2
Configuring the HP E1366A/E1367A RF Multiplexers 19
Typical Multiplexer Configurations
Typical RF multiplexer configurations are:
• Standard configuration (2 x 4:1 multiplexer)
• Tree configuration (1 x 12:1 multiplexer)
• Matrix-type configuration (4:1 to 4:1 multiplexer)
Standard Figure 2-2 shows the standard configuration (2 x 4:1) for the RF
multiplexers. With this configuration, you can switch channels 00-03 to
com 00 and switch channels 10-13 to com 10. One channel per bank can be
connected to its common at a time.
Configuration
Figure 2-2. Typical Standard Configuration
20 Configuring the HP E1366A/E1367A RF Multiplexers
Chapter 2
Tree Configuration Figure 2-3 shows a typical tree configuration which uses two RF
multiplexers to provide a 1 x 12:1 multiplexer. This configuration provides
isolation of test points while maintaining characteristic impedance. With
tree configuration, signal delay time is more than doubled since the signal
must pass through two channel banks plus extra cabling. Keep cables as
short as possible, especially between channel banks, to minimize delay.
Figure 2-3. Typical Tree Configuration
Chapter 2
Configuring the HP E1366A/E1367A RF Multiplexers 21
Matrix-Type Figure 2-4 shows the two banks of an RF multiplexer connected to form a
matrix-type arrangement. This configuration provides a way to connect
Configuration
multiple devices under test (DUTs) to multiple test instruments. With this
configuration, only one channel in bank 0 (one “row”) can be connected to
one channel in bank 1 (one “column”) at a time.
Figure 2-4. Typical Matrix-Type Configuration
22 Configuring the HP E1366A/E1367A RF Multiplexers
Chapter 2
Changing Multiplexer Components
As required, you can change the logical address switch setting, replace the
protection fuses, change the interrupt priority jumper setting, or remove
channel termination resistors. See Figure 2-5 for locations.
Figure 2-5. RF Multiplexer Component Locations
Chapter 2
Configuring the HP E1366A/E1367A RF Multiplexers 23
Notes
24 Configuring the HP E1366A/E1367A RF Multiplexers
Chapter 2
Chapter 3
Using the HP E1366A/E1367A
RF Multiplexer Module
Using This Chapter
This chapter provides examples to switch multiplexer channels and to scan
multiplexer channels. As required see Chapter 4, Understanding the RF
Multiplexers, to modify the examples for your application. Also, see
Chapter 5, RF Multiplexers Command Reference, for command
information. Chapter contents are:
• Multiplexer Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 25
• Switching Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 25
• Scanning Channels. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 29
Multiplexer Commands
Table 3-1. RF Multiplexer Commands Used in Chapter 3
Command
Description
Close channels
Open channels
CLOS <channel_list>
OPEN <channel_list>
TRIG:SOUR BUS |EXT |HOLD |IMM
SCAN <channel_list>
INIT
Set scanning trigger source
Define channels to be scanned
Start scan, close first channel
Switching Channels
• Switching channels consists of closing or opening a channel. Close
channels 00-03 by connecting a channel to com 00 or close channels
10-13 by connecting a channel to com 10. Only one channel per
bank can be closed at a time.
• Use CLOSe <channel_list> to close channels use
OPEN <channel_list> to open channels. channel_list has the form
(@ccnn) for a single channel, (@ccnn,ccnn,...) for two or more
channels, or (@ccnn:ccnn) for a set of channels where cc = card
number, nn = channel number.
• Switching configurations include standard, matrix, and tree. See
Chapter 2 for configuration details.
Chapter 3
Using the HP E1366A/E1367A RF Multiplexer Module 25
Example: Standard This example connects channel 02 to com 00 of an RF multiplexer in
standard configuration. The multiplexer is defined as a single-multiplexer
switchbox instrument. See the following figure for typical user
connections. To connect channel 02 to com 00, execute:
Switching
CLOS (@102)
! Connect channel 02 to com 00.
1 is the card number and 02 is the
channel number.
To open the channel, use OPEN (@102).
Figure 3-1. Standard Switching
26 Using the HP E1366A/E1367A RF Multiplexer Module
Chapter 3
Example: Tree This example uses two RF multiplexers in a tree configuration to connect
com 10 of multiplexer #1 with channel 12 of multiplexer #2. The two
Switching
multiplexers form a multiple-multiplexer switchbox instrument with
multiplexer #1 as card 01 and multiplexer #2 as card 02. See the following
figure for typical user connections. To make this connection, execute:
CLOS (@112,212)
! Connect com 10 of multiplexer #1
to channel 12 of multiplexer #2.
To open the channels, use OPEN (@112,212).
Figure 3-2. Tree Switching
Chapter 3
Using the HP E1366A/E1367A RF Multiplexer Module 27
Example: This example connects channel 13 to channel 01 of an RF multiplexer in
matrix-type configuration. The multiplexer is defined as a single-module
switchbox instrument. See the following figure for typical user
connections.
Matrix-Type
Switching
To connect channel 13 to channel 01, execute:
CLOS (@101,113)
! Connect channel 01 to channel 13.
1 is the card number and 01, 13
are channel numbers.
Figure 3-3. Matrix-Type Switching
To open the channels, use OPEN (@101,113).
Switching Query Channel States. Use CLOSe? <channel_list> or
OPEN? <channel_list> to query the channel states (open/closed). CLOSe?
returns a 1 for channels closed, 0 for channels open. OPEN? returns a 0 for
channels closed, 1 for channels open. (Commands do not account for relay
Channels
Comments
hardware failures.)
Channel Closure Order. CLOSe <channel_list> can be used to close
multiple channels (one at a time). However, the sequence in which multiple
channels are closed with a single command is not guaranteed.
28 Using the HP E1366A/E1367A RF Multiplexer Module
Chapter 3
Scanning Channels
• Scanning channels consists of closing a set of channels, one channel
at a time. You can scan any combination of channels for a
single-multiplexer or multiple-multiplexer switchbox.
• Single, multiple, or continuous scanning modes are available. Any
switching configuration can be used for scanning. See Chapter 4.
Example: Scanning This example shows one way to synchronize instrument measurements of DUTs
with RF multiplexer channel closures. For measurement synchronization, the HP
E1300A/E1301A Trig Out BNC port is connected to the instrument External
Trigger In port. See the following figure for typical user connections.
Using Trig Out Port
For this example, the mainframe and instrument are connected via HP-IB
with mainframe address of 709 and instrument address of 722. The RF
multiplexer is at logical address 120 (secondary address 15). (You must add
required instrument commands to line 10.)
10 OUTPUT 722;"TRIG EXT;...."
20 OUTPUT 70915;"OUTP ON"
! Ext triggering
! Enable Trig Out
30 OUTPUT 70915;"TRIG:SOUR BUS" ! Bus triggering
40 OUTPUT 70915;"SCAN (@100:103)" ! Scan channels
50 OUTPUT 70915;"INIT"
60 FOR I=1 TO 4
70 ENTER 722;A
80 PRINT A
! Enable scan
! Start loop
! Enter result
! Display result
! Advance scan
! Increment count
90 TRIGGER 70915
100 NEXT I
110 END
Figure 3-4. Scanning Using Trig Out Port
Chapter 3
Using the HP E1366A/E1367A RF Multiplexer Module 29
Scanning Channels Scan List Can Extend Across Boundaries. For multiple-multiplexer
switchbox instruments, the scan list can extend across multiplexer
boundaries. For example, for a two-multiplexer switchbox instrument,
Comments
SCAN (@100:213) will scan all channels in both multiplexers.
Setting Multiple/Continuous Scans. Use ARM:COUN <number> to set
from 1 to 32767 scans through the scan list. Use INIT:CONT ON to set
continuous scanning. See Chapter 4.
30 Using the HP E1366A/E1367A RF Multiplexer Module
Chapter 3
Chapter 4
Understanding the HP E1366A/E1367A
RF Multiplexers
Using This Chapter
This chapter explains techniques to scan RF multiplexer channels and
shows how to use the Scan Complete bit. The chapter contents are:
• Scanning Channels Commands . . . . . . . . . . . . . . . . . . . . . . Page 31
• Using Scanning Trigger Sources . . . . . . . . . . . . . . . . . . . . . Page 31
• Scanning with External Instruments. . . . . . . . . . . . . . . . . . . Page 31
• Using the Scan Complete Bit . . . . . . . . . . . . . . . . . . . . . . . . Page 36
Scanning Channels Commands
Scanning RF multiplexer channels consists of closing a set of channels, one
at a time. Single scan, multiple (2 to 32767) scans, or continuous scanning
modes are available. See Figure 4-1 for scanning commands.
Using Scanning Trigger Sources
The TRIG:SOUR command specifies the source to advance the scan. You
can use the TRIG command to advance the scan when TRIG:SOUR BUS or
TRIG:SOUR HOLD is set. The OUTP command can be used to enable the
HP E1300A/E1301A Trig Out or the HP E1405A/E1406A port. Figure 4-2
shows scanning trigger sources.
Scanning with External Instruments
Scanning RF multiplexer channels has the same effect as executing multiple
CLOSe commands. Thus, scanning is useful when the outputs7from a
number of DUTs are to be measured with an instrument. Two examples
using HP BASIC programming language follow.
Chapter 4
Understanding the HP E1366A/E1367A RF Multiplexers 31
Sets Number of Scanning Cycles
ARM:COUN<number> sets 1 to 32767 scans
through the channel list per INIT command.
Default is one scanning cycle.
Selects the Trigger Source
TRIG:SOUR defines the trigger source to
advance the scan. Default is TRIG:SOUR IMM.
TRIG:SOUR? queries the current trigger source.
Sources are:
BUS = *TRG via HP-IB interface
EXT = Event In connector
HOLD = Hold triggering
IMM = Automatic advance
Selects Continuous Scanning Cycles
Use INIT:CONT ON or INIT:CONT 1 to enable
continuous scanning cycles. Default made is
fixed number of scans, with number set by
ARM:COUN<number>.
Selects Scan Mode
SCAN:MODE sets the RF multiplexers for
NONE, VOLT, RES, or FRES. NONE, VOLT,
and RES have no effect on RF multiplexer
operation. FRES sets "paired-channel"
scanning.
Selects the Scan List
SCAN<channel_list> defines channels to
be scanned using the trigger source set by
the TRIG:SOUR command.
Enables Scanning
INIT starts scanning for any trigger source
and closes the first channel in the channel list.
Advances the Scan
TRIG can be used to advance the scan for
TRIG:SOUR BUS or TRIG:SOUR HOLD. The
command is not functional when TRIG:SOUR IMM
or TRIG:SOUR EXT is set.
Figure 4-1. Scanning Channels Commands
32 Understanding the HP E1366A/E1367A RF Multiplexers
Chapter 4
Trigger Hold (TRIG:SOUR HOLD)
TRIG:SOUR HOLD prevents execution
of triggers until trigger source is changed.
Can use TRIG command to trigger a
switchbox set to TRIG:SOUR HOLD.
Advance Scan (TRIG)
Immediate Triggering (TRIG:SOUR IMM)
Can use TRIG command to ad-
vance the scan list when switch-
box is in TRIG:SOUR HOLD or
TRIG:SOUR BUS. For either
trigger source, the scan list
advances one channel per
TRIG command.
TRIG:SOUR IMM sets immediate
(internal) triggering. The scan list is
automatically advanced. This is the
default trigger mode.
Bus Triggering (TRIG:SOUR BUS)
TRIG:SOUR BUS defines trigger
source as a *TRG or GET
command executed over the HP-IB.
With TRIG:SOUR BUS, the scan list
is advanced for each *TRG or GET
command received.
External Trigger (TRIG)
TRIG:SOUR EXT sets external
triggering. The trigger source is a
(user supplied) input to the Event In
port. Use a +5V negative-going pulse
to trigger.
With two or more switchboxes in a
mainframe, the first switchbox set for
EXT trigger keeps the trigger resource
until the switchbox source is changed
to BUS, HOLD, or IMM.
Enabling Trig Out Port (OUTP ON)
The Trig Out port is shared by all
instruments in the mainframe. With
the port enabled (with OUTP ON), it
generates an output trigger after
each channel closure for ANY
switchbox in the mainframe. The
Trig Out port outputs a +5V
negative-going pulse.
Figure 4-2. Scanning Trigger Sources
Chapter 4
Understanding the HP E1366A/E1367A RF Multiplexers 33
Example: Scanning This example uses the HP E1300A/E1301A mainframe "Trig Out" port to
synchronize the RF multiplexer channel closures to an external
with External Device
measurement device. See the figure below for typical user connections.
For measurement synchronization, the HP E1300A/E1301A Trig Out BNC
port is connected to the instrument External Trigger In port.
For this example, the HP E1300A/E1301A and the instrument are
connected via HP-IB with HP E1300A/E1301A address of 709 and
instrument address of 722. The RF multiplexer logical address is 120
(secondary address =120/8 =15). The measurements are transferred
directly to the computer. (Appropriate instrument commands must be
added to line 10.) The sequence of operation is:
1. INIT (line 50) closes channel 100.
2. The channel closure causes a trigger output from the "Trig Out" port.
3. Trigger to Ext Trig In initiates channel 100 measurement.
4. Result is sent to the computer (lines 60 to 80).
5. TRIGGER command (line 90) advances the scan to channel 101.
6. Steps 2-5 are repeated for channels 101 through 102.
10 OUTPUT 722;"TRIG EXT;..."
20 OUTPUT 70915;"OUTP ON"
! Configure instrument
! Enables "Trig Out" port
30 OUTPUT 70915;"TRIG:SOUR BUS" ! HP-IB bus triggering
40 OUTPUT 70915;"SCAN (@100;102)" ! Scan channels 00-02
50 OUTPUT 70915;"INIT"
60 FOR I = 1 TO 3
70 ENTER 722;A
80 PRINT A
! Enable scan
! Start count loop
! Enter reading
! Display reading
! Advance scan
! Increment count
90 TRIGGER 70915
100 NEXT I
110 END
Figure 4-3. Scanning with External Device
34 Understanding the HP E1366A/E1367A RF Multiplexers
Chapter 4
Example: Scanning This example uses the HP E1300A/E1301A mainframe "Trig Out" and
"Event In" ports to synchronize RF multiplexer channel closures with an
external measurement device. See the figure below for typical user
connections. For this example, the mainframe and instrument are connected
via HP-IB with mainframe address of 709 and instrument address of 722.
The RF multiplexer’s logical address is 120 (secondary address =120/8 =15).
Using "Trig Out"
and " Event In"
Ports
With this example, since synchronization with the computer cannot be
ensured, the external instrument must have internal memory capacity to
store the readings. Also, you must add the appropriate instrument
commands to line 10. The sequence of operation is:
1. INIT (line 50) closes channel 100.
2. The channel closure causes a trigger output from the "Trig Out" port.
3. Trigger to Ext Trig In starts channel 100 measurement.
4. Channel 100 measurement result is stored in instrument.
5. Trigger is then output from multimeter’s "MEASUREMENT
COMPLETE" port.
6. Trigger to "Event In" port advances scan to channel 101.
7. Steps 2-6 are repeated for channels 101 through 102.
10 OUTPUT 722;"TRIG EXT;..."
20 OUTPUT 70915;"OUTP ON"
! Configure instrument
! Enables "Trig Out" port
30 OUTPUT 70915;"TRIG:SOUR EXT" ! Event In triggering
40 OUTPUT 70915;"SCAN (@100:102)" ! Scan channels 00-02
50 OUTPUT 70915;"INIT"
60 END
! Enable scan
Figure 4-4. Scan Using "Trig Out" and "Event In" Ports
Chapter 4
Understanding the HP E1366A/E1367A RF Multiplexers 35
Using the Scan Complete Bit
You can use the Scan Complete Bit (bit 8) in the Operation Status register
of a switchbox to determine when a scanning cycle completes (no other bits
in the register apply to the switchbox). Bit 8 has a decimal value of 256 and
you can read it directly with the STAT:OPER? command. Refer to
STATus:OPERation[:EVENt]? command in Chapter 5 for an example.
When enabled by the STAT:OPER:ENAB 256 command, the Scan Complete
Bit will be reported as bit 7 of the Status register. Use the HP-IB Serial Poll
or the IEEE 488.2 Common Command *STB? to read the Status register.
When bit 7 of the Status register is enabled by the *SRE 128 Common
Command to assert an HP-IB Service Request (SRQ), you can interrupt the
computer when the Scan Complete Bit is set, after a scanning cycle
completes. This allows the controller to do other operations while the
scanning cycle is in progress.
The following example monitors bit 7 in the Status register to determine
when the scanning cycle completes. The computer used in this example is
an HP 9000 Series 200/300 used with HP BASIC as the programming
language. The computer interfaces with an HP E1300A/E1301A mainframe
over HP-IB. The HP-IB select code is 7, the HP-IB primary address is 09,
and the HP-IB secondary address is 15.
Example: Scan
Complete Interrupt
10 OUTPUT 70915;"*CLS"
! Clear all switchbox status structure
20 OUTPUT 70915;"STAT:OPER:ENAB 256"
! Enable Scan Complete Bit to
set bit 7 in Status register
30 OUTPUT 70915;"*SRE 128"
! Enable bit 7 of Status register to
assert SRQ
40 OUTPUT 70915;"TRIG:SOUR EXT" ! External trigger mode
50 OUTPUT 70915;"SCAN (@100:105)" ! Select channels to be scanned
60 OUTPUT 70915;"INIT"
! Start scanning cycle
70 WHILE NOT BIT(SPOLL(70915),7)
! Waiting for scan complete
80 PRINT "DO OTHER OPERATION HERE"
! Enter program lines for
computer to do other operations
90 END WHILE
100 PRINT "INTERRUPT GENERATED" ! Program goes to this line after
interrupt generated by a completed
scanning cycle
110 END
36 Understanding the HP E1366A/E1367A RF Multiplexers
Chapter 4
l
Chapter 5
HP E1366A/E1367A RF Multiplexers
Command Reference
Using This Chapter
This chapter describes Standard Commands for Programmable Instruments
(SCPI) and summarizes IEEE 488.2 Common (*) commands applicable to
both RF Multiplexer modules. See the appropriate HP B-size or C-size
configuration guide for additional information on SCPI and Common
commands. This chapter contains the following sections.
• Command Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 37
• SCPI Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . Page 40
• IEEE 488.2 Common Commands . . . . . . . . . . . . . . . . . . . . . Page 59
• Command Quick Reference. . . . . . . . . . . . . . . . . . . . . . . . . . Page 60
Command Types
Commands are separated into two types: IEEE 488.2 Common commands
and SCPI commands.
Common The IEEE 488.2 standard defines the Common commands that perform
functions like reset, self-test, status byte query, etc. Common commands
Command Format
are four or five characters in length, always begin with the asterisk character
(*), and may include one or more parameters. The command keyword is
separated from the first parameter by a space character. Some examples of
Common commands are shown be ow:
*RST
*ESR 32
*STB?
SCPI Command SCPI commands perform functions like closing switches, and querying
instrument states or retrieving data. A subsystem command structure is a
Format
hierarchical structure that usually consists of a top-level (or root) command,
one or more lower-level commands, and their parameters. The following
example shows part of a typical subsystem:
[ROUTe:]
CLOSe<channel_list>
SCAN<channel_list>
:MODE?
[ROUTe:] is the root command, CLOSe and SCAN are second-level
commands with parameters, and :MODE? is a third-level command.
Chapter 5
HP E1366A/E1367A RF Multiplexers Command Reference 37
Command Separator A colon (:) always separates one command from the next lower-level
command as shown below:
ROUTe:SCAN:MODE?
Colons separate the root command from the second-level command
([ROUTe:]SCAN) and the second level from the third level (SCAN:MODE?).
Abbreviated The command syntax shows most commands as a mixture of upper- and
lowercase letters. The uppercase letters indicate the abbreviated spelling for
the command. For shorter program lines, send the abbreviated form. For
better program readability, you may send the entire command. The
instrument will accept either the abbreviated form or the entire command.
Commands
For example, if the command syntax shows MEASure, then MEAS and
MEASURE are both acceptable forms. Other forms of MEASure, such as
MEASU or MEASUR will generate an error. You may use upper- or
lowercase letters. Therefore, MEASURE, measure, and MeAsUrE are all
acceptable.
Implied Commands Implied commands are those which appear in square brackets ( [ ] ) in the
command syntax. (Note that the brackets are not part of the command and
are not sent to the instrument.) Suppose you send a second-level command
but do not send the preceding implied command. In this case, the
instrument assumes you intend to use the implied command and it responds
as if you had sent it. Examine the SOURce subsystem shown below:
[SOURce:]
PULSe
:COUNt <count>
:COUNt? [<MIN | MAX>]
:PERiod <period>
:PERiod? [<MIN | MAX>]
The root command SOURce: is an implied command. To set the
instrument’s pulse count to 25, you can send either of the following
command statements:
SOUR:PULS:COUN 25
or
PULS:COUN 25
38 HP E1366A/E1367A RF Multiplexers Command Reference
Chapter 5
Parameters Parameter Types. The following table contains explanations and examples
of parameter types you might see later in this chapter.
Table 5-1. SCPI Parameter Types
Parameter Type Explanations and Examples
Numeric
Accepts all commonly used decimal representations of
numbers including optional signs, decimal points, and
scientific notation.
123, 123E2, -123, -1.23E2, .123, 1.23E-2, 1.23000E-01.
Special cases include MIN, MAX, and INF.
Boolean
Discrete
Represents a single binary condition that is either
true or false.
ON, OFF, 1, 0.
Selects from a finite number of values. These parameters
use mnemonics to represent each valid setting.
An example is the TRIGger:SOURce <source> command
where <source> can be BUS, EXT, HOLD, or IMM.
Optional Parameters. Parameters shown within square brackets ( [ ] ) are
optional parameters. (Note that the brackets are not part of the command
and are not sent to the instrument.) If you do not specify a value for an
optional parameter, the instrument chooses a default value. For example,
consider the ARM:COUNt? [<MIN | MAX>] command. If you send the
command without specifying a parameter, the present ARM:COUNt value is
returned. If you send the MIN parameter, the command returns the
minimum count available. If you send the MAX parameter, the command
returns the maximum count available. Be sure to place a space between the
command and the parameter.
Linking Commands Linking IEEE 488.2 Common Commands with SCPI Commands. Use
a semicolon (;) between the commands. For example:
*RST;OUTP ON
or
TRIG:SOUR HOLD;*RST
Linking Multiple SCPI Commands. Use both a semicolon (;) and a colon
(:) between the commands. For example:
ARM COUN 1;:TRIG:SOUR EXT
Chapter 5
HP E1366A/E1367A RF Multiplexers Command Reference 39
SCPI Command Reference
This section describes the Standard Commands for Programmable
Instruments (SCPI) commands for the RF multiplexers. Commands are
listed alphabetically by subsystem and within each subsystem.
ABORt
The ABORt subsystem stops a scan in progress when the scan is enabled via
the interface, and the trigger modes are TRIGger:SOURce BUS or
TRIGger:SOURce HOLD.
Subsystem Syntax ABORt
Comments
• ABORt operation invalidates the current channel list and sets
ARM:COUNt 1 (one scanning cycle per INITiate command), sets
INITiate CONTinuous OFF (no continuous scanning cycles), and sets
TRIGger:SOURce IMMediate (continuous internal triggering).
• Stopping Scans Enabled from Interface: When a scan is enabled
from the interface, use an interface CLEAR command or the
HP E1301A front panel “Reset Instr” or “Clear Instr” key to stop
the scan.
When the scan is enabled from the interface and the trigger source is
TRIGger:SOURce BUS or TRIGger:SOURce HOLD, use ABORt or
the HP E1301A front panel “Reset Instr” or “Clear Instr” key to
stop the scan.
• Stopping Scans Enabled from Front Panel: When a scan is
enabled from the HP E1301A front panel, execute *RST entered via
the interface or the front panel “Reset Instr” or “Clear Instr” key to
stop the scan.
• Related Commands: ARM, INITiate:CONTinuous, [ROUTe:]SCAN,
TRIGger
Example Stopping a Scan with ABORt
TRIG:SOUR BUS
!*TRG command is trigger source
! Set continuous scanning
! Scan channels 00-03
INIT:CONT ON
SCAN (@100:103)
INIT
! Start scan, close channel 00
.
.
ABOR
! Abort scan in progress
40 HP E1366A/E1367A RF Multiplexers Command Reference
Chapter 5
ARM
The ARM subsystem selects the number of scanning cycles (1 through
32767) for each INITiate command.
Subsystem Syntax ARM
:COUNt <number> MIN | MAX
:COUNt? [MIN | MAX]
:COUNt
ARM:COUNt <number> MIN | MAX allows scanning cycles to occur a
multiple of times (1 to 32767) with one INITiate command when
INITiate:CONTinuous OFF |0 is set. MIN sets 1 cycle and MAX sets 32767
cycles.
Parameters
Parameter Name
Parameter Type
Range of Values
numeric
1 |32767 |MIN |MAX
<number>
Comments
• Number of Scans: Use only values between 1 to 32767 for the
number of scanning cycles.
• Related Commands: ABORt, INITiate:IMMediate
• *RST Condition: ARM:COUNt 1
Example Setting Ten Scanning Cycles
This example sets an RF multiplexer for 10 scans of channels 00 through
03. When the scan sequence completes, channel 03 is closed.
ARM:COUN 10
SCAN (@100:103)
INIT
! Set 10 scans per INIT command
! Scan channels 00-03
! Start scan, close channel 00
Chapter 5
HP E1366A/E1367A RF Multiplexers Command Reference 41
:COUNt?
ARM:COUNt? [MIN | MAX] returns current number of scanning cycles set
by ARM:COUNt. The current number of scan cycles is returned when MIN
or MAX is not supplied. With MIN or MAX passed as parameters, MIN
returns 1 and MAX returns 32767.
Parameters
Parameter Name
Parameter Type
Range of Values
MIN | MAX
numeric
MIN = 1, MAX = 32767
Comments
• Related Commands: INITiate[:IMMediate]
Example Query Number of Scanning Cycles
This example sets a switchbox for 10 scanning cycles of channels 00
through 03 and queries the number of scan cycles set. The ARM:COUN?
command returns 10.
ARM:COUN 10
ARM COUN?
! Set 10 scans per INIT command
! Query number of scans
42 HP E1366A/E1367A RF Multiplexers Command Reference
Chapter 5
DISPlay
The DISPlay subsystem monitors the channel state of a selected module
(or card) in a switchbox. This subsystem operates only with mainframes
which have a display, such as the HP 75000 Series B Mainframe
(HP E1301A).
Subsystem Syntax DISPlay
:MONitor
[:STATe] <boolean>
:CARD <number> | AUTO
:MONitor[:STATe] DISPlay:MONitor[:STATe] <boolean> turns the monitor mode on or off.
Parameters
Parameter Name
Parameter Type
Range of Values
ON | OFF | 1 | 0
boolean
ON | OFF | 1 | 0
Comments
• Monitoring Switchbox Channels: DISPlay[:STATe] ON or
DISPlay[:STATe] 1 turns the monitor mode on to show the channel
state of the selected module. DISPlay[:STATe] OFF or
DISPlay[:STATe] 0 turns the monitor mode off.
• Selecting the Module to be Monitored: Use the
DISPlay:MONitor:CARD <number> AUTO command to select the
module.
• Monitor Mode on an HP E1301A Mainframe Display: A typical
display for the HP E1366A or HP E1367A RF Multiplexer module
follows, where channel 00 (in bank 0) and channel 13 (in bank 1) are
closed.
B0:0 B1:3
• *RST Condition: DISPlay:MONitor[:STATe] OFF | 0
Example Enabling the Monitor Mode
DISP:MON:CARD 2
DISP:MON 1
! Selects module #2 in a switchbox
! Turns the monitor mode ON
Chapter 5
HP E1366A/E1367A RF Multiplexers Command Reference 43
:MONitor:CARD DISPlay:MONitor:CARD <number> | AUTO selects the module in a
switchbox to be monitored.
Parameters
Parameter Name
Parameter Type
Range of Values
numeric
1-99
<number> | AUTO
Comments
• Selecting a Specific Module to be Monitored: Use the
DISPlay:MONitor:CARD command to send the module number for
the switchbox to be monitored.
• Selecting the Present Module to be Monitored: Use the
DISPlay:MONitor:AUTO command to select the last module
addressed by a switching command (e.g., [ROUTe:]CLOSe).
• *RST Condition: DISPlay:MONitor:CARD AUTO
Example Select Module #2 in a Switchbox for Monitoring
DISP:MON:CARD 2
! Selects module #2 in a switchbox
44 HP E1366A/E1367A RF Multiplexers Command Reference
Chapter 5
INITiate
The INITiate subsystem selects continuous scanning cycles and starts the
scanning cycle.
Subsystem Syntax INITiate
:CONTinuous ON | OFF | 1 | 0
:CONTinuous?
[:IMMediate]
:CONTinuous INITiate:CONTinuous ON | OFF | 1 | 0 enables or disables continuous
scanning cycles for the switchbox.
Parameters
Parameter Name
Parameter Type
Range of Values
ON | OFF | 1 | 0
boolean
ON | OFF | 1 | 0
Comments
• Continuous Scanning Operation: Continuous scanning is enabled
with the INITiate:CONTinuous ON or INITiate:CONTinuous 1
command. Sending the INITiate[:IMMediate] command closes the
first channel in the channel list.
• Each trigger from a trigger source selected by the TRIGger:SOURce
command advances the scan through the channel list. A trigger at
the end of the channel list closes the first channel in the channel list
and the scan cycle repeats.
• Non-Continuous Scanning Operation: This is enabled with the
INITiate:CONTinuous OFF or INIT:CONT 0 command. Sending the
INIT:IMM command closes the first channel in the channel list.
Each trigger from a trigger source selected by the TRIGger:SOURce
command advances the scan through the channel list. At the end of
the scanning cycle, all channels in the channel list are closed.
• Stopping Continuous Scans: See the ABORt command.
• Related Commands: ABORt, ARM:COUNt, TRIGger
• *RST Condition: INITiate:CONTinuous OFF
Example Enabling Continuous Scans
This example enables continuous scanning of channels 00 through 03 of a
single-module switchbox. Since TRIGger:SOURce IMMediate (default) is
set, use an interface clear command (such as CLEAR) to stop the scan.
INIT:CONT ON
SCAN (@100:103)
INIT
! Enable continuous scanning
! Define channel list
! Start scan cycle, close channel 00
Chapter 5
HP E1366A/E1367A RF Multiplexers Command Reference 45
:CONTinuous? INITiate:CONTinuous? queries the scanning state. With continuous
scanning enabled, the command returns 1. With continuous scanning
disabled, the command returns 0.
Example Query Continuous Scanning State
This example enables continuous scanning of a switchbox and queries the
state. Since continuous scanning is enabled, INIT:CONT? returns 1.
INIT:CONT ON
INIT:CONT?
! Enable continuous scanning
! Query continuous scanning state
[:IMMediate] INITiate[:IMMediate] starts the scanning cycle and closes the first channel
in the channel list. Successive triggers from the source selected by the
TRIGger:SOURce command advances the scan through the channel list.
Comments
• Starting the Scanning Cycle: The INITiate[:IMMediate] command
starts scanning by closing the first channel in the channel list. Each
trigger received advances the scan to the next channel in the channel
list. An invalid channel list definition generates an error (see
[ROUTe:]SCAN command).
• Stopping Scanning Cycles: See the ABORt command.
Example Enabling a Single Scan
This example enables a single scan of channels 00 through 03 of a
single-module switchbox. The trigger source to advance the scan is
immediate (internal) triggering set with (default) TRIGger:SOURce
IMMediate.
SCAN (@100:103)
INIT
! Scan channels 00-03
! Begin scan, close channel 00 (use
immediate triggering)
46 HP E1366A/E1367A RF Multiplexers Command Reference
Chapter 5
OUTPut
The OUTPut subsystem enables or disables the “Trig Out” port of the
HP E1300A/E1301A mainframe or the HP E1405A/E1406A module.
Subsystem Syntax OUTPut
[:STATe] ON | OFF | 1 | 0
[:STATe]?
[:STATe] OUTPut[:STATe] ON | OFF | 1 | 0 enables/disables the “Trig Out” port on
the rear panel of the HP E1300A/E1301A mainframe or the
HP E1405A/E1406A module. OUTPut[:STATe] ON | 1 enables the port
and OUTPut[:STATe] OFF | 0 disables the port.
Parameters
Parameter Name
Parameter Type
Range of Values
ON | OFF | 1 | 0
boolean
ON | OFF | 1 | 0
Comments
• Enabling “Trig Out” Port: When enabled, a pulse is output from
the “Trig Out” port after each scanned switchbox channel is closed.
If disabled, a pulse is not output from the port after channel closures.
The output pulse is a +5 V negative-going pulse.
• “Trig Out” Port Shared by Switchboxes: When enabled, the
“Trig Out” port is pulsed by any switchbox each time a scanned
channel is closed. To disable the output for a specific switchbox,
send the OUTPut[:STATe] OFF or OUTPut[:STATe] 0 command for
that switchbox.
• Related Commands: [ROUTE:]SCAN, TRIGger:SOURce
• *RST Condition: OUTPut[:STATe] OFF (port disabled)
Example Enable "Trig Out" Port
OUTP:STAT ON
! Enable “Trig Out” port to output
pulse after each scanned channel is
closed
[:STATe]? OUTPut[:STATe]? queries the present state of the “Trig Out” port. The
command returns 1 if the port is enabled or 0 if the port is disabled.
Example Query “Trig Out” Port Enable State
This example enables the “Trig Out” Port and queries the enable state. The
OUTPut[:STATe]? command returns 1 since the port is enabled.
OUTP:STAT ON
OUTP:STAT?
! Enable “Trig Out” port
! Query port enable state
Chapter 5
HP E1366A/E1367A RF Multiplexers Command Reference 47
[ROUTe:]
The ROUTe subsystem controls switching and scanning operations for RF
multiplexer modules in a switchbox.
Subsystem Syntax [ROUTe:]
CLOSe <channel_list>
CLOSe? <channel_list>
OPEN <channel_list>
OPEN? <channel_list>
SCAN <channel_list>
:MODE NONE | VOLT | RES | FRES
:MODE?
CLOSe [ROUTe:]CLOSe <channel_list> closes the RF multiplexer channels
specified by channel_list. The channel_list has the form (@ccnn) where
cc = card number (01-99) and nn = channel number (00-03 and 10-13).
Parameters
Parameter Name
Parameter Type
Range of Values
numeric
cc00-cc03, cc10-cc13
<channel_list>
Comments
• Closing Channels: To close:
– a single channel, use [ROUTe:]CLOSe (@ccnn)
– multiple channels, use [ROUTe:]CLOSe (@ccnn,ccnn)
– sequential channels, use [ROUTe:]CLOSe (@ccnn:ccnn)
– groups of sequential channels, use
[ROUTe:]CLOSe (@ccnn:ccnn,ccnn:ccnn)
– or any combination.
Closure order for multiple channels with a single command is not
guaranteed.
• Related Commands: [ROUTe:]OPEN, [ROUTe:]CLOSe?
• *RST Condition: All channels open.
Example Closing Multiplexer Channels
This example closes channels 100 and 213 of a two-module switchbox (card
numbers 01 and 02).
CLOS (@100,213)
! Close channels 100 and 213.
100 closes channel 00 of card #1;
213 closes channel 13 of card #2
48 HP E1366A/E1367A RF Multiplexers Command Reference
Chapter 5
CLOSe? [ROUTe:]CLOSe? <channel_list> returns the current state of the channel(s)
queried. The channel_list is in the form (@ccnn) (see [ROUTe:]CLOSe for
definition). The command returns 1 for channel(s) closed or returns 0 for
channel(s) opened.
Comments
• Query is Software Readback: The [ROUTe:]CLOSe? command
returns the current software state of the channel(s) specified. It does
not account for relay hardware failures. A maximum of 127
channels at a time can be queried for a multi-module switchbox.
Example Query Channel Closure
This example closes channels 100 and 213 of a two-module switchbox and
queries channel closure. Since the channels are programmed to be closed,
1,1 is returned as a string.
CLOS (@100,213)
CLOS? (@100,213)
! Close channels 100 and 213
! Query channels 100 and 213 state
OPEN [ROUTe:]OPEN <channel_list> opens the RF multiplexer channels
specified by channel_list. The channel_list has the form (@ccnn) where
cc = card number (00-99) and nn = channel number (00-03 and 10-13).
Parameters
Parameter Name
Parameter Type
Range of Values
<channel_list>
numeric
cc00-cc03, cc10-cc13
Comments
• Opening Channels: To open:
– a single channel, use [ROUTe:]OPEN (@ccnn)
– for multiple channels, use [ROUTe:]OPEN (@ccnn,ccnn)
– sequential channels, use [ROUTe:]OPEN (@ccnn:ccnn)
– groups of sequential channels, use
[ROUTe:]OPEN (@ccnn:ccnn,ccnn:ccnn)
– or any combination.
Opening order for multiple channels with a single command is not
guaranteed.
• Related Commands: [ROUTe:]CLOSe, [ROUTe:]OPEN?
• *RST Condition: All channels open.
Example Opening Channels
This example opens channels 100 and 213 of a two-module switchbox (card
numbers 01 and 02).
OPEN (@100,213)
! Open channels 100 and 213.
100 opens channel 00 of card #1;
213 opens channel 13 of card #2
Chapter 5
HP E1366A/E1367A RF Multiplexers Command Reference 49
OPEN? [ROUTe:]OPEN? <channel_list> returns the current state of the channel(s)
queried. The channel_list is in the form (@ccnn) (see [ROUTe:]OPEN for
definition). The command returns 1 for channel(s) open or returns 0 for
channel(s) closed.
Comments
• Query is Software Readback: The [ROUTe:]OPEN? command
returns the current software state of the channels specified. It does
not account for relay hardware failures. A maximum of 127
channels at a time can be queried for a multi-module switchbox.
Example Query Channel Open State
This example opens channels 100 and 213 of a two-module switchbox and
queries channel 213 state. Since channel 213 is programmed to be open, 1
is returned.
OPEN (@100,213)
OPEN? (@213)
! Open channels 100 and 213
! Query channel 213 state
50 HP E1366A/E1367A RF Multiplexers Command Reference
Chapter 5
SCAN [ROUTe:]SCAN <channel_list> defines the channels to be scanned. The
channel_list has the form (@ccnn) where cc = card number (01-99) and
nn = channel number (00-03 and 10-13).
Parameters
Parameter Name
Parameter Type
Range of Values
numeric
cc00-cc03, cc10-cc13
<channel_list>
Comments
• Defining Scan List: When executing [ROUTe:]SCAN, the channel
list is checked for valid card and channel numbers. An error is
generated for an invalid channel list.
• Scanning Channels: You can scan single channels (@ccnn);
multiple channels (@ccnn,ccnn,...); sequential channels
(@ccnn:ccnn); groups of sequential channels
(@ccnn:ccnn,ccnn:ccnn); or any combination.
• Scanning Operation: When a valid channel list is defined,
INITiate[:IMMediate] begins the scan and closes the first channel in
the channel list. Successive triggers from the source specified by
TRIGger:SOURce advances the scan through the channel list.
• Stopping Scan: See the ABORt command.
• Related Commands: TRIGger, TRIGger:SOURce
• *RST Condition: All channels open.
Example Scanning Using External Devices
See Chapter 4, “Example: Scanning With External Device” or “Example:
Scanning Using "Trig Out" and "Event In" Ports” for example scanning
programs using external instruments.
Chapter 5
HP E1366A/E1367A RF Multiplexers Command Reference 51
SCAN:MODE [ROUTe:]SCAN:MODE NONE | VOLT | RES | FRES sets the scan mode for
the RF multiplexers. NONE, VOLT, and RES have no effect on multiplexer
operation. With FRES, the switch is set for “paired-channel” scanning.
That is, when a channel in bank 0 is closed, the associated channel in bank 1
is simultaneously closed.
Parameters
Parameter Name
Parameter Type
Range of Values
NONE | VOLT |
RES | FRES
discrete
NONE | VOLT |
RES | FRES
Comments
• Order of Command Execution: The [ROUTe:]SCAN:MODE
command must be executed before the [ROUTe:]SCAN <channel_list>
command.
• FRES Mode Description: With FRES, and channel closed in bank 0
automatically closes the paired channel in bank 1. For example, with
FRES, closing channel 00 also simultaneously closes channel 10,
closing channel 01 closes channel 11, etc. Use only channels 00-03
for the channel_list. Specifying channels 10-13 causes an error.
• *RST Condition: ROUT:SCAN:MODE NONE
Example Selecting Paired-Channel Scanning
TRIG:SOUR EXT
SCAN:MODE FRES
SCAN (@100:103)
INIT
! External trigger source
! Paired-channel scanning mode
! Select channels for scanning
! Start scanning, close channels
100 and 110
SCAN:MODE? [ROUTe:]SCAN:MODE? returns the current state of the scan mode. The
command returns "NONE", "VOLT","RES", or "FRES" depending on
the [ROUTE:]SCAN:MODE parameter setting.
Example Query Scan Mode
Since this example selects the FRES (paired-channel scanning), the query
command returns "FRES".
SCAN:MODE FRES
SCAN:MODE?
! Selects paired-channel scanning
! Query scanning mode
52 HP E1366A/E1367A RF Multiplexers Command Reference
Chapter 5
STATus
The STATus subsystem reports the bit values of a Standard Operation
Status register. It enables the Status register to set a bit after a bit is set to 1
by the Standard Operation register.
Subsystem Syntax STATus
:OPERation
[:EVENt]?
:ENABle <number>
:OPERation[:EVENt]? STATus:OPERation[:EVENt]? returns the bit value of the Operation Status
register (only bit 8 is used by the multiplexer modules).
Comments
• Setting Bit 8 of the Operation Status Register: Bit 8 (Scan
Complete) is set to 1 after a scanning cycle completes. Bit 8 returns
0 after sending the STATus:OPERation[:EVENt]? command.
• Returned Data after sending the STATus:OPERation[:EVENt]?
Command: The command returns +256 if bit 8 of the Operation
Status register is set to 1. The command returns +0 if bit 8 of the
Operation Status register is set to 0.
• Related Commands: [ROUTe:]SCAN
Example Reading the Operation Status Register After a Scanning Cycle
STAT:OPER?
! Returns the bit values of the
Standard Operation Status
register. Returns +256 if bit 8 is
set to 1 or returns +0 if bit 8 is set
to 0.
:OPERation:ENABle STATus:OPERation:ENABle <number> enables the Operation Status
register to set a bit in the Status register. For RF multiplexer modules,
setting bit 8 in the Operation Status register to 1 sets bit 7 in the Status
register to 1.
Parameters
Parameter Name
Parameter Type
Range of Values
numeric
1-32767
<number>
Comments
• Setting Bit 7 of the Status Register:
STATus:OPERation:ENABle 256 sets bit 7 of the Status register to 1
after bit 8 of the Operation Status register is set to 1.
• Related Commands: [ROUTe:]SCAN
Example Enabling Status Register Bit 7
STAT:OPER:ENAB 256
! Enables bit 7 of Status register
Chapter 5
HP E1366A/E1367A RF Multiplexers Command Reference 53
SYSTem
The SYSTem subsystem returns error numbers/messages in the error queue
of a switchbox, and returns module types and descriptions in a switchbox.
Subsystem Syntax SYSTem
:ERRor?
:CDEScription? <number>
:CTYPe? <number>
:CPON <number> | ALL
:ERRor? SYSTem:ERRor? returns the error numbers/messages in the error queue of
a switchbox. See Appendix C for error message information.
Comments
• Error Numbers/Messages in the Error Queue: Each error
generated by a switchbox stores an error number and corresponding
error message in the error queue. The error number is always
negative and the error message can be up to 255 characters long.
• Clearing the Error Queue: An error number/message is removed
from the queue each time the SYSTem:ERRor? command is sent.
The errors are cleared first-in, first-out. When the queue is empty,
each following SYSTem:ERRor? command returns 0, “No error”.
To clear all error numbers/messages in the queue, execute *CLS.
• Maximum Error Numbers/Messages in the Error Queue: The
queue holds a maximum of 30 error numbers/messages for each
switchbox. If it overflows, the last error in the queue is replaced by
-350, “Too many errors”. The least recent error numbers/messages
remain in the queue and the most recent are discarded.
Example Reading the Error Queue
SYST:ERR?
! Query the error queue
:CDEScription? SYSTem:CDEScription? <number> returns the description of a selected
module (card) in a switchbox.
Parameters
Parameter Name
Parameter Type
Range of Values
<number>
numeric
1-99
Comments
• RF Multiplexers Module Description:
The SYST:CDESciption? <number> command returns: “50 Ohm RF
Mux” for the HP E1366A or “75 Ohm RF Mux” for the HP E1367A.
Example Reading the Description of a Card #1 Module
SYST:CDES? 1
! Return the description
:CTYPe? SYSTem:CTYPe? <number> returns the module (card) type of a selected
module in a switchbox.
54 HP E1366A/E1367A RF Multiplexers Command Reference
Chapter 5
Parameters
Comments
Parameter Name
Parameter Type
Range of Values
numeric
1-99
<number>
• RF Multiplexers Model Number:
The SYSTem:CTYPe? <number> command returns
"HEWLETT-PACKARD,E1366A,0,A.01.00" (E1366A), or
returns "HEWLETT-PACKARD,E1367A,0,A.01.00"
(E1367A), where the "0" after "E1366A"or "E1367A" is the
module serial number (always 0) and "A.01.00" is an example
of the module revision code number.
Example Reading the Model Number of a Card #1 Module
SYST:CTYP? 1
! Return the model number
:CPON SYSTem:CPON <number> | ALL sets the selected module (card) in a
switchbox to its power-on state.
Parameters
Parameter Name
Parameter Type
Range of Values
numeric
1-99
<number>
Comments
• RF Multiplexers Power-On State: The power-on state is all
channels (relays) open. Note that *RST opens all channels of all
modules in a switchbox, while SYSTem:CPON opens the channels
in only the module (card) specified in the command.
Example Setting Card #1 Module to its Power-on State
SYST:CPON 1
! Sets module #1 to power-on state
Chapter 5
HP E1366A/E1367A RF Multiplexers Command Reference 55
TRIGger
The TRIGger subsystem controls the triggering operation of RF multiplexer
modules in a switchbox.
Subsystem Syntax TRIGger
[:IMMediate]
:SOURce BUS | EXTernal | HOLD | IMMediate
:SOURce?
[:IMMediate] TRIGger[:IMMediate] causes a trigger to occur when the defined trigger
source is TRIGger:SOURce HOLD or TRIGger:SOURce BUS.
Comments
• Executing the TRIGger[:IMMediate] Command: A channel list
must be defined with [ROUTe:]SCAN <channel_list> and an
INITiate[:IMMediate] command must be executed before
TRIGger[:IMMediate] will be executed.
• HOLD or BUS Source Remains: The TRIGger:SOURce HOLD or
TRIGger:SOURce BUS commands remain in effect, if selected, after
triggering a switchbox with the TRIGger[:IMMediate] command.
• Related Commands: INITiate, [ROUTe:]SCAN
Example Advancing Scan Using the TRIGger Command
This example uses the TRIGger command to advance the scan of a
single-module switchbox from channel 00 through 03. Since
TRIGger:SOURce HOLD is set, the scan is advanced one channel each time
TRIGger is executed.
TRIG:SOUR HOLD
SCAN (@100:103)
INIT
! Sets trigger source to HOLD
! Defines channel list
! Begin scan, close channel 00
! Start count loop
loop statement
TRIG
! Advance scan to next channel
! Increment loop count
increment loop
56 HP E1366A/E1367A RF Multiplexers Command Reference
Chapter 5
:SOURce
TRIGger:SOURce BUS | EXTernal | HOLD | IMMediate specifies the
trigger source to advance the channel list during scanning.
Parameters
Parameter Name
BUS
Parameter Type
discrete
Range of Values
*TRG or GET command
“Event In” BNC port
Hold triggering
EXTernal
HOLD
discrete
discrete
IMMediate
discrete
Immediate triggering
Comments
• Enabling the Trigger Source: The TRIGger:SOURce command
only selects the trigger source. The INITiate[:IMMediate] command
enables the trigger source.
• Using the TRIG Command: You can use TRIGger[:IMMediate] to
advance the scan when TRIGger:SOURce HOLD or
TRIGger:SOURce BUS is selected.
• Using External Trigger Inputs: With TRIGger:SOURce EXTernal
selected, only one switchbox at a time can use the external trigger
input at the HP E1300A/E1301A mainframe “Event In” BNC port.
The trigger input is assigned to the first switchbox that requested the
external trigger source (with a TRIGger:SOURce EXTernal
command).
• Assigning External Trigger: A switchbox assigned with
TRIGger:SOURce EXTernal remains assigned to that source until the
switchbox trigger source is changed to BUS, HOLD, or IMMediate.
When the source is changed, the external trigger source is available
to the next switchbox which requests it (with a
TRIGger:SOURce EXTernal command). If a switchbox requests an
external trigger input already assigned to another switchbox an error
is generated.
• Using Bus Triggers: To trigger the switchbox with
TRIGger:SOURce BUS selected, use the IEEE 488.2 common
command *TRG or the HP-IB Group Execute Trigger (GET)
command.
• Trig Out Port Shared by Switchboxes: See the OUTPut
command.
• Related Commands: ABORt, [ROUTe:]SCAN, TRIGger
• *RST Condition: TRIGger:SOURce IMMediate
Chapter 5
HP E1366A/E1367A RF Multiplexers Command Reference 57
Example Scanning Using External Triggers
This example uses external triggering (TRIG:SOUR EXT) to scan channels
00 through 03 of a single-module switchbox. The trigger source to advance
the scan is the input to the “Event In” BNC on an HP E1300A/E1301A
mainframe. When INIT is executed, the scan is started and channel 00 is
closed. Then each trigger received at the “Event In” BNC advances the
scan to the next channel.
TRIG:SOUR EXT
SCAN (@100:103)
INIT
! Select external triggering
! Scan channels 00 through 03
! Begin scan, close channel 00
! Advance scan to next channel
trigger externally
Example Scanning Using Bus Triggers
This example uses bus triggering (TRIG:SOUR BUS) to scan channels 00
through 03 of a single-module switchbox. The trigger source to advance the
scan is the *TRG command (as set with TRIGger:SOURce BUS). When
INIT is executed, the scan is started and channel 00 is closed. Then each
*TRG command advances the scan to the next channel.
TRIG:SOUR BUS
SCAN (@100:103)
INIT
! Select interface (bus) triggering
! Scan channels 00 through 03
! Start scan, close channel 00
! Loop to scan all channels
loop statement
*TRG
! Advance scan using bus triggering
! Increment loop count
increment loop
:SOURce? TRIGger:SOURce? returns the current trigger source for the switchbox.
Command returns either "BUS", "EXT", " HOLD", or "IMM"for trigger
sources BUS, EXTernal, HOLD, or IMMediate, respectively.
Example Query Trigger Source
This example sets external triggering and queries the trigger source. Since
external triggering is set, TRIG:SOUR? returns "EXT".
TRIG:SOUR EXT
TRIG:SOUR?
! Set external trigger source
! Query trigger source
58 HP E1366A/E1367A RF Multiplexers Command Reference
Chapter 5
IEEE 488.2 Common Commands
The following table lists the IEEE 488.2 Common (*) Commands that apply
to the RF Multiplexer module. The operation of some of these commands is
described in Chapter 4 of this manual. For information on Common
Commands, refer to the HP B-size configuration guide or the ANSI/IEEE
Standard 488.2-1987.
Command Title
Description
*IDN?
*RST
Identification
Reset
Returns identification string of the switchbox.
Opens all channels, and invalidates current channel list for Opens all
channels, and invalidates current channel list for scanning. Sets
ARM:COUN 1, TRIG:SOUR IMM, and INIT:CONT OFF.
*TST?
Self-Test
Always returns 0.
See note below.
See note below.
See note below.
*OPC
*OPC?
*WAI
Operation Complete
Operation Complete Query
Wait to Complete
*CLS
Clear status
Clears all status registers (see STATus:OPERation[:EVENt]?).
See note below.
*ESE
Event status enable
Event status enable query
Event status register query
Service request enable
*ESE?
*ESR?
*SRE
*SRE?
*STB?
See note below.
See note below.
Enables status register bits (see Chapter 4 for operation).
Service request enable query See note below.
Read status byte query
See note below.
*TRG
Trigger
Triggers the switchbox to advance the scan when scan is enabled and
trigger source is TRIGger:SOURce BUS.
*RCL
*SAV
Recall instrument state
Store instrument state
See note below.
See note below.
Note: These commands apply to many instruments and are not documented in detail here. See the
appropriate HP B-size or C-size configuration guide, or the ANSI/IEEE Standard 488.2-1987 for more information.
Chapter 5
HP E1366A/E1367A RF Multiplexers Command Reference 59
Command Quick Reference
The following tables summarize SCPI and IEEE 488.2 Common (*)
commands for the RF Multiplexer modules used in a switchbox.
SCPI Commands Quick Reference
Command
ABORt
ARM
Description
Abort a scan in progress.
Multiple scans per INIT command.
Query number of scans.
:COUNt <number>
:COUNt? [MIN |MAX]
DISPlay
INITiate
Selects monitor mode.
:MONitor[:STATe] <boolean>
Selects module to be monitored.
:MONitor:CARD <number>|AUTO
:CONTinuous ON |OFF
:CONTinuous?
[:IMMediate]
Enables/disables continuous scanning.
Query continuous scan state.
Starts a scanning cycle.
OUTPut
[:STATe] ON |OFF
[:STATe]?
Enables/disables "Trig Out" pulse.
Query port enable state.
[ROUTe:]
Close channel(s).
Query channel(s) closed.
Open channel(s).
Query channel(s) opened.
Define channels for scanning.
CLOSe <channel_list>
CLOSe? <channel_list>
OPEN <channel_list>
OPEN? <channel_list>
SCAN <channel_list>
SCAN:MODE NONE |VOLT |
RES |FRES
Sets scan mode.
STATus
:OPERation[:EVENt]?
:OPERation:ENABle
Returns status of Operation Status register.
Enables the Operation Status register to set a bit in the Status register.
SYSTem
:ERRor?
Returns error number/message in a switchbox Error Queue.
Returns description of module in a switchbox
Returns the module type.
:CDEScription? <number>.
:CTYPe? <number>
:CPON <number>|ALL
Sets specified module to its power-on state.
TRIGger
[:IMMediate]
Causes a trigger to occur.
Trigger source is *TRG.
Trigger source is "Event In".
Hold off triggering.
Continuous (internal) triggers.
Query scan trigger source.
:SOURce BUS
:SOURce EXTernal
:SOURce HOLD
:SOURce IMMediate
:SOURce?
IEEE 488.2 Common Commands Quick Reference
Command
Title
Description
*RST
Reset
Opens all channels, and invalidates current channel list for scanning. Sets
ARM:COUN 1, TRIG:SOUR IMM, and INIT:CONT OFF.
*TRG
Bus Trigger
Self-Test
When scan is enabled and trigger source is TRIG:SOUR BUS, use the
*TRG command to trigger the switchbox to advance the scan.
*TST?
Always returns 0.
60 HP E1366A/E1367A RF Multiplexers Command Reference
Chapter 5
Appendix A
HP E1366A/E1367A RF Multiplexer
Specifications
Input Characteristics
AC Performance
Maximum Voltage - any center or shield For Z = Z = 50Ω (E1366A)
L
S
to any other center, shield, or chassis:
For Z = Z = 75Ω (E1367A)
L
S
42 V Peak
<10MHz
<100MHz
<500MHz
<1.3GHz
Maximum Current per Channel or
Insertion Loss (dB)
Common: 1 Adc or ac
rms
≤(40°C, 65% RH)
Crosstalk(dB) (Channel-Channel*, or Channel-Common)
<0.3
<0.7
<1.5
<3.0
1
Maximum Power per Channel or
Common: 24 W or 24 VA
<-90
<1.2
<-80
<-60
<-40
VSWR
<1.25
<1.35
<1.55
* With one channel closed.
General
1 Specification assumes 50Ω or 75Ω termination. If all channels
unterminated, derate specification by 6dB.
Channels consist of non-latching
armature relays.
Risetime: <300psec
Signal Delay: <3nsec ± 50psec
Typical Relay Life:
With no load: 5 x 10 operations
With max. rated load: 10 operations
6
Capacitance:
Center-shield <60pF
5
Note: Relays are subject to normal wearout
Chassis-shield <0.15µF
based on the number of operations.
Module Size/Device Type: B, register-based
Connectors Used: P1
DC Performance
Thermal Offset: <6µV
Number of Slots: 1
Typical Closed Channel Resistance:
VXIbus Interface Capability:
Slave, Interrupter, A16, D16
<1Ω
End of Relay Life Closed Channel
Interrupt Level: 1-7, selectable
Resistance: <3Ω
Power Requirements:
Insulation Resistance
Voltage
+5
+12
(any terminal to any terminal):
≤(40° C, 65% RH): >10 Ω
8
Peak module current, IPM (A):
Dynamic module current, IDM (A):
0.10 0.18
0.01 0.01
Watts/Slot: 3.0
Appendix A
HP E1366A/E1367A RF Multiplexer Specifications 61
Typical Crosstalk (channel-channel)
Cooling/Slot:
0.05 mm H O @ 0.25 liter/sec
2
Humidity: 65% 0° to 40° C
Operating Temperature: 0° to 55° C
Storage Temperature: - 40° to 75° C
EMC, RFI, Safety:
meets FTZ1046/1984, CSA556B, IEC348, UL1244
Net Weight (kg): 0.7
Typical Return/Loss VSVR
Typical Insertion Loss
62 HP E1366A/E1367A RF Multiplexer Specifications
Appendix A
Relay Life
Electromechanical relays are subject to normal wear-out. Relay life
depends on several factors. The effects of loading and switching frequency
are briefly discussed below:
Relay Load. In general, higher power switching reduces relay life. In
addition, capacitive/inductive loads and high inrush currents (e.g., turning
on a lamp or starting a motor) reduces relay life. Exceeding specified
maximum inputs can cause catastrophic failure.
Switching Frequency. Relay contacts heat up when switched. As the
switching frequency increases, the contacts have less time to dissipate heat.
The resulting increase in contact temperature also reduces relay life.
End of Life A preventative maintenance routine can prevent problems caused by
unexpected relay failure. The end of the life of the relay can be determined
Detection
by using the three methods described below. The best method (or
combination of methods), as well as the failure criteria, depends on the
application in which the relay is used.
Contact Resistance. As the relay begins to wear out, its contact resistance
increases. When the resistance exceeds a predeterminded value, the relay
should be replaced.
Stability of Contact Resistance. The stability of the contact resistance
decreases with age. Using this method, the contact resistance is measured
several (5-10) times, and the variance of the measurements is determined.
An increase in the variance indicates deteriorating performance.
Number of Operations. Relays can be replaced after a predetermined
number of contact closures. However, this method requires knowledge of
the applied load and life specifications for the applied load.
Replacement The replacement strategy depends on the application. If some relays are
used more often, or at a higher load, than the others, the relays can be
Strategy
individually replaced as needed. If all the relays see similar loads and
switching frequencies, the entire circuit board should be replaced when the
end of life approaches. The sensitivity of the application should be weighed
against the cost of replacing relays with some useful life remaining.
Note
Relays that wear out normally or fail due to misuse should not be
considered defective and are not covered by the product’s warranty.
Appendix A
HP E1366A/E1367A RF Multiplexer Specifications 63
Notes
64 HP E1366A/E1367A RF Multiplexer Specifications
Appendix A
Appendix B
HP E1366A/E1367A Multiplexer Registers
Register Definitions The HP E1366A and HP E1367A RF multiplexers are register-based slave
devices. Register definitions are:
ID Register
b +00h
Write
15 14 13 12 11 10
Undefined
9
8
7
6
5
4
3
2
2
2
1
1
1
0
Undefined
Manufacturer ID
Read* Reg-Bas
A16
* Returns FFFFh =Hewlett-Packard A16 only register-based
Device Type Register
b +02h
Write
15 14 13 12 11 10
9
8
7
6
5
4
3
0
Undefined
Module ID Code
Read*
1 (A16 only)
* Returns: FF80h (E1366A) or FF84h (E1367A)
Status/Control Register
b +04h
Write*
Read**
15 14 13 12 11 10
9
8
7
6
5
4
3
0
Undefined
R
FFh
B
7Fh
* R =Multiplexer reset to power-on state (all switches open) ** Status "busy" is low-true in bit #7 (FF7Fh)
Bank 0 Channel Enable Register
b +08h
Write*
Read
15 14 13 12 11 10
Undefined
Always returns FFFFh
9
8
7
6
5
4
3
2
1
0
03 02 01 00
* Write "1" closes channel, write "0" opens channel
Bank 1 Channel Enable Registers
b +0Ah
Write*
1
14 13 12 115 10
9
8
7
6
5
4
3
2
1
0
Undefined
13 12 11 10
Appendix B
HP E1366A/E1367A Multiplexer Registers 65
Addressing the Registers
To read or write to specific registers, you must use the register address.
Since the addresses for HP 75000 Series B or Series C plug-in modules are
A00 through A15, use the VME A16 mnemonic for the address space. The
address space within the mainframe/command module memory map
depends on the mainframe/command module used. For example, the address
of the HP E1300A/E1301A Mainframe starts at 1F0000 .
h
For the HP E1300/E1301, the A16 space is divided so modules are
addressed only at locations beginning with C000 within A16. Each
h
module is allocated 64 register addresses (40 ). The module base address is
h
related to the logical address set by the logical address switch (LADDR) on
the module:
base address (h) = (logical addressh)*40h + C000h
For the RF multiplexers, the factory-set logical address is 120 (78 ), so the
h
base address = (78 )*(40 ) + C000 = DE00 . Then, for example, to address
h
h
h
h
the Status/Control register of an RF multiplexer in an HP E1300A/E1301A,
the register address = [A16 location] + [base address] + [register offset]
h
h
h
= 1F0000 + DE00 + 04 = 1FDE04 .
h
h
h
h
Reading the Registers
You can read the following RF multiplexer registers:
• ID register (base + 00 )
h
• Device Type register (base + 02 )
h
• Status/Control register (base + 04 )
h
• Bank 0 Channel Enable register (base + 08 )
h
h
• Bank 1 Channel Enable register (base + A )
ID/Device Type For either RF multiplexer, a read of the ID register (address base + 00 )
h
returns FFFF since the multiplexers are manufactured by Hewlett-Packard
and are A16 only, register-based devices. The Device Type register (base +
h
Registers
02 ) returns FF80 for the HP E1366A (50Ω) multiplexer and returns FF84
h
h
h
for the HP E1367A (75Ω) multiplexer.
Status/Control Each relay requires about 15 msec execution time (close to open or open to
close) during which time the RF multiplexers are “busy”. A read of the
Register
Status/Control register (base + 04 ) returns FFFF when the module is not
h
h
busy or returns FF7F (bit 7 is low-true) when the module is busy.
h
Channel Enable A read of either of the two Channel Enable registers (base + 08 for bank 0
h
or base + A for bank 1) always returns FFFF , regardless of the channel
states.
h
h
Registers
66 HP E1366A/E1367A Multiplexer Registers
Appendix B
Writing to the Registers
You can write to the following RF multiplexer registers:
• Status/Control register (base + 04 )
h
• Bank 0 Channel Enable register (base + 08 )
h
h
• Bank 1 Channel Enable register (base + A )
Status/Control The only write allowed to the Status/Control register (base + 04 ) is to bit 0.
h
Writing a “1” to bit 0 resets the multiplexer to its power-on state with all
channels open and terminated and both commons open.
Register
Channel Enable Writes to the Channel Enable registers (base + 08 and base + A ) enabling
h
h
you to open or close the desired channel (see Register Defintions at the
beginning of this chapter). For example, write a “1” to bit 2 of the bank 0
Channel Enable register to close channel 02. Or, write a “1” to bit 3 of the
Bank 1 Channel Enable register to close channel 13. Writing a “0” to bits
0 - 3 results in all channels open and terminated and the common open.
Only one channel per bank can be closed at a time. Any bit pattern not
shown in Register Defintions at the beginning of this chapter, results in the
lowest-numbered channel being closed.
Registers
Appendix B
HP E1366A/E1367A Multiplexer Registers 67
68 HP E1366A/E1367A Multiplexer Registers
Appendix B
Appendix C
HP E1366A/E1367A RF Multiplexer Error
Messages
The table below lists the error messages associated with the multiplexer
modules programmed by SCPI. See the appropriate mainframe manual for
a complete list of error messages.
No.
Title
Potential Cause(s)
-211 Trigger ignored
Trigger received when scan not enabled. Trigger received after scan complete.
Trigger too fast.
-213 Init Ignored
Attempting to execute an INIT command when a scan is already in progress.
Attempting to execute a command with a parameter not applicable to the command.
-224 Illegal parameter value
1500 External trigger source
already allocated
Assigning an external trigger source to a switchbox when the trigger source has
already been assigned to another switchbox.
2000 Invalid card number
Addressing a module (card) in a switchbox that is not part of the switchbox.
2001 Invalid channel number
Attempting to address a channel of a module in a switchbox that is not supported by
the module (e.g., channel 99 of a multiplexer module).
2006 Command not supported
on this card
Sending a command to a module (card) in a switchbox that is unsupported by the
module.
2008 Scan list not initialized
Executing a scan without the INIT command.
2009 Too many channels in
channel list
Attempting to address more channels than available in the switchbox.
2012 Invalid Channel Range
Invalid channel(s) specified in SCAN <channel_list> command. Attempting to begin
scanning when no valid channel l t is defined.
2600 Function not supported
on this card
Sending a command to a module (card) in a switchbox that is not supported by the
module or switchbox.
2601 Channel list required
Sending a command requiring a channel list without the channel list.
Appendix C
HP E1366A/E1367A RF Multiplexer Error Messages 69
70 HP E1366A/E1367A RF Multiplexer Error Messages
Appendix C
Index
HP E1366A/67A RF Multiplexers User’s Manual
Command Reference
A
Address
Addressing
B
Commands
Bank
C
Channel
HP E1366A/67A RF Multiplexers User’s Manual Index 71
E
Error Message
Examples
Components
F
G
H
HP-IB
D
72 HP E1366A/67A RF Multiplexers User’s Manual Index
I
N
O
Operation
L
P
M
Multiplexer
Q
Quick Reference
R
Reading
Registers
HP E1366A/67A RF Multiplexers User’s Manual Index 73
Switch
Switchbox
S
Scan Complete Bit
Scanning
T
U
V
Setting
W
Writing
Standard Commands for Programmable Instruments
74 HP E1366A/67A RF Multiplexers User’s Manual Index
|