HP E1366A, E1367A manual Example Scanning with External Device

Page 34

Example: Scanning with External Device

This example uses the HP E1300A/E1301A mainframe "Trig Out" port to synchronize the RF multiplexer channel closures to an external 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;..."

! Configure instrument

20

OUTPUT 70915;"OUTP ON"

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

! Enable scan

60

FOR I = 1 TO 3

! Start count loop

70

ENTER 722;A

! Enter reading

80

PRINT A

! Display reading

90

TRIGGER 70915

! Advance scan

100 NEXT I

! Increment count

110 END

 

Figure 4-3. Scanning with External Device

34 Understanding the HP E1366A/E1367A RF Multiplexers

Chapter 4

Image 34
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 Commands Using 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 ModeSubsystem 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