HP E1367A, E1366A manual Initial Operation, Example RF Multiplexer Channel Lists/Ranges

Page 15

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:

CLOS (@100,112)

OPEN (@203,210)

Channel Ranges:

OPEN (@100:113)

SCAN (@100:213)

!Close channels 00 and 12 on card 01 !Open channels 03 and 10 on card 02

!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

OUTPUT 70915;"CLOS (@102)"

OUTPUT 70915;"CLOS? (@102)"

ENTER 70915;Value

PRINT Value

END

!Close channel 02

!Query channel 02 state

!Enter result into Value

!Display result

*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

Image 15
Contents Contents HP E1366A/E1367A RF Multiplexers Command Reference HP E1366A/E1367A RF Multiplexer Specifications HP E1366A/67A RF Multiplexers User’s Manual Contents HP E1366A & E1367A RF Multiplexer Modules User’s Manual Documentation History According to ISO/IEC Guide 22 and EN December 5HP E1366A & E1367A RF Multiplexer Modules User’s Manual Reader Comment Sheet Measurement Systems DivisionHP E1366A & E1367A RF Multiplexer Module User’s Manual Using This Chapter Getting Started with the HP E1366A/E1367A RF MultiplexersMultiplexer Module Description Multiplexers Switching Diagram Address Typical ConfigurationSpecifying Scpi Commands Programming the Multiplexer ModuleMultiplexer Channel Numbers Multiplexer Card NumbersExample RF Multiplexer Channel Lists/Ranges Initial OperationPage Chapter Configuring the HP E1366A/E1367A RF Multiplexers Configuring the HP E1366A/E1367A RF MultiplexersConfiguring the HP E1366A/E1367A RF Multiplexers Chapter Connecting User InputsHewlett-Packard BNC Cables Standard Configuration Typical Multiplexer ConfigurationsTypical Tree Configuration Typical Matrix-Type Configuration Matrix-Type ConfigurationRF Multiplexer Component Locations Changing Multiplexer ComponentsConfiguring the HP E1366A/E1367A RF Multiplexers Chapter Chapter Using the HP E1366A/E1367A RF Multiplexer Module Using the HP E1366A/E1367A RF Multiplexer ModuleMultiplexer Commands Switching ChannelsUsing the HP E1366A/E1367A RF Multiplexer Module Chapter Example Standard SwitchingTree Switching Example Tree SwitchingQuery Channel States. Use CLOSe? channellist or Example Matrix-Type SwitchingScanning Channels Example Scanning Using Trig Out PortScanning Channels Comments Scanning with External Instruments Scanning Channels CommandsUsing Scanning Trigger Sources Understanding the HP E1366A/E1367A RF MultiplexersUnderstanding the HP E1366A/E1367A RF Multiplexers Chapter Scanning Trigger Sources Scanning with External Device Example Scanning with External DeviceExample Scanning Using Trig Out Event Ports Example Scan Complete Interrupt Using the Scan Complete BitScpi Command Format HP E1366A/E1367A RF Multiplexers Command ReferenceCommand Types Common Command FormatHP E1366A/E1367A RF Multiplexers Command Reference Chapter Semicolon between the commands. For example Example Stopping a Scan with ABORt Scpi Command ReferenceABORt Subsystem Syntax ABORtParameters Subsystem Syntax ARMExample Query Number of Scanning Cycles Example Enabling the Monitor Mode DISPlaySubsystem Syntax DISPlay Example Select Module #2 in a Switchbox for Monitoring Example Enabling Continuous Scans ∙ Non-Continuous Scanning Operation This is enabled with∙ Stopping Continuous Scans See the ABORt command INITiateExample Query Continuous Scanning State Subsystem Syntax OUTPut Example Enable Trig Out PortExample Query Trig Out Port Enable State OUTPutExample Closing Multiplexer Channels ROUTeSubsystem Syntax ROUTe Comments ∙ Closing Channels To closeComments ∙ Opening Channels To openExample Opening Channels Open Example Scanning Using External Devices Example Selecting Paired-Channel Scanning Example Query Scan Mode∙ Returned Data after sending the STATusOPERationEVENt? ∙ Setting Bit 7 of the Status RegisterSTATus Subsystem Syntax STATusSYSTem CTYPe?Subsystem Syntax SYSTem Example Reading the Model Number of a Card #1 Module ∙ RF Multiplexers Power-On State The power-on state is allExample Setting Card #1 Module to its Power-on State Comments ∙ RF Multiplexers Model NumberExample Advancing Scan Using the TRIGger Command TRIGgerSubsystem Syntax TRIGger ∙ Trig Out Port Shared by Switchboxes See the OUTPut command Example Scanning Using External Triggers Example Scanning Using Bus TriggersExample Query Trigger Source Command Title Description Ieee 488.2 Common CommandsCommands for the RF Multiplexer modules used in a switchbox Command Quick ReferenceGeneral HP E1366A/E1367A RF Multiplexer SpecificationsInput Characteristics AC Performance Appendix a HP E1366A/E1367A RF Multiplexer SpecificationsTypical Crosstalk channel-channel Cooling/Slot HP E1366A/E1367A RF Multiplexer Specifications Appendix aRelay Life End of Life Detection Replacement StrategyHP E1366A/E1367A RF Multiplexer Specifications Appendix a HP E1366A/E1367A Multiplexer Registers Appendix B HP E1366A/E1367A Multiplexer RegistersID Register ID/Device Type Registers Status/Control Register Channel Enable RegistersAddressing the Registers Reading the RegistersWriting to the Registers HP E1366A/E1367A Multiplexer Registers Appendix B Appendix C HP E1366A/E1367A RF Multiplexer Error Messages HP E1366A/E1367A RF Multiplexer Error MessagesHP E1366A/E1367A RF Multiplexer Error Messages Appendix C HP E1366A/67A RF Multiplexers User’s Manual Index IndexHP-IB HP E1366A/67A RF Multiplexers User’s Manual Index HP E1366A/67A RF Multiplexers User’s Manual Index