HP FET MULTIPLEXER E1351A/53A STATus, OPERationENABle, Example Enable the Status Register Bit

Page 70

STATus

The STATus subsystem reports the bit values of the Operation Status Register. This enables the Status Register to set a bit after a bit is set to 1 by the Operation Status Register.

Subsystem Syntax

STATus

 

 

 

:OPERation

 

 

 

:ENABle <number>

 

 

[:EVENt]?

 

 

:OPERation:ENABle

STATus:OPERation:ENABle <number> enables the Operation Status

 

Register to set a bit in the Status Register. For multiplexer modules, when

 

bit 8 in the Operation Status Register is set to 1, bit 7 in the Status Register

 

is set to 1.

 

 

Parameters

 

 

 

 

 

 

 

 

 

Parameter Name

 

Parameter Type

Range of Values

 

 

 

 

 

 

number

 

Numeric

1 - 32768

 

 

 

 

Comments

Setting Bit 7 of the Status Register: STATus:OPERation:ENABle

256 sets bit 7 of the Status Register to 1 after bit 8 of the Operation Status Register is set to 1.

Disabling STATus:OPERation: The STATus:PRESet command disables the STATus:OPERation:ENABle command.

Related Commands: [ROUTe:]SCAN, *SRE, *STB?, *SPOLL, STATus:PRESet

Example Enable the Status Register Bit 7

STAT:OPER:ENAB 256

Enables bit 7 of the Status Register.

:OPERation[:EVENt]? STATus:OPERation[:EVENt]? returns the bit value of the Operation Status Register (only bit 8 is used by the multiplexer modules).

Comments Setting Bit 8 of the Operation Status Register: Bit 8 (Scan Complete) is set to 1 after a scanning cycle completes. Bit 8 returns to 0 after sending the STATus:OPERation[:EVENt]? command. For correct operation set to 0 by *CLS before scanning.

Returned Data after sending the STATus:OPERation[:EVENt]?

Command: The command returns +256 if bit 8 of the Operation Status Register is set to 1. The command returns +0 if bit 8 of the Operation Status Register is set to 0.

Related Commands: [ROUTe:]SCAN, *SRE, *STB?, *SPOLL

Example Reading the Operation Status Register after a Scanning Cycle

STAT:OPER?

Reads the register value

read and print the register value

+256 shows bit 8 is set to 1; +0

 

shows bit 8 is set to 0.

70 HP E1351A/53A 16-Channel FET Multiplexer Command Reference

Chapter 5

Image 70
Contents Contents Understanding the HP E1351A/53A FET Multiplexer Modules Appendix C.HP E1351A/53A FET Multiplexer Error Messages HP E1351A/53A FET Multiplexer User’s Manual Contents Certification Documentation History July 20 According to ISO/IEC Guide 22 and ENPage Business Reply Mail Page Using This Chapter FET Multiplexer Module DescriptionAnalog Bus Connector Multimeter Connection PointsFET Multiplexer Module Block Diagram Switchbox and Scanning Voltmeter Configurations Output 70903OUTP onDigital Bus and Triggering Programming Language Initial OperationConfiguring the HP E1351A/53A FET Multiplexer Modules Card Numbers for Single-Module Switchboxes Multiplexer Card NumbersSetting the Address Switch Card Numbers for Scanning VoltmeterSetting the Interrupt Line Number Selecting the Interrupt Line NumberSetting the Card ID Switch Card ID SwitchConnecting User Inputs Channel FET Multiplexer Connector Pin-outAdding Signal Conditioning Components/Current Shunts Signal Conditioning Components/Current ShuntsConnecting Field Wiring Wiring GuidelinesWiring a Terminal Module Connecting Multimeters and Signal Generators 10. Analog Bus and Digital Bus ConnectionsAnalog Bus and Digital Bus Cables 11. Analog Bus and Digital Bus CablesPage Using the HP E1351A/53A FET Multiplexer Modules Selecting ChannelsUsing the HP E1351A/53A FET Multiplexer Modules Chapter Multiplexer Commands Matrix Commands Used in ChapterConnecting Switchbox Channels to Direct Terminals Scanport NoneCLOS? Closing Channels 02 and 09 for a Voltage Measurement Connecting Channels 02 and 10 for 4-Wire Ohms Measurement Scanning a Range of Switchbox Channels Example Making Voltage Measurements By ScanningScanning Channels 100 to 215 of a Two-Module Switchbox Example Making 2-Wire Ohms Measurements by Scanning Example Making 4-Wire Ohms Measurements by ScanningDownloading a Scan List Scanning a Switchbox without a Downloaded Scan List Output 70904INITScanning a Switchbox with a Downloaded Scan List Output 70904STATOPERENABScanning Voltmeter Configuration with HP E1326B Connecting the Analog Bus and Digital Bus CablesTemperature Measurement Using a Thermocouple Using the HP E1351A/53A FET Multiplexer Modules Chapter Using Scanning Trigger Sources Commands for Scanning Switchbox ChannelsScanning with External Instruments Scanning Commands Trigger Sources Example Scanning With External Instruments Example Scanning Using Trig Out Event In Ports Output 70914OUTP onOutput 722TRIG Extdcvmem Fifo SCANMODE, Scanport and TRIGgerSOURce Dbus Using the Scan Complete Bit Example Scan Complete MonitorCommon Command Format Command TypesScpi Command Format ROUTeSCANMODE Volt Scpi Command Reference Subsystem Syntax ABORtExample Stopping a Scan with ABORt Comments COUNtParameters Example Query Number of Scanning CyclesDISPlay Example Select Module #2 in a Switchbox for MonitoringMONitorCARD Example Enabling the Monitor Mode ModeINITiate CONTinuousExample Enabling Continuous Scans Example Query Continuous Scanning State∙ Downloaded Scans The OUTPut subsystem does not work with OUTPutSTATe Example Enabling Trig Out PortROUTe ∙ Closing Channels To closeExample Query Multiplexer Channel Closure ∙ Query is Software Readback The ROUTeCLOSe? commandExample Closing Multiplexer Channels ∙ Opening Channels To openOpening Multiplexer Channels ∙ Query is Software Readback The ROUTeOPEN? commandExample Query Multiplexer Channel Open StateExample Scanning Using External Instruments ∙ Scanning Operation With a valid channel listExample Query Scan Mode Example Selecting the Abus Port Example Query Scan PortExample Setting 16 μsec SETTling Time Example Set and Query the SETTling TimeExample Enable the Status Register Bit OPERationENABleSTATus ∙ 16-Channel FET Multiplexer Module Description SYSTemCDEScription? Example Reading the Description of Card #1 ModuleComments ∙ 16-Channel FET Multiplexer Module Model Number Example Reading the Model Number of a Card #1 ModuleTRIGger ∙ Executing the TRIGgerIMMediate Command a channel listExample Advancing Scan using the TRIGger Command IMMediate∙ Enabling the Trigger Source The TRIGgerSOURce command ∙ Trig Out Port Shared by Switchboxes See the OUTPut commandScanning Using Bus Triggers Example Scanning Using External TriggersExample Query Trigger Source Ieee 488.2 Common Commands ANSI/IEEE StandardCommand Quick Reference Scpi Commands Quick Reference DescriptionPage Input Impedance Power Requirements Maximum Voltage Screw Terminal Wire Size Watts/SlotConnectors Used P1 Maximum Offset Voltage Number of Slots Power Off High to LowHP E1351A/53A FET Multiplexer Specifications Appendix a About This Appendix Register AddressingHP E1351A/53A Register-Based Programming Appendix B A16 Address Space Outside Command Module Or Mainframe A16 Address Space Inside Command Module Or MainframeRegister Descriptions Device Type Register Register module Register Bit DescriptionsManufacturer ID Register Enable IRQ EN Status/Control RegisterContinuous Enable CNT EN Reset Pointer RST PTR Scan Channel Delay RegisterScan Control Register A Tree Isolation Switch Disable A-D Valid Channel VLD Scan Channel Configuration RegisterDirect Channel Configuration Register C1 C0Executing Commands Direct Control RegisterROUTe ROUTeCLOSe channellist is equivalent to the following HP E1351A/53A Register-Based Programming Appendix B Register-Based Programming for Maximum Speed Decimal code Appendix B HP E1351A/53A Register-Based Programming Multimeter Command Parameter Opcodes Table B-1. Multimeter Command and Parameter OpcodesFigure B-3. Configuring the Multimeter Multimeter Register-Based Programming Error Codes Error Code CauseHP E1351A/53A FET Multiplexer Error Messages HP E1351A/53A FET Multiplexer Error Messages Appendix C Index LaddrHP E1351A/53A FET Multiplexer User’s Manual Index HP-IB HP E1351A/53A FET Multiplexer User’s Manual Index HP E1351A/53A FET Multiplexer User’s Manual Index HP E1351A/53A FET Multiplexer User’s Manual Index HP E1351A/53A FET Multiplexer User’s Manual Index