Contents
HP E1429A/B Digitizer User’s Manual Contents
ARM
Data
Period Value Table
ESR?
Contents HP E1429A/B Digitizer User’s Manual
HP E1429A/B Digitizer User’s Manual Contents
HP E1429A/B 20 MSa/s 2-Channel Digitizer User’s Manual
Documentation History
According to ISO/IEC Guide 22 and EN
March 1
HP E1429A/B 20 MSa/s 2-Channel Digitizer User’s Manual
HP E1429A/B Features and VXIbus Configuration
Chapter Contents
Getting Started Chapter
HP E1429A/B VXIbus Configuration
HP E1429A/B VXIbus Configuration
Digitizer Logical Address
Assigning the Digitizer to a Commander
Preparation for Use
HP E1429A/B Logical Address Switch Location
Bus Request Level Guidelines
Installing the Digitizer
Digitizer Bus Request Level
Addressing the Digitizer over HP-IB
Addressing the Digitizer using an Embedded Controller
HEWLETT-PACKARD,E1429A,0,A.02.00
Sending the *IDN? Command
Introductory Programs
TST?
IOOUTPUTSADDR, *IDN?
Repeat Output 70905SYSTERR?
SLFTST.C
IOOUTPUTSADDR, DIAGTEST?
Resetting Clearing Digitizer
IOOUTPUTSADDR, *TST?
IOOUTPUTSADDR, SYSTERR?
IOOUTPUTSADDR, *RST*CLS
Subend
Repeat
Querying Digitizer Configuration
LRN?
Integer
LRN.C
Chapter Getting Started
TRIGSTARTIM1 10E-6
Instrument and Programming Languages
OUTPEXT1STAT Ontrigsour EXT1OUTPEXT1STAT OFF
Language Programs
∙ Turbo C++
Command Line Compiling
Microsoft QuickC clhpib.lib
∙ Microsoft QuickC
CLHPIB.LIB
Compiling in the Integrated Environment
Other subsystems
Introduction to Programming
Using the MEASure CONFigure Commands
Port
HP E1429A Programming Sequence
Programming Sequence
How to Make Measurements
Using MEASure
Configuring the Channels
MEAS.C
Can be used to set the desired number of pre-arm readings
SENS1SWEOFFSPOIN
Taking Readings After Using CONFigure
CONF.C
IOOUTPUTSADDR, FETC1?
Querying Command Settings
QUERY.C
Enable Intr
ERRORCHK.C
Abort
Digitizer Command Module Deadlock
Where to go Next
Programming Language
Using the Digitizer
INPUT.C
Configuring the Digitizer Input
ARMCNT.C
Taking a Burst of Readings
ARMLEVEL.C
Level Arming
ARMSOUR1 EXT
Pre- and Post-Arm Readings
PREPOST.C
Trigsour TIM
Specifying a Sample Rate
SAMPLE.C
ARMSOUR1 IMM
Senssweoffspoin
Dual Rate Sampling
DUALSAMP.C
ARMSLOP1 POS
Using Multiple Digitizers
MULTAD.C
FETC2?
OUTPTTLT0STAT on
OUTPTTLT0IMM
PACKED.C
Using the Packed Data Format
Diagchanlab
Form Pack
For i = 0 i 20 i++
IOOUTPUTSADDR, SYSTERR?
VMEREAL.C
VME Bus Data Transfers
Vinsconfvmefeed ’CONVCHAN1’
Trigstarsour VME
Vinsconfvmemode GEN
On Next
Using the Digitizer Chapter
VMESEG1.C
Armstarcoun
Armstarsour IMM
On Next
IOOUTPUTSADDR, *RST*CLS
IOOUTPUTSADDR, SYSTERR?
DOS
VME Bus Data Transfers Using an Embedded Controller
On Next
Using the Digitizer Chapter
On Next
On Next
INST.H
#include Files
Inst
INST.CPP
On Next
Chapter Using the Digitizer
E1429.CPP
E1429.H
Local Bus Data Transfers
Formdata Pack
Vinslbusres
Vinslbusmode GEN
Vinslbusfeed ’CONVBOTH’
IOOUTPUTSADDR, Init
IOOUTPUTSADDRMEM, Init
Using the Digitizer Chapter
Chapter Using the Digitizer
On Next
Vinslbusmode APP
Vinslbusfeed ’MEMCHAN1’
IOOUTPUTSADDRG, *OPC?
IOOUTPUTSADDRA, Init
IOOUTPUTSADDRG, Init
On Next
Using the Digitizer Chapter
On Next
Vinslbusfeed ’CONVCHAN1’
Armstarsour TTLT0
Vinslbusmode INS
OUTPTTLT0FEED ’READY’
IOOUTPUTSADDRG, Init
IOOUTPUTSADDRG, *OPC?,5
IOOUTPUTSADDRI, Init
Using the Digitizer Chapter
Chapter Using the Digitizer
Using the Digitizer Chapter
STATUS.C
Using the Digitizer Status Registers
Using the Digitizer Chapter
Understanding the Digitizer
HP E1429 Digitizer Block Diagram
Understanding the HP E1429 Digitizer Chapter
Message and Register Interfaces
Digitizer Command Paths
Digitizer Input Section
Scpi Command Control
SENSechan VOLTage Range range
Inverting and Non-inverting Differential Input Ports
Setting the Input Impedance
Enabling the 10 MHz Input Filter
Digitizer Attenuators
Setting the Signal Range
Sensvoltrang
Using the Single-Ended Input 1V Range
Arming and Triggering
HP E1429 Digitizer State Diagram
ARM-TRIG State Diagram
HP E1429 Digitizer Arming and Triggering
ARM STARtSEQuence1
Set positive or negative transition
Arm Window Boundaries
Arm Level Range
ARM Synchronization Signals
OUTPutEXTernal1FEED source
Enabling the Synchronization Signal
Routing the Signal to a Source
Offset
Triggering Digitizer
TRIGgerSTARtTIMer1 period
Chapter Understanding the HP E1429 Digitizer
Specifying the External Reference Frequency
Digitizer Reference Clock
Source
TRIGgerSTARtCOUNt count SENSechan SWEepPOINts count
Trigger Synchronization Signals
OUTPutEXTernal1FEED source
Routing the Signal to a Source
Data Flow, Storage, and Conversions
Analog-to-Digital Converter
HP E1429 Digitizer Data Flow
HP E1429 Digitizer Reading Storage
10. Memory Segments with Pre and Post-arm Readings
MEMory Subsystem
Digitizer Data Formats
Determining the Battery Charge
Definite Length Arbitrary Block Header
Packed Reading Conversions
HP Basic Example
Removing the Arbitrary Block Header
Language Example 16-bit readings
Readings
READ?
11. Retrieving Readings from Digitizer Memory
FETChing Readings from Memory
Retrieving Readings Using
Retrieving Readings Using FETCh?
READ?
Separating Pre- and Post-Arm Readings
Determining Number of Readings FETChed
Using DIAGnosticUPLoad SADDress?
Locating Unsegmented Readings
DIAGnostic Subsystem
Memory Management
Maximum Readings
Locating Segmented Readings
ARMSTARtCOUNt
Ending segment address = segmentnumber * 65536
Therefore, the DIAGnosticFETCh? command would be executed as
Locating the Data Register
12. Digitizer Registers in A16 and A24 Address Space
Base Address
Execute the following HP E1406 Command Module command
On Next
Data Register Offset
DATA?
VINStrument Subsystem
VME
Setting the VME bus Data Source
Segmented Reading Transfers
Understanding the HP E1429 Digitizer Chapter
Multiple VME Bus Data Transfers
Local Bus Description
14. Local Bus Signal Line Definitions
15. HP E1429B Local Bus Data Transfer Protocol
How Data is Transferred
Understanding the HP E1429 Digitizer Chapter
Send
Digitizer Local Bus Commands
Local Bus Transfer Configurations
Lbus
EOF EOB D1 D1 D1
Multiple Digitizers and Serial Transfers
EOF EOB D3 D3 D3
Digitizer Configuration Restrictions
Setting the Local Bus Transfer Mode
Setting the Local Bus Data Source
Multiple Local Bus Data Transfers
Status System Registers
Status Subsystem Commands
Digitizer Status Registers
16. HP E1429 Status Groups and Associated Registers
Reading the Condition Register
Questionable Signal Status Group
Condition Register
Operation Status Group
Enable Register
STATusOPERationCONDition?
CME EXE DDE QYE
Standard Event Status Group
Standard Event Status Register
PON
ESE?
Standard Event Status Enable Register
Reading the Standard Event Status Register
ESR?
Oper RQS ESB MAV Ques
Status Byte Status Group
Status Byte Register
STB? Spoll
Presetting the Enable Register and Transition Filter
Service Request Enable Register
Reading the Status Byte Register
OPC OPC? WAI
Saving Digitizer Configurations
Synchronizing the Digitizer
RST
How to Save and Recall a Configuration
Understanding the HP E1429 Digitizer Chapter
Command Reference
Common Command Format
Command Types
Armlevneg
Scpi Command Format
Abbreviated Commands
ARM
Parameter Types Explanations, Examples
Scpi Command Parameters
Implied Optional Keywords Variable Command Syntax
OUTPECLT0FEED ’EXT’ OUTPECLT0FEED \EXT\
Definite length block
Scpi Command Execution
Querying Parameter Settings
Optional Parameters
Armcoun Trigcoun MAX
Executable When Initiated Commands
MIN and MAX Parameters in Coupled Commands
Linking Multiple Scpi Commands
Scpi Command Reference
Linking Ieee 488.2 Common Commands
Example Aborting a measurement
∙ Executable when initiated Yes ∙ Coupled Command No
ABORt
ABORt
ARM
Subsystem
ARMSTARtCOUNt
STARtCOUNt
Syntax
Parameters
Parameter Range Default Name Type Values
ARMSTARtCOUNt
MINimumMAXimum
ARMSTARtDELay
STARtDELay
Parameter Range Default Name Type Values
∙ *RST Condition none
Example Setting the arming delay
ARMSTARtIMMediate
STARtIMMediate
Comments ∙ Executable while initiated No
ARMSTARtLEVelchanNEGative voltage
STARtLEVelchanNEGative voltage
Example Arming for measurement
STARtLEVelchanPOSitive voltage
ARMSTARtLEVelchanPOSitive voltage
STARtSLOPen
ARMSTARtSLOPen
Example Setting the arm slope
ARMSTARtSOURcen
Example Setting two arm start sources
∙ Related Commands ARMSTARtSLOPen , ARMSTARtLEVelchan
Numeric None
CALibrationchan
COUNt?
Subsystem Syntax
Data
CALibrationchanDATA
Assign @X to 70905FORMAT OFF
Comments ∙ Executable when initiated No ∙ Coupled Command No
DELay
CALibrationchanDELay
Gain
CALibrationchanGAIN
Seconds
Confarrvolt 100,4.8,DEF,@1
∙ *RST Condition none Example Performing a gain calibration
CALibrationchanSECureCODE
CALibrationchanSECureSTATe
CALibrationchan SECureSTATe mode ,code enables or disables
CALibrationchanSTORe
Example Turn automatic storage of calibration values off
CALibrationchan STOReAUTO mode selects whether or not
CALibrationchanSTOReAUTO
VALue
Numeric 101.80 to Volts
∙ Related commands CALibrationGAIN
CALibrationchanVALue
Zero
Example Setting the calibration value
CALibrationchanZERO
CAL1ZERO DEF,DEF,ALL
ARRayVOLTageDC
CONFigurechan
CONFigurechanARRayVOLTageDC size,expected
CONFigurechanARRayVOLTageDC
Range Volts Value
Maximum Voltage Resolution
CONFARRayVOLT 20,1.5,@3
CALibrationchan CONVerge?
DIAGnostic
CHANnelchan LABel
DIAGnosticCALibrationchan GAINSENSitivity?
CALibrationchan ZEROSENSitivity?
Example 1 Tagging the data with channel number
DIAGnosticFETCh?
∙ Coupled Command No ∙ Related Commands ABORt, FETCh?
Example 2 Reading back PACKed data HP Basic program
MEMorychanADDResses?
DIAGnosticMEMorychanFILL
DIAGnosticMEMorychan Fill numsegments, count sets up
Thru Ffffff None
DIAGnosticPEEK?
PEEK?
Poke
DIAGnosticPOKE
Example Examining the setting of the traffic register
Example Changing the contents of the traffic register
TEST?
DIAGnosticSGET?
SGET?
Sput
FETChchan
Command Reference FETChchan Subsystem
FETChchan Subsystem Command Reference
FETC1COUN?
FETChchanCOUNt?
∙ *RST Condition none Example Recovering readings in memory
FETChchanRECover?
Subsystem FORMat
FORMat
FORMatDATA
∙ Related Commands READ?, FETCh?
Example 1 Setting the data format to 64 bit reals
IMMediate
INITiate
Example Placing the HP E1429A in the wait-for-arm state
INITiateIMMediate
Subsystem INPutport
INPutport
Example Enabling the 10 MHz low-pass filter
INPutportFILTerLPASsSTATe mode enables or disables
INPutportFILTerLPASsSTATe
IMPedance
STATe
Example Setting 75 Ω input impedance
INPutportSTATe
Example Disabling input port
MEASurechanARRayVOLTageDC size,expected
MEASurechan
ARRayVOLTageDC?
MEASurechanARRayVOLTageDC?
Maximum Voltage Resolution
MEAS1ARRayVOLT? 20,1.5,@3
∙ *RST Condition not affected
BATTerySTATe
Example Enable memory to be non-volatile
MEMory
∙ *RST Condition none Example Check the battery charge
MEMoryBATTeryCHARge?
ECLTrgnFEED
OUTPut
∙ *RST Condition
Example Setting the ECLTrg0 sync pulse source
OUTPutECLTrgnSTATe
ECLTrgnSTATe
Boolean
Parameter Range Default Name Type Values Units
OUTPutEXTernal1FEED
EXTernal1FEED
TRIGgerSTARtSEQuence1
ARMSTARtSEQuence1 None RFTRigger SENSe12ROSCillator
TTLTrgnFEED
Example Setting the sync pulse source
OUTPutEXTernal1STATe
EXTernal1STATe
Example Enabling sync pulse for READy on TTLTrg5
OUTPutTTLTrgnFEED
Numeric Through None
ARMSTARtSEQuence1 None
Example Enabling sync pulse output to TTLTRG0* and TTLTRG5
OUTPutTTLTrgnSTATe
READchan
READchan Subsystem Command Reference
Command Reference READchan Subsystem
SENSe
SENSechanFUNCtion
SENSechanFUNCtion
Example Selecting the single ended input on channel
SENSechanFUNCtion SENSechanFUNCtion
EXTernalFREQuency
SENSechanROSCillator
SOURce
SENSechanROSCillatorSOURce
Example Setting the Reference Oscillator Source
SENSechan SWEep
Number Maximum Number Memory Segments
SENSechan SWEepOFFSetPOINts count
OFFSetPOINts count
Example Setting 50 pre-arm readings on channel 1, input port
MINimum selects 1 reading
SENSechan SWEepPOINts count
Example Setting 500 readings
SENSechan VOLTageDCRANGe range selects the range for
SENSechanVOLTageDC
RANGe
SENSechanVOLTageDC RANGe
Range Measurement Resolution Allowable Setting Volts Ports
Comments ∙ Executable when initiated Yes
Example Selecting the 102.35 Volt range on channel
SENSechanVOLTageDC RESolution?
RESolution?
Operation Status Register
STATus
OPCINITiate
Subsystem Syntax Questionable Signal Status Register
STATusOPCINITiate
OPERationQUEStionableCONDition?
OPERationQUEStionableENABle
STATusOPERationQUEStionableCONDition?
Through +32767 None Non-decimal Numeric
Example Setting the Operation register enable mask
STATusOPERationQUEStionableEVENt?
OPERationQUEStionableEVENt?
OPERationQUEStionablePTRansition
STATusOPERationQUEStionableNTRansition
PRESet
STATusPRESet
VERSion?
ERRor?
Example Reading the error queue
SYSTem
TRIGger
Command Reference TRIGger Subsystem
TRIGger Subsystem Command Reference
TRIGgerSTARtCOUNt
Example Taking 20 readings 8 pre-arm and 12 post-arm
STARtSOURce
TRIGgerSTARtIMMediate
Bushold
TRIGgerSTARtSOURce
Reference period to
TRIGgerSTARtTIMer1
STARtTIMer1
Example Setting the start trigger source
TRIGgerSTARtTIMer1
Multiple Period
STARtTIMer2
Period Value Table
∙ *RST Condition 5.0E-8 seconds
TRIGgerSTARtTIMer2
∙ *RST Condition 1.0E-7 seconds
Local Bus transfers
VINStrument
Data voltagelist
VME VXI data transfer Bus transfers
VINStrument CONFigureLBUSFEED
CONFigureLBUSMEMoryINITiate
VINStrumentCONFigureLBUSMEMoryINITiate
CONFigureLBUSMODE
VINStrumentCONFigureLBUSMODE
APPendGENerate None INSertOFF PIPeline
VINStrumentCONFigureLBUSRESet
CONFigureLBUSRESet
Example Setting the Local Bus operation mode
CONFigureLBUSSENDPOINts
VINStrumentCONFigureLBUSSENDPOINts
Boolean On OFF None
VINStrumentCONFigureLBUSSENDPOINtsAUTO
CONFigureLBUSSENDPOINtsAUTO
VINStrumentCONFigureTESTDATA voltagelist configures
VINStrumentCONFigureTESTDATA
CONFigureTESTDATA
∙ *RST Condition none Example Testing Local Bus operation
VINStrumentCONFigureVMEFEED
CONFigureVMEMEMoryINITiate
VINStrumentCONFigureVMEMEMoryINITiate
CONFigureVMEMODE
VINStrumentCONFigureVMEMODE
GENerateOFF None
VINStrumentCONFigureVMESENDADDRessDATA?
CONFigureVMESENDADDRessDATA?
Example Setting the VXIbus data transfer bus operation mode
HEWLETT-PACKARD Virtual INSTRUMENT,ANY ATOD,0,A.01.00
VINStrumentIDENtity?
Category Command Title
IEEE-488.2 Common Commands
DMC
∙ Executable when initiated Yes
CLS
Example Define macro to start measurement
EMC and *EMC?
ESE and *ESE?
String
Example Enable all error events
ESR?
GMC?
HEWLETT-PACKARD,E1429,0,A.01.00
IDN?
LMC?
Example Query macro definition
OPC
LRN?
PUD and *PUD?
OPC?
PMC
Block Through 63 characters None Data String
RCL
RST
RMC
SRE and *SRE?
SAV
TRG
STB?
WAI
TST?
Command Quick Reference Chapter
Chapter Command Quick Reference
Unmask
VINStrument
Scpi Conformance Information
Scpi Confirmed Commands
Chapter Scpi Conformance Information
Scpi Conformance Information Chapter
Appendix Contents
Specifications
Number of Partitions
Read-Out
To VME Bus
To Local Bus E1429B only
Total Readings per Partition
Amplitude Characteristics Signal Conditioning
Filtering
Signal-to-Noise Ratio
Output Formats
Gain and Offset 4.3.1, note
Integral Nonlinearity 4.4.3, Note
Converter Supplemental Characteristics
Single-ended inputs Connector BNC
Word Error Rate 4.15 qualified error level word error rate
Crosstalk between channels
Single-ended inputs, supplemental characteristics
Analog Bandwidth 4.6.1 filter off
Effective bits on different ranges
Appendix a Specifications
Effective bits, relative to 1V single-ended range
Differential Inputs, supplemental characteristics
Crosstalk
Frequency Sample Rate Characteristics Internal Timer
Trigger Sample Clock Subsystem
Timebase and Trigger additional supplemental characteristics
Bus Access and Connectors
General Characteristics
EMC
Specifications Appendix a
Useful Tables
RSTCLS.C
ERRORCHK.C
IDN.C HP BASIC, C
SLFTST.C
STATUS.C
LOCALAD.C
LBUS2PST.C
LBUSAUTO.C
CAL1VAL
Mode OFF
EMC
Calstorauto
POS
DEL
Sour
SLOP1
Table B-3. HP E1429A/B Error Messages Code Description
Appendix B Useful Tables
Useful Tables Appendix B
Appendix B Useful Tables
Local bus test data size not
Register Programming
System Configuration
Register reads and writes are 8-bits
Reading and Writing to the Registers
Figure C-1. HP E1429A/B A24 Address Space
Addressing the Registers
Determining the A24 Base Address
Appendix C Register Programming
A24READ.C
Register Descriptions
See
A24 Register Table
Base +
Base +0316
Input Configuration Registers
A/D Status Register
A/D Serial Register
Base +0B16
A/D Parallel Strobe Register
A/D Shift Register
Bit Name Function
Base +
Arm and Trigger Configuration Registers
Abort and Arm Immediate Register
Arm Status Register
Timebase Initiation Registerbase +
Arm Source Register
Arm Source Register Power-on/Reset Settings
Arm Internal Bus Registerbase +
Base + 4B16
Arm Control Register Power-on/Reset Settings
Arm Control Register
Base + 4D16
Trigger Source Register Power-on/Reset Settings
Trigger Source Register
Register Programming Appendix C
Base + 4F16
Reference Oscillator Register Power-on/Reset Settings
Reference Oscillator Register
Arm Count Latch Register
Arm delay Register Base + 5116 and base +5316
Arm Count Register Base + 5516 and base +
Base +6116
Trigger Immediate Registerbase + 5D16
Decade Division Register
Binary Division Register
Base + 7316 and base +
Pre-Arm Reading Count Register power-On/Reset Settings
Post-Arm Reading Count Register power-On/Reset Settings
Pre-Arm Reading Count Registers
Base +0216
Traffic Register Power-on/Reset Settings
Memory Control Registers
Traffic Register
Data Register
Pulse Register
Channel ID Register
Base +2116
Memory Control Register Power-on/Reset Settings
Memory Control Register
Base +2316 to base +2716
Memory Address Registers
Base +2D16 and base +2F16
Terminal Address Register
Base Address Registers
Base +2B16
Figure C-2. Accessing the A/D Shift Register
Using the A/D Shift Register
Bit Name Setting
Enabling the 10 MHz Filter
Setting Measurement Range
Setting the Input Impedance
Procedure
Input Post 14 dB Attenuator Bits Bits 34 Bits 35 37,45 38,46
Checking the Idle State
Setting the Arm Sources
Setting the Digitizer Configuration
Setting the Arm Delay
Setting the Arm Count
Setting the Reference Source
Sending an Arm Immediate Signal
Setting the Trigger Source
Aborting Measurements
Sending a Trigger Immediate Signal
Initializing Digitizer Memory
Re-initiating the Digitizer
Appendix C Register Programming
MSB LSB
Initializing Initiating Timebase Processor
Data source
Timebase reset
Trigger count
Sample rate
Count is 1 and the post-arm count is y-3
Midsb LSB
Register Programming Appendix C
Initializing Digitizer Memory to Retrieve Data
Retrieving Data from Memory
Register Programming Appendix C
MSB LSB
Example Program
Appendix C Register Programming
REGPROG.C
IOOUTPUTSADDR, READ?
On Next
On Next
On Next
On Next
On Next
On Next
On Next
On Next
On Next
On Next
On Next
Void checkerrorchar *function Char Into161 Length =
Register Programming Appendix C
Interleaved Transfers
Local Bus Interleaved Transfers
Local Bus Interleaved Transfers Appendix D
Setting Interleaved Transfer Mode
Procedure
LBUSINTR.C
OUTPECLT0FEED ’TRIG’
Trigstarsour ECLT0
Trigstarsour TIM
Trigstartim 1E-6
Tracdef SET1 Store readings 80 bytes in SET1
IOOUTPUTSADDRI, Abor
IOOUTPUTSADDRMEM, *OPC?
IOOUTPUTSADDRG, Abor
Local Bus Interleaved Transfers Appendix D
Appendix D Local Bus Interleaved Transfers
Local Bus Interleaved Transfers Appendix D
HP E1429A/B User’s Manual Index
Index
Index HP E1429A/B User’s Manual
HP E1429A/B User’s Manual Index
Index HP E1429A/B User’s Manual
Scpi
Index HP E1429A/B User’s Manual