HP E1367A, E1366A manual Example Scanning Using Trig Out Event Ports

Page 35

Example: Scanning

Using "Trig Out"

and " Event In"

Ports

This example uses the HP E1300A/E1301A mainframe "Trig Out" and "Event In" ports to synchronize RF multiplexer channel closures with an external measurement device. See the figure below for typical user connections. For this example, the mainframe and instrument are connected via HP-IB with mainframe address of 709 and instrument address of 722. The RF multiplexer’s logical address is 120 (secondary address =120/8 =15).

With this example, since synchronization with the computer cannot be ensured, the external instrument must have internal memory capacity to store the readings. Also, you must add the appropriate instrument commands 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 starts channel 100 measurement.

4.Channel 100 measurement result is stored in instrument.

5.Trigger is then output from multimeter’s "MEASUREMENT COMPLETE" port.

6.Trigger to "Event In" port advances scan to channel 101.

7.Steps 2-6 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 EXT"

! Event In triggering

40

OUTPUT 70915;"SCAN (@100:102)"

! Scan channels 00-02

50

OUTPUT 70915;"INIT"

! Enable scan

60

END

 

Figure 4-4. Scan Using "Trig Out" and "Event In" Ports

Chapter 4

Understanding the HP E1366A/E1367A RF Multiplexers 35

Image 35
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 Multiplexer Module Description Using This ChapterGetting Started with the HP E1366A/E1367A RF Multiplexers 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 Subsystem Syntax DISPlay Example Enabling the Monitor ModeDISPlay 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 closeExample Opening Channels Comments∙ Opening Channels To open 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 STATusSubsystem Syntax SYSTem SYSTemCTYPe? 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 NumberSubsystem Syntax TRIGger Example Advancing Scan Using the TRIGger CommandTRIGger ∙ Trig Out Port Shared by Switchboxes See the OUTPut command Example Query Trigger Source Example Scanning Using External TriggersExample Scanning Using Bus Triggers 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 ID Register HP E1366A/E1367A Multiplexer RegistersAppendix B HP E1366A/E1367A Multiplexer Registers 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