HP FET MULTIPLEXER E1351A/53A manual Example Scanning With External Instruments

Page 48

Example: Scanning

with External

Instruments

This example uses the mainframe "Trig Out" port to synchronize the multiplexers to an HP 3457A Digital Multimeter. See the following figure for typical connections. For this example, use the trigger output pulse of the mainframe "Trig Out" port to trigger the multimeter from its "External Trigger" port.

The sequence of operation is:

1.INIT (line 70) closes channel number 100.

2.The channel closure causes a trigger output from the "Trig Out" port.

3.The trigger causes the multimeter to make a measurement.

4.Measurement result is sent to the computer (lines 80 to 100).

5.TRIGGER command (line 110) advances the channel list to the next channel.

6.Steps 2-5 are repeated for channels 101 through 115.

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

50OUTPUT 70914;"SCAN:PORT ABUS"!Closes the tree isolation switches

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

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

 

48 Understanding the HP E1351A/53A FET Multiplexer Modules

Chapter 4

Image 48
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 COUNt ParametersComments 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 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 TimeOPERationENABle Example Enable the Status Register BitSTATus 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 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 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 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 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