HP FET MULTIPLEXER E1351A/53A manual Scanning a Switchbox without a Downloaded Scan List

Page 40

Scanning a Switchbox without a Downloaded Scan List

This example shows a FET switchbox connected to a multimeter with the analog bus cable. The switchbox and multimeter are separate VXIbus instruments. The multimeter has a secondary address of 03, and the switchbox has a secondary address of 04. The multiplexer is triggered by the *TRG command. OUTPut ON is enabled, and the multimeter is triggered by the OUTPut ON trigger to its "External Trigger" port. The following program illustrates the procedures:

10

DIM Rdgs(1:16)

!Dimension array to store readings

20

OUTPUT 70903;"*RST;*OPC?"

!Clear the multimeter; *OPC?

 

 

ensures reset is completed before

 

 

program continues

30

ENTER 70903;A

 

40

OUTPUT 70903;"*CLS"

 

50

OUTPUT 70904;"*RST"

!Reset multiplexer

60

OUTPUT 70904;"*CLS"

 

70

OUTPUT 70903;"CONF:VOLT:DC 58.1"!Configure the multimeter

80

OUTPUT 70903;"TRIG:SOUR EXT"

!External trigger source

90

OUTPUT 70903;"TRIG:COUN 16"

!Set for 16 triggers

100

OUTPUT 70903;"INIT"

!Initialize multimeter wait for

 

 

trigger

110

OUTPUT 70904;"TRIG:SOUR BUS" !Trigger on *TRG command

120

OUTPUT 70904;"SCAN:MODE VOLT"!Configure for voltage

130

OUTPUT 70904;"SCAN:PORT ABUS"!Enables analog bus

140

OUTPUT 70904;"SCAN (@100:115)"!Enter scan list

150

OUTPUT 70904;"OUTP ON"

!Enable mainframe trig out port

160

OUTPUT 70904;"INIT"

!Close first channel

170

FOR I = 1 TO 16

!16 channels

180

OUTPUT 70904;"*TRG"

!Trigger for channel advance

190

WAIT .25

!Allow time for measurement

 

 

before next advance

200

NEXT I

!Increment counter

210

OUTPUT 70903;"FETC?"

!Multimeter retrieves readings

 

 

from mainframe memory when

 

 

scan completes

220

ENTER 70903;Rdgs(*)

!Put readings in array

230

PRINT Rdgs(*)

!Print

240

END

 

40 Using the HP E1351A/53A FET Multiplexer Modules

Chapter 3

Image 40
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 COUNt ParametersComments 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 StateOUTPut STATe∙ Downloaded Scans The OUTPut subsystem does not work with Example Enabling Trig Out PortROUTe ∙ Closing Channels To close∙ Query is Software Readback The ROUTeCLOSe? command Example Closing Multiplexer ChannelsExample Query Multiplexer Channel Closure ∙ Opening Channels To open∙ Query is Software Readback The ROUTeOPEN? command ExampleOpening Multiplexer Channels 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 SYSTem CDEScription?∙ 16-Channel FET Multiplexer Module Description Example Reading the Description of Card #1 ModuleComments ∙ 16-Channel FET Multiplexer Module Model Number Example Reading the Model Number of a Card #1 Module∙ Executing the TRIGgerIMMediate Command a channel list Example Advancing Scan using the TRIGger CommandTRIGger 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 Maximum Voltage Screw Terminal Wire Size Watts/Slot Connectors Used P1 Maximum Offset Voltage Number of SlotsInput Impedance Power Requirements 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 Scan Channel Configuration Register Direct Channel Configuration RegisterA Tree Isolation Switch Disable A-D Valid Channel VLD 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