HP FET MULTIPLEXER E1351A/53A manual ∙ Scanning Operation With a valid channel list

Page 66

Scanning Operation: With a valid channel list,

INITiate[:IMMediate] starts the scanning cycle and closes the first channel in the channel list. Successive triggers from the source specified by TRIGger:SOURce advances the scan through the channel list.

Stopping Scan: See the ABORt command.

Related Commands: TRIGger, TRIGger:SOURce

*RST Condition: All multiplexers channels are open.

Example Scanning Using External Instruments

The following example shows how to scan channels using the HP E1300A/ E1301A Mainframe via HP-IB and an HP 3457A Digital Multimeter. This example uses the mainframe’s "Trig Out" port to synchronize the multiplexer module in a switchbox to the multimeter. The trigger pulse from the port triggers the multimeter for a measurement. See Chapters 2 and 3 for typical user connections to the multiplexer.

The computer used in the example is an HP Series 200/300 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, an HP-IB primary address of 09 and 22 for the HP E1300A/E1301A Mainframe and HP 3457A Multimeter, respectively, and an HP-IB secondary address of 14 for the switchbox.

10

OUTPUT 722;"TRIG EXT;DCV"

!Sets multimeter to external trigger

 

 

and to measure dc volts

20

OUTPUT 70914;"OUTP ON"

!Enables "Trig Out" port

30OUTPUT 70914;"TRIG:SOUR BUS" !Sets switchbox to receive bus triggers

40OUTPUT 70914;"SCAN:MODE VOLT"!Sets switchbox to measure voltage during scanning

50OUTPUT 70914; "SCAN:PORT ABUS"!Sets switchbox to close the appropriate tree switches during scanning

60

OUTPUT 70914;"SCAN (@100:115)"!Selects the channel list

70

OUTPUT 70914;"INIT"

!Starts scanning cycle

80

FOR I = 1 TO 16

!Start count loop

90

ENTER 722;A

!Enter reading into variable A

100

PRINT A

!Print reading in variable A

110

TRIGGER 70914

!Trigger the switchbox to advance

 

 

the channel list

120

NEXT I

!Increment count

130

END

 

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

Chapter 5

Image 66
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 Commands for Scanning Switchbox Channels Using Scanning Trigger SourcesScanning 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 MonitorCommand Types Common Command FormatScpi Command Format ROUTeSCANMODE Volt Scpi Command Reference ABORt Subsystem SyntaxExample Stopping a Scan with ABORt Comments COUNtParameters Example Query Number of Scanning CyclesExample Select Module #2 in a Switchbox for Monitoring DISPlayMONitorCARD 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 TimeOPERationENABle Example Enable the Status Register BitSTATus ∙ 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 commandExample Scanning Using External Triggers Scanning Using Bus 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 Bit Descriptions Register moduleManufacturer ID Register Enable IRQ EN Status/Control RegisterScan Channel Delay Register Continuous Enable CNT EN Reset Pointer RST PTRScan 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