HP E1368A manual Or any combination, Example Scanning Using External Device

Page 60

OPEN? [ROUTe:]OPEN? <channel_list> returns the current state of the channel(s) queried. The channel_list is in the form (@ccnn). The command returns 1 if the channel is open or returns 0 if the channel is 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 202 of a two-module switchbox (card numbers 01 and 02) and queries channel state. Since the channels are programmed to be open 1,1 is returned.

OPEN

(@100,202)

100 opens channel 00 of card #1;

 

 

202 opens channel 02 of card #2.

OPEN?

(@202)

Query channel 02 of card #2.

SCAN [ROUTe:]SCAN <channel_list> defines the channels to be scanned. The channel_list is in the form (@ccnn) where cc = card number (00-99) and nn = channel number (00-04).

Parameters

Parameter Name

Parameter Type

Range of Values

Default Value

 

 

 

 

channel_list

numeric

cc00 - cc04

N/A

 

 

 

 

 

 

 

 

Comments Defining the 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: To scan:

a single channel, use [ROUTe:]SCAN (@ccnn);

for multiple channels, use [ROUTe:]SCAN (@ccnn,ccnn,);

sequential channels, use [ROUTe:]SCAN (@ccnn:ccnn);

a group of sequential channels, use

[ROUTe:]SCAN (@ccnn:ccnn,ccnn:ccnn);

or any combination.

Scanning Operation: With a valid channel list, INITiate[:IMMediate] starts the scanning cycle 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 Device

See the section in Chapter 3 titled “Scanning Channels” for examples of scanning programs using external instruments.

60 HP E1368A/69A/70A Command Reference

Chapter 4

Image 60
Contents Contents Open OPEN? Scan Scanmode SCANMODE? Cpon HP E1368A/69A/70A Modules User’s Manual Contents Certification Documentation History April According to ISO/IEC Guide 22 and ENPage Business Reply Mail Page Using This Chapter Microwave Switch DescriptionGetting Started with the HP E1368A/69A/70A Chapter Power Supply Circuit HP E1368A SwitchesProgramming the Microwave Switch Instrument DefinitionCard Numbers for Multiple-Module Switchboxes Example Reset the switchbox and close channel Initial OperationConfiguring the HP E1368A/69A/70A Modules Setting the Address Switch Logical Address SelectionSelecting the Interrupt Priority Interrupt Priority SelectionInstalling Switches on the HP E1369A Installing Switches on the ModuleChapter Configuring the HP E1368A/69A/70A Modules Microwave Switch Installation Connecting Switches External To the Module Selecting Switch Power Connecting Field Wiring Selecting Switch VoltageInstalling a Switch Or Attenuator on Module Microwave Switch/Attenuator Installation Shows the internal schematic of a single attenuator section Using the HP E1368A/69A/70A Modules Microwave Switch CommandsReset Conditions Switching Channels Example Single Channel SwitchingPower To connect C to Port 1, execute 33363K 33364K 33365K 33366K Example Multiple Channel Switching Using EXTernal Example Transfer Switch Using Two Port Switches Example Transfer Switch Using One Port Switch To route signal B to the output, execute Example 4 x 1 MultiplexerScanning Channels Selects the Trigger SourceExample Scanning Channels Output 722TRIG EXT …Example Using the Scan Complete Bit Example Multiple Channel Scanning110END Detecting Error Conditions Recalling and Saving StatesRepeat Synchronizing the Microwave Switch Synchronizing InstrumentsQuerying the Microwave Switch Command Types Common Command FormatScpi Command Format HP E1368A/69A/70A Command Reference Chapter Semicolon between the commands. For example Scpi Command Reference ABORtExample Stopping a Scan with ABORt For the number of scanning cycles default is ∙ Number of Scans Use only numeric values between 1Armcoun Example Select Module #2 in a Switchbox for Monitoring DISPlayMONitorCARD ∙ Selecting a Specific Module to be Monitored UseExample Enabling the Monitor Mode Example Querying the Monitor Mode∙ Selecting the Module to be Monitored Use ∙ Stopping Continuous Scans See the ABORt command INITiateExample Enabling Continuous Scans Example Query Continuous Scanning State Example Query Trig Out Port Enable State OUTPutExample Enabling Trig Out Port Example Closing Microwave Switch Channels ROUTe∙ Closing Channels To close Example Opening Microwave Switch Channels ∙ Opening Channels To openExample Scanning Using External Device Or any combinationChapter HP E1368A/69A/70A Command Reference STATus ∙ Setting Bit 7 of the Status Byte Register Example Query the Standard Operation Status Enable RegisterSTATOPER? SYSTem CDEScription?Comments Microwave Switch Module Model Number Example Reading the Error QueueExample Reading the Model Number of a Card #1 Module ∙ Executing the TRIGgerIMMediate Command a channel list Example Advancing Scan Using the TRIGger CommandTRIGger ∙ Hold or BUS Source Remains If selected, the TRIGgerSOURce∙ Trig Out Port Shared by Switchboxes See the OUTPut command Example Scanning Using External TriggersScanning Using Bus Triggers Example Query the Trigger SourceIeee 488.2 Common Commands HP Command Module User’s Manual, or the ANSI/IEEE StandardCommand Quick Reference Scpi Commands for Quick ReferenceHP E1368A/69A/70A Command Reference Chapter Characteristic Impedence 50Ω Insertion Loss Maximum Input Power 1 Watt averageConnectors Used P1 No. Slots Operating TemperatureHP E1368A/69A/70A Specifications Appendix a HP E1368A/69A/70A Registers Register DefinitionsAddressing the Registers Reading the RegistersID and Device Type Registers Status/Control Register Channel Enable Register Writing to the RegistersHP E1368A/69A/70A Registers Appendix B HP E1368A/69A/70A Error Messages Page Index HP E1368A/69A/70A Modules User’s Manual IndexHP E1368A/69A/70A Modules User’s Manual Index HP-IB HP E1368A/69A/70A Modules User’s Manual Index HP E1368A/69A/70A Modules User’s Manual Index HP E1368A/69A/70A Modules User’s Manual Index