HP FET MULTIPLEXER E1351A/53A manual Commands for Scanning Switchbox Channels

Page 45

Chapter 4

Understanding the HP E1351A/53A FET Multiplexer Modules

Using This Chapter

This chapter explains techniques to scan the channels of 16-Channel FET and 16-Channel Thermocouple FET Multiplexer Modules. This chapter contains the following sections:

Commands for Scanning Switchbox Channels . . . . . . . . . . . Page 45 Using Scanning Trigger Sources . . . . . . . . . . . . . . . . . . . . . . Page 45 Using the Scan Complete Bit . . . . . . . . . . . . . . . . . . . . . . . . . Page 52

Commands for Scanning Switchbox Channels

Scanning multiplexer channels consists of closing a set of channels, one at a time. The multiplexer has single, multiple, or continuous scanning modes. See Figure 4-1 for the different commands used in scanning.

Using Scanning Trigger Sources

Scanning with External Instruments

The TRIGger:SOURce command specifies the source to advance the channel list. Figure 4-2 shows the different trigger sources. TRIG:SOUR DBUS uses the digital bus handshake lines. You can use the TRIG[:IMM] command to immediately advance the channel list while in the TRIG:SOUR BUS or TRIG:SOUR HOLD mode. (Note that TRIG:SOUR IMM is not the same as TRIG[:IMM].) To enable the HP E1300/E1301 Mainframe "Trig Out" port, use the OUTP ON command. The "Event In" mainframe trigger source is reserved with the TRIG:SOUR EXT command. "Trig Out" and "Event In" are mainframe resources, and can only be allocated to one instrument at a time.

The examples in this chapter show different ways to scan channels of a switchbox in an HP E1300/E1301 Mainframe. The operation is similar to other HP VXIbus mainframes with HP command modules that have "Trig Out" and "Event In" ports. The computer used in the examples is an HP Series 200/300 used with HP BASIC as the program language. The computer interfaces with the mainframe over HP-IB. Assumed is an:

HP-IB select code of 7

HP-IB primary address of 09 for the HP E1300/E1301 Mainframe

HP-IB primary address of 22 for the HP 3457A Multimeter

HP-IB secondary address of 14 for the multiplexer module

Chapter 4

Understanding the HP E1351A/53A FET Multiplexer Modules 45

Image 45
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 According to ISO/IEC Guide 22 and EN July 20Page Business Reply Mail Page FET Multiplexer Module Description Using This ChapterMultimeter Connection Points Analog Bus ConnectorFET Multiplexer Module Block Diagram Output 70903OUTP on Switchbox and Scanning Voltmeter ConfigurationsDigital Bus and Triggering Initial Operation Programming LanguageConfiguring the HP E1351A/53A FET Multiplexer Modules Multiplexer Card Numbers Card Numbers for Single-Module SwitchboxesCard Numbers for Scanning Voltmeter Setting the Address SwitchSelecting the Interrupt Line Number Setting the Interrupt Line NumberCard ID Switch Setting the Card ID SwitchChannel FET Multiplexer Connector Pin-out Connecting User InputsSignal Conditioning Components/Current Shunts Adding Signal Conditioning Components/Current ShuntsWiring Guidelines Connecting Field WiringWiring a Terminal Module 10. Analog Bus and Digital Bus Connections Connecting Multimeters and Signal Generators11. Analog Bus and Digital Bus Cables Analog Bus and Digital Bus CablesPage Selecting Channels Using the HP E1351A/53A FET Multiplexer ModulesUsing the HP E1351A/53A FET Multiplexer Modules Chapter Matrix Commands Used in Chapter Multiplexer CommandsScanport None Connecting Switchbox Channels to Direct TerminalsCLOS? Closing Channels 02 and 09 for a Voltage Measurement Connecting Channels 02 and 10 for 4-Wire Ohms Measurement Example Making Voltage Measurements By Scanning Scanning a Range of Switchbox ChannelsScanning Channels 100 to 215 of a Two-Module Switchbox Example Making 4-Wire Ohms Measurements by Scanning Example Making 2-Wire Ohms Measurements by ScanningDownloading a Scan List Output 70904INIT Scanning a Switchbox without a Downloaded Scan ListOutput 70904STATOPERENAB Scanning a Switchbox with a Downloaded Scan ListConnecting the Analog Bus and Digital Bus Cables Scanning Voltmeter Configuration with HP E1326BTemperature Measurement Using a Thermocouple Using the HP E1351A/53A FET Multiplexer Modules Chapter Commands for Scanning Switchbox Channels Using Scanning Trigger SourcesScanning with External Instruments Scanning Commands Trigger Sources Example Scanning With External Instruments Output 70914OUTP on Example Scanning Using Trig Out Event In PortsOutput 722TRIG Extdcvmem Fifo SCANMODE, Scanport and TRIGgerSOURce Dbus Example Scan Complete Monitor Using the Scan Complete BitCommand Types Common Command FormatScpi Command Format ROUTeSCANMODE Volt Scpi Command Reference ABORt Subsystem SyntaxExample Stopping a Scan with ABORt Parameters COUNtComments Example Query Number of Scanning CyclesExample Select Module #2 in a Switchbox for Monitoring DISPlayMONitorCARD Mode Example Enabling the Monitor ModeCONTinuous INITiateExample Query Continuous Scanning State Example Enabling Continuous ScansSTATe OUTPut∙ Downloaded Scans The OUTPut subsystem does not work with Example Enabling Trig Out Port∙ Closing Channels To close ROUTeExample Closing Multiplexer Channels ∙ Query is Software Readback The ROUTeCLOSe? commandExample Query Multiplexer Channel Closure ∙ Opening Channels To openExample ∙ Query is Software Readback The ROUTeOPEN? commandOpening Multiplexer Channels Query Multiplexer Channel Open State∙ Scanning Operation With a valid channel list Example Scanning Using External InstrumentsExample Query Scan Mode Example Query Scan Port Example Selecting the Abus PortExample Set and Query the SETTling Time Example Setting 16 μsec SETTling TimeOPERationENABle Example Enable the Status Register BitSTATus CDEScription? SYSTem∙ 16-Channel FET Multiplexer Module Description Example Reading the Description of Card #1 ModuleExample Reading the Model Number of a Card #1 Module Comments ∙ 16-Channel FET Multiplexer Module Model NumberExample Advancing Scan using the TRIGger Command ∙ Executing the TRIGgerIMMediate Command a channel listTRIGger IMMediate∙ Trig Out Port Shared by Switchboxes See the OUTPut command ∙ Enabling the Trigger Source The TRIGgerSOURce commandExample Scanning Using External Triggers Scanning Using Bus TriggersExample Query Trigger Source ANSI/IEEE Standard Ieee 488.2 Common CommandsScpi Commands Quick Reference Description Command Quick ReferencePage Connectors Used P1 Maximum Offset Voltage Number of Slots Maximum Voltage Screw Terminal Wire Size Watts/SlotInput Impedance Power Requirements Power Off High to LowHP E1351A/53A FET Multiplexer Specifications Appendix a Register Addressing About This AppendixHP E1351A/53A Register-Based Programming Appendix B A16 Address Space Inside Command Module Or Mainframe A16 Address Space Outside Command Module Or MainframeRegister Descriptions Device Type Register Register Bit Descriptions Register moduleManufacturer ID Register Status/Control Register Enable IRQ ENScan Channel Delay Register Continuous Enable CNT EN Reset Pointer RST PTRScan Control Register Direct Channel Configuration Register Scan Channel Configuration RegisterA Tree Isolation Switch Disable A-D Valid Channel VLD C1 C0Direct Control Register Executing CommandsROUTe 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 Table B-1. Multimeter Command and Parameter Opcodes Multimeter Command Parameter OpcodesFigure B-3. Configuring the Multimeter Error Code Cause Multimeter Register-Based Programming Error CodesHP E1351A/53A FET Multiplexer Error Messages HP E1351A/53A FET Multiplexer Error Messages Appendix C Laddr IndexHP 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