HP E1368A manual Synchronizing the Microwave Switch, Synchronizing Instruments

Page 45

350OUTPUT 70915;"*CLS"

360STOP

370SUBEND

Comments If you have an HP 75000 Series B mainframe with a front panel keyboard, errors can be monitored by selecting “ Monitor” from the Switch menu. If errors occur when the program executes, the “ err” annunciator will appear. Entering SYST:ERR? repeatedly from the keyboard reads all of the messages in the error queue. The HP 75000 Series B Mainframe User’s Manual contains detailed information on the Status and Standard Event Status Registers.

Synchronizing the Microwave Switch

Synchronizing Instruments

This section discusses synchronizing the Microwave Switch module to other instruments when making measurements.

The following example shows how you synchronize instruments. In this example, the Microwave Switch switches a signal to be measured by a counter. This program verifies that the switching is complete before the counter begins a measurement. For the example, use:

an HP-IB select code of 7, primary address of 09, and secondary address of 06 for the Counter

an HP-IB select code of 7, primary address of 09, and secondary address of 15 for the Microwave Switch

an HP Series 200/300 Computer with HP BASIC

Execute:

10!Close channel 101 and request confirmation that the channel is

15!closed.

20OUTPUT 70915;"CLOSE (@101);*OPC?"

30!Read confirmation.

35OUTPUT 70915;"CLOSE? (@101)"

40ENTER 70915;A

50!At this point (channel is closed) the measurement can be made.

60OUTPUT 70906: “MEAS1:FREQ?”

70ENTER 70906:Meas_value

80END

Chapter 3

Using the HP E1368A/69A/70A Modules 45

Image 45
Contents Contents Open OPEN? Scan Scanmode SCANMODE? Cpon HP E1368A/69A/70A Modules User’s Manual Contents Certification Documentation History According to ISO/IEC Guide 22 and EN AprilPage Business Reply Mail Page Microwave Switch Description Using This ChapterGetting Started with the HP E1368A/69A/70A Chapter HP E1368A Switches Power Supply CircuitInstrument Definition Programming the Microwave SwitchCard Numbers for Multiple-Module Switchboxes Initial Operation Example Reset the switchbox and close channelConfiguring the HP E1368A/69A/70A Modules Logical Address Selection Setting the Address SwitchInterrupt Priority Selection Selecting the Interrupt PriorityInstalling Switches on the Module Installing Switches on the HP E1369AChapter Configuring the HP E1368A/69A/70A Modules Microwave Switch Installation Connecting Switches External To the Module Selecting Switch Power Selecting Switch Voltage Connecting Field WiringInstalling a Switch Or Attenuator on Module Microwave Switch/Attenuator Installation Shows the internal schematic of a single attenuator section Microwave Switch Commands Using the HP E1368A/69A/70A ModulesReset Conditions Example Single Channel Switching Switching ChannelsPower 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 Example 4 x 1 Multiplexer To route signal B to the output, executeSelects the Trigger Source Scanning ChannelsOutput 722TRIG EXT … Example Scanning ChannelsExample Multiple Channel Scanning Example Using the Scan Complete Bit 110END Recalling and Saving States Detecting Error ConditionsRepeat Synchronizing Instruments Synchronizing the Microwave SwitchQuerying 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 ∙ Number of Scans Use only numeric values between 1 For the number of scanning cycles default isArmcoun DISPlay Example Select Module #2 in a Switchbox for MonitoringMONitorCARD ∙ 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 ∙ Opening Channels To open Example Opening Microwave Switch ChannelsOr any combination Example Scanning Using External DeviceChapter HP E1368A/69A/70A Command Reference STATus Example Query the Standard Operation Status Enable Register ∙ Setting Bit 7 of the Status Byte RegisterSTATOPER? CDEScription? SYSTemComments Microwave Switch Module Model Number Example Reading the Error QueueExample Reading the Model Number of a Card #1 Module Example Advancing Scan Using the TRIGger Command ∙ Executing the TRIGgerIMMediate Command a channel listTRIGger ∙ Hold or BUS Source Remains If selected, the TRIGgerSOURceExample Scanning Using External Triggers ∙ Trig Out Port Shared by Switchboxes See the OUTPut commandExample Query the Trigger Source Scanning Using Bus TriggersHP Command Module User’s Manual, or the ANSI/IEEE Standard Ieee 488.2 Common CommandsScpi Commands for Quick Reference Command Quick ReferenceHP E1368A/69A/70A Command Reference Chapter Maximum Input Power 1 Watt average Characteristic Impedence 50Ω Insertion LossConnectors Used P1 No. Slots Operating TemperatureHP E1368A/69A/70A Specifications Appendix a Register Definitions HP E1368A/69A/70A RegistersAddressing the Registers Reading the RegistersID and Device Type Registers Writing to the Registers Status/Control Register Channel Enable RegisterHP E1368A/69A/70A Registers Appendix B HP E1368A/69A/70A Error Messages Page HP E1368A/69A/70A Modules User’s Manual Index 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