HP E1367A, E1366A manual Comments, ∙ Opening Channels To open, Example Opening Channels

Page 49

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)

! Close channels 100 and 213

CLOS?

(@100,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

Image 49
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 Getting Started with the HP E1366A/E1367A RF Multiplexers Using This ChapterMultiplexer Module Description Multiplexers Switching Diagram Specifying Scpi Commands Typical ConfigurationProgramming the Multiplexer Module AddressMultiplexer 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 Multiplexer Commands Using the HP E1366A/E1367A RF Multiplexer ModuleSwitching Channels Chapter Using the HP E1366A/E1367A RF Multiplexer ModuleUsing 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 Using Scanning Trigger Sources Scanning Channels CommandsUnderstanding the HP E1366A/E1367A RF Multiplexers Scanning with External InstrumentsUnderstanding 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 BitCommand Types HP E1366A/E1367A RF Multiplexers Command ReferenceCommon Command Format Scpi Command FormatHP E1366A/E1367A RF Multiplexers Command Reference Chapter Semicolon between the commands. For example ABORt Scpi Command ReferenceSubsystem Syntax ABORt Example Stopping a Scan with ABORtParameters Subsystem Syntax ARMExample Query Number of Scanning Cycles DISPlay Example Enabling the Monitor ModeSubsystem Syntax DISPlay Example Select Module #2 in a Switchbox for Monitoring ∙ Stopping Continuous Scans See the ABORt command ∙ Non-Continuous Scanning Operation This is enabled withINITiate Example Enabling Continuous Scans Example Query Continuous Scanning State Example Query Trig Out Port Enable State Example Enable Trig Out PortOUTPut Subsystem Syntax OUTPutSubsystem Syntax ROUTe ROUTeComments ∙ Closing Channels To close Example Closing Multiplexer Channels∙ Opening Channels To open CommentsExample Opening Channels Open Example Scanning Using External Devices Example Selecting Paired-Channel Scanning Example Query Scan ModeSTATus ∙ Setting Bit 7 of the Status RegisterSubsystem Syntax STATus ∙ Returned Data after sending the STATusOPERationEVENt?CTYPe? SYSTemSubsystem Syntax SYSTem Example Setting Card #1 Module to its Power-on State ∙ RF Multiplexers Power-On State The power-on state is allComments ∙ RF Multiplexers Model Number Example Reading the Model Number of a Card #1 ModuleTRIGger Example Advancing Scan Using the TRIGger CommandSubsystem Syntax TRIGger ∙ Trig Out Port Shared by Switchboxes See the OUTPut command Example Scanning Using Bus Triggers Example Scanning Using External TriggersExample Query Trigger Source Command Title Description Ieee 488.2 Common CommandsCommands for the RF Multiplexer modules used in a switchbox Command Quick ReferenceInput Characteristics AC Performance HP E1366A/E1367A RF Multiplexer SpecificationsAppendix a HP E1366A/E1367A RF Multiplexer Specifications GeneralTypical 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 Appendix B HP E1366A/E1367A Multiplexer Registers HP E1366A/E1367A Multiplexer RegistersID Register Addressing the Registers Status/Control Register Channel Enable RegistersReading the Registers ID/Device Type 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