HP E1368A manual Command Quick Reference, Scpi Commands for Quick Reference

Page 71

Command Quick Reference

The following tables summarize SCPI and IEEE 488.2 Common (*)

Commands for the Microwave Switch modules.

SCPI Commands for Quick Reference

 

Command

Description

 

 

 

 

 

 

ABORt

 

Abort a scan in progress.

 

 

 

ARM

:COUNt <number> MIN MAX

Multiple scans per INIT command.

 

:COUNt? [MIN MAX]

Query number of scans.

 

 

DISPlay:MONitor:CARD <number> AUTO

Selects module to be monitored.

 

:MONitor[:STATe] <mode>

Selects monitor mode.

 

:MONitor[:STATe]?

Query the monitor mode state.

 

 

 

INITiate

:CONTinuous <mode>

Enables/disables continuous scanning.

 

:CONTinuous?

Query continuous scan state.

 

[:IMMediate]

Starts a scanning cycle.

 

 

 

OUTPut

[:STATe] <mode>

Enables/disables "Trig Out" pulse.

 

[:STATe]?

Query port enable state.

 

 

 

[ROUTe:]

CLOSe <channel _list>

Close channel(s).

 

CLOSe? <channel _list>

Query channel(s) closed.

 

OPEN <channel _list>

Open channel(s).

 

OPEN? <channel _list>

Query channel(s) opened.

 

SCAN <channel _list>

Define channels for scanning.

 

SCAN:MODE NONE VOLT RES

Selects scan mode.

 

SCAN:MODE?

Query state of scan mode.

 

 

STATus:OPERation:ENABle

Enables the Operation Status Register to set a bit in the

 

 

Status Register.

 

:OPERation:ENABle

Query the contents in the Operation Status Register.

 

:OPERation[:EVENt]?

Returns status of the Operation Status Register.

 

 

 

SYSTem

:CDEScription? <number>

Returns description of module in a switchbox.

 

:CPON <number> ALL

Sets specified module to its power-on state.

 

:CTYPe? <number>

Returns the module type.

 

:ERRor?

Returns error number/message in a switchbox Error Queue.

 

 

 

TRIGger

[:IMMediate]

Causes a trigger to occur.

 

:SOURce BUS

Trigger source is *TRG.

 

:SOURce EXTernal

Trigger source is "Event In" BNC.

 

:SOURce HOLD

Hold off triggering.

 

:SOURce IMMediate

Continuous (internal) triggers.

 

:SOURce?

Query scan trigger source.

 

 

 

 

 

 

IEEE 488.2 Common Commands Quick Reference

Command

Title

Description

 

 

 

 

 

 

*RST

Reset

Opens all channels, and invalidates current channel list for scanning.

 

 

Sets ARM:COUN 1, TRIG:SOUR IMM, and INIT:CONT OFF.

 

 

 

*TRG

Bus Trigger

When scan is enabled and trigger source is TRIG:SOUR BUS, use the *TRG

 

 

command to trigger the switchbox to advance the scan.

 

 

 

*TST?

Self Test query

Always returns 0.

 

 

 

 

 

 

Chapter 4

HP E1368A/69A/70A Command Reference 71

Image 71
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 Bit110END Recalling and Saving States Detecting Error ConditionsRepeat Synchronizing Instruments Synchronizing the Microwave SwitchQuerying the Microwave Switch Scpi Command Format Command TypesCommon Command Format HP E1368A/69A/70A Command Reference Chapter Semicolon between the commands. For example Example Stopping a Scan with ABORt Scpi Command ReferenceABORt ∙ Number of Scans Use only numeric values between 1 For the number of scanning cycles default isArmcoun ∙ Selecting a Specific Module to be Monitored Use Example Select Module #2 in a Switchbox for MonitoringDISPlay MONitorCARD∙ Selecting the Module to be Monitored Use Example Enabling the Monitor ModeExample Querying the Monitor Mode Example Enabling Continuous Scans ∙ Stopping Continuous Scans See the ABORt commandINITiate Example Query Continuous Scanning State Example Enabling Trig Out Port Example Query Trig Out Port Enable StateOUTPut ∙ Closing Channels To close Example Closing Microwave Switch ChannelsROUTe ∙ 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? SYSTemExample Reading the Model Number of a Card #1 Module Comments Microwave Switch Module Model NumberExample Reading the Error Queue ∙ Hold or BUS Source Remains If selected, the TRIGgerSOURce ∙ Executing the TRIGgerIMMediate Command a channel listExample Advancing Scan Using the TRIGger Command TRIGgerExample 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 Operating Temperature Characteristic Impedence 50Ω Insertion LossMaximum Input Power 1 Watt average Connectors Used P1 No. SlotsHP E1368A/69A/70A Specifications Appendix a Register Definitions HP E1368A/69A/70A RegistersID and Device Type Registers Addressing the RegistersReading the 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