HP FET MULTIPLEXER E1351A/53A manual Appendix B HP E1351A/53A Register-Based Programming

Page 95

The number of readings specified in sample count will now be taken. If the sample count is more than one scan, the scan list will start over again.

5.The voltmeter is now taking data which is being stored in the HP E1326B hardware FIFO. With the 10 μsec aperture set, 512 16-bit readings

will collect here. In any other aperture only 256 32-bit readings will collect. If you specified more than 512 readings, the computer needs to be removing them from the FIFO while readings are being taken. The DVM FIFO is connected to the HP E1326B VXI DATA BUFFER register.

To read the FIFO check the Data Ready bit in the Status Register to determine if valid data is in the Data Buffer. Or, read the Data Buffer and throw away any -1 readings, as a -1 decimal reading or all bits set to "1" indicates invalid data. Keep reading the Data Buffer until you receive the number of readings specified in Sample Count. Convert the readings from voltmeter format to 32-bit real format.

6.To do debugging with the HP E1326B voltmeter, use the Query Opcodes in Table B-1. This will verify that you have set the correct parameters. Use the Send Error command (15) to get error codes back. Refer to Table B-2 on page 98.

With the HP E1351A you cannot read back the contents in the FIFO, therefore, debugging is difficult. Do verify that you get correct data back from the Manufacturer ID Register and Device Type Register.

Appendix B

HP E1351A/53A Register-Based Programming 95

Image 95
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 Scanning with External Instruments Commands for Scanning Switchbox ChannelsUsing Scanning Trigger Sources 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 BitScpi Command Format Command TypesCommon Command Format ROUTeSCANMODE Volt Scpi Command Reference Example Stopping a Scan with ABORt ABORtSubsystem Syntax Example Query Number of Scanning Cycles COUNtParameters CommentsMONitorCARD Example Select Module #2 in a Switchbox for MonitoringDISPlay Mode Example Enabling the Monitor ModeCONTinuous INITiateExample Query Continuous Scanning State Example Enabling Continuous ScansExample Enabling Trig Out Port OUTPutSTATe ∙ Downloaded Scans The OUTPut subsystem does not work with∙ Closing Channels To close ROUTe∙ Opening Channels To open ∙ Query is Software Readback The ROUTeCLOSe? commandExample Closing Multiplexer Channels Example Query Multiplexer Channel ClosureQuery Multiplexer Channel Open State ∙ Query is Software Readback The ROUTeOPEN? commandExample Opening Multiplexer Channels∙ 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 TimeSTATus OPERationENABleExample Enable the Status Register Bit Example Reading the Description of Card #1 Module SYSTemCDEScription? ∙ 16-Channel FET Multiplexer Module DescriptionExample Reading the Model Number of a Card #1 Module Comments ∙ 16-Channel FET Multiplexer Module Model NumberIMMediate ∙ Executing the TRIGgerIMMediate Command a channel listExample Advancing Scan using the TRIGger Command TRIGger∙ Trig Out Port Shared by Switchboxes See the OUTPut command ∙ Enabling the Trigger Source The TRIGgerSOURce commandExample Query Trigger Source Example Scanning Using External TriggersScanning Using Bus Triggers ANSI/IEEE Standard Ieee 488.2 Common CommandsScpi Commands Quick Reference Description Command Quick ReferencePage Power Off High to Low Maximum Voltage Screw Terminal Wire Size Watts/SlotConnectors Used P1 Maximum Offset Voltage Number of Slots Input Impedance Power RequirementsHP 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 Manufacturer ID Register Register Bit DescriptionsRegister module Status/Control Register Enable IRQ ENScan Control Register Scan Channel Delay RegisterContinuous Enable CNT EN Reset Pointer RST PTR C1 C0 Scan Channel Configuration RegisterDirect Channel Configuration Register A Tree Isolation Switch Disable A-D Valid Channel VLDDirect 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