HP E1366A, E1367A manual Example Query Continuous Scanning State

Page 46

: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

! Enable continuous scanning

INIT:CONT?

! 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)

! Scan channels 00-03

INIT

! Begin scan, close channel 00 (use

 

immediate triggering)

46 HP E1366A/E1367A RF Multiplexers Command Reference

Chapter 5

Image 46
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 December 5 According to ISO/IEC Guide 22 and ENHP E1366A & E1367A RF Multiplexer Modules User’s Manual Measurement Systems Division Reader Comment SheetHP 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 Programming the Multiplexer Module Typical ConfigurationSpecifying Scpi Commands AddressMultiplexer Card Numbers Multiplexer Channel NumbersInitial Operation Example RF Multiplexer Channel Lists/RangesPage Configuring the HP E1366A/E1367A RF Multiplexers Chapter Configuring the HP E1366A/E1367A RF MultiplexersConnecting User Inputs Configuring the HP E1366A/E1367A RF Multiplexers ChapterHewlett-Packard BNC Cables Typical Multiplexer Configurations Standard ConfigurationTypical Tree Configuration Matrix-Type Configuration Typical Matrix-Type ConfigurationChanging Multiplexer Components RF Multiplexer Component LocationsConfiguring the HP E1366A/E1367A RF Multiplexers Chapter Switching Channels Using the HP E1366A/E1367A RF Multiplexer ModuleMultiplexer Commands Chapter Using the HP E1366A/E1367A RF Multiplexer ModuleExample Standard Switching Using the HP E1366A/E1367A RF Multiplexer Module ChapterExample Tree Switching Tree SwitchingExample Matrix-Type Switching Query Channel States. Use CLOSe? channellist orExample Scanning Using Trig Out Port Scanning ChannelsScanning Channels Comments Understanding the HP E1366A/E1367A RF Multiplexers Scanning Channels CommandsUsing Scanning Trigger Sources Scanning with External InstrumentsUnderstanding the HP E1366A/E1367A RF Multiplexers Chapter Scanning Trigger Sources Example Scanning with External Device Scanning with External DeviceExample Scanning Using Trig Out Event Ports Using the Scan Complete Bit Example Scan Complete InterruptCommon Command Format HP E1366A/E1367A RF Multiplexers Command ReferenceCommand Types Scpi Command FormatHP E1366A/E1367A RF Multiplexers Command Reference Chapter Semicolon between the commands. For example Subsystem Syntax ABORt Scpi Command ReferenceABORt Example Stopping a Scan with ABORtSubsystem Syntax ARM ParametersExample Query Number of Scanning Cycles DISPlay Example Enabling the Monitor Mode Subsystem Syntax DISPlay Example Select Module #2 in a Switchbox for Monitoring INITiate ∙ Non-Continuous Scanning Operation This is enabled with∙ Stopping Continuous Scans See the ABORt command Example Enabling Continuous ScansExample Query Continuous Scanning State OUTPut Example Enable Trig Out PortExample Query Trig Out Port Enable State Subsystem Syntax OUTPutComments ∙ Closing Channels To close ROUTeSubsystem Syntax ROUTe Example Closing Multiplexer Channels∙ Opening Channels To open CommentsExample Opening Channels Open Example Scanning Using External Devices Example Query Scan Mode Example Selecting Paired-Channel ScanningSubsystem Syntax STATus ∙ Setting Bit 7 of the Status RegisterSTATus ∙ Returned Data after sending the STATusOPERationEVENt?CTYPe? SYSTemSubsystem Syntax SYSTem Comments ∙ RF Multiplexers Model Number ∙ RF Multiplexers Power-On State The power-on state is allExample Setting Card #1 Module to its Power-on State 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 Ieee 488.2 Common Commands Command Title DescriptionCommand Quick Reference Commands for the RF Multiplexer modules used in a switchboxAppendix a HP E1366A/E1367A RF Multiplexer Specifications HP E1366A/E1367A RF Multiplexer SpecificationsInput Characteristics AC Performance GeneralHP E1366A/E1367A RF Multiplexer Specifications Appendix a Typical Crosstalk channel-channel Cooling/SlotEnd of Life Detection Replacement Strategy Relay LifeHP E1366A/E1367A RF Multiplexer Specifications Appendix a Appendix B HP E1366A/E1367A Multiplexer Registers HP E1366A/E1367A Multiplexer RegistersID Register Reading the Registers Status/Control Register Channel Enable RegistersAddressing the Registers ID/Device Type RegistersWriting to the Registers HP E1366A/E1367A Multiplexer Registers Appendix B HP E1366A/E1367A RF Multiplexer Error Messages Appendix C HP E1366A/E1367A RF Multiplexer Error MessagesHP E1366A/E1367A RF Multiplexer Error Messages Appendix C Index HP E1366A/67A RF Multiplexers User’s Manual IndexHP-IB HP E1366A/67A RF Multiplexers User’s Manual Index HP E1366A/67A RF Multiplexers User’s Manual Index