Home
Agilent Technologies E1563A Stereo Receiver User Manual
Contents
1. TRIG SOURcel A to D Conv ly Vata q Dat Data Storage el RAM Event Separating Pre and Post Trigger Data Sample Trigger TILT O TRIGGER amp SAMPLE SYSTEM TILT Jj TRIG SOURce2 From VXIbus Figure 2 1 Digitizer Block Diagram Chapter 2 Using the Digitizers 33 Channel Block Figure 2 2 is a block diagram of an individual channel and the interconnections between channels The sample signal goes to all channels The commands beneath the diagram show the SCPI commands used to program each section of a channel In this case all the commands are written for channel 4 See Chapter 3 for a full description of the commands illustrated here Diagram JE Channel 1 CVT g Sample Last RDG LE Vell A Channel 2 CVT g sample Last RDG LE Vel H L Channel Ea Channe H CVT U Level e ande C FL l Compare LEVel4 DATA to Computer Q To RAM Sample RANGE SELECTION INPut4 STATe ON 1 OFF 0 VOLTage4 DC RANGe lt range gt FILTER SETTING INPut4 FILTer LPASs FREQ lt freq gt INPut4 FILTer LPASs STATe ON 1 OFF 0 QUERY LAST READING current value SENSe D
2. o o o oooooooooomoo 124 e Programming ExampleS o oooooooooo o 140 Register Programming vs SCPI Programming NOTE The E1536A and E1564A Digitizers are register based modules that do not support the VXlbus word serial protocol When a SCPI command is sent to a digitizer the E1406 Command Module parses the command and programs the switch at the register level If SCPI is used to control this module register programming is not recommended The SCPI driver maintains an image of the card state The driver will be unaware of changes to the card state if you alter the card state by using register writes Register based programming is a series of reads and writes directly to the digitizer registers This increases throughput speed since it eliminates command parsing and allows the use of an embedded controller Also if slot O the resource manager and the computer GPIB interface are provided by other devices a C size system can be downsized by removing the command module Addressing the Registers Appendix B Register addresses for register based devices are located in the upper 25 of VXI A16 address space Every VXI device up to 256 devices is allocated a 32 word 64 byte block of addresses With 51 registers the digitizers use 51 of the 64 addresses allocated Register Based Programming 121 The Base Address when reading or writing to a switch register a hexadecimal or decimal register address is spec
3. Set the calibration source to internal CAL SOUR INT S Set the CAL DAC output voltage CAL DAC VOLT lt voltage gt see Table E 2 for lt range gt settings and CAL DAC lt voltage gt setting 4 Note the voltmeter reading from the calibration bus output 5 Send the value measured from the calibration bus output as the parameter for the calibration value CAL VAL lt voltage gt 6 Perform the adjustment by sending CAL GAIN lt channel gt adjusts each channel in about 5 seconds 7 Send SYST ERR and read the result to verify the calibration command was successful 8 Repeat Steps 3 through 7 for ranges and inputs in Table E 2 9 Repeat steps 3 through 8 for channels 2 3 and 4 Table 3 1 Gain Adjustment Range Input Voltages Channel Range CAL DAC Voltage 62 mV 59 mV 0 25V 0 24V 4V 3 8V 15V NOTE Valid calibration input values sent to the digitizer are 0 85 to 0 98 of Full Scale for the range being adjusted The CAL VAL lt input voltage gt parameter must equal the actual input value For example if you input 0 9V to calibrate the 1V range instead of 0 95 send CAL VAL 0 9 to the digitizer prior to the CAL GAIN lt channel gt command 168 Digitizers Adjustments Appendix E A A24 Offset register 128 abbreviated commands 46 ABORt subsystem 48 accuracy digitizers 158 addressing registers 121 adjustment procedures 164 adjustments digitizers 163 B base address 122 C cabling considerations 23 CA
4. 0 gt 1 lt bits 15 8 D7 DO data bits Trigger Interrupt This register provides 8 bit data corrected for offset and gain in 2 s Level Channel 3 Complement format Register eee nul AA mad AAA AA AAA GE EE EE EE WRITE READ BITS Trigger Interrupt Level Channel 3 Register Greater than or Less than 0 gt 1 lt bits 15 8 D7 DO data bits Appendix B Register Based Programming 135 Trigger Interru pt This register provides 8 bit data corrected for offset and gain in 2 s Level Channel 4 complement format Register PARAR wor o 0005 oz or fool o ofo ojofoja SE EE EE EE WRITE READ BITS Trigger Interrupt Level Channel 4 Register Greater than or Less than 0 gt 1 lt bits 15 8 D7 DO data bits Sample Period High This register provides the high byte of the sample period Byte Register A E AE ESA EE CAOBA Sample Period Low This register provides the low word 2 bytes of the sample period Word Register bese 3256 15 14 13112 1 to e e 7 eis 4 sf eft fo Pre Trigger Count Pre trigger count is the number of readings stored before the trigger is High Byte Register received The minimum value is 0 The maximum number of readings is the size of memory in bytes divided by 8 for the E1563 and divided by 4 for the E1564 paver ore 019 e of es ei 7 ei sis e 2 lt e ppp ajo 136 Register Based Programming Ap
5. Cable Connector This section gives guidelines to connect user supplied cables to the cable connector supplied with the E1563A and E1564A Digitizers See Terminal Assembly Port Connector Cables for recommended user supplied cables Step 1 Strip cable as shown and feed the end of the cable through the boot cable clamp housing and coupling ring in the order and position shown The coupling ring can also be inserted onto the cable connector from the front Foil or Braided Shield w Drain Wire Coupling e Clamp RIN HOUSING 9 NE g p Shielded Twisted Pair Step 2 Orient the HI LO and Guard conductors with the corresponding pins Shield Drain Wire Twisted Pair Foil or Braided Shield Chapter 1 Configuring the Digitizer Modules 27 Step 3 Solder conductors to pins CAUTION AVOID EXCESSIVE HEAT Excessive heat on the connector terminals can cause damage to the connector Step 4 Assemble the connector A Align coupling ring s tabs with cable connector s side notches and push the coupling ring onto the cable connector B Push the cable clamp housing forward until it locks into the connector body and snap the two clamps into their compartments to secure the
6. N A N A N A N A N A N A A Appendix D Digitizers Verification Tests 161 Notes 162 Digitizers Verification Tests Appendix D Appendix E Digitizers Adjustments Introduction NOTE Closed Cover Electronic Calibration Calibration Intervals Appendix E NOTE This appendix contains procedures for adjusting the calibration constants in the E1563A and E1564A digitizer See Calibration Interval for recommendations on time intervals You must set the module s FLASH and CALIBRATION CONSTANTS switches to the Write Enable position before you perform any adjustment This allows moditied calibration constants to be stored in memory when you execute CAL STORe The E1563A and E1564A Digitizers feature closed cover electronic calibration There are no internal mechanical adjustments When you input CAL VALue lt voltage gt the digitizer measures the applied voltage when performing a zero or a range gain calibration and then calculates correction factors based on this known input reference value You store the new correction factors in non volatile memory using the CAL STORe command Non volatile memory does not change when power is turned off or after a remote interface reset The E1563A and E1564A Digitizers should be calibrated on a regular interval as determined by the measurement accuracy requirements of your application A 90 day interval is recommended for the most demanding applications while a 1 y
7. TRIGger MODE NORMal MASTer lt n gt SLAVe lt n gt sets the trigger mode Master and Slave parameters set the modules for use in connecting more than one module together for simultaneous measurements from the same trigger and sample Name Type Range of Values Default Value lt n gt numeric 0 2 4 6 none Master and Slave Operation NORMal sets standard trigger operation and the specified trigger and sample sources are used MASTer lt n gt and SLAVe lt n gt pairs a sample line and a trigger line which are then used for multiple unit synchronization See Chapter 2 for more information including diagrams Digitizers Command Reference 105 TRIGger MODE TRIGger SLOPe lt n gt Parameters Comments MASTer MODE SLAVe MODE Trigger line Executable when initiated YES Coupled command NO Reset RST condition NORMal mode TRIGger MODE queries the trigger mode setting Returns NORMal MASTer or SLAVe TRIGger SLOPe lt n gt POS 1 NEG 0 sets the active edge of the trigger signal that causes a measurement to be made Name Type Range of Values Default Value lt n gt numeric Tor none Trigger Source Must be INTernal or EXTernal Trigger slope is active only when the trigger source is one of the four INTernal levels TRIG SOURce INT1 4 or when the EXTernal trigger source is specified TRIG SOURce EXTernal Two Trigger Sources There are two trigger sources and you must desig
8. This section provides three examples that show ways to make digitizer measurements and to retrieve data The three programs are Example Sampling Using Immediate Triggering Example Triggering Using Internal Level Trigger Example Triggering Using External Triggering This example uses an IMMediate trigger to begin the sampling measurements on two channels and to retrieve the interleaved readings from FIFO memory Resetting the digitizer sets the data format to ASCII sample source to timer and trigger source to immediate CLS IClear the status system RST IReset the digitizer VOLT1 RANG 4 ISet ch 1 to 4V range VOLT2 RANG 4 ISet ch 2 to 4V range SAMP COUN 20 ISet sample count to 20 common to all channels SAMP PRET COUN 10 ISet pre trigger count to 10 common to all channels INIT IInitiate measurements DATA 20 1 2 IRead 20 readings from chs 1 amp 2 Enter statement IEnter readings into the computer This example use the internal level trigger to trigger from an input ramp signal as it crosses zero The example takes pre trigger readings and post trigger readings Resetting the module sets the data format to ASCii sample source to TlMer and trigger source to IMMediate The sample interval and the trigger source are changed from the reset setting Resetting the module also sets the trigger level to OV and the trigger slope to positive Trigger level and slope commands are resent to reiterate the level and slope of
9. Yt buf if err lt VI_SUCCESS err_handler digitizer err printf System error response sinin buf viClose digitizer close the digitizer session y end of main Error handling function void err_handler ViSession digitizer ViStatus err char buf 1024 0 viStatusDesc digitizer err buf retrieve error description printf ERROR s n buf return Chapter 1 Configuring the Digitizer Modules 31 Notes 32 Configuring the Digitizer Modules Chapter 1 Chapter 2 Using the Digitizers Using this Chapter This chapter gives guidelines to use the E1563A and E1564A Digitizers including Digitizers OperallO EK 33 Triggering the Digitizers o o ooooooooo 37 e Digitizers Application Examples o 42 Digitizers Operation This section shows block diagram operation for the E1563A and E1564A Digitizers including digitizer block diagrams power on reset states and input overload conditions Digitizer Block Figure 2 1 shows a block diagram of the E1564A 4 Channel Digitizer Diagram The E1563A 2 Channel Digitizer has the same internal structure without channels 3 and 4 TRIG LEVel lt channel gt signals drive the internal trigger inputs LEVel1 drives INT1 LEVel2 drives INT2 etc G LEVel lt channel gt Signals
10. 4 8 16 32 64 and 128 Mbytes The large memory can easily capture transients or act as FIFO to allow continuous digitizing while unloading data with block mode transfers Chapter 1 Configuring the Digitizer Modules 13 All channels sample simultaneously The sample can be from an internal clock derived from the internal time base or it can come from an external source Triggering can be set up for several sources with programmable pre and post trigger reading counts External time base trigger and sample inputs are provided on the front panel D subminiature connector Continuous voltages in a test setup where the user has access to module connectors and test signal cable ends are restricted to 60 Vdc 30 Vac rms or 42 4 Vac peak of a continuous complex waveform Continuous voltages in test setups where the module connectors and the test signal cables connected to them are made non accessible are 256 Vdc 240 Vdc floating or 256 Vac peak Transient voltages are permitted providing the maximum amount of charge transferred into a human body that contacts the voltage under normal conditions does not exceed 45 uCoulombs 45 uA s Overload voltages opens channel input relay follow 62 mV to 4V High or Low to Guard AN 16V to 256V Low to Guard OO AN Front Panel Figure 1 1 shows the front panel features for the E1563A 2 Channel Digitizer Figure 1 2 shows the front panel features for the E1564A Features 4 Channel Digitizer 14
11. DEF lt rate gt DEF ON 1 OFF 0 initiates a gain calibration on the channel specified The ON parameter will cause the 64V and 256V ranges to be indirectly calibrated from the 16V range gain calibration The ON OFF parameter is ignored except for a gain calibration of the 16V range Parameters Name Type Range of Values Default Value readings 25 to 4000 DEFault none numeric 1 25E 6 to reference period seconds 8 388 607 DEFault Chapter 3 Digitizers Command Reference 55 Comments Steps Before Executing a Gain Calibration The following steps must be completed prior to executing a gain calibration 1 Set the digitizer to the desired range and filter on the channel you want to calibrate with VOLTage lt channel gt RANGe lt range gt and INPut lt channe gt FiLTer FREQ lt freg gt and FlLTer STATe ON OFF 2 Enable calibration with CALibration STATe ON and specify the calibration source with CALibration SOURce 3 Specify a calibration value for the channel you are calibrating The value must be between 85 and 98 of either a positive full scale reading or negative full scale reading The ideal calibration value is 98 of positive or negative full scale see CALibration DAC VOLTage 4 The calibration voltage must be applied to the input connector if CALibration SOURce EXTernal is used You must enter the external calibrator voltage value with CAL VALue when an external calibration source is used 5 The E1
12. TTLT lt n gt STATe ON 1 OFF 0 TTLT lt n gt STATe OUTput TTLT lt n gt SOURce Comments OUTPut TTLT lt n gt SOURce TRIG SAMP BOTH sets the source of output pulses for the specified TTL Trigger line lt n gt can have the value 0 through 7 TTLTO TTLT7 Output Pulses Triggering The Digitizer allows separate control of the trigger signal and the sample signal output to the TTL trigger lines Each can output to only a single line However they can both output onto the same line when the BOTH parameter is used When BOTH is used no other lines can be enabled Output pulses will not be sent until the TTL trigger line state is set to ON Resource Conflicts Resource conflicts will occur if either the trigger or sample source is already using a TTL line you attempt to enable The trigger source will be set to IMMediate if it is the conflict The sample source will be set to TlMer if it is the conflict A Settings Conflict error will occur Settings Conflict Error Setting the trigger or sample source to a TTL trigger line that has its output state ON will result in a Settings Conflict error and the output state will be changed to OFF The specified trigger line will be assigned to the sample or trigger source Executable when initiated NO Coupled Command YES Reset RST Condition Source is SAMPle for all TTL lines OUTPut TTLT lt n gt SOURce Chapter 3 OUTPut TTLT lt n gt SOURce queries the spe
13. This command is a factory diagnostic routine Parameters Name Type Range of Values Default Value voltage 2 5 to 2 5 none Comments Executable when initiated NO Coupled Command NO Reset RST Condition None DIAGnostic DAC OFFSet RAMP DIAGnostic DAC OFFSet lt channel gt RAMP lt count gt outputs to the specified channel a ramp of DAC values from 0 to 255 with the DAC code changing approximately every 100 usec This command is a factory diagnostic routine Parameters Name Type Range of Values Default Value Comments Using the lt count gt Parameter The lt count gt parameter defines the number of ramps to output Approximately 37 35 full ramps are output each second A count of 2240 will output ramps for approximately 60 seconds Executable when initiated NO Coupled Command NO Reset RST Condition None 64 Digitizers Command Reference Chapter 3 DIAGnostic DAC SOURce Parameters Comments DIAGnostic DAC SOURce lt voltage gt outputs the specified voltage from the internal calibration source DAC onto the calibration pins CAL H and CAL L of the front panel Calibration Bus Output connector This command is a factory diagnostic routine Name Type Range of Values Default Value voltage 15 0 to 15 0 none Input Relay Operation The channel s input relay remains open until it is closed by INPut STATe ON by a reset of the instrument Executable when initiated NO Couple
14. lt channel gt FILTer LPASs FREQ 1 5E3 6E3 25E3 100E3 valid for E1564A only FiLTer LPASs FREQ FiLTer LPASs STATe ON 1 OFF 0 FILTer LPASs STATe STATe ON 1 OFF 0 STATe INPut FILTer LPASs FREQ INPut lt channel gt FILTer LPASs FREQ 1 5E3 6E3 25E3 100E3 sets the filter frequency for the 4 channel E1564A Digitizer The filters are 2 pole Bessel filters and lt channel gt is 1 through 4 NOTE The 2 channel E1563A Digitizer has a fixed 25 kHz filter The E1563A will accept this command but cannot change the filter and will not generate an error Comments Filter is Set to Nearest Value For the E1564A 4 channel digitizer the filter will be set to the nearest value that can be achieved by the value specified in the command For example if you specify 10E3 the filter is set to 6K or if you specify 20E3 the filter is set to 25K For the E1563A 2 channel digitizer the filter will be 25 kHz regardless of what value you input see above note Executable when initiated NO Coupled Command NO Reset RST Condition Filter state OFF INPut FILTer LPASs FREQ INPut lt channel gt FILTer LPASs FREQ queries the present filter frequency setting on the specified channel Chapter 3 Digitizers Command Reference 75 INPut FILTer LPASs STATe INPut lt channel gt FILTer LPASs STATe ON 1 OFF 0 enables or disables the low pass filter on the specified channel Comm
15. 1 2 3 4 5 6 7 INTerrupt LINE MEMory SIZE lt size gt MEMory SIZE PEEK lt reg_number gt POKE lt reg_number gt lt data gt SHORt lt channel gt ON 1 OFF 0 SHORt lt channel gt STATUS DIAGnostic DAC GAIN DIAGnostic DAC GAIN lt channel gt lt value gt writes the specified value to the calibration gain DAC of the specified channel This command is a factory diagnostic routine Parameters Name Type Range of Values Default Value Comments Input Signal Required There must be a signal on the input for this command to work properly Any offset value set by DAC OFFSet lt voltage gt is used by the DAC when the DAC GAIN command is sent The gain is set on the specified channel DAC Outputs A positive full scale input combined with a DAC gain value of 255 will result in a 2 5V output from the DAC A negative full scale input combined with a DAC gain value of 255 will result in a 2 5V output from the DAC A DAC gain value of 0 will result in OV output in both cases Executable when initiated NO Coupled Command NO Reset RST Condition None Chapter 3 Digitizers Command Reference 63 DIAGnostic DAC OFFSet DIAGnostic DAC OFFSet lt channel gt lt voltage gt writes the specified voltage value to the calibration offset DAC of the specified channel when the DAC GAIN command is sent This offset voltage value is not used unless a DAC GAIN lt value gt is sent to the calibration gain DAC
16. 2 E1564A 2 Channel Digitizer Front Panel 16 Configuring the Digitizer Modules The E1564A Digitizer front panel contains four female connectors for user inputs Mating male connectors are supplied with the module However the user must provide the input cable and connect the male connector to The front panel contains a 9 pin D subminiature connector for external 4 Channel Digitizer has a calibration bus output High Low and Guard and a programmable short The user must provide the the appropriate Chapter 1 Warnings and Cautions Chapter 1 WARNING WARNING WARNING WARNING DANGEROUS VOLTAGES The E1563A and E1564A Digitizers are capable of measuring voltages up to 256V maximum Voltage levels above the levels specified for accessible connectors or cable ends could cause bodily injury or death to an operator Special precautions must be adhered to discussed below when applying voltages in excess of 60 Vdc 30 Vac rms or 42 4 Vac peak for a continuous complex waveform MODULE CONNECTORS MUST NOT BE OPERATOR ACCESSABLE Module connectors and test signal cables connected to them must be made NON accessible to an operator who has not been told to access them It is a supervisor s responsibility to advise an operator that dangerous voltages exist when the operator is instructed to access connectors and cables carrying these voltages Making cables and connectors that carry hazardous voltages inaccess
17. Comments Chapter 3 CALibration ZERO lt channel gt ALL lt samples gt lt rate gt initiates a zero offset calibration for all ranges on the specified channel using an internal short The command returns 0 if the calibration was successful or returns a non zero value if an error occurred while calibrating one of the ranges Name Type Range of Values Default Value samples 25 to 4000 DEFault none rate numeric 1 25E 6 to reference period seconds 8 388 607 DEFault Non Zero Error Values non zero return value contains the failed ranges as high bits in the lower word For example a return value of 0000000000100001 has a lower word of 00100001 which indicates range O bit O 0 0625V and range 5 bit 5 64V failed The error string in SYST ERR contains information about the failure on the highest range that failed range 5 64V If an error occurs on any range calibration proceeds on to the next range and the bad range is noted Digitizers Command Reference 61 Steps Before Executing a Zero Calibration The following steps must be completed prior to executing a zero calibration Errors result if these steps are not performed before CAL ZERO ALL 1 Set CAL STATe ON to allow calibration to occur 2 Set the digitizer to the desired filter on the channel you want to calibrate with INPut lt channel gt FILTer FREQ lt freg gt and FlILTer STATe ONJOFF Optional Parameters Optional parameters that
18. Comments Executable when initiated NO Coupled Command NO Reset RST Condition Idle state INITiate CONTinuous INITiate CONTinuous queries the instrument to determine if the INI Tiate CONTinuous is enabled or disabled INI Tiate IMMediate INITiate IMMediate initiates the trigger system and prepares a Digitizer to take voltage measurements Comments Digitizer Operation After initiation the Digitizer enters the wait for trigger state and begins taking pretrigger readings until the pretrigger count is met if there is a pretrigger count set All incoming triggers are ignored until the pretrigger count is met Pretrigger readings continue until a trigger arrives The first trigger received after the pretrigger readings have been acquired is the one accepted and it advances the digitizer to the wait for sample state which is where readings are actually taken When the number of readings specified by TRIGger COUNt and SAMPle COUNt have been taken the trigger system returns to the idle state and digitizer stops measuring Executable when initiated NO Coupled Command NO Reset RST Condition Idle state 74 Digitizers Command Reference Chapter 3 INPut The INPut command subsystem controls characteristics of the input signal including ON OFF state and low pass filtering The command defaults to channel 1 if you do not specify a channel in the command syntax eg INP ON is same as INP1 ON Subsystem Syntax INPut
19. Level O 000 is not a valid setting The enable bit bit 3 allows an IRQ to occur when it is set high All interrupt sources are edge sensitive If a masked latched interrupt source is high during the interrupt acknowledge IACK cycle the latch of the source is cleared and will not be set until another edge from the source occurs psa ARA a lris ea me fdo WRITE BITS Interrupt Control Register Specifies the interrupt level 1 7 001 1 111 7 Enable the interrupt 1 interrupt enabled 0 interrupt disabled READ BITS Interrupt Control Register IA AA Appendix B Register Based Programming 129 Interru pt Source Eight events can be enabled to interrupt the digitizer These events are listed Register in the above Interrupt Control Register definition for bits 8 through 15 The Interrupt Source Register contains the latched version bits 8 15 and the unlatched version bits 0 7 of these sources The value of a source is latched high when the source has a low to high transition The latched bits are cleared if they are masked as an interrupt source or by reading the register and writing back the contents Writing a 1 to the bit clears the latch The non latched state of the interrupts is available all the time The bit ordering of the latched bits and the unlatched bits is the same as the mask poes usere ops epofa s fe fife READ BITS Interrupt Source Register bit 15 7 TRIG A trigge
20. STATe 76 INPut STATe 76 installing digitizers in mainframe 22 Interrupt Control register 129 interrupt line setting 21 Interrupt Source register 130 L linking commands 47 logical address setting 21 master slave operation 38 measurement uncertainty 158 N Noise Verification test 155 O Offset and Cache Count register 128 offset register 123 operation digitizers 33 OUTPut subsystem OUTPut TLT SOURce 77 OUTput TTLT SOURce 77 OUTPut TTLT STATe 78 OUTPut TTLT STATe 78 overload voltages 14 P Performance Test Record 158 performance tests conditions 152 performance verification Filter Bandwidth test 157 Gain Verification test 156 Noise Verification test 155 performance verification test programs 152 performance verification tests 154 power on state 35 Pre Trigger Count High Word register 136 Pre Trigger Count Low Word register 137 programming register based 121 R RAM adding 19 Range Filter Connect Channel 1 2 register 133 Range Filter Connect Channel 3 4 register 133 READ registers 125 recommended test equipment 151 register descriptions 124 Index 171 R continued register offset 123 register based programming 121 registers SAMPle subsystem SAMPle COUNt 79 SAMPle COUNt 80 SAMPle IMMediate 80 A24 Offset 128 addressing 121 base address 122 Calibration Flash ROM Address 131 Calibration Flash ROM Data 132 Calibration S
21. Samples Taken Low This register holds the lower 16 bits of the number of samples taken number Word Register of readings The value in this register will continuously change as readings are taken base 1Aj6 18 4 19 12 9 woo e 7 e s a a a 1 0 Calibration Flash This register holds the address of the calibration flash ROM that is used for ROM Address storing the calibration constants Note the bit pattern 01010 for bits 15 11 in the upper byte A write to Flash ROM is aborted if this pattern is not present Register eseri 16 v4 19 wo e e 7 elsejei A A ee AA A MATA A e AE AAA TA A Appendix B Register Based Programming 131 Calibration Flash This register holds the data of the calibration flash ROM that is used for the ROM Data Register calibration constants The upper eight bits return 0 when this register is read Note the bit pattern 01010 for bits 15 11 in the upper byte A write to Flash ROM is aborted if this pattern is not present GENEE mg ALEA A A aaa Calibration Source The E1564A 4 Channel Digitizer has an on board calibration source Register The source is a 12 bit DAC with a gain switch Bit 15 is the gain switch and bits 11 through 0 are the calibration value base 2056 15 4 13 12 9 io fee 76 ps 9 fs 2 1 0 un es uo DA a WRITE BITS Calibration Source Register bits 0 11 DAC data bit 12 13 MUXO 1 connects choices to the output 00 CAL source 01 Raw D
22. TST causes the E1563A and E1564A Digitizers to execute an internal self test and returns the number of the first failed test TST Responses A zero response indicates the self test passed Any non zero response indicates the test failed Input the failed test number into the TEST ERR lt number gt command The returned values from this command will be the result code and a string See Appendix C for information on interpreting the result code and string Executable when initiated NO Coupled command NO Reset RST condition none WAI causes the E1563A and E1564A Digitizers to wait for all pending operations to complete before executing any further commands WAI Operation WAI will not wait for all measurements to complete when an INIT command is executed to start measurements WAI considers INIT finished once it is processed although the instrument may still be taking measurements In this case the instrument will move on to the next command following WAI while measurements are being taken Executable when initiated YES Coupled command NO Related commands OPC OPC Reset RST condition none 114 Digitizers Command Reference Chapter 3 SCPI Commands Quick Reference This table summarizes SCPI commands for the E1563A and E1564A Digitizers ABORt Stops any measurement in progress and puts instrument in the idle state CALCulate lt channel gt Defaults to channel 1 if none specified LIMIt FAIL Checks fo
23. and the channel used for testing a limit See Chapter 2 for information about how the internal trigger source is driven by the level signal Master Slave Operation TRIG SOURce1 is set to the appropriate TTLT lt n gt line by TRIG MODE MASTer SLAVe TRIG SOURce1 cannot be changed unless the trigger mode is NORMal Attempting to change TRIG SOURce1 when mode is MASTer or SLAVe will cause a settings conflict error TRIG SOURce2 is not affected by TRIG MODE MASTer SLAVe operation Executable when initiated No Coupled command Yes TRIGger LEVel TRIGer MODE OUTPut TTLT lt n gt SOURce TRIG and CALC LIMit _LOWer STATe and CALC LIMit UPPer STATe Changes to TRIG SOURce1 will cause a settings conflict error if TRIG MODE is set to MASTer or SLAVe Reset RST condition TRIGger SOURce1 IMMediate and TRIGger SOURce2 HOLD TRIGger SOURce lt n gt Parameters Comments TRIGger SOURce lt n gt queries present setting for the specified trigger source 1 or 2 The command defaults to trigger source number 1 if lt n gt is not designated Range of Values Default Value Information Returned This command returns one of the following responses indicating the trigger source setting BUS EXT HOLD IMM INT INT2 INT3 INT4 TTLTn where n 0 to 7 Internal level trigger on channel 1 is returned as INT versus INT1 the 1 is implied The internal level trigger for channels 2 3 and 4 return INT2 INT3 an
24. channel gt RAMP lt count gt Output offset ramp from the DAC DAC GAIN lt channel gt lt value gt Set DAC gain as specified DAC SOURce lt voltage gt Output specified DAC voltage DAC SOURce RAMP lt count gt Output ramp from the DAC INTerrupt LINE 0 1 2 3 4 5 6 7 Sets the interrupt line used 0 none INTerrupt LINE Query interrupt line used MEMory SIZE lt size gt Sets new value when you upsize RAM MEMory SIZE Query memory size PEEK lt reg_num gt Query contents of a register POKE lt reg_num gt lt data gt Write data to a register SHORt lt channel gt ON 1 OFF 0 Connect internal short to the channel SHORt lt channel gt Query if internal short connected STATus Query interrupt sources register status FORMat Format commands DATA ASCii PACKed REAL Set data format DATA Query data format Chapter 3 Digitizers Command Reference 115 INITiate IMMediate CONTinuous ON 1 OFF 0 CONTinuous INPut lt channel gt FlLTer LPASs FREQ 1 5K 6K 25K 100K 4 chan FlLTer _LPASs FREQ FlLTer LPASs STATe ON 1 OFF 0 FILTer LPASs STATe STATe ON 1 OFF 0 STATe OUTPut TTLT lt n gt SOURce TRIGger SAMPle BOTH TTLT lt n gt SOURce TTLT lt n gt STATe ON 1 OFF 0 TTLT lt n gt S TATe SAMPle STARt SEQuence 1 COUNt lt count gt MIN MAX COUNt MIN MAX IMMediate PRETrigger COUNt lt count gt
25. count gt which does not generate data and then attempted an ENTER statement to read data from the remote interface A command was received which generates too much data to fit in the output buffer and the input buffer is also full Command execution continues but all data is lost Digitizers ErrorMessages 147 am mp 440 Query The IDN command must be the last query command within a UNTERMINATED command string Example IDN SYST VERS after indefinite response Not yet implemented NOT USED 1000 Illegal when initiated Many commands are not allowed to execute when the instrument is busy taking a measurement this error will occur if that is the case 1001 Illegal while Many Commande are not allowed to execute when the instrument is in calibrating calibration mode This error will occur when that is the case 1002 Trigger ignored A valid trigger occurred but was not expected at that time Usually because a trigger has already been received for that measurement 1003 Sample Trigger This will occur if the instrument is taking a sample and a SAMPle IMM ignored command is received during the previous sample period 1004 Insufficient data for This error will occur if you try to fetch readings but have not initiated a query measurement so no data is available 1005 Invalid channel This error usually is the result of trying to specify channels 3 or 4 fora number command sent to the E1563A which only has two channels 1006 Invalid
26. executing RST 2 Switch the internal short across each channel s input by executing DIAG SHORt lt channeli gt for all channels For example DIAG SHOR1 DIAG SHOR2 etc 3 Send CAL VAL 0 lt input gt CALibration lt value gt 4 Perform the adjustment by sending CAL ZERO lt channel gt ALL once for each channel and reading the calibration success result a non zero response indicates a calibration error occurred Digitizers Adjustments 165 E1563A Gain Adjustment NOTE The zero adjustment procedure MUST have been recently performed prior to beginning any gain adjustment procedure Zero adjustment should be performed one time followed by the other gain adjustments Each range in the gain adjustment procedure for each channel takes less than 5 seconds to complete 1 Reset the E1563A Digitizer by executing RST 2 Setthe DC Standard output to 55 mV for the first gain adjustment 3 Connect the DC Standard output across the E1563A H and L input terminals of channel 1 4 Prepare the E1563A for calibration e Set the channels range VOLT lt channel gt RANG lt range gt e Set calibration source to external CAL SOUR EXT Send input value CAL VAL lt input voltage gt see Table E 1 Gain Adjustment Range Input Voltages for lt range gt and lt input voltage gt values 5 Perform the adjustment by sending CAL GAIN lt channel gt adjusts each channel in about 5 seconds 6 Send SYST ERR and read the result to verif
27. instrument problems If you use an external calibration source you may have set the correct CAL VALue but did not connect the calibration source to the digitizer s input for the channel you are calibrating The calibration source may still be connected to the last channel calibrated Appendix C Digitizers Error Messages 149 Notes 150 Digitizers Error Messages Appendix C Appendix D Digitizers Verification Tests Introduction Types of Tests WARNING Recommended Test Appendix D Equipment This appendix provides information on functional and performance verification of the E1563A 2 Channel Digitizer and E1564A 4 Channel Digitizer You can perform performance verification tests at two different levels depending on need Functional Verification Test A series of internal verification tests self tests that give a high confidence that the digitzer is operational The self tests take less than 20 seconds to complete Performance Verification Test A complete set of tests that are recommended as an acceptance test when the instrument is first received or after performing calibration of the digitizer Do not perform any of the following verification tests unless you are a qualified service trained technician and have read the WARNINGS and CAUTIONS in Chapter 7 and the Warnings and Safety information in the front matter Test equipment recommended for the performance verification and calibration procedures are li
28. is not a coupled command Reset RST Condition None 48 Digitizers Command Reference Chapter 3 CALCulate The CAL Culate subsystem enables the limit checking of measured data Subsystem Syntax CALCulate lt channel gt LIMit FAIL LIMit _LOWer DATA lt value gt MIN MAX LIMit LOWer DATA MIN MAX LIMit LOWer STATe ON 1 OFF 0 LIMit LOWer STATe LIMit UPPer STATe ON 1 OFF 0 LIMit UPPer STATe MIN MAX LIMit UPPer DATA lt value gt MIN MAX LIMit UPPer DATA MIN MAX Comments Only One Limit Can Be Enabled At A Time Either LOWer or UPPer can be enabled but not LOWer and UPPer If you enable the LOWer limit and later enable the UPPer limit the LOWer limit is disabled Using LIMit FAIL The LIMit FAIL command reports the limit was exceeded You must know the limit enabled LOWer or UPPer to know which limit was exceeded Upper and Lower Limit Failures Lower and upper limit failures can be monitored by unmasking bits 9 and 10 in the Questionable Data Register of the status system using the STATus command CALCulate LIMit FAIL CALCulate lt channel gt LIMit FAIL queries the present status of the limit checking on the specified channel The returned value of 0 indicates the limit was not exceeded test passed The returned value of 1 indicates the limit was exceeded test failed NOTE Limit detection is reset with each new measurement Therefore this
29. lt VI_SUCCESS err_handler digitizer err AAA retrieve readings EE read the CVT registers err ViIn16 digitizer VI_A16_SPACE 0x10 amp cvt_reg if err lt VI_SUCCESS err_handler digitizer err printf channel 1 0x 4X n cvt_reg last_reading double cvt_reg 4 32768 printf channel 1 lf Voltsin last_reading err ViIn16 digitizer VI_A16_SPACE 0x12 amp cvt_reg if err lt VI_SUCCESS err_handler digitizer err printf channel 2 0x 4X n cvt_reg last_reading double cvt_reg 4 32768 print channel 2 lf Voltsin last_reading 142 Register Based Programming Appendix B E1564A only for channels 3 and 4 SC err ViIn16 digitizer VI_A16_SPACE 0x14 amp cvt_reg if err lt VI_SUCCESS err_handler digitizer err printf channel 3 0x 4X n cvt_reg last_reading double cvt_reg 4 32768 printf channel 3 lf Voltsin last_reading err ViIn16 digitizer VI_A16_SPACE 0x16 amp cvt_reg if err lt VI_SUCCESS err_handler digitizer err printf channel 4 0x 4X n cvt_reg last_reading double cvt_reg 4 32768 printf channel 4 lf Voltsin last_reading read all 7 readings from all channels comment the channel 3 4 lines out if running the 2 channel E1563A for i 0 i lt 7 i err ViIn16 digitizer VI_A16_SPACE 0x08 amp cache_reg if err lt VI_SUCCESS err_handler digitizer err reading double cache_reg 4 32768 printf channel 1 lf Voltsi
30. not compatible The E1563 E1564 has about 17 6 mm of space from the bottom of the SIMM RAM inserted in the socket to the top module shield see Figure 1 3 You must verify that the SIMM RAM you purchase for replacement on the module has a depth D that will clear the top module shield You can use the 4 Mbyte SIMM RAM you remove as a guide as well as the dimensions in Figure 1 3 when purchasing your upgrade RAM Top Module Shield AAA E OA SIMM Socket LUISA ERESMA L 1 25in 31 77mm max for D 0 18 where D is from PC board lower side where it rests on the bracket D does not include the height of chips mounted on the lower side of the board Figure 1 3 Adding RAM to the Module Configuring the Digitizer Modules 19 RAM Installation 1 Disconnect any field wiring from the module and remove power from Procedure the mainframe before proceeding 2 Remove the module from the mainframe and remove the top shield from the module 3 Remove the 4 Mbyte SIMM from the PC board by first spreading the tabs at the ends of the SIMM connector Store this SIMM in an anti static bag and save this part NOTE tis important that you retain the 4 Mbyte SIMM you remove from the Digitizer If you return your Digitizer to Agilent for repair or exchange you must return it in the same configuration as it was shipped to you You must remove the lar
31. number 0 through 7 to indicate interrupt line 1 through 7 A 0 returned indicates all interrupts are disabled NOTE The STATus subsystem will not work if interrupts are disabled STATus OPEReration and STATus QUEStionable Use DIAG STATus to disable interrupts DIAGnostic MEMory SIZE DIAGnostic MEMory SIZE lt size gt sets the memory size value in calibration memory Your module comes standard with 4 Mbytes of RAM You can replace this with PC SIMM modules of up to 128 Mbytes See Chapter 1 for the procedure for adding RAM to your module NOTE This command is required and used only when you change the size of RAM on the module You then use this command to set the new memory size value in calibration memory 66 Digitizers Command Reference Chapter 3 Parameters Comments Name Type Range of Values Default Value size numeric 4E6 8E6 16E6 32E6 none 64E6 and 128E6 Using the lt size gt Parameter The lt size gt parameter will accept a value in excess of the industry notation value of 4M 8M 16M etc e g 4E6 8E6 16E6 etc up to the actual size See DIAGnostic MEMory SIZE DIAGnostic MEMory SIZE DIAGnostic PEEK Chapter 3 Parameters Comments DIAGnostic MEMory SIZE queries the RAM size value in calibration memory The value returned is the actual amount of memory not the abbreviated industry notation for memory size as shown below RAM Industry Notation Actual Size Va
32. of connecting the input using a three wire connection Both example connections can be made using shielded twisted pair connectors For the first example Figure 1 9 shows one way to make connections for a bridge measurement where the L to G voltage is lt 5V and the L to G voltage exceeds 5V A Wagner ground is used to satisfy the L to G restriction of lt 5V and to make a Guard connection point that minimizes measurement error due to the digitizer s injected current A capacitor is added to the Wagner ground to provide a signal path to ground to minimize common mode voltages For the second example Figure 1 10 shows one way to measure the voltage across a small current sensing resistor where the input to the digitizer is switched through a multiplexer switch module injected FF Figure 1 9 Example Three Wire Connections Bridge Chapter 1 Configuring the Digitizer Modules 25 Figure 1 10 Example Three Wire Connections Voltage Measurements Two Wire Connections When Low and Guard are connected together at the digitizer s input on a low voltage range 4V and below the injected current is directed to flow through the source impedance in a floating source and the resultant voltage drop will introduce a measurement error The resultant v
33. remove the data on a 4 channel module is Read 08 chan 1 data bit 15 is MSB of chan 1 bit O is chan 1 LSB Read 0A4 channel 2 data e FIFO is automatically incremented to bring in the next data Read 0846 channel 3 data Read 0Ayg channel 4 data e FIFO is automatically incremented to bring in the next data Ordering of Data D32 Ordering of the data when D32 is used to remove the data on a 4 channel module is Read 0845 channel 1 data channel 2 data bit 31 is MSB of chan 1 bit 16 is LSB of chan 1 bit 15 is MSB of chan 2 bit 0 is LSB of chan 2 e FIFO is automatically incremented to bring in the next data Read 0Ayg channel 3 data channel 4 data bit 31 is MSB of chan 3 bit 16 is LSB of chan 3 bit 15 is MSB of chan 4 bit O is LSB of chan 4 e FIFO is automatically incremented to bring in the next data 128 Register Based Programming Appendix B paso aero 15 w e e nfo e e tr o sapo ja ttt Sea 1 1 1 jes blei v9 2 9 woo e let o pajo 2 110 ges o 1111111 T l he Interru pt Control The interrupt level and the interrupt source are controlled by the interrupt Register control register There are several sources of interrupt A logical OR is performed on the enabled sources to determine if an IRQ should be pulled This allows a user to set an interrupt if any channel exceeds a predetermined level or if data is available Bits 0 1 and 2 control the interrupt level 1 7
34. rigger EINS INIT C d AS C eE keadings set by Post Trigger Lek Measurements SAMP PRET COUN lt count gt Readings 3 r S Se DATA ALL lt Rdgs channel gt ch_list Trigger Occurs This Event Separates Pre Trigger Data From Post Trigger Data Chapter 3 Digitizers Command Reference 79 Comments SAMPle COUNt SAMPle IMMediate Maximum Samples The total number of readings is limited to at most 16 777 215 for the 4 channel E1564A Digitizer and 33 554 431 for the 2 channel E1563A Digitizer depending on the amount of memory on the card The following describes the limits with the different memory options If a number greater than the maximum is set the digitizer goes to continuous mode and SAMPle COUNt returns 0 If no readings are pulled out while running the digitizer will stop at MAX 1 250 MAX for FIFO and CACHE E1563A 2 channel E1564A 4 channel Memory Size Maximum Samples Maximum Samples 4 MBytes 1 048 575 524 287 8 MBytes 2 096 151 1 048 575 16 MBytes 4 194 303 2 097 151 32 MBytes 8 388 607 4 194 303 64 MBytes 16 777 215 8 388 607 128 MBytes 33 554 431 16 777 215 Pre Trigger Sample Required One pre trigger sample is required to get the above maximums The maximum is one less if pre trigger count is zero Executable when initiated NO Coupled command NO Reset RST condition All channels set to 1 sample SAMPle COUN
35. the E1563A and E1564A digitizers is a form you can copy and use to record performance test results for the digitizers This form shows the digitizer accuracy limits the measurement uncertainty from the source and the test accuracy ratio TAR NOTE The accuracy measurement uncertainty and TAR values shown on the Performance Test Record are valid ONLY for the specific test conditions test equipment and assumptions described If you use different test equipment or change the test conditions you will need to compute the specific values for your test setup Digitizer Accuracy Accuracy is defined for gain measurements using the 1 year specifications in Appendix A The High Limit and Low Limit columns represent the digitizer accuracy for the specified test conditions Measurement Measurement Uncertainty as listed in the Performance Test Record is Uncertainty calculated assuming a Fluke 5700A for all measurements The uncertainties describe error you can expect from the source These uncertainties are calculated from the 90 day accuracy specifications for the Fluke 5700A Test Accuracy Ratio Test Accuracy Ratio TAR high limit expected measurement divided by TAR measurement uncertainty N A means measurement uncertainty and TAR do not apply to the measurement A small TAR indicates the uncertainty of the source signal starts to approach the digitizer s specification limit 158 Digitizers Verification Tests Appendix D E1563A E15
36. the coupling ring and slowly rotate it clockwise while you gently push the connector toward the panel mount until the notches on the coupling ring drop into the front panel connector detents 3 Continue rotating until you feel the coupling ring ride over the locking bump which secures the connector to the instrument s front panel connector Chapter 1 Configuring the Digitizer Modules 29 Initial Operation NOTE NOTE To program the E1563A or E1564A Digitizer using Standard Commands for Programmable Instruments SCPI you must select the interface address and SCPI commands to be used Information about using SCPI commands is presented in Chapter 3 Programming a digitizer using SCPI requires that you select the controller language C C BASIC Visual Basic etc interface address and SCPI commands to be used This discussion applies only to Standard Commands for Programmable Instruments SCPI programming The example program listed is written using Virtual Instrument Software Architecture VISA function calls VISA allows you to execute on VXIplug8play system frameworks that have the VISA I O layer installed visa h include file The E1563A or E1564A Digitizer may have experienced temperature extremes during shipment that can affect its calibration It is recommened you perform a zero offset calibration upon receipt using CAL ZERO lt channel gt ALL for each channel to meet the accuracy specifications in Appen
37. the trigger In this case these commands are redundant CLS Clear the status system RST IReset the digitizer VOLT1 RANG 4 ISet ch 1 to 4V range SAMP COUN 7 ISet sample count to 7 common to all channels SAMP PRET COUN 3 ISet pre trigger count to 3 common to all channels SAMP TIM 50e 6 ISet sample interval to 50 usec TRIG SOUR INT1 Set trigger source to a level on channel 1 TRIG LEV1 0 Set the trigger level to OV TRIG SLOP POS Set trigger slope to positive INIT Initiate measurements DATA 7 1 Read 7 readings from ch 1 Enter statement IEnter readings into the computer Using the Digitizers 43 Example Triggering Using External Triggering 44 Using the Digitizers This example use an external trigger input at the External Trigger Input D connector Trig input to trigger readings Resetting the module sets the data format to ASCii sample source to TlMer and trigger source to MMediate The sample interval and the trigger source are changed from the reset setting Resetting the module also sets the trigger level to OV and the trigger slope to positive Trigger level and slope commands are resent to reiterate the level and slope of the trigger In this case the slope command is redundant CLS RST VOLT1 RANG 4 SAMP COUN 7 SAMP PRET COUN 3 SAMP TIM 100e 6 TRIG SOUR EXT TRIG LEV1 0 5 TRIG SLOP POS INIT DATA 7 1 Enter statement IClear the status system IReset the digitizer ISe
38. value of 0 indicates the specified channel is disabled for upper limit checking 1 returned indicates the specified channel is enabled and will detect signals above the specified upper limit Digitizers Command Reference 53 CALibration The CALibration subsystem allows you to calibrate the digitizer Subsystem Syntax CALibration DAC VOLTage lt voltage gt MIN MAX DAC VOL Tage MIN MAX DATA GAIN lt channel gt lt readings gt DEF lt rate gt DEF ON 1 OFF 0 SOURce INTernal EXTernal SOURce STATe ON 1 OFF 0 STATe STORe VALue lt voltage gt VALue ZERO lt channel gt lt readings gt lt rate gt ZERO lt channel gt ALL lt readings gt lt rate gt CALibration DAC VOLTage CALibration DAC VOLTage lt voltage gt MIN MAX is only active if the CALibration SOURce is set to INTernal The voltage specified is output by the internal DAC to the calibration bus E1564A 4 Channel Digitizer ONLY You can measure this voltage on the top two pins of the External Trigger Input Calibration Bus Output Connector CAL H and CAL L This voltage is used for calibrating the digitizer s gain as the CAL VALue Parameters Name Type Range of Values Default Value voltage 0 061256409 15 00 volts Comments Maximum Output Levels Maximum output levels are limited to the levels in the following table These are the E1564A DAC voltages recommended for cali
39. with ABORT there may be less readings available than indicated by samples x channels For ABORted measurements use DATA COUNt to determine how many readings are available Overloads and Deadlocks A full scale reading may actually be an overload A deadlock can occur when trigger events are set to BUS or HOLD because a software trigger could not break in after this command is sent PACKed Format Data Data are returned as raw data 16 bit integers when the data format is set to PACKed see the FORMat DATA PACKed command To convert the raw readings to voltages use voltage reading range 32768 or voltage reading resolution use SENSe VOLTage DC RESolution to obtain the resolution value REAL Format Data Data are returned as real numbers when the data format is setto REAL see FORMat DATA REAL The data are returned in voltage units and no scaling conversion is required as with the PACKed format Readings are in an interleaved configuration Chapter 3 Digitizers Command Reference 87 IEEE 488 2 Headers Both PACKed and REAL formats return data preceded by the IEEE 488 2 definite length arbitrary block header The header is lt num_digits gt lt num_bytes gt where e signifies a block transfer e lt num_digits gt is a single digit 1 through 9 which specifies how many digits ASCII characters are in lt num_bytes gt e lt num_bytes gt is the number of data bytes which immediately follow the lt num_by
40. with MS Visual C version 2 0 using Agilent VISA I O calls include lt visa h gt include lt stdio h gt include lt stdlib h gt include lt string h gt include lt time h gt function prototypes void err_handler void wait int wait_seconds void reset ViSession vi ViStatus x Program Main void main void unsigned short id_reg dt_reg ID and Device Type unsigned short stat_reg Status Register unsigned short cvt_reg cache_reg last value and cache registers double last_reading reading decimal values of readings int i create and open a device session ViStatus err ViSession defaultRM digitizer ViOpenDefaultRM amp defaultRM GPIB interface address is 9 digitizer logical address switch 40 factory setting ViOpen defaultRM GPIB VXI0 9 40 VI_NULL VI_NULL amp digitizer reset the E1563A E1564A reset digitizer err Read ID and Device Type Registers xxxxx read the digitizer s ID and Device Type registers err ViIn16 digitizer VI_A16_SPACE 0x00 amp id_reg read reg 00 if err lt VI_SUCCESS err_handler digitizer err err ViIn16 digitizer VI_A16_SPACE 0x02 amp dt_reg read reg 02 if err lt VI_SUCCESS err_handler digitizer err printfCID register 0x 4X1n id_reg printf Device Type register 0x 4X n dt_reg Appendix B Register Based Programming 141 Read Status Register AAA
41. 0 Write CMP4 CMP3 CMP2 CMP1 SLAVING EX_ POS_ SOFT MASTER SLAVE EN IN TTL_3 TTL_1 TTL_O PAIR TRIG NEG TRIG TTL OUT Read CMP4 CMP3 CMP2 CMP1 SLAVING EX_ POS_ SOFT MASTER SLAVE EN IN TTL _3 TTL_1 TTL_O PAIR TRIG NEG TRIG TTL OUT Appendix B Register Based Programming 137 READ BITS Trigger Control Register 000 TTLTO 001 TTLT1 010 TTLT2 011 TTLT6 111 TTLT7 TTLTn line is 0 IN 1 OUT trigger slope 0 NEG 1 POS bit 9 EX_TRIG O EXTernal trigger disabled 1 EXTernal trigger enabled and must be input on the Trig pin on the front panel D subminiature connector bits 10 11 SLAVING_PAIR 00 MASTer0 SLAVe0 01 MASTer2 SLAVe2 10 MASTer4 SLAVe4 11 MAS Ter6 SLAVe6 bits 12 15 CMP 1 4 O INTn disabled 1 INTn enabled Example a 1 in CMP2 means the level set in the Trigger Interrupt Level Channel 2 Register will be used as the INTernal trigger source Sample This register provides the bits that control the sample system Source Control Register es PP FPP PP PFE PE FP Write ABORT EX_ POS_ SOFT EXT INT EN IN TTL_3 TTL_1 TTL_O SAM NEG SAM TIME CLOCK TTL JOUT PLE PLE BASE Read EX_ POS_ SOFT EXT INT EN IN TTL_3 TTL_1 TTL_O SAM NEG SAM TIME CLOCK TTL JOUT PLE PLE BASE WRITE BITS Sample Source Register and READ BITS Sample Control Register bits 0 2 000 TTLTO 001 TTLT1 010
42. 1000 4 2 1995 A1 1998 EN 61000 4 2 1995 3 V m 80 1000 MHz IEC 61000 4 3 1995 EN 61000 4 3 1995 IEC 61000 4 4 1995 EN 61000 4 4 1995 ee l i 0 5 kV line line 1 kV line ground IEC 61000 4 5 1995 EN 61000 4 5 1995 IEC 61000 4 6 1996 EN 61000 4 6 1996 ey Oe MAZ r CYIG 100 IEC 61000 4 11 1994 EN 61000 4 11 1994 Dips 30 10ms 60 100ms CISPR 22 1997 EN 55022 1998 Interrupt gt 95 5000ms CISPR 24 Class A Canada ICES 001 1998 Australia New Zealand AS NZS 2064 1 The product was tested in a typical configuration with Agilent Technologies test systems Safety IEC 61010 1 1990 A1 1992 A2 1995 EN 61010 1 1993 A2 1995 Canada CSA C22 2 No 1010 1 1992 UL 3111 1 1994 IEC 60950 1991 A 1 A2 A3 A4 EN 60950 1992 41 A2 A3 A4 A 11 20 March 2001 Date Ray Corson Product Regulation Program Manager For further information please contact your local Agilent Technologies sales office agent or distributor Authorized EU representative Agilent Technologies Deutschland GmbH Herrenberger Strafe 130 D 71034 B blingen Germany Revision B 02 Issue Date 20 March 2001 Document E9850A DOC 11 Notes Chapter 1 Configuring the Digitizer Modules Using This Chapter This chapter provides guidelines to configure the E1563A and E1564A modules and to verify successful installation Chapter contents are e Digitizers Description 13 e Warnings and Cautions o oooooooooooo oo 17 e Configuring the Digitiz
43. 15 is set and thepreviousmeasurementcompleted anABOR TfollowedbyanINITisexecuted If bits 12 13 and 15 are all 0 no action is initiated Appendix B Register Based Programming 139 Programming Examples The following C language example programs were developed on an embedded computer using Agilent VISA I O calls You can also use a PC connected via GPIB to an E1406A slot 0 Command Module The command module provides direct access to the VXI backplane NOTE f you use the E1406A with SCPI commands use the E1563A E1564A SCPI driver which you installed in the E1406A firmware and register programming is not necessary Chapter 3 describes the SCPI commands for the digitizers driver This program shows one way to register program a digitizer and includes Read the ID and Device Type Registers Read the Status Register Make digitizer measurements Retrieve the last readings from each channel s CVT register Retrieve all the readings from the two cache registers Reset the module A typical printout from the program is ID register OxCFFF Device Type register 0x7267 Status register 0x40CE last readings printout all readings from all channels printout E1563A E1564A is reset 140 Register Based Programming Appendix B Beginning of Program This program resets the E1563A E1564A reads the ID Register the Device Type Register the Status Register makes measurements and retrieves data Programmed
44. 2 1 describes all power on and reset states for the digitizer The reset States state after executing RST is the same as the power on state Table 2 1 Power on and Reset States CN AN E nemmen VOLTERaNGe av hel rage CC mn ES E CO O E E O AE CN ON E E wen mensen SAPRCOUN mme Pearse EEN INPut2 STATe FON channel 2 input state garen ge Positive INPut3 STATe ON channel 3 input state SAMPle SOURce TlMer internal time base OUTPut TTLTO 7 SOURce TRIGger all TTLTrigger TRIGger LEVel1 256V channel 1 level lines Chapter 2 Using the Digitizers 35 Table 2 1 Power on and Reset States E oF en Troer mes E EI CEE E OFFSet POINts no pretrigger samples TRIGger SOURce1 IMMediate source 1 not ch 1 VOLTI RANGS RANGe 256V channel 1 range TRIGger SOURce2 HOLD source 2 not ch 2 A RANGe 256V channel 2 range TRIGger SLOPe1 POSitive slope 1 not ch 1 VOLT3 RANGe 256V channel 3 range TRIGger SLOPe2 POSitive slope 2 not ch 2 Input Overload Overload voltages may occur which will open the channel input relay AS disconnecting the input signal from the channel Overload voltage by range Condition is shown in the following table 62 mV to 4V High or Low to Guard 16V to 256V Low to Guard The overload is reported both when the readings are retrieved and when the next measurement is initiated If an overload occurred an error message is returned when data is retrieved infor
45. 2083332 16 2083328 base with logical address 40 04 offset see Figure B 2 Ready 1 A32 decoding enabled 0 A24 decoding enabled Via Digitizer Module PEEK command DIAG PEEK 2 2 signifies the third word 16 bits zero base numbering system Appendix B Register Based Programming 127 A24 Offset Register The offset of the module in A24 space is set by the upper eight bits 15 8 of this register The lower eight bits 7 0 of this register are zero base 0616 15 14 113112 roo e 7fefspapafa 1 o WRITE BITS A24 Offset Register These bits set the offset of the module in A24 space READ BITS A24 Offset Register bits 8 15 A24 Offset The module s offset in A24 space FIFO High Word Low Word Registers Data is stored on the module in large slow dynamic RAM and in fast small backplane cache Each of these data stores is a FIFO The dynamic RAM FIFO receives the data from the ADC As soon as the pre trigger data has been identified data is moved from the dynamic RAM FIFO to the backplane cache FIFO Data is removed from the module using the cache FIFO Data is 16 bit 2 s complement and is packed into the FIFO registers Always read register 0846 before DA g if using D16 The FIFO is incremented after reading register OE If D32 is used reading 0846 will increment the FIFO correctly The data is interwoven from all channels Ordering of Data D16 Ordering of the data when D16 is used to
46. 3 e ele ee DION risa aia 34 Pre Trigger Post Trigger Block Diagram ocoocccconccccncccncconocononocononncnanonacnnnanonons 35 Foweron Reset IS iria iaa 35 Input Overload Condition A 36 esa e D A A 37 e MA egen 37 Usno mioma Toa en e EE 37 Using External Triggering or t 38 VW E Ce nina 39 Digitizers Application int 42 Idee EE 42 Making Digitizer Measurements 43 Chapter 3 Digitizers Command Reference ccoccccccoccccccccocacocaconanenanonannnnnrenaneanrenanennnos 45 EN AA A A 45 MIA EE 45 SCPI as AA A 47 A A A 48 AL A A a 49 E RAE M PAR acierta dalla ricerca ib 49 ALSINA DA url invictos delata arenal 50 CA Culate lMrtOWer DATA 50 CALCulate LIMit LOWer STATe ar A 51 SOEN re e KH E E 51 CALCulate LIMit UPPer DATA veronica iio 51 CALCulate LIMit UPPer DATA osininicaniia ii iia di 52 CALCulate LIMit UPPer STATe asii 52 CALCulate LIMICEUP Gt TAI rar ci 53 O ra A A E 54 ALIADA VOLJO ranita dal 54 CALibration DAC VOLTage adi 55 er ue A EE 55 CALIDO GAIN REENEN 55 CALD ATOT SOURCE MO A 57 CALIDO SRCE S e ee AE ege 58 GALAU S ATE EE 58 CALIDO S TATO T la liada 58 CALAT S TOURE AA 59 E EE 59 CALDU VALUE EEGEN 60 E sI E ANEA A 60 ALIAS AA madri cs 61 ns ETS 63 KO ei en DAL PI acacia acta 63 DIANA i EEN 64 DIAGnostic DAC OFFSet TEEN 64 DIAGnostic DAC SOURce l di 65 DIAGnostic DAC SOURce RAMP asirios 65 DIAGpOSUCIN Tetrupt LINE EE 66 KEN eg VOIP LINE sr 66 DIAGNOSUC MEMO SIZE acia 66 KEN eg MEMON SIZE T s
47. 5 implied 46 implied commands 46 linking commands 47 parameters 46 quick reference 115 SENSe subsystem SENSe DATA 85 SENSe DATA ALL 87 SENSe DATA COUNt 88 SENSe DATA CVTable 88 SENSe ROSCillator EXTerna FREQuency 89 SENSe ROSCillator EXTernal FREQuency 89 SENSe ROSCillator SOURCe 90 SENSe ROSCillator SOURce 90 SENSe SWEep OFFSet POINts 91 SENSe SWEep OFFSet POINts 91 SENSe SWEep POINts 91 SENSe SWEep POINts 91 SENSe VOLTage lt chan gt DC RANGe 92 SENSe VOLTage lt chan gt DC RANGe 92 SENSe VOLTage lt chan gt DC RES 92 specifications digitizers 119 Status Control register 126 STATus subsystem STATus OPERation CONDition 95 STATus OPERation ENABle 95 STATus OPERation ENABle 95 STATus OPERation EVENt 96 STATus PRESet 96 S continued STATus subsystem cont d STATus QUEStionable CONDition 96 STATus QUEStionable ENABle 96 STATus QUEStionable ENABle 96 STATus QUEStionable EVENt 96 SYSTem subsystem SYSTem ERRor 97 SYSTem VERSion 97 T Test Accuracy Ratio TAR 158 test equipment recommended 151 TEST subsystem TEST ERRor 98 TEST NUMBer 98 TEST TST RESults 103 Trigger Interrupt Level Channel 1 register 134 Trigger Interrupt Level Channel 2 register 135 Trigger Interrupt Level Channel 3 register 135 Trigger Interrupt Level Channel 4 register 136 Trigger Control register 137 trigger sources 3
48. 52 Volts CALCulate LIMit UPPer DATA CALCulate lt channel gt LIMit UPPer DATA MIN MAX queries the upper limit value set for the specified channel CALCulate LIMit UPPer STATe Comments CALCulate lt channel gt LIMit UPPer STATe OFF 0 ON 1 enables the upper limit checking for the specified channel Use LIMit UPPer DATA lt value gt to set the actual limit value to be tested against Executable when initiated YES Coupled command YES Setting the upper state ON will cause LIMit LOWer STATe to be set OFF if it is ON 52 Digitizers Command Reference Chapter 3 Upper Limit Enable Error An error will be generated if you have TRIG SOURce set to INT1 4 and the internal input is the same as the channel you are attempting to enable the upper limit testing For example assume TRIG SOUR INT2 is set The trigger level from channel 2 is the trigger event that is the internal trigger input CALC LIMit UPPer STATe ON is attempting to use this signal for limit testing and creates a settings conflict Either the trigger level can be used as an internal trigger or the level can be used in limit testing but not both Reset RST Condition OFF CALCulate LIMit UPPer STATe Chapter 3 CALCulate lt channel gt LIMit UPPer STATe queries the upper limit checking state to see if it is enabled or disabled for the specified channel This command returns the voltage level measured and the detection mode A returned
49. 564A 4 Channel Digitizer automatically applies the DAC voltage to the internal calibration bus when CALibration SOURce INTernal is used You must measure the DAC voltage at the Calibration Bus Output Connectors CAL L and CAL H for CAL SOURce INTernal and enter that value with CAL VALue Sampling Rate The number of readings and sampling rate will default to 100 readings and 0 001 second sampling rate respectively to provide averaging over an integral number of either 50 Hz or 60 Hz power line cycles This allows calibration to cancel out any noise that is periodic with the power supply 64V and 256V Ranges Calibrated Indirectly The 64V and 256V ranges are calibrated indirectly when the 16V range is calibrated and the ON 1 parameter is set If the OFF 0 parameter is active only the 16V range is calibrated and the 64V and 256V ranges retain their old calibration constants This boolean ON OFF parameter is checked and used only when calibrating the 16V range It is ignored when calibrating any other range Calibrate Lower Ranges First All lower ranges 0 0625V through 4 0000V must be calibrated before calibrating the 16V range and calculating new calibration constants for the 64V and 256V ranges The effects of the attenuators and amplifiers on the gain calibrations for the lower ranges are extrapolated to derive a gain constant for the 64V range and another for the 256V range 56 Digitizers Command Reference Chapter 3 CALibration
50. 6 Status Control Register base 0446 Offset Register base 0646 FIFO High Word Register base 0846 FIFO Low Word Register base 0A4 Interrupt Control Register base 0Ci Interrupt Sources Register base 0E4 CVTable Channel 2 Register base 1216 CVTable Channel 3 Register base 1446 Trigger Interrupt Level Channel 1 Register base 2846 Trigger Interrupt Level Channel 3 Register base 2C46 Sample Period Low Word Register base 3246 Pre Trigger Count High Register base 3446 Pre Trigger Count Low Register base 3646 Post Trigger Count High Register Post Trigger Count Low Register base 3A46 Appendix B Register Based Programming 125 Trigger Control Source Register Sample Control Source Register ID Register Reading the ID register returns FFF yg in the least significant bits to indicate the manufacturer is Hewlett Packard and the module is an A16 register based device beet 16 14 ts zim RARA 7 fe S 4 3 2 te Read Device Class Addr Space Manufacturer ID returns FFF 4 12289 in Hewlett Packard A16 only 1 1 0 0 register based Reading the Register Via Command Module PEEK command DIAG PEEK 2083328 16 2083328 base with logical address 40 O offset see Figure B 2 Via Digitizer Module PEEK command DIAG PEEK 0 0 signifies the first word 16 bits zero base numbering system Device Type Reading the Device Type Register returns 26644 in the least significant bits 16 R
51. 6 initial operation 30 input cabling 2 wire 24 input cabling 3 wire 24 input model 25 input overload 36 installing in mainframe 22 internal triggering 37 Interrupt Control register 129 Interrupt Source register 130 170 Index digitizers cont d master slave operation 38 measurement uncertainty 158 memory sizes 13 Noise Verification perfomance test 155 Offset and Cache Count register 128 operation 33 overload voltages 14 performance test conditions 152 Performance Test Record 158 power on state 35 Pre Trigger Count High Word register 136 Pre Trigger Count Low Word register 137 Range Filter Connect Channel 3 4 register 133 READ registers 125 recommended test equipment 151 register descriptions 124 register offset 123 register based programming 121 reset state 35 Sample Control register 138 Sample Count High Byte register 137 Sample Count Low Word register 137 Sample Period High Byte register 136 Sample Period Low Word register 136 Samples Taken High Byte register 131 Samples Taken Low Word register 131 SCPI commands 45 setting interrupt line 21 setting logical address 21 specifications 119 Status Control register 126 Test Accuracy Ratio 158 trigger block diagram 35 Trigger Control register 137 trigger input port cables 24 trigger sources 37 Trigger Interrupt Level Channel 1 register 134 Trigger Interrupt Level Channel 2 register 135 Trigger Int
52. 64A Digitizers Performance Test Record EE Serial Number seses i i sCS Relative Humidity Notes Cal Due Date Appendix D Digitizers Verification Tests 159 Date PERFORMANCE TEST RECORD O E1563A 2 Channel Digitizer O E1564A 4 Channel Digitizer CHANNEL 01 02 03 04 Test Input Digitizer Measured High Meas Test Range Reading Limit Uncert Accuracy Ratio Zero Offset Test ew me mm oo E SS 000020 N A A e gt gt gt 021000 021000 N A 028000 028000 N A 256V 079000 079000 N A 250 mV 180 uV max N A 720 uV max N A we p lt gt gt gt Noise Test A 57 uV max N A ES gt gt gt 14 7 mV N A 256V 189 mV N A gt gt Gain Test SS SS SS SS 0000011 gt 10 1 gt 10 1 gt 10 1 gt 10 1 gt 10 1 gt 10 1 gt 10 1 3 8V gt 10 1 160 Digitizers Verification Tests Appendix D Digitizer Measured High Test Range Reading Limit Accuracy Ratio EIN mer E oe CECI IO am mm EN 99 887 V 0007 E1563A 25 kHz Filter Bandwidth Test 1V 1V 5 dB 1 dB N A 1 MHz no filter 1V 1V 5 dB 1 dB N A 25 kHz 25 kHz filter E1564A Filter Bandwidth Test 4 filters 1V 1V 5 dB 1 dB N A 1 MHz no filter 1V 5 dB 1 dB N A 1 5 kHz filter 1V 1V 5 dB 1 dB N A 6 kHz 6 kHz filter 1V 1V 5 dB 1 dB N A 25 kHz 25 kHz filter 1V 1V 1 dB N A N 100 kHz 100 kHz filter
53. 7 TRIGger subsystem TRIGger MMediate 104 TRiGger LEVel 104 TRIGger LEVel 105 TRIGger MODE 105 TRIGger MODE 106 TRIGger SLOPe lt n gt 106 TRIGger SLOPe lt n gt 107 TRIGger SOURcel lt n gt 107 TRIGger SOURce lt n gt 108 triggering the digitizers 37 V verification tests 151 W WARNINGS 10 Warnings 17 warranty statement 9 WRITE registers 124 Z Zero Adjustment procedure 165 Zero Offset verification test 154 Index 173
54. AC output 10 Internal 5V reference 11 Input short DAC output ranges 0 15V DAC output 1 0 5V DAC output Cache Count The total number of samples taken by the digitizer is the cache count x 2 Register divided by the number of channels the sample count registers at offset 1846 and 1A46 pases azo ein elen ole e fet sis fe ttf refefelefofojefe ee 132 Register Based Programming Appendix B Range Filter and Each channel has an 8 bit byte that controls the input signal range filter cutoff and the relay that connects the channel to the front panel connector Channel 1 2 y p The fastest way to change range filter or the connect relay is to write a 32 bit Connect Register word to the register After every write to this register the bus is held off 10 us until the range filter and relay information is sent to the isolated channel The settling time for the relays filters and the gain amplifier is about 20 ms This register controls channels 1 and 2 Heran 15 v4 9 2 ole 017 o o f9 o elt fe CH 1 Filter Code CH 1 Gain Code CH 2 Filter Code CH 2 Gain Code CH 1 Filter Code CH 1 Gain Code CH 2 Filter Code CH 2 Gain Code WRITE READ BITS Range Filter and Channel 1 2 Connect Register bits 0 2 Gain and 8 10 Code bits 3 short and 11 short2 bits 4 6 and Filter 12 14 Code bits 7 and Connect 15 Code Range Filter These bits set the gain of the input channel by the codes sh
55. ATA CVTable 4 LIMIT and LEVEL COMPARISON CALCulate4 LIMit LOWer DATA lt value gt CALCulate4 LIMit LOWer STATe ON 1 OFF 0 or CALCulate4 LIMit UPPer DATA lt value gt CALCulate4 LIMit UPPer STATe ON 1 OFF 0 or TRIGger SOURce INTernal4 TRiGger LEVel4 lt voltage gt TRIGger SLOPe4 POS 1 NEG 0 Figure 2 2 Digitizer Channel Block Diagram 34 Using the Digitizers Chapter 2 Pre Trigger Figure 2 3 illustrates relationship of pre trigger readings and post trigger Tri readings with the trigger event See Chapter 3 for a full description of the Post Trigger Block commands illustrated here Diagram Data From log to Digital Converter Measurement Data Pre Iriaqqer Post Iriaaer yy ao To Retrieve Data A to D A to D Determine number of Data Data readings per channel available with SENSe DATA COUNt ith Total readings set b SAMP COUN lt count gt Retrieve dat aw SENSe DATA ALL lt Rdgs channel gt or ENSe DATA ALL lt Rdgs channel gt ch Jet Pre Trigger INIT Command Pesce asii Pot Starts Measurements SAMP PRET COUN lt count gt Readings Trigger Occurs This Event Separates Pre Trigger Data From Post Trigger Data Figure 2 3 Pre Trigger Post Trigger Block Diagram Power on Reset Table
56. Agilent Technologies E1563A 2 Channel Digitizer E1564A 4 Channel Digitizer User s Manual 7 Agilent Technologies Manual Part Number E1563 90004 Printed in U S A E0501 Contents E1563A E1564A Digitizers User s Manual TOMO Nee EEGENEN EE H Agilent Technologies Warranty Statement 0nnnannnnnnnnnnnnennnnnnnnnnnnnnnnrrnnrnnrnnrnnrrnnrene 9 LS Govemment Restricted Re Lu 9 Documentation History uri 10 E EAEE E EAE 10 o A E T ETT 10 RN lei o a ue un ln EE 11 Chapter 1 Configuring the Digitizer Modules coooccccnccnnconnconccoconocaconanonanonnnnonananans 13 Using Her ii iia 13 MOMO SODA casinos 13 General Information ica ia 13 POIR FOLT NOE aera Ea EEEE EEEE 14 Warnings and Cautions ini ia 17 Connan e OO E S EEE 19 Adding RAM to the Module naaa inicia 19 Setting the Logical Address Switch serian red 21 Setting the Interrupt Line aia ai 21 Installing the Digitizer in a Mainframe siii 22 User Cabling Considerations ooccconccccncconoconnconccnonocanononnonanononnnnnnonnnnnnnonnnonaninaness 23 Input Terminal Port Connector Cables ricas ias 23 Trigger Input Port Cables curar pei 24 3 Wire and 2 Wire Input Cabling Considerations ccoocccocncoccconcncccncocnnnncnnanoss 24 Cable Connector Assembly ooccooccccocccccnoccnoconconononanononconononanonannonanonnnonnnnnaninanns 27 A e EE 30 Chapter 2 Using the Digitizers airada 33 Usma mie UI naa 33 EO AA A 33 Digitizer Block Diagram isc id ii 3
57. Condition frequency 10 0 MHz SENSe ROSCillator EXTernal FREQuency SENSe ROSCillator EXTernal FREQuency queries the external frequency Chapter 3 Digitizers Command Reference 89 SENSe ROSCillator SOURCe SENSe ROSCillator SOURce INTernal EXTernal specifies the timebase source The default timebase is the INTernal timebase which uses the VXI CLK10 10 MHz reference The EXTernal input is the TTL Time Base input pin on the front panel External Trigger Input D subminiature connector right pin column bottom pin E1563A E1564A Time Base input bottom right pin A CAL Source No Connection L EO Connection put Low A ig 9 T Ez E LIT Gourd E e ESTO IO Lt Trigger S lo A Sample 7 el ERAN Sample SE Trigger Time Base f e NOTE The EXTernal source requires you also send ROSC EXT FREQ lt freq gt to specify the frequency of the external timebase Comments Timebase Reference The timebase reference set by SAMPle TIMer lt interval gt is used when the sample source is TIMer SAMPle SOURce TIMer Executable when initiated NO Coupled command YES The SAMPle TIMer lt interval gt is set to a period or interval nearest the old value when source is changed from EXTernal to INTernal or vice versa Reset RST Condition INTernal source freq 10 0 MHz SENSe ROSCillator SOURce SENSe ROSCillator
58. Configuring the Digitizer Modules Chapter 1 e CH DIGITIZER 800 kSa s 14 BIT Fall Access Error Sample Use Insulated Shielded Twisted Pair TTL Inputs 5V Pk Max Use Insulated Shielded Twisted Pair ie 256V Pk Max 5V Pk Max All Term 256V Pk Max Chapter 1 Front Panel Indicators Failed LED llluminates momentarily during digitizer power on Access LED llluminates when the backplane is communicating with the digitizer Error LED llluminates only when an error is present in the digitizer s driver error queue The error can result from improperly executing a command or the digitizer being unable to pass self test or calibration Sample LED llluminates while the digitizer samples the input for a measurement Typically blinks for slow sample rates and is on steady state for high sample rates User Input Terminals The E1563A Digitizer front panel contains two female connectors for user inputs Mating male connectors are supplied with the module However the user must provide the input cable and connect the male connector to the cable See User Cabling Considerations for recommended user supplied cables External Trigger Input The front panel contains a 9 pin D subminiature connector for external TTL trigger inputs The user must provide an appropriate input cable to the external trigger input The E1563A 2 Channel Digitizer d
59. E1563 E1564 into any slot except slot 0 until the backplane connectors touch Extraction Levers 3 Seat the digitizer into the mainframe by pushing in the extraction levers Tighten the top and bottom screws to secure the digitizer module to the mainframe oo O0 SE NOTE The extraction levers will not seat the backplane connectors on older VXlbus mainframes You must manually seat the connectors by pushing in the module until the module s front panel is flush with the front of the mainframe The extraction levers may be used to guide or remove the digitizer Oe o gt LEN 5 BOWS To remove the digitizer from the mainframe reverse the procedure Figure 1 5 Installing the Digitizer in a Mainframe 22 Configuring the Digitizer Modules Chapter 1 User Cabling Considerations Input Terminal Port Connector Cables Chapter 1 This section gives guidelines to select and configure user supplied cables for connection to the Input Terminals and to the External Trigger Input Calibration Bus Output Terminals E1563A Digitizer The E1563A Digitizer front panel includes two Switchcraft EN3 Mini Weathertight Connectors female CH 1 and CH 2 See Figure 1 1 Mating Switchcraft Cord Connectors male are supplied with the module However the user must provide the cable and assemble the connector to the cable end Recomm
60. Figure B 1 Registers Within A16 Address Space REGISTER OFFSET 3E 16 Sample Control Source 3C 16 Trigger Control Source o o o o o e IFCOOO Sample Peroid High Byte 18 200000 46 2E 16 TRIG INT Level CH4 2C 16 TRIG INT Level CH3 A16 2A 56 TRIG INT Level CH2 ADDRESS REGISTER TRIG INT Level CH1 SPACE PODIAS e a SPACE e e S e e Status Control Register IFOOOO 356 IFCOOO 16 02 46 Device Type Register 2 080 768 ID Register E1563A E1564A Base Address IFC00016 Logical Address 64 4g A16 REGISTER MAP or 2 080 768 Logical Address 64 49 16 BIT WORDS 200000 36 Register Address Base address Register Offset Figure B 2 Registers Within the E1406 A16 Address Space Register Based Programming 123 Register Descriptions There are twenty WRITE and thirty one READ registers on the digitizer This section contains a description of the registers followed by a bit map of the registers in sequential address order Undefined register bits appear as 0 when the register is read and have no effect when written to WRITE Registers You can write to the following digitizer registers Sample Control Source Register base 3E46 124 Register Based Programming Appendix B READ Registers You can read the following digitizer registers Description Address Manufacturer ID Register Device Type Register base 024
61. L Culate subsystem CALCulate LIMit FAIL 49 CALCulate LIMit LOWer DATA 50 CAL Culate LIMit LOWer DATA 50 CALCulate LIMit LOWer STATe 51 CALCulate LIMit LOWer STATe 51 CAL Culate LIMit UPPer DATA 51 CALCulate LIMit UPPer DATA 52 CALCulate LIMit UPPer STATe 52 CALCulate LIMit UPPer STATe 53 calibration 163 calibration errors 149 Calibration Flash ROM Address register 131 Calibration Flash ROM Data register 132 calibration intervals 163 Calibration Source register 132 CALibration subsystem CALibration DAC VOLTage 54 CALibration DAC VOLTage 55 CALibration DATA 55 CALibration GAIN 55 CALibration SOURce 57 CALibration SOURce 58 CALibration STATe 58 CALibration STATe 58 CALibration STORe 59 CALibration VALue 59 CALibration VALue 60 CALibration ZERO 60 CALibration ZERO ALL 61 Cache Count register 128 cautions 17 Index E1563A E1564A Digitizers User s Manual channel block diagram 34 commands abbreviated 46 implied 46 separators 46 types 45 common commands CLS 110 ESE 110 ESE 110 ESR 111 IDN 111 OPC 111 OPC 112 RST 112 SRE 113 STB 113 TST 114 WAI 114 format 45 quick reference 109 configuring the digitizers 19 CVTable registers CVTable Channel 1 register 130 CVTable Channel 2 register 130 CV Table Channel 3 register 131 CVTable Channel 4 register 131 D declaration of conformity 11 description digitizers 13 Dev
62. LAVe0 module will function with other SLAVeO modules and with the MASTer0 module Sample Trigger to ADCS Eveni LTO EA I a Pa TLT1 trigger to Master and Other Slaves sends a TILTI Trigger Event Signal TILTI to MASIER and all LAVES Backplane Trigger Source Figure 2 6 Slave Module Configuration 40 Using the Digitizers Chapter 2 Chapter 2 The trigger source from the slave can be set with TRIG SOURce2 IMM INT1 4 EXT TTLT lt n gt SLAVeO TTLTO SLAVe2 TTLT2 SLAVe4 TTLT4 SLAVe6 TTLT6 SLAVe0 sets the TTLTO line as if it were SAMP SOUR TTLTO and sets the TTLT1 line as if it were TRIG SOUR1 TTLT1 However SAMP SOUR or TRIG SOUR will not return these settings These lines are dedicated for synchronization between the modules in the master slave mode You should not use these lines for any other purpose with the OUTPut SAMPle or TRIGger commands Using the Digitizers 41 Digitizers Application Examples This section contains example programs that demonstrate some E1563A or E1564A Digitizer applications The examples list only the SCPI commands required to perform the application You can use these examples to help you develop programs for your specific application Introduction Example programs are provided on the VXIplug play media that have been compiled a
63. LCulate LIMit LOWer STATe CALCulate lt channel gt LIMit LOWer STATe OFF 0 ON 1 enables the lower limit checking for the specified channel Use LIMit LOWer DATA lt value gt to set the actual limit value to be tested against This command returns the voltage level measured and the detection mode A returned value of 0 indicates the specified channel is disabled for lower limit checking 1 returned indicates the specified channel is enabled and will detect signals below the specified lower limit Comments Executable When Initiated YES Coupled command YES Setting the lower state ON will cause LIMit UPPer STATe to be set OFF if it is ON Lower Limit Enable Error An error will be generated if you have TRIG SOURce set to INT1 4 and the internal input is the same as the channel you are attempting to enable for lower limit testing For example assume TRIG SOUR INT2 is set The trigger level from channel 2 is the trigger event that is the internal trigger input CALC LIMit LOWer STATe ON is attempting to use this signal for limit testing and creates a settings conflict Either the trigger level can be used as an internal trigger or the level can be used in limit testing but not both Reset RST Condition OFF CALCulate LIMit LOWer STATe CALCulate lt channel gt LIMit LOWer STATe queries the lower limit checking state to see if it is enabled or disabled for the specified channel 1 returned in
64. MIN MAX PRETrigger COUNt MIN MAX SLOPe POS 1 NEG 0 SLOPe SOURce HOLD TlMer TTLTO 7 EXT SOURce Mer lt interval gt MIN MAX TIMer MIN MAX SENSe DATA lt Rdgs per _channel gt lt channel list gt DATA ALL lt Rdgs_per_channel gt DATA COUNt MIN MAX DATA CVTable lt channel_list gt ROSCillator EXTernal FREQuency lt freq gt ROSCillator EXTernal F REQuency ROSCillator SOURce INTernal EXTernal ROSCillator SOURce SWEep POINts lt neg_value gt MIN MAX SWEep POINts MIN MAX SWEep OFFSet POINts lt neg_value gt MIN MAX SWEep OFFSet POINts MIN MAX VOLTage lt channel gt DC RANGe lt range gt MIN MAX VOLTage lt channel gt DC RANGe MIN MAX VOLTagel lt channel gt DC RESolution MIN MAX 116 Digitizers Command Reference Initiate a measurement now Initiate measurements continuously Query continuous state Set the input filter and enable disable input E1564A only E1563A has fixed 25K Query filter frequency Enable disable channel s filter Query filter state Enable disable channel s input Query channel input state Define trigger lines to output trigger and or sample Query source Enable disable the specified output Query specified output Set the number of samples to take Query number of samples set Take a sample now Set the number of pretrigger samples Query number of pretrigger samples Set the sample signal
65. N MAX SWEep OFFSet POINts MIN MAX SWEep POINts lt neg_value gt MIN MAX SWEep POINts MIN MAX VOLTage lt channel gt DC RANGe lt range gt MIN MAX VOLTage lt channel gt DC RANGe VOLTage lt channel gt DC RESolution SENSe DATA lt rdgs_per_channel gt channel_list returns voltage formatted data from all channels default or only from the specified channel list lt channel_list gt has the form 1 or 02 01 2 1 4 or 1 2 3 4 For specific channels but not all the format is 1 3 4 Name Type Range of Values Default Value rdgs Der numeric 1 to MAX samples channel depends on size of RAM on module see SAMPle COUNTt channel_list numeric 1 2 E1563A N A 1 4 E1564A Digitizers Command Reference 85 Comments _ Readings Returned in Interleaved Configuration The readings are returned in an array in an interleaved configuration That is the array contains the first reading from each specified channel followed by the second reading from each specified channel The readings are in channel number order starting with the lowest to highest specified channel in the channel list For example the channel list 2 1 returns channel 1 readings followed by channel 2 readings and returns the same as channel list 1 2 NOTE Measurement data on channels not in the specified channel list are discarded by this command and is not recoverable This command can read the data from a measureme
66. PPLIERS BE LIABLE FOR LOSS OF DATA OR FOR DIRECT SPECIAL INCIDENTAL CONSEQUENTIAL INCLUDING LOST PROFIT OR DATA OR OTHER DAMAGE WHETHER BASED IN CONTRACT TORT OR OTHERWISE FOR CONSUMER TRANSACTIONS IN AUSTRALIA AND NEW ZEALAND THE WARRANTY TERMS CONTAINED IN THIS STATEMENT EXCEPT TO THE EXTENT LAWFULLY PERMITTED DO NOT EXCLUDE RESTRICT OR MODIFY AND ARE IN ADDITION TO THE MANDATORY STATUTORY RIGHTS APPLICABLE TO THE SALE OF THIS PRODUCT TO YOU U S Government Restricted Rights The Software and Documentation have been developed entirely at private expense They are delivered and licensed as commercial computer software as defined in DFARS 252 227 7013 Oct 1988 DFARS 252 211 7015 May 1991 or DFARS 252 227 7014 Jun 1995 as a commercial item as defined in FAR 2 101 a or as Restricted computer software as defined in FAR 52 227 19 Jun 1987 or any equivalent agency regulation or contract clause whichever is applicable You have only those rights provided for such Software and Documentation by the applicable FAR or DFARS clause or the Agilent standard software agreement for the product involved E Agilent Technologies E1563A 2 Channel Digitizer and E1564A 4 Channel Digitizer User s Manual Edition 4 Copyright 1997 1998 2001 Agilent Technologies Inc All rights reserved Documentation History All Editions and Updates of this manual and their creation date are listed below The first Edition of the manual is E
67. Put TTLT lt n gt STATe queries the specified TTL Trigger line TTLTO TTLT7 to determine if it is enabled 1 or disabled 0 78 Digitizers Command Reference Chapter 3 SAMPle The SAMPle command subsystem sets the number of samples to be taken for each trigger It also sets the number of samples to be taken prior to the trigger and the source of the sample signal and its slope When the sample source is TIMer you can set the sample interval Subsystem Syntax SAMPle COUNt lt count gt MIN MAX COUNt MIN MAX IMMediate PRETrigger COUNt lt count gt MIN MAX PRETrigger COUNt MIN MAX SLOPe POS 1 NEG 0 SLOPe SOURce HOLD TlMer TTLTO 7 EXT SOURce TlMer lt interval gt MIN MAX Mer MIN MAX SAMPle COUNt SAMPle COUNt lt count gt MIN MAX sets the number of total samples which includes the pre trigger and post trigger samples The number of samples set is common to all channels You cannot have two or more channels with different sample settings Data From log to Digital Converter Pre Trigger Post Trigger Meas remeni Dato lo Retrieve Data A to D A to D i Determine number of Dato Data readings per channel available with SENSe DAT COUNt with ALL lt Rdgs channel gt Total readings set by i SAMP COUN lt count gt Retrieve dat A ENSe DATA Pre
68. SOURce Chapter 3 Comments Maximum Voltages for Each Range The absolute maximum voltages for each range are shown in the next table The values are approximately 98 of full scale Specifying Parameters Optional parameters that are left blank are filled from left to right Therefore it is necessary to use the syntax DEFault to note that a particular parameter is to use the default value For example to specify a sample rate other than the default you must declare DEFault for the lt readings gt parameter or the lt rate gt parameter value you intended will be used to fill in the lt readings gt parameter The command for channel 1 would appear as CAL GAIN1 DEF 002 If you are calibrating the 16V range and you want to recalculate the 64V and 256V calibration constants the command is CAL GAIN1 DEF 002 ON Executable when initiated NO Coupled Command NO Reset RST Condition None CALibration SOURce INTernal EXTernal specifies the calibration source to be used for any subsequent gain calibrations EXTernal is the default source and a voltage must be provided from an external source to the channel being calibrated INTernal Source The INTernal source is available only on the E1564A 4 Channel Digitizer CAL SOURce INTernal outputs the specified DAC voltage set by CAL DAC VOLT lt voltage gt onto the calibration bus where it is applied internally to the channels The INTernal source is also available on the Ca
69. SOURce queries to determine the timebase source Returns either INTernal or EXTernal 90 Digitizers Command Reference Chapter 3 SENSe SWEep OFFSet POINts Comments SENSe SWEep OFFSet POINts lt count gt MIN MAX sets the number of sweep offset points lt count gt must be a negative number This command is the same as SAMPle PRETrigger COUNt except the sign on lt count gt is negative here whereas it is positive for pretrigger count and is included for SCPI compatibility SENSe SWEep OFFSet POINts SENSe SWEep OFFSet POINts MIN MAX returns the sweep offset points SENSe SWEep POINts Parameters Comments SENSe SWEep POINts lt count gt MIN MAX sets the number of sweep points The number of points set is common to all channels You cannot have two different channels with different a sweep point count Name Type Range of Values Default Value lt count gt numeric 1 to 32M E1563A 1 to 16M E1564A memory size in bytes number of channels 2 128M 4 or 128M 8 MAX This command is the same as SAMPle COUNt and is included for SCPI compatibility SENSe SWEep POINts Chapter 3 SENSe SWEep POINts MIN MAX returns the sweep points Digitizers Command Reference 91 SENSe VOLTage lt channel gt DC RANGe SENSe VOLTage lt channel gt DC RANGe lt range gt changes the range on the specified channel There are seven different ranges If the range specifi
70. TTLT2 011 TTLT6 111 TTLT7 IN OUT TTLTn line is 0 IN 1 OUT EN TTL 1 enable TTLTn O disable TTLTn bit 5 INT Clock O disable sampling from internal clock source 1 sample from the internal clock source bit 6 EXT O timebase is internal 10 MHz clock 1 timebase is external clock source you must Timebase input on the Time Base pin on the front panel External Trigger Input connector 138 Register Based Programming Appendix B WRITE BITS Sample Source Register and READ BITS Sample Control Register bit 7 SOFT software sample 0 IMMediate disabled 1 IMMediate enabled SAMPLE POS_NEG External sample slope 0 NEG 1 POS bit 9 EX SAMPLE 1 EXTernal sample is an external source you must input on the Sample pin on the front panel D subminiature connector O EXTernal sample disabled bit 12 ABORT 1 aborts measurement and flushes all reading data in all memory The bit is set to O when the digitizer is initiated bit 13 INIT This bit will initiate measurements after a 30 msec delay when it is set to 1 It is set to with 30 msec 0 when pre trigger readings are complete delay bit 15 INIT IMM This bit will initiate measurements immediately when it is set to 1 It is set to 0 when pre trigger readings are complete If bit 12 and either bit 13 or 15 is set during the same write an ABORT followed by an INIT is executed If bit 12 is 0 either bit 13 or
71. TUS OFERAIOMENADIS unan Senge AEN 95 SS IATUS EEN ENEE asar ta 95 ET E ai EVEN eri dos aa 96 so A 96 STATUS QUESIONAMS CONDINIGN 6 erica 96 STATus QUEStionable ENABIe sesionar 96 STATus QUEStionable ENABle AN 96 STATUS OQUESHoOns DOL EVENT cartas 96 A O re rrr 97 E A PP RA 97 Du EE 98 TES TERNA nte 98 TRIAS eet 98 TENEIS AER seen initial 103 iio da 104 TRIGO TINIMIS 7 nia ina 104 o A A 104 E SSA PS 105 1 e E 105 TRIO ein supiste 106 les EE 106 El KE 107 TRGS FOCURI OA rra N SS 107 TRICOT SURCOS arenas anaa 108 IEEE 488 2 Common Commands Quick Reterence 109 e AR A 110 ES e EE 110 AS ed ng ana seine 111 A A eee 111 A E NAS 111 A ias 112 A A eer er ee et en eer ere e 112 A A G 113 E tee 113 TAT AA A A 114 A ii nia 114 SCPI Commands Quick Heierence A 115 Appendix A Digitizers Specifications cooncccnncccnnccnnnconnonanonnnonanonancnannenarenancnancnnnnos 119 Appendix B Register Based Programming 0ccocccoccconccococonaconcnnonanonnnnnnronanenannnnanenans 121 SM AMA 121 Register Programming vs SCPI brogrammmg 121 Addressing the Registers in 121 Tno Caon ARO atada in 122 MAA EK Eg AM n AEAEE A AAE ERSE 124 CIA NET 124 EESE AI abia ane 125 1 AAA inves eaoeatse TET 126 Device TUDO Registel EE 126 Status ONO ARIS ria 126 AEROSOL OI TEE 128 FIFO High Word Low Word Registers E 128 ICTR COIN FSB ari 129 UNTRUE Source ASCII pista 130 CVTable Channel 1 Register airada di 130 CVTable Channel 2 Register c
72. ane TTL trigger TTLT lines where the master module and all slave modules receive the signals simultaneously TTL trigger lines are used in pairs between the master and slave s where one TTL trigger line carries the sample signal and the other carries the trigger signal The next section describes how these TTL trigger lines are paired TRIGger MODE is used to configure Digitizers for master slave operation The mode can be NORMal MASTer or SLAVe The default setting for trigger mode is TRIGger MODE NORMal which configures the module as an individual instrument Chapter 2 TRIGger MODE MASTer lt n gt configures a module as a master The eight TTL trigger lines T TL TO TTLT7 on the VXI backplane allow four different pairings as shown in Table 2 2 MASTer0 SLAVeO MASTer2 SLAVez2 MASTer4 SLAVe4 and MASTer6 SLAVe6 NOTE You must select an unused set of TTL trigger lines for the master slave coupling when determining which master mode to set Do not use a TTLT line already used by SAMPle SOURce or TRIGger SOURce TRIGger MODE SLAVe0 configures a module as a slave to a MASTer0 module MAG Ter and SLAVeO modules share TTL trigger lines TTLTO and TTLT1 TTLTO carries the sample signal and TTLT1 carries the trigger signal Table 2 2 shows all pairs of TTL trigger lines for each master slave mode Table 2 2 Trigger Sources for Master Slave Modes MASTer SLAVe Trigger Sources Example Master Module Figure 2 5 illustra
73. arameter was received which was not a valid choice for the command You may have used an invalid parameter choice Examples CAL SOUR TTLT2 TTLT2 is not a valid choice or SAMP COUN ON ON is not a valid choice An example is CAL DAC VOLT which is only legal for an E1564A PUD memory lost NOT USED Calibration memory NOT USED lost 240 241 300 311 312 313 330 350 410 420 430 Appendix C Self test failed Too many errors Query INTERRUPTED Query UNTERMINATED Query DEADLOCKED The digitizer s complete self test failed from the remote interface TST In addition to this error more specific self test errors are also reported See also Self Test Errors following this section The error queue is full because more than 20 errors have occurred No additional errors are stored until you remove errors from the queue The error queue is cleared when power has been off or after a CLS clear status command has been executed A command was received which sends data to the output buffer but the output buffer contained data from a previous command the previous data is not overwritten The output buffer is cleared when power has been off or after a RST reset has been executed The digitizer was addressed to talk i e to send data over the interface but a command has not been received which sends data to the output buffer For example you may have executed a SAMPle COUNt lt
74. are left blank are filled from left to right Therefore it is necessary to use the syntax DEFault to note that a particular parameter is to use the default value For example to specify a sample rate other than the default you must declare DEFault for the lt readings gt parameter or the lt rate gt parameter value you intended will be used to fill in the lt readings gt parameter The command for channel 1 would appear as CAL ZERO1 DEF 002 Number of Samples and Sample Rate The number of samples and the sample rate would normally be set to DEFault values to provide averaging over an integral number of either 50 Hertz or 60 Hertz power line cycles This allows the calibration to cancel out any noise that is periodic with the power supply Specifying a value other than DEF for lt samples gt and or lt rate gt will result in those values being used Executable when initiated NO Coupled Command NO Reset RST Condition None 62 Digitizers Command Reference Chapter 3 DIAGnostic The DIAGnostic subsystem contains several commands that were developed to test the instrument at the factory Some of these commands may prove useful for isolating problems or for use in special applications Subsystem Syntax DIAGnostic DAC GAIN lt channel gt lt value gt DAC OFFSet lt channel gt lt voltage gt DAC OFFSet lt channel gt RAMP lt count gt DAC SOURce lt voltage gt DAC SOURce RAMP lt count gt INTerrupt LINE 0
75. are returned as real numbers when the data format is set to REAL see FORMat DATA REAL The data are returned in voltage units and no scaling conversion is required as with the PACKed format Readings are in an interleaved configuration IEEE 488 2 Headers Both PACKed and REAL formats return data preceded by the IEEE 488 2 definite length arbitrary block header The header is lt num_digits gt lt num_bytes gt where e Fsignifies a block transfer e lt num_digits gt is a single digit 1 through 9 which specifies how many digits ASCII characters are in lt num_bytes gt e lt num_bytes gt is the number of data bytes which immediately follow the lt num_bytes gt field SENSe ROSCillator EXTernal FREQuency SENSe ROSCillator EXTernal FREQuency lt freq gt specifies the externally supplied timebase frequency This command is not required unless ROSCillator SOURce is EXTernal The default timebase is the INTernal timebase Parameters Name Type Range of Values Default Value Comments Sample Periods The frequency parameter value is used to calculate sample periods when the sample source is set to Mer The sample period must be at least 1 250E 6 seconds 800 kHz and must be an integral multiple of the timebase period 1 0E 7 seconds when the timebase source is INTernal Period values will be rounded to the nearest period the instrument can obtain Executable when initiated NO Coupled command NO Reset RST
76. ation Errors will result if these steps are not performed before CAL ZERO 1 Set the CAL STATe ON to allow calibration to occur 2 Set the digitizer to the desired range and filter on the channel you want to calibrate with VOLTage lt channel gt RANGe lt range gt INPut lt channel gt FILTer FREQ lt freq gt and FlLTer STATe ON OFF 60 Digitizers Command Reference Chapter 3 Using Optional Parameters Optional parameters that are left blank are filled from left to right Therefore it is necessary to use the syntax DEFault to note that a particular parameter is to use the default value For example to specify a sample rate other than the default you must declare DEFault for the lt readings gt parameter or the lt rate gt parameter value you intended will be used to fill in the lt readings gt parameter The command for channel 1 would appear as CAL ZERO1 DEF 002 Number of Samples and Sample Rate The number of samples and the sample rate would normally be set to DEFault values to provide averaging over an integral number of either 50 Hertz or 60 Hertz power line cycles This allows the calibration to cancel out any noise that is periodic with the power supply Specifying a value other than DEF for lt samples gt and or lt rate gt will result in those values being used for the zero offset calibration Executable when initiated No Coupled Command No Reset RST Condition None CALibration ZERO ALL Parameters
77. ble D 3 Table D 3 Noise Verification Test Points INPUT E1563A Error from zero E1564A Range 0 25 V 180 uV H L short DIAG SHORt 256 V 189 mV Make 100 readings sum them divide by 100 and obtain the mean reading Calculate the standard deviation using the following formula this is the rms noise value reading represents the 100 readings where n 1 to 100 oe reading 100 mean y 99 Record the rms noise value on the Performance Test Record and compare the result to the appropriate test limit shown in the test record or the above table Repeat steps 4 5 and 6 for each range listed in Table D 3 Repeat steps 3 to 7 for channel 2 on the E1563A 2 Channel Digitizer and channels 2 through 4 on the E1564A 4 Channel Digitizer changing the channel number in the DIAG SHORt lt channel gt ON command and executing the command prior to performing the steps Digitizers Verification Tests 155 Gain Verification Test 156 Digitizers Verification Tests The gain verification tests check the positive and negative full scale gain on each range for each channel An external DCV source provides the input and the digitizer s L terminal is connected to the G terminal connecting LO to GUARD The input voltage is slightly less than full scale to avoid overloading the range 1 Set the digitizer as follows Reset the digitizer RST sets FILT OFF Set channel 1 to the 62 mV range VOLT1 RANG 62E 3 2 Setthe DC Standa
78. brating each range The values are approximately 98 of full scale Voltage Max DC Voltage Voltage Max DC Voltage Range absolute value Range absolute value 0 0625 0 061256409 16 0000 15 00 0 2500 0 245025635 64 0000 1 0000 0 980102539 256 0000 4 0000 3 920410156 54 Digitizers Command Reference Chapter 3 CALibration DAC Errors There is no calibration DAC output for the 64 volt and 256 volt ranges See the CALibration GAIN command for more information about the calibration of these two ranges An error will occur if the voltage value specified is greater than that allowed for the present range setting You must set the desired range prior to setting the calibration DAC voltage Executable when initiated NO Coupled Command NO Reset RST Condition 0 0 Volts CALibration DAC VOLTage CALibration DAC VOLTage MIN MAX queries the setting of the calibration DAC E1564A 4 Channel Digitizer only The DAC voltage is output to the calibration bus and accessible at the front panel External Trigger Input Calibration Bus Output Connector CAL H and CAL L only if the CALibration SOURce is set to INTernal The MIN parameter returns the minimum voltage available from the DAC and MAX returns the maximum voltage available from the DAC CALibration DATA CALibration DATA returns the calibration constants currently stored in non volatile calibration memory CALibration GAIN CALibration GAIN lt channel gt lt readings gt
79. buting to measurement error e Allow 5 minutes after handling input connections for thermal offset voltage settling Recording Your Make copies of the Performance Test Record at the end of this appendix Test Results for use in performance verifying each channel use one test record copy per channel The test record provides space to enter the results of each Performance Verification test and to compare the results with the upper and lower limits for the test The value in the Measurement Uncertainty column of the test record is derived from the specifications of the source used for the test and represents the expected accuracy of the source The value in the Test Accuracy Ratio TAR column of the test record is the ratio of digitizer accuracy to measurement uncertainty Performance Performance Verification Test programs are provided so you can Verification Test performance verify your digitizer These programs were developed on a PC running Windows with a GPIB interface and SICL Windows for GPIB Programs software All projects written in C programming language require the following settings files or paths to work properly Project Type QuickWin application EXE Project Files 1 lt source code file name gt C which includes the VISA h header file 2 One of the following files from the Agilent I O Libraries for Instrument Control drive VXIPNP WIN LIB MSC ISA LIB Microsoft compiler drive VXIPNP WIN LIB BC VISA LIB Bo
80. cable C Push the boot all the way forward to seat tightly onto the cable clamp housing 28 Configuring the Digitizer Modules Chapter 1 Cable Coupling Cable Clamp Connector Ring Housing Snap Clamp into Compartment Snap Clamp into Compartment Step 5 Mate the cable connector to the User Input Terminal Port 1 Hold the cable connector by the rubber boot and align the notched key slot with the key on the left side of the instrument s front panel connector Insert the cable connector just enough to encounter insertion resistance and stay in place 2 Grasp
81. ce SAMPle SOURce HOLD TlMer TTLTO 7 EXT sets the source of the sample signal which causes a measurement to be made The sample source is common to all channels TIMer uses the internal time base The EXTernal input is the TTL Sample input pin on the front panel External Trigger Input D subminiature connector left pin column bottom pin E1563A E1564A Sample input bottom left pin e a CAL Source CAL Source 0 Connection L E O Connection DUTput Ss lee O O T OT Gaurd i E fT G ES O E O Or Trigger LO S Sample OF gt Sample ae Trigger ime Base Time Base 82 Digitizers Command Reference Chapter 3 Parameters Comments SAMPle SOURce Chapter 3 rss ze ME Y HOLD SAMPIe IMMediate TlMer discrete Uses specified SAMPle TlMer none lt interval gt as sample rate TTLTO 7 VXlbus TTL trigger lines none EXTernal Sample pin on D sub connector Sample Slopes and Periods A rising or falling edge for the sample slope can be specified if the source is set to EXTernal see SAMPle SLOPe A sampling period can be specified if the sample source is set to TlMer see SAMPle TIMer Slave Mode TRIG MODE SLAVe lt n gt forces the sample source to be the appropriate TTL trigger line Attempts to change the sample source while TRIG MODE is SLAVe lt n gt will result in a se
82. ceived after the pretrigger acquisition if any was completed 70 Digitizers Command Reference Chapter 3 Comments Command Returns Status Information This command returns a binary weighted number representing the bit pattern of the register and therefore the status of the above instrument events Executable when initiated NO Coupled Command NO Reset RST Condition None Chapter 3 Digitizers Command Reference 71 FORMat The FORMat command subsystem is used to specify the output format of the readings from the E1563A and E1564A Digitizers Subsystem Syntax FORMat DATA ASCii PACKed REAL DATA FORMat DATA FORMat DATA ASCii PACKed REAL specifies the output format for measurement data Comments PACKed Format PACKed 16 format is signed 16 bits 16 bit integers Data are returned as raw data and must be converted to voltage by using voltage reading range 32768 or voltage reading resolution Use SENSe VOLTage DC RESolution to obtain the resolution value REAL Format REAL 64 format returns data as IEEE 754 64 bit real numbers IEEE 488 2 Headers Both PACKed 16 and REAL 64 formats return data preceded by the IEEE 488 2 definite length arbitrary block header The header is lt num_digits gt lt num_bytes gt where e signifies a block transfer e lt num_digits gt is a single digit 1 through 9 which specifies how many digits ASCII characters are in lt num_bytes gt e
83. channel range During data fetching a channel range may be specified e g 1 4 A bad range could result by specifying 1 5 since there is no channel 5 or 1 4 on a two channel card like the E1563A or a descending range such as 3 1 1007 Error in CAL An error occurred while trying to perform the calibration command specified 1008 Data fetch timed out Data fetch timed out waiting for trigger It is allowable to ask for data waiting for trigger immediately after the INIT command This error will occur if you ask for data early and the trigger that initiates the measurement has not been received within the time period specified by the VISA timeout setting 1009 Error reading bits NOT USED viMoveln16 failed 1010 Self test failed The abbreviated power on self test failed A more thorough TST self test should be run for more specific information 1011 VISA error An unknown error occurred in the VISA I O library 1012 Write to Flash ROM An unknown UO error occurred while trying to write to flash ROM failed 1013 Insufficient memory The controller did not have enough memory for the command to for cal try smaller complete so try specifying a smaller sample size for the calibration sample size command that caused the error 1014 Memory malloc failed The controller did not have sufficient RAM for the command to insufficient memory execute 148 Digitizers Error Messages Appendix C Self Test E
84. cified TTL Trigger line TTLTO TTLT7 to identify the source of output pulses A response of TRIG indicates the source is a trigger event a response of SAMP indicates the source is a sample event and a response of BOTH indicates the source is both a trigger event and a sample event Digitizers Command Reference 77 OUTPut TTLT lt n gt STATe OUTPut TTLT lt n gt STATe ON 1 OFF 0 enables or disables the specified TTL Trigger line for outputting the source set by OUTPut TTLT lt n gt SOURce lt n gt can have the value 0 through 7 TTLTO TTLT7 Comments Resource Conflicts Resource conflicts will occur if either the trigger or sample source is already using a TTL line you attempt to enable as an OUTPut line The OUTPut TTLT line will not be enabled and a Settings Conflict error will occur Settings Conflict Error Setting the trigger or sample source to a TTL trigger line that has its output state ON will result in a settings conflict error and the output state will be changed to OFF The specified trigger line will be assigned to the sample or trigger source Master Slave Settings TRIG MODE MASTer lt n gt SLAVe lt n gt will disable all other OUTPut TTLT lt n gt STATe settings The only outputs that will occur are those defined in the MASTer SLAVe relationship Executable when initiated NO Coupled Command YES Reset RST Condition All lines set to OFF OUTPut TTLT lt n gt STATe OUT
85. command does not give a cumulative record of limit failures only that the last measurement either passed or failed Chapter 3 Digitizers Command Reference 49 CALCulate LIMit LOWer DATA CALCulate lt channel gt LIMit LOWer DATA lt value gt MIN MAX sets the lower limit value you want to test against CALC lt channel gt LIMit FAIL will return a 1 following the measurement and prior to the next measurement if the input signal fell below the specified lower limit value and if LIM LOW STATe is ON A 0 is returned if the limit was not exceeded Parameters Comments Allowable Maximum Values Allowable maximum values for the lower limit by range and the associated resolution follow Range Maximum Value Resolution 0 061523438 0 000488281 0 246093750 0 001953125 0 984375000 0 00781250 3 937500 0 031250 15 750 0 1250 63 00 0 500 252 00 2 0 Executable when initiated NO Coupled Command YES Range changes will change the value The percent of full scale of the range will be kept constant For example on the 4 volt range with a 2V limit a range change to 16V will set a new limit of 8V Related Commands SENSe VOLTage lt channel gt DC RANGe lt range gt Reset RST Condition 254 volts CALCulate LIMit LOWer DATA CALCulate lt channel gt LIMit LOWer DATA MIN MAX queries the lower limit value set for the specified channel 50 Digitizers Command Reference Chapter 3 CA
86. d Command NO Reset RST Condition DAC output is set to OV DIAGnostic DAC SOURce RAMP Chapter 3 Parameters Comments DIAGnostic DAC SOURce RAMP lt count gt outputs a ramp of DAC values from 0 to 4095 with the DAC code changing about every 100 usec This command is a factory diagnostic routine Name Type Range of Values Default Value Using the lt count gt Parameter The lt count gt parameter specifies how many ramps to output The timing is such that about 2 3257 full ramps are output each second A count of 139 will output ramps for just under 60 seconds The signal will be output onto the calibration pins CAL H and CAL L on the front panel Calibration Bus Output connector Executable when initiated NO Coupled Command NO Reset RST Condition DAC output is set to OV Digitizers Command Reference 65 DIAGnostic INTerrupt LINE DIAGnostic INTerrupt LINE 0 1 2 3 4 5 6 7 sets the interrupt line to be used Specifying the 0 parameter disables all interrupts NOTE The STATus subsystem will not work if interrupts are disabled STATus OPERation and STATus QUEStionable Use DIAG STATus to disable interrupts Comments Power On Setting Power on default setting is interrupt line 1 Executable when initiated NO Coupled Command NO Reset RST Condition Interrupt line setting is unchanged DIAGnostic INTerrupt LINE DIAGnostic INTerrupt LINE queries the interrupt line setting Returns a
87. d INT4 respectively 108 Digitizers Command Reference Chapter 3 IEEE 488 2 Common Commands Quick Reference Internal Operations Internal Operations Synchronization Status Event Bus Operation Chapter 3 This table lists by functional group the IEEE 488 2 Common Commands that can be executed by the E1563A and E1564A Digitizers However commands are listed alphabetically in the following reference Examples are shown in the reference when the command has parameters or returns a non trivial response Otherwise the command string is as shown in the table For additional information see IEEE Standard 488 2 1987 System Data IDN Identification Returns the identification string of the Digitizer Includes latest firmware version CLS ESE lt unmask gt ESE ESR SRE lt unmask gt SRE STB Self Test Operation Complete Operation Complete Query Wait to Complete Clear Status Event Status Enable Event Status Enable Query Event Status Register Query Service Request Enable Service Request Query Read Status Byte Query Bus Trigger Resets the Digitizer to range 256V input state ON input filter OFF TTLT states OFF data format ASCII See Chapter 2 for the reset state Returns 0 if self test passes Returns a non zero value if self test fails Use SYST ERR to retrieve the error from the Digitizer See Appendix C for a complete list of error numbers and their descriptio
88. d Register occooccccocccoccoccnoconncnnnonanocannonnnonaninunonons 137 Trigger Source Control Register cccssccsseeceeceeeceececeeeceueceueeseeeseuseaeeesaeess 137 Sample Source Control Register ooccccccccociconnoccnoconnconcnonconanonanonnnnonanonon 138 serca is o AM EEN 140 Appendix C Digitizers Error Messages ocoocccocccccccccononoconnconnnnonanennrcnnnnnannenarenannnnnns 145 2 E E ETRA 145 SE Ma tee 149 E E 149 E eer 149 A AA O Cree ene 149 Appendix D Digitizers Verification Tests oooocccnnnccnncccnnccnnonancnnnoncncnnnnenarenancnnanenanos 151 is A A 151 A AA A 151 Recommended Test Equipment cccccecccsseceeeecececeeeceueecseeceueceaeeseeeceaeeees 151 TON OTIS ita aia 152 Recording Your Test Results isa da 152 Performance Verification Test ProgramS ooccccocccocccocncconoconnnonnncanocannnnanonanonos 152 FUNCIONA erer TEE 153 Functional Test tal A A A 153 Performance Vernfication TOS Sisa 154 Zero Offset Verification Test sees 154 Nabe EENEG TOS aan 155 A OU eE o 156 Filter Bandwidth Verification Test titi 157 Performance Test Record ccccccecccecsccccacecececescececeacsccauavacsseneauscesseseeaestanseeatars 158 Appendix E Digitizers Adjustments ooocconcconononcconaconcnnonacenaronaronanonanrnnnronnrenarennanenans 163 es A A L TE 163 Closed Cover Electronic Calibration oooococccccoccccconinncononinanononanononcnnnnanonanans 163 E AS da
89. d at the exact trigger level value set by the TRIG LEVel command Using the Digitizers 37 Channel Input Signals Samples Trigger actually cccurs TRIG LEV lt cn gt lt voltage gt desired Trigger level Figure 2 4 Trigger Level Compare Circuit Operation Using External You can provide an external trigger common to all channels The external Triggering trigger connection is on the digitizer s External Trigger Input D subminiature connector Trig pin You set this input as the trigger source for all channels using TRIGger SOURce lt n gt EXT Use TRIGger SLOPe lt n gt POSitive NEGative to set which signal edge will trigger Master Slave The E1563A and E1564A Digitizers can be configured in a master slave Operation configuration This configuration allows a master module and one or more slave modules to have their measurements synchronized Synchronization occurs when all channels trigger from the same trigger event and all channels sample from one sample signal Master Slave The sample synchronization signal is always generated by the master Synchronization The TTL trigger event can be generated by either the master module or any 38 Using the Digitizers of the slave modules This allows a slave module as well as the master module to use one of the four internal trigger sources or their external trigger source to trigger a measurement Both the trigger signal and the sample signal are placed on the VXI backpl
90. dicates the specified channel is enabled for lower limit checking 0 returned indicates the specified channel is disabled for lower limit checking CALCulate LIMit UPPer DATA CALCulate lt channel gt LIMit UPPer DATA lt value gt MIN MAX sets the upper limit value you want to test against CAL Culate LIMit FAIL will return a 1 following the measurement and prior to the next measurement if the input signal rose above the specified upper limit value and LIM UPP STATe is ON A 0 is returned if the limit was not exceeded Chapter 3 Digitizers Command Reference 51 Parameters Comments Maximum Allowed Values The maximum allowed lt value gt depends on the range setting An error will occur if you try to set a level that exceeds the range setting Changing the range after setting the limit value will change the limit value The percent of full scale is kept constant Allowable maximum values for the upper limit by range and the associated resolution follow Range Maximum Value Resolution 0 062011719 0 000488281 0 248046875 0 001953125 0 992187500 0 00781250 3 968750 0 031250 15 8750 0 1250 63 50 0 500 254 00 2 0 Executable when initiated NO Coupled Command YES Range changes will change the value The percent of full scale of the range will be kept constant For example on the 4 volt range with a 2V limit a range change to 16V will set a new limit of 8V Reset RST Condition 2
91. dition 1 The Edition number increments by whenever the manual is revised Updates which are issued between Editions contain replacement pages to correct or add additional information to the current Edition of the manual Whenever a new Edition is created it will contain all of the Update information for the previous Edition Each new Edition or Update also includes a revised copy of this documentation history page Editon l Ae a r a S EA October 1997 E EE April 1998 Pono setra A E O March 2001 Editon Bet aa a e ESA May 2001 Safety Symbols Instruction manual symbol affixed to product Indicates that the user must refer to INg Alternating current AC the manual for specific WARNING or CAUTION information to avoid personal Di DC injury or damage to the product ER irect current DC A Warning Risk of electrical shock Indicates the field wiring terminal that must be connected to earth ground before operating the equipment protects against Calls attention to a procedure practice or electrical shock in case of fault condition that could cause bodily injury or death WARNING Calls attention to a procedure practice or Se nes ee Ee CAUTION condition that could possibly cause damage to Ap a as equipment or permanent loss of data WARNINGS The following general safety precautions must be observed during all phases of operation service and repair of this product Failure to comply with these precautions or
92. dix A See Appendix E for the zero adjustment procedure Example Initial Operation This C program verifies communication between the controller mainframe and digitizer lt resets the module RST queries the identity of the module IDN and queries the module for system errors include lt stdio h gt include lt visa h gt FUNCTION PROTOTYPE void err_handler ViSession vi ViStatus x void main void char buf 512 0 if defined _BORLANDC_ amp amp defined _WIN32_ _InitEasyWin endif ViStatus err ViSession defaultRM ViSession digitizer Open resource manager and digitizer sessions viOpenDefaultRM amp defaultRM viOpen defaultRM GPIB VXIO 9 40 VI_NULL VI_NULL amp digitizer 30 Configuring the Digitizer Modules Chapter 1 Set the timeout value to 10 seconds viSetAttribute digitizer VI_ATTR_TMO_VALUE 10000 Reset the module err viPrintf digitizer RSTIN if err lt VI_SUCCESS err_handler digitizer err Query for the module s identification string err viPrintf digitizer IDN n if err lt VI_SUCCESS err_handler digitizer err err viScanf digitizer Yt buf if err lt VI_SUCCESS err_handler digitizer err printf Module ID sinin buf Check the module for system errors err viPrintf digitizer SYST ERRAn if err lt VI_SUCCESS err_handler digitizer err err viScanf digitizer
93. ear or 2 year interval may be adequate for less demanding applications Agilent does not recommend extending calibration intervals beyond 2 years in any application Whatever calibration interval you select Agilent recommends complete re adjustment always be performed at the calibration interval This will increase the probability the E1563A or E1564A will remain in specification for the next calibration interval This criteria for readjustment provides the best measure of the digitizer s long term stability Performance data measured this way can be used to extend future calibration intervals Agilent Technologies offers a wide variety of calibration and repair services For information about calibration and repair services go to http www agilent com and click Products and Services then click Test and Measurement and then click Calibration and Repair Services Digitizers Adjustments 163 Adjustment Procedures WARNING Adjustment Conditions General Procedure CAUTION CAUTION 164 Digitizers Adjustments Do not perform any of the following adjustments unless you are a qualified service trained technician and have read the WARNINGS and CAUTIONS in this manual Adjustment procedures should be performed in the order shown in this manual See Table D 1 Recommended Test Equipment for test equipment requirements For optimum performance all adjustment procedures should comply with following test conditions e Ambient te
94. ed falls between two of the instrument s ranges the range is set to the next higher range setting The command defaults to channel 1 if no channel is specified Comments Crossover Points Crossover points for range changes are Voltage Range Resolution 0 0625 000007629 0 2500 000030518 1 0000 000122070 4 0000 000488281 16 0000 007812500 64 0000 007812500 256 0000 03125 Comments Executable when initiated NO Coupled command YES TRIGger LEVel may be affected if one of the levels is the trigger event on the channel that had the range change The level set for CALCulate LIMit LOWer and UPPer will be modified to be the same percent of full range This will generate a different voltage value for the limit level Reset RST Condition Range is set to 256 for all channels SENSe VOLTage lt channel gt DC RANGe SENSe VOLTage lt channel gt DC RANGe queries the specified channel for its present range setting The command defaults to channel 1 if no channel is specified SENSe VOLTage lt channel gt DC RESolution SENSe VOLTage lt channel gt DC RESolution queries the specified channel for its present resolution setting Resolution versus range setting is shown in the VOLTage DC RANGe command The command defaults to channel 1 if no channel is specified 92 Digitizers Command Reference Chapter 3 STATus The STATus subsystem reports the bit values of the Operation Data Signal Register and Q
95. eg ister identify the device as the E1563A 2 Channel Digitizer or 26746 in the least significant bits to identify the device as the E1564A 4 Channel Digitizer beso 020 16 14 13 2 mf wo ef et 7 je sy 4 sf ei tie Read E1563A 2 Channel Digitizer 26646 61440 0 1 1 1 E1564A 4 Channel Digitizer 26746 61540 Reading the Register Via Command Module PEEK command DIAG PEEK 2083330 16 2083328 base with logical address 40 02 offset see Figure B 2 Via Digitizer Module PEEK command DIAG PEEK 1 1 signifies the second word 16 bits zero base numbering system Status Control Writes to the Status Control Register base 0446 which enables you to Reg ister reset the module and set either A24 or A32 decoding You can also read the MODID bit her a 41 aa fajas rpe es eet Write A Unde MOT A24 Undefined F E Undefined S fined INTEL Read A M MOT A24 Unde Memory Size F E Arm Delay RDY S INTEL fined 126 Register Based Programming Appendix B WRITE BITS Status Control Register bit O Writing a 1 to this bit resets the digitizer to the power on state You must set bit O back to a logical 0 before resuming normal operations of the module bit 1 e 1 inhibits sysfail 0 does not inhibit sysfail A bit 6 1 disables error reporting LED 0 enables error reporting LED front panel bit 7 1 disables Flash ROM write 0 enables Flash ROM wr
96. ended shielded twisted pair cable in the following table have an outside dimension compatible with the cord connector Belden cable P N Alpha cable P N 22 AWG 7x30 9462 5481C 24 AWG 7x32 8641 5491C E1564A Digitizer The E1564A Digitizer front panel contains four Switchcraft EN3 Mini Weathertight Connectors female CH 1 through CH 4 See Figure 1 2 Mating Switchcraft Cord Connectors male are supplied with the module However the user must provide the cable and assemble the connector to the cable end Recommended shielded twisted pair cable in the following table have an outside dimension compatible with the cord connector Wire gauge Belden cable P N Alpha cable P N 22 AWG 7x30 9462 5481C 24 AWG 7x32 8641 5491C Configuring the Digitizer Modules 23 Trigger Input Port The user must supply a standard cable to the External Trigger Input port E1563A or to the External Trigger Input Calibration Bus Output port Cables E1564A E1563A Digitizer The E1563A front panel contains a 9 pin D subminiature connector with the pin outs and associated SCPI commands shown in Figure 1 6 do not make any connections to the top two pins No Connection 5 FT Tropen TRIGger SOURce EXT SAMPle SOURce EXT ime hans ROSCillator SOURce EXT No Connection Figure 1 6 E1563A External Trigger Input Port E1564A Digitizer The E1564A front panel contai
97. ents Executable Command NO Coupled Command NO Reset RST Condition Filter OFF INPut FILTer LPASs STATe INPut lt channel gt FILTer LPASs STATe queries the specified channel to determine if the low pass filter is enabled or disabled A return value of 0 indicates the filter is OFF and 1 indicates the filter is ON INPut STATe INPut lt channel gt STATe ON 1 OFF 0 connects or disconnects the input signal to the Digitizers measurement circuitry Comments OFF State Connections For the E1563A 2 Channel Digitizer INPut lt channel gt STATe OFF connects the specified channel to ground For the E1564A 4 Channel Digitizer INPut lt channel gt STATe OFF connects the specified channel to the internal calibration bus calibration DAC Executable When Intitiated NO Coupled Command NO Reset RST Condition all channels ON connected INPut STATe INPut lt channel gt STATe queries the specified channel to determine If the input signal is connected to or disconnected from the Digitizer s measurement circuitry If connected a 1 is returned If disconnected a 0 is returned 76 Digitizers Command Reference Chapter 3 OUTPut Subsystem Syntax The OUTPut command subsystem sets the source of output pulses for the specified TTL Trigger line TTLTO TTLT7 and enables or disables the output OUTPut TTLT lt n gt SOURce TRIGger SAMPle BOTH TTLT lt n gt SOURce
98. equest 4 lt 16 gt 2 lt 32 gt 6 lt 64 gt lt 128 gt Calibration Fail 4 8 lt 256 gt Status Byte Register Channel 1 Limit Fail 9 lt 512 gt STB Channel 2 Limit Fail O lt 1024 gt SPOLE Channel 3 Limit Fail 11 lt 2048 gt SE m SRE lt unmask gt Channel 4 Limit Fail 2 lt 4096 gt SRE a lt 8192 gt 0 21 gt 4 lt 16384 gt r 29s 2 lt 4 gt E EV E QUE zen 3 lt 8 gt E ORE AV ei 4 lt 16 gt Output ffer ESB 5 lt 32 gt RQS 6 ee ees RQ ROUTING Status EN andled by your Byte pplication rogram or assed to the Request Service ontroller via PIB Standard Event Status Register p gt ESR p ESE lt unmask gt ESE Operation Complete O lt Summary 1 Bit unmask examples Query Error 2 Device Error 3 SE Ge 8 3 egister decimal Execution Error 4 bit weight Command Error 5 OR eo Bower On F Operation Complete 0 e KE Ge a nmasks standard event register bits O 4 and 5 ESE 1 only unmasks bit 0 OPERation Status Register E 8 unmasks the QUE bit questionable data in the status byte register This is effective m STATus OPERation CONDition only if the STAT QUES ENAB lt unmask gt eee ae command is executed See below m STATus OPERation EVENt i STAT QUES ENAI 937 unmasks all bits bits O 8 9 a 10 11 and 12 that can set the ste bit in the STATus PREset Status Byte CAL In Progress O alee lt 2 gt 2 lt 4 gt 5 lt 6 gt 3 lt 16 gt aay Waiting for Trigger gt lt 32 gt 6 l
99. er You tried to read data before readings are finished but the sample deadlock source is keeping readings from being taken lt is possible to request reading data before the measurment is entirely completed and normally this will work However if your sample source is BUS or HOLD and you request reading data the instrument can no longer receive the command to begin sampling because it is busy waiting to bring back data a deadlock could occur So we generate an error when we detect this situation and abort the fetching of data 215 Arm Trigger Same situation as for Sample Trigger deadlock except the Trigger deadlock source or Arm source is set to BUS or HOLD which requires a software command to proceed so you would be deadlocked waiting for a trigger which could never occur because the system is busy waiting for data to show up in the reading buffer 146 Digitizers Error Messages Appendix C aw nm Som You tried to set a pretrigger count that exceeds the sample count 1 Or you enabled one of the internal triggers as the source for a particular channel such as channel 2 TRIG SOUR INT2 and then tried to enable one of the limit checking features on channel 2 221 Data out of range 224 Settings conflict Illegal parameter value CALC2 LIM UPP STAT ON A numeric parameter value is outside the valid range for the command Example digitizer is on the 1V range and you send TRIG LEV 3 A discrete p
100. errupt Level Channel 3 register 135 Trigger Interrupt Level Channel 4 register 136 triggering 37 verification tests 151 WRITE registers 124 Zero Adjustment procedures 165 Zero Offset verification test 154 digitizers application examples 42 documentation history 10 E E1563A gain adjustment 166 E1564A gain adjustment 167 error messages 145 calibration errors 149 execution errors 145 self test errors 149 examples Digitizer Self Test 153 Initial Operation 30 Master Module Configuration 39 Sampling Using Immediate Triggering 43 Slave Module Configuration 40 Three Wire Connections Bridge 25 Three Wire Connections Voltage Measure 26 Triggering Using External Triggering 44 Triggering Using Internal Level Trigger 43 Two Wire Connections Coaxial Cable 26 Two Wire Connections Differential Source 27 F FIFO High Word Low Word registers 128 Filter Bandwidth verification test 157 format common Commande 45 FORMat subsystem FORMat DATA 72 FORMat DATA 72 front panel features 14 functional verification test 153 G Gain Verification test 156 l ID register 126 implied commands 46 initial operation 30 INITiate subsystem INITiate CONTinuous 73 INITiate CONTinuous 74 INITiate IMMediate 74 input overload condition 36 INPut subsystem INPut FILTer LPASs FREQ 75 INPut FILTer LPASs FREQ 75 INPut FILTer LPASs STATe 76 INPut FlLTer LPASs STATe 76 INPut
101. ers 0 0 0 0 cee eee 19 e User Cabling Connections 0 0000 eee eee 23 Ita Operon 24 5 202 300 e ds raza 30 Digitizers Description The E1563A 2 channel and E1564A 4 channel Digitizers are 800 kSample second 14 bit resolution digitizers capable of handling both continuous and transient voltages up to 256V You cannot upgrade an E1563A 2 Channel Digitizer to an E1564A 4 Channel Digitizer General Information Both the E1563A and E1564A digitizers are register based instruments that can be programmed at the register level see Appendix C or at a higher level using SCPI or VXIplug 8play drivers The digitizers are ideal for measurements in electomechanical design characterization particularily in environments with high levels of electrical noise and for characterizing electronic and mechanical transient waveforms The E1563A 2 Channel Digitizer has a fixed 25 kHz input filter per channel that can be enabled The E1564A A Channel Digitizer has four selectable input filters per channel 1 5 kHz 6 kHz 25 kHz and 100 kHz that can be enabled The E1564A A Channel Digitizer has a calibration bus output High Low and Guard and a programmable short The E1563A 2 Channel Digitizer does not have a calibration bus output However a programmable short is provided for each channel An external calibration source must be provided for calibration Both digitizers use PC SIMM memory Memory sizes that are supported are
102. fied by service trained personnel If necessary return the product to Agilent for service and repair to ensure that safety features are maintained DO NOT service or adjust alone Do not attempt internal service or adjustment unless another person capable of rendering first aid and resuscitation 1s present DO NOT substitute parts or modify equipment Because of the danger of introducing additional hazards do not install substitute parts or perform any unauthorized modification to the product Return the product to Agilent for service and repair to ensure that safety features are maintained 10 DECLARATION OF CONFORMITY According to ISO IEC Guide 22 and CEN CENELEC EN 45014 D LU Ka Agilent Technologies Manufacturer s Name Agilent Technologies Incorporated Manufacturer s Address 815 14f ST SW Loveland CO 80537 USA Declares that the product Product Name 2 Channel and 4 Channel Digitizers Model Number E1563A E1564A Product Options This declaration covers all options of the above product s Conforms with the following European Directives The product herewith complies with the requirements of the Low Voltage Directive 73 23 EEC and the EMC Directive 89 336 EEC including 93 68 EEC and carries the CE Marking accordingly Conforms with the following product standards EMC Standard Limit IEC 61326 1 1997 A1 1998 EN 61326 1 1997 A1 1998 Group 1 Class A CISPR 11 1990 EN 55011 1991 4kV CD 8kV AD IEC 6
103. ge memory SIMM and replace it with the standard 4 Mbyte SIMM shipped with the product 4 Add your replacement SIMM to the module s RAM socket 5 Reinstall the modules top shield 6 Note the new memory configuration by checking the appropriate box on the module s top shield 7 Set the CALIBRATION CONSTANTS switch and the FLASH switch to the Write Enable position 8 Install the module in the mainframe and apply power 9 Set the new RAM memory size by sending DIAGnostic MEMory SIZE lt size gt 10 Query the memory size to verify the setting by sending DIAGnostic MEMory SIZE 11 Remove mainframe power remove the module and set the CALIBRATION CONSTANTS and FLASH switches back to the Read Only position 12 Reinstall the module in the mainframe WARNING TIGHTEN THE FACEPLATE SCREWS Tighten the faceplate mounting screws to prevent electric shock in case of equipment or field wiring failure 20 Configuring the Digitizer Modules Chapter 1 Setting the Logical Address Switch NOTE Setting the Interrupt Chapter 1 Line The E1563A and E1564A Digitizers are shipped from the factory with logical address 40 Valid logical address are from 1 to 254 for static configuration the address you set on the switch and address 255 for dynamic configuration The E1563A and E1564A do not support dynamic configuration of the address If you install more than one digitizer each module m
104. gister STATus OPERation ENABle STATus OPERation ENABle lt unmask gt enables unmasks bits in the OPERration Status Enable Register to be reported to the summary bit setting Status Byte Register bit 7 true The event register bits are not reported in the Status Byte Register unless specifically enabled STATus OPERation ENABle STATus OPERation ENABle returns a decimal weighted number representing the bits enabled in the OPERation Status Enable Register signifying which bit s will set OPR bit 7 in the Status Byte Register Chapter 3 Digitizers Command Reference 95 STATus OPERation EVENt STATus OPERation EVENt returns a decimal weighted number representing the bits set in the OPERation Status Event Register This command clears all bits in the Event Register when executed STATus PRESet STATus PRESet affects only the OPERation Status Enable Register and the QUEStionable Status Enable Register by setting all Enable Register bits to 0 ltdoes not affect the Status Byte Register or the Standard Event Status Register STATus PRESet does not clear any of the Event Registers STATus QUEStionable CONDition STATus QUEStionable CONDition returns a decimal weighted number representing the bits set in the QUEStionable Status Condition Register STATus QUEStionable ENABle STATus QUEStionable ENABle lt unmask gt enables unmasks bits in the QUEStionable Status Enable Register to be reported to the summary bit setti
105. gle binary condition that is either true or false ON OFF 1 0 Any non zero value is considered true 46 Digitizers Command Reference Chapter 3 Linking Commands Discrete Selects from a finite number of values These parameters use mnemonics to represent each valid setting An example is the TRIGger SOURce lt source gt command where lt source gt can be BUS EXTernal HOLD IMMediate or TTLTrgn Numeric Commonly used decimal representations of numbers including optional signs decimal points and scientific notation Examples are 123 123E2 123 1 23E2 123 1 23E 2 1 23000E 01 Special cases include MINimum MAXimum DEFault and INFinity Optional Parameters shown within square brackets are optional parameters The brackets are not part of the command and are not sent to the instrument If you do not specify a value for an optional parameter the instrument chooses a default value For example consider the TRIGger LEVel lt chan gt MIN MAX command If you send the command without specifying a MINimum or MAXimum parameter the present TRIGger LEVel value is returned for the specified channel If you send the MIN parameter the command returns the minimum trigger level allowable If you send the MAX parameter the command returns the maximum trigger level allowable Be sure to place a space between the command and the parameter Linking IEEE 488 2 Common Commands with SCPI Commands Use only a sem
106. gram readability you may send the entire command The instrument will accept either the abbreviated form or the entire command For example if the command syntax shows CALCulate then CALC and CALCULATE are both acceptable forms Other forms of CALCulate such as CALCU or CALCUL will generate an error Additionally SCPI commands are case insensitive Therefore you may use upper or lower case letters and commands of the form CALCULATE calculate and CaLcUIAtE are all acceptable Implied Commands Implied commands are those which appear in square brackets in the command syntax Note that the brackets are not part of the command do not send them to the instrument Suppose you send a second level command but do not send the preceding implied command In this case the instrument assumes you intend to use the implied command and it responds as if you had sent it Examine the partial SENSe subsystem shown below GEN Ge VOLTage DC RANGe lt range gt MIN MAX VOLTage DC RANGe MIN MAX The root command SENSe is an implied command and so is the third level command DC For example to set the digitizer s DC voltage range to MAX you can send one of the following three command statements SENS VOLT DC RANG MAX VOLT DC RANG MAX VOLT RANG MAX Parameters ParameterTypes The following table contains explanations and examples of parameter types you might see later in this chapter Explanations and Examples Boolean Represents a sin
107. ible is a protective measure keeping an operator from inadvertent or unknowing contact with these harmful voltages Cables and connectors are considered inaccessible if a tool e g screwdriver wrench socket etc or a key equipment in a locked cabinet is required to gain access to them Additionally the operator cannot have access to a conductive surface connected to any cable conductor High Low or Guard ADEQUATE INSULATION IS REQUIRED Assure the equipment under test has adequate insulation between the cable connections and any operator accessible parts doors covers panels shields cases cabinets etc Verify there are multiple and sufficient protective means rated for the voltages you are applying to assure the operator will NOT come into contact with any energized conductor even if one of the protective means fails to work as intended For example the inner side of a case cabinet door cover or panel can be covered with an insulating material as well as routing the test cables to the module s front panel connectors through non conductive flexible conduit such as that used in electrical power distribution TIGHTEN MOUNTING SCREWS Tighten the faceplate mounting screws after installing the module in the mainframe to prevent electric shock in case of equipment or field wiring failure Configuring the Digitizer Modules 17 CAUTION OVERVOLTAGE PROTECTION To prevent equipment damage do not connect this equipme
108. ice Type register 126 DIAGnostic subsystem DIAGnostic DAC GAIN 63 65 DIAGnostic DAC OFFSet 64 DIAGnostic DAC OFFSet RAMP 64 DIAGnostic DAC SOURce 65 DIAGnostic DAC SOURce RAMP 65 DIAGnostic INTerrupt LINE 66 DIAGnostic INTerrupt LINE 66 DIAGnostic MEMory SIZE 66 DIAGnostic MEMory SIZE 67 DIAGnostic PEEK 67 DIAGnostic POKE 69 DIAGnostic SHORt 70 DIAGnostic SHORt 70 DIAGnostic STATus 70 Index 169 D continued digitizers accuracy 158 adding RAM 19 addressing registers 121 adjustment procedures 164 adjustments 163 application examples 42 base address 122 block diagram 33 cable connector assembly 27 cabling considerations 23 calibration 163 calibration bus output port 24 Calibration Flash ROM Address register 131 Calibration Flash ROM Data register 132 calibration intervals 163 Calibration Source register 132 channel block diagram 34 command types 45 configuring 19 CVTable Channel 1 register 130 CVTable Channel 2 register 130 CVTable Channel 3 register 131 CVTable Channel 4 register 131 description 13 Device Type register 126 E1563A front panel features 15 E1563A gain adjustment 166 E1564A front panel features 16 E1564A gain adjustment 167 error messages 145 external trigger input port 24 external triggering 38 FIFO High Word Low Word registers 128 Filter Bandwidth verification test 157 front panel features 14 Gain Verification performance test 156 ID register 12
109. icolon between the commands such as RST OUTP TTLT4 ON or SAMP COUNt 25 WAI Linking Multiple SCPI Commands From the Same Subsystem Use only a semicolon between commands within the same subsystem For example to set trigger level trigger slope and the trigger source which are all set using the TRIGger subsystem send the SCPI string TRIG LEVel 1 5 SLOPe NEG SOURce EXT Linking Multiple SCPI Commands of Different Subsystems Use both a semicolon and a colon between commands of different subsystems For example a SAMPle and OUTPut command can be sent in the same SCPI string linked with a semicolon and colon as SAMP COUNt 10 OUTP TTLT4 ON SCPI Command Reference Chapter 3 This section describes the Standard Commands for Programmable Instruments SCPI commands for the E1563A and E1564A Digitizers Commands are listed alphabetically by subsystem and within each subsystem Digitizers Command Reference 47 ABORt This command aborts a measurement in progress or stops a measurement being made continuously The command is ignored without error if a measurement is not in progress This command also aborts a calibration in progress and will set the CAL STATe to OFF Subsystem Syntax ABORt Comments Determining Readings Taken Before ABORt Use DATA COUNt to determine how many readings were taken before ABORt was received ABORt Settings ABORt does not affect any instrument settings and is executable when initiated ABORt
110. ified This address consists of a base address plus a register offset The base address used in register based programming depends on whether the A16 address space is outside or inside the E1406 Command Module Figure B 1 shows the register address location within A16 as it might be mapped by an embedded controller Figure B 2 shows the location of A16 address space in the E1406 Command Module A16 Address Space When the E1406 Command Module is not part of your VXIbus system see Outside the Command Figure B 1 the digitizer s base address is computed as Module C00046 LADDR 64 4g or 49 152 LADDR 64 where C0004 49 152 is the starting location of the register addresses LADDR is the digitizer s logical address and 64 is the number of address bytes per VXI device For example the digitizer s factory set logical address is 40 2846 If this address is not changed the digitizer will have a base address of C000 6 40 di 64 16 C000i A0046 CA00i or decimal 49 152 40 64 49 152 2560 51 712 A16 Address Space When the A16 address space is inside the E1406 Command Module Inside the Command see Figure B 2 the digitizer s base address is computed as Module or Mainframe von LADDR 64 6 or 2 080 768 LADDR 64 where 1FC000 g 2 080 768 is the starting location of the VXI A16 addresses LADDR is the digitizer s logical address and 64 is the number of address bytes per register based de
111. irena 67 ENEE EEN 67 IN AA ai iberia 69 Esa A a a 70 E AAA 70 O STATUS anar do oia aa 70 S A A 72 EL IAEA an 72 PO IAEA dates aan 72 ELE E EE IE NET PAE PTEE EE S AE 13 INTAG 0 EE Ze INITiate CONTINUOUS rara EE iia 74 LIRE RO TT WEEN 14 INF UCFILTOCLFA SSI FRE caracas 75 IMPUEPIL CNR e asii 75 Lie e I csi iii dt 76 PS ros IS I rra ri 76 AA A A 76 SO AAA A PPP A 76 E A A no UP PEO E A 77 e EN TL Ee E A 17 e AA A AAA PP 77 E ANA O PAP 78 AA A 78 A A RE O Ann mney Eyer rene Tr etree erect re 79 A eegene 79 Be AAA EE E AE A AA N N 80 leg Er isis 80 SANPFPLe PRE Mogge COUNT sais 80 SANS PRE TIJS COUNIT acid A 81 A E E A E E EN EA E E E 82 E A A 82 ENEE parir 82 A O EE 83 SET NEE geet 84 A T E 84 a A A T E 85 A ES 85 a e KO Nr manel 87 Ea rr o A EA NEA 88 SENSE DAL AO rana 88 SENSe ROSCillator EXTernal FREQUeNCY ENER 89 SENSe ROSCillator EXTernal FREQuency ocooocccoccoconocononcnccncnonnnonononanonanoss 89 SENSE IROS che OUR EE 90 SENSE UE e ee 90 SENSO JSWEep OFFS6tPOINIS car i n 91 SENSE ERR POIS apra 91 Ea AAA 91 NOA ek D tna 91 SENSe VOLTage lt channel gt DC RANGE oocoocccoccccccccccccncncoccconcnoncnoncnonnnonannos 92 SENSe VOLTage lt channel gt DC RANG cccccccsecceeeceseeseeeseeesseeeaeess 92 SENSe VOLTage lt channel gt DC RESOIUtION ooccoccccocccocccoccccoccccncnnnnoos 92 A A E T EE 93 aans o ren MA 93 STATUS O PERITO Pa LION mois 95 STA
112. ister base 20 g Cache Count Register base 22 Range Filter Connect Chs 1 and 2 Register base 24 Range Filter Connect Chs 3 and 4 Register base 2646 Trigger Interrupt Level Channel 1 Register base 2846 Trigger Interrupt Level Channel 2 Register base 24 Trigger Interrupt Level Channel 3 Register base Ziel Trigger Interrupt Level Channel 4 Register base 2E Sample Period High Word Register base 30 Sample Period Low Word Register base 32 g Pre Trigger Count High Register base 34 g Pre Trigger Count Low Register base 36 Post Trigger Count High Register base 3846 Post Trigger Count Low Register base 3A Trigger Control Source Register base Ziel Sample Control Source Register base 3E DIAG PEEK 4 or DIAG PEEK 5 may cause an error if they are read before data has been taken 68 Digitizers Command Reference Chapter 3 DIAGnostic POKE Parameters Comments Chapter 3 DIAGnostic POKE lt reg_number gt lt data gt places the specified value in the specified register Name Type Range of Values Default Value numeric 32768 to 32767 none signed integer O to 65535 unsigned integer Writing to Registers See Appendix B for register bit definitions You can write to the following digitizer registers using the register number For example to write to the Range Filter Connect Channels 1 and 2 register to set channel 1 and 2
113. it Function O EE EE void wait int wait_seconds wait for specified period in seconds d time_t current_time time_t entry_time fflush stdout if 1 time amp entry_time lt printf Call failed exiting n exit 1 do if 1 time amp current_time lt printf Call failed exiting n exit 1 b while current_time entry_time lt time_t wait_seconds fflush stdout y end of wait function 144 Register Based Programming Appendix B Appendix C Digitizers Error Messages This appendix describe the types of errors the E1563A and E1564A report Execution Errors Self Test Errors and Calibration Errors Execution Errors 101 Invalid character An invalid character was found in the command string You may have inserted a character such as H or in the command header or within a parameter Example INP FILT FREQ 6E3 102 Syntax error Invalid syntax was found in the command string You may have inserted a blank space before or after a colon in the command header or before a comma Example SAMP COUN 1 103 Invalid separator An invalid separator was found in the command string You may have used a comma instead of a colon semicolon or blank space you may have used a comma where none was required or you may have used a blank space instead of a comma Example TRIG LEV 1 or DATA 400 1 104 Data type error The wrong parameter type was found in the command string You may ha
114. ite EI ES su bit 13 1 sets Motorola format for reading ordering 0 sets Intel format for reading ordering bit 15 na 4 enables A32 decoding 0 enables A24 decoding S E F bit 12 1 sets A24 space as all FIFO 0 sets A24 space as broken up A READ BITS Status Control Register bit O Reset Status 1 module reset 0 normal operation bit 1 SYSFAIL inhibit 1 inhibited 0 not inhibited bit 2 MIN Passed 1 passed 0 failed bit 3 bits 4 4 5 Bit 4 is 1 for 1 msec after a range filter change then returns to 0 bit 5 is 1 Delay for 30 msec after range filter change then returns to 0 Error 1 disables front panel error LED 0 enables front panel error LED Flash ROM 1 disables Flash ROM write 0 enables Flash ROM write bits 8 9 Memory Memory Size 000 4 MBytes 001 8 MBytes 010 16 MBytes 011 32 MBytes and 10 Size 100 64 MBytes 101 128 MBytes bit 12 1 sets A24 space as all FIFO 0 sets A24 space as broken up bit 13 1 Motorola big endian byte swapping 0 Intel little endian byte swapping INTEL bit 14 MODID bit if the bit is 0 module has been selected bit 15 A24 A32 enable 1 A32 decoding enabled 0 A24 decoding enabled Reading the Register Via Command Module PEEK command DIAG PEEK
115. libration Bus Output connector Measuring Calibration Voltage From the Calibration Bus Output connector you must measure the voltage with a transfer standard accurate voltmeter and enter the measured value using the CAL VALue command The calibration gain command then sets calibration constants for the value you input assuming it is the value on the calibration bus Digitizers Command Reference 57 Executable when initiated NO Coupled Command NO Reset RST Condition EXTernal CALibration SOURce CALibration STATe NOTE CALibration STATe CALibration SOURce queries which calibration source is set This setting is shared by all channels Returns INT for INTernal or EXT for EXTernal CALibration STATe ON 1 OFF 0 enables the calibration of the instrument Many instrument operations are not allowed when this state is ON and will result in an error Illegal while calibrating You must set the calibration state to OFF when calibration is finished Sending CAL STAT OFF without storing any modified cal constants with the CAL STORe command will generate an error Send the ABORt or RST command to abort a calibration without storing cal constants Executable when initiated NO Coupled Command NO Reset RST Condition OFF CALibration STATe queries the present calibration state of the instrument A return value of 1 indicates the instrument is enabled and will accept calibration commands and pe
116. lt num_bytes gt is the number of data bytes which immediately follow the lt num_bytes gt field Reset RST Condition FORMat DATA ASCII FORMat DATA FORMat DATA queries the type of output format set for measurement data The command returns ASC 7 PACK 16 or REAL 64 where ASC amp indicates ASCII data with seven significant digits ASC 7 indicates ASCII data with seven significant digits PACKed 16 indicates the format is signed 16 bits and REAL 64 indicates data is IEEE 754 64 bit real numbers 72 Digitizers Command Reference Chapter 3 INITiate Subsystem Syntax INITiate CONTinuous Chapter 3 Comments The INITiate subsystem controls the initiation of the trigger system and prepares the Digitizer to take voltage measurements Once a trigger is received from the programmed source TRIGger SOURce measurements begin on all channels Normally all measurement setup setting measurement ranges sample count and trigger sources etc should be done before this command is sent Sending this command will cause the Digitizer to begin the measurement process INITiate CONTinuous ON 1 OFF 0 CONTinuous IMMediate INITiate CONTinuous ON 1 OFF 0 is used to start or stop a continuous measurement INITiate Process The INITiate CONTinuous process is 1 The ON 1 setting starts a measurement with an infinite sample count After initiation the Digitizer enters the wait f
117. lue 8M 8 388 608 16 777 216 33 554 432 67 108 864 DIAGnostic PEEK lt reg_number gt queries the specified register and returns the contents of the register Name Type Range of Values Default Value reg_number numeric 0 to 31 none Reading Registers See Appendix B for register bit definitions You can read the following digitizer registers using the register number For example to read the Manufacturers ID register execute DIAG PEEK 0 This returns 12289 decimal or FFFFFCFFF hexadecimal The three least significant characters FFF indicates a Hewlett Packard A16 register based module Digitizers Command Reference 67 reg _ number 0 1 2 3 ya bo 30 31 Register Description base register offset Manufacturer ID Register base 00 g Device Type Register base 02 g Status Control Register base 04 Offset Register base 06 g FIFO High Word Register base 08 FIFO Low Word Register base 0Aj Interrupt Control Register base 0Cj Interrupt Sources Register base 0E CV Table Channel 1 Register base 10 g CVTable Channel 2 Register base 12 g CVTable Channel 3 Register base 14 CVTable Channel 4 Register base 16 g Samples Taken High Word Register base 18 g Samples Taken Low Word Register base 1Aj Calibration Flash ROM Address Register base 1C g Calibration Flash ROM Data Register base 1E g Calibration Source Reg
118. meric see Comments volts 104 Digitizers Command Reference Chapter 3 Comments TRIGger LEVel TRIGger MODE Chapter 3 Parameters Comments Changing Ranges The present range setting will determine the maximum and minimum values that can be entered without error Changing range will keep the level at the same percentage of the new range For example if level is set to 2 0 on the 4V range the level is set to 8 0 if you change to the 16V range 50 of full range Setting Levels Changing ranges will change an existing level to the same percent of full scale on the new range For example if an 8 0 level is set on the 16V range and the range is then changed to the 4V range the level attempts to change to 2 0V still 50 However for this range this action causes an error message to be generated and the new level is set to the maximum or minimum the new range will support Trigger Slopes TRIG SLOPe specifies the direction of signal movement through which the level will trigger the digitizer TRIG SLOPe POSitive causes a trigger when the signal passes through the level and rises above the specified level TRIG SLOPe NEGative causes a trigger when the signal passes through the level and falls below the specified level Executable when initiated NO Coupled command YES Range setting Reset RST condition 0 00 on all channels TRIGger LEVel lt channel gt queries the value of the trigger level set on the specified channel
119. ming you that the data is questionable Overload detected data questionable An error message is also returned when you initiate the next measurement Overload detected attempting re connect of input relays NOTE Relays open at approxiately 260V If this happens you must reprogram the input range to close by executing INP lt channel gt ON 36 Using the Digitizers Chapter 2 Triggering the Digitizers Trigger Sources NOTE Using Internal Chapter 2 Triggering This section describes digitizer triggering including e Trigger Sources Using Internal Triggering Using External Triggering e Master Slave Operation Triggering digitizer readings across all input channels is accomplished with one or both of the two trigger sources TRIGger SOURce1 and TRIGger SOURce2 The trigger event can be different for each source For example SOURce1 can be EXT and SOURce2 can be TTLTO Use TRIG SOURce lt n gt to set the trigger source event options which can be OFF BUS EXT HOLD IMMEDIATE INTernal1 4 TTLTO 7 You must execute TRIG SOURce lt n gt two times to set both trigger sources TRIG SOUR1 and TRIG SOUR2 At power up and after resetting the module with RST TRIG SOUR1 defaults to IMM and TRIG SOUR2 defaults to HOLD The number of readings set by SAMPIe COUNt are taken after the trigger event occurs Do not confuse TRIG SOUR1 as being associated with only channel 1 as well as TRIG SOUR2 with only channel 2 B
120. mperature of the test area is between 18 C and 28 C and stable to within 1 C e Ambient relative humidity of the test area is lt 80 Must have a one hour warm up with all input signals removed e Shielded twisted Teflon insulated cable or other high impedance low dielectric absorption cable is recommended for all measurements e Keep cables as short as possible Long test leads can act as an antenna causing pick up of ac signals and contributing to measurement errors Follow each adjustment by a performance verification test for added confidence We recommend the following general procedure 1 Perform the Zero Adjustment Procedure 2 Perform the Gain Adjustment Procedure s 3 Perform the Performance Verification Tests ORDER OF ADJUSTMENTS REQUIREMENT Range adjustments MUST be performed in the order given in the adjustment table An accurate range adjustment requires the range adjustments prior to the one in progress be within specification ZERO ADJUSTMENT REQUIREMENT The zero adjustment must be a recent adjustment prior to performing the gain adjustments It is recommended you perform the zero adjustment one time just before performing the gain adjustments Appendix E CAUTION NOTE Zero Adjustment Appendix E CAUTION ABORTING AN ADJUSTMENT IN PROGRESS Sometimes it becomes necessary to abort an adjustment once the procedure has been initiated Issuing a remote interface device clear command will abor
121. n Operation Complete Command Operation Complete Query Wait to Continue Command Clear Status Command Standard Event Status Enable Cmd Standard Event Status Enable Query Standard Event Status Register Query Service Request Enable Command Service Request Enable Query Read Status Byte Query When the digitizer is in the wait for trigger state and the trigger source is TRIGger SOURce BUS use TRG to trigger the digitizer Digitizers Command Reference 109 CLS Comments ESE and ESE Parameters Comments CLS clears the Standard Event Status Register the OPERation Status Register the QUEStionable Signal Register and the Error Queue This clears the corresponding summary bits bits 3 5 and 7 in the Status Byte Register CLS does not affect the enable unmasks of any of the Status Registers Executable when initiated No Coupled command No Related Commands STATus PRESet Reset RST condition None ESE lt unmask gt enables unmasks one or more event bits of the Standard Event Status Register to be reported in bit 5 the Standard Event Status Summary Bit of the Status Byte Register A 1 in a bit position enables the corresponding event and a 0 disables it For example ESE 60 enables error events unmask is the sum of the decimal weights of the bits to be enabled allowing these bits to pass through to the summary bit ESB bit 5 in the Status Byte Register The query form returns the current enable
122. n reading err ViIn16 digitizer VI_A16_SPACE 0x0A amp cache_reg if err lt VI_SUCCESS err_handler digitizer err reading double cache_reg 4 32768 printf channel 2 lf Voltsin reading E1564A only for channels 3 and 4 comment out for E1563A err ViIn16 digitizer VI_A16_SPACE 0x08 amp cache_reg if err lt VI_SUCCESS err_handler digitizer err reading double cache_reg 4 32768 printf channel 3 lf Volts n reading err ViIn16 digitizer VI_A16_SPACE 0x0A amp cache_reg if err lt VI_SUCCESS err_handler digitizer err reading double cache_reg 4 32768 printf channel 4 lf Volts n reading end of if statement reset the digitizer reset digitizer err printf nHP E1563A E15644 is reset Close session ViClose digitizer ViClose defaultRM b Reset Function EE void reset ViSession digitizer ViStatus err reset the digitizer write a 1 to status bit 0 delay 1 second for reset then set bit back to 0 to allow module to operate d Appendix B Register Based Programming 143 write a 1 to the reset bit then set the bit back to 0 err ViOut16 digitizer VI_A16_SPACE 0x04 1 set reset bit to 1 if err lt VI_SUCCESS err_handler digitizer err wait 1 err ViOut16 digitizer VI_A16_SPACE 0x04 0 set reset bit to 0 if err lt VI_SUCCESS err_handler digitizer err return Wa
123. nate which source you are setting the slope Use n 1 for the slope of trigger source number 1 and n 2 for the slope of trigger source number 2 Trigger slope defaults to n 1 if lt n gt is not designated Executable when initiated YES Coupled command TRIG SOURce INT1 4 and TRIG SOURce EXTernal Reset RST condition SLOPe1 POSitive and SLOPe2 POSitive 106 Digitizers Command Reference Chapter 3 TRIGger SLOPe lt n gt Parameters TRIGger SLOPe lt n gt queries the present setting for the slope of the trigger signal for the trigger source 1 or 2 specified Trigger slope for source number 1 is returned if lt n gt is not designated Trigger slope applies only for TRIG LEVel when the trigger source is INTernal or EXTernal The command returns POS or NEG Name Type Range of Values Default Value lt n gt numeric 1 or 2 none TRIGger SOURce lt n gt Chapter 3 Parameters Comments TRIGger SOURce lt n gt BUS EXTernal HOLD IMMediate INTernal1 4 TTLTO 7 sets the source of the trigger for all channels or can disable the trigger source The command defaults to trigger source number 1 if lt n gt is not designated Two trigger sources are allowed TRIG SOUR1 and TRIG SOUR2 which are common to ALL channels on the E1563A and E1564A SOURT1 is not associated only with channel 1 and SOUR2 is not associated only with Channel 2 Name Type Range of Values Default Value l
124. ncidental use 5 The warranty period begins on the date of delivery or on the date of installation if installed by Agilent If customer schedules or delays Agilent installation more than 30 days after delivery warranty begins on the 31st day from delivery 6 Warranty does not apply to defects resulting from a improper or inadequate maintenance or calibration b software interfacing parts or supplies not supplied by Agilent c unauthorized modification or misuse d operation outside of the published environmental specifications for the product or e improper site preparation or maintenance 7 TO THE EXTENT ALLOWED BY LOCAL LAW THE ABOVE WARRANTIES ARE EXCLUSIVE AND NO OTHER WARRANTY OR CONDITION WHETHER WRITTEN OR ORAL IS EXPRESSED OR IMPLIED AND AGILENT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OR CONDITIONS OF MERCHANTABILITY SATISFACTORY QUALITY AND FITNESS FOR A PARTICULAR PURPOSE 8 Agilent will be liable for damage to tangible property per incident up to the greater of 300 000 or the actual amount paid for the product that is the subject of the claim and for damages for bodily injury or death to the extent that all such damages are determined by a court of competent jurisdiction to have been directly caused by a defective Agilent product 9 TO THE EXTENT ALLOWED BY LOCAL LAW THE REMEDIES IN THIS WARRANTY STATEMENT ARE CUSTOMER S SOLE AND EXLUSIVE REMEDIES EXCEPT AS INDICATED ABOVE IN NO EVENT WILL AGILENT OR ITS SU
125. nd connect the standard to the digitizer s channel 1 Perform the filter bandwidth measurement using INITiate Retrieve the reading using DATA 1 1 Record the result on the Performance Test Record and verify the result is within specified limits Move the AC Standard output to the channel 2 input Perform the filter bandwidth measurement using INITiate Retrieve the reading using DATA 1 2 Verify the result is within specified limits and record the result Repeat Steps 2 through 4 for channels 3 and 4 on the E1564A 4 Channel Digitizer using VOLT3 RANG 1 INPut3 FILTer FREQ 25e3 INPut3 FILTer STATe ON VOLT4 RANG 1 INPut4 FILTer FREQ 25e3 INPut4 FliLTer STATe ON E1564A 4 Channel Digitizer Test the remaining three filters present on the E1564A 4 Channel Digitizer Repeat steps 2 through 5 for the remaining three input frequencies in Table D 5 for channels 3 and 4 NOTE This requires you change input filters before you begin testing by executing the INPut lt channel gt FiLTer FREQ lt filter_frequency gt command Also Step 3 requires DATA 1 3 and Step 5 requires DATA 1 4 Table D 5 Filter Bandwidth Verification Test Points E1563A RANGE INPUT INPUT FREQ Error from input value iV 26 kHz 3 08 2208 E1564A RANGE INPUT INPUT FREQ Error from input value y 25 Ki PER iV SS 34B 245 100 kHz 3 dB 2 dB Appendix D Digitizers Verification Tests 157 Performance Test Record The Performance Test Record for
126. nd tested using Microsoft Visual C Version 1 51 for the C programs All C language example programs are written for the 82341 GPIB Interface Card using the Agilent VISA I O Library Programming All projects written in C programming language require the following Requirements Microsoft Visual C Version 1 51 settings to work properly Project Type QuickWin application EXE Project Files lt source code file name gt C drive VXIPNP WIN LIB MSC VISA LIB Microsoft compiler drive VXIPNP WIN LIB BC VISA LIB Borland compiler Memory Model Options Project Compiler Memory Model gt Large Directory Paths Options Directories Include File Paths drive VXIPNP WIN INCLUDE Library File Paths drive VXIPNP WIN LIB MSC Microsoft drive VXIPNP WIN LIB BC Borland Example programs On the Universal Instrument Drivers CD NOTE You can find instructions to compile C language programs for a PC in the Agilent VISA User s Guide See the section Compiling and Linking a VISA Program Hardware Used PC running Windows with an 82341 GPIB interface The VXI modules are installed in a VXI C Size mainframe An E1406A Command Module is the resource manager and is connected to the PC via an 82341 GPIB card 42 Using the Digitizers Chapter 2 Making Digitizer Measurements Example Sampling Using Immediate Triggering Example Triggering Using Internal Level Chapter 2 Trigger
127. nds are RST ESR32 STB The SCPI commands perform functions such as making measurements querying instrument states or retrieving data The SCPI commands are grouped into command subsystem structures A command subsystem structure is a hierarchical structure that usually consists of a top level or root command one or more low level commands and their parameters The following example shows the root command CALibration and its lower level subsystem commands CALCulate LIMit FAIL LIMit LOWer STATe ON 1 OFF 0 LIMit LOWer STATe LIMit LOWer DATA lt value gt LIMit LOWer DATA LIMit UPPer STATe ON 1 OFF 0 LIMit UPPer STATe LIMit UPPer DATA lt value gt LIMit UPPer DATA Digitizers Command Reference 45 CAL Culate is the root command LIMit is a second level command FAIL LOWer and UPPer are third level commands and DATA DATA STATe and STATe are fourth level commands Command Separator A colon always separates one command from the next lower level command such as CALCulate LIMit FAIL Colons separate the root command from the second level command CALCulate LIMit and the second level from the third level LIMit FAIL Abbreviated Commands The command syntax shows most commands as a mixture of upper and lower case letters The upper case letters indicate the abbreviated spelling for the command For shorter program lines send the abbreviated form For better pro
128. ned SAMPle SOURce INTernal if not a correct multiple of 1E 7 will be rounded to the nearest value that can be attained by the internal clock The maximum sample rate with the internal 10 MHz reference oscillator is 1 1 3 psec 769 23 KSa sec since the 10 MHz clock resolution is 0 1 psec and an integer number of clock tics that gives gt 1 25 psec must be used An external reference oscillator with a frequency that is a multiple of 800 MHz must be used to obtain the 800 KSa sec maximum sample rate Executable when initiated NO Coupled command YES The value is changed to the nearest possible value if an external reference is specified Reset RST condition 0 0000013 1 3 usec SAMPle TlMer MIN MAX queries the sample interval when the sample source is TlMer 84 Digitizers Command Reference Chapter 3 SENSe Subsystem Syntax SENSe DATA Parameters Chapter 3 The SENSe command subsystem is used to change low level parameters such as voltage range sweep and sweep offset points and to set the reference oscillator source and frequency It is also used to obtain measurement data from the module SENSe DATA lt rdgs_per_channel gt channel_list DATA ALL lt rdgs_per_channel gt DATA COUNt DATA CV Table channel_list ROSCillator EXTernal FREQuency lt freq gt l ROSCillator EXTernal FREQuency ROSCillator SOURce INTernal EXTernal ROSCillator SOURce SWEep OFFSet POINts lt neg_value gt MI
129. ng Status Byte Register bit 3 true The Event Register bits are not reported in the Status Byte Register unless specifically enabled STATus QUEStionable ENABle STATus QUEStionable ENABle returns a decimal weighted number representing the bits enabled in the QUEStionable Status Enable Register signifying which bits will set QUE bit 3 in the Status Byte Register STATus QUEStionable EVENt STATus QUEStionable EVENt returns a decimal weighted number representing the bits set in the QUEStionable Status Event Register This command clears all bits in the Event Register when executed 96 Digitizers Command Reference Chapter 3 SYSTem Subsystem Syntax SYSTem ERRor Comments SYSTem VERSion Chapter 3 The SYSTem command subsystem returns error numbers and their associated messages from the error queue You can also query the SCPI version for this instrument SYSTem ERRor VERSion SYSTem ERRor returns the error numbers and corresponding error messages in the error queue See Appendix C for a listing of the error numbers messages and descriptions Error Queue Operation When an error is generated by the digitizer it stores an error number and corresponding message in the error queue One error is removed from the error queue each time SYSTem ERRor is executed FIFO Error Clearing The errors are cleared in a first in first out order If several errors are waiting in the queue each SYSTem ERRor query re
130. nnel 3 4 Connect Register bits 0 2 and Gain 8 10 Code bits 3 short3 and 11 short4 bits 4 6 and 12 14 bits 7 and Connect 15 Code These bits set the gain of the input channel by the codes shown below 000 62 5 mV range 001 0 25V range 010 1 0V range 011 4 0V range 100 16V range 101 64V range 110 256V range also 111 256V range These bits connect an internal short to the channel inputs when the bit is 1 When it is 0 bits 7 amp 15 connect the channel to the input or the calibration bus These bits set the input channel filter cut off frequency by the codes shown below 000 1 5 kHz 001 6 kHz 010 25 kHz 011 100 kHz 111 NO filter This bit connects the input channel to the front panel connector Connect Code 0 or to the calibration bus Connect Code 1 Trigger Interrupt This register provides 8 bit data corrected for offset and gain in 2 s Level Channel 14 complement format Register SRP EXERC WS DEENEN WRITE READ BITS Trigger Interrupt Level Channel 1 Register Greater than or Less than 0 gt 1 lt bits 15 8 D7 DO data bits 134 Register Based Programming Appendix B Trigger Interrupt This register provides 8 bit data corrected for offset and gain in Ze Level Channel 2 complement format Register a sects te Gap ES iaa oa WRITE READ BITS Trigger Interrupt Level Channel 2 Register Greater than or Less than
131. ns a 9 pin D subminiature connector with the pin outs and associated SCPI commands shown in Figure 1 7 C CAL CAL SOURce INT CAL Source Tee dee CAL SOURce INT JUTput Low y CAL Source ra TRIGger SOURce EXT SAMPle SOURce EXT Trigger ROSCillator SOURce EXT Time Base Figure 1 7 E1564A External Trigger Input Calibration Bus Output Port 3 Wire and 2 Wire The E1563A and E1564A Digitizers provide a three terminal input system High Low and Guard in which an unavoidable and undesirable current is Input Cabling injected from chassis ground to the Guard terminal Dependent on whether Considerations you measure on a low voltage range or a high voltage range the way you connect the Guard terminal may or may not introduce a measurement error due to this current This section describes some considerations you can take to use the Guard terminal properly to minimize measurement error 24 Configuring the Digitizer Modules Chapter 1 Digitizer Input Model Figure 1 8 shows the input model for the digitizer Maximum voltage between Low and Guard is 5V Exceeding this limitation will not damage your digitizer but will generate invalid data for any measurement taken In general 3 Wire cabling is recommended but 2 Wire cabling is supported for some switching applications Figure 1 8 Digitizer Input Model Three Wire Connections This section shows two examples
132. nt only once It is a destructive read and the data cannot be retrieved a second time Number of Readings Returned The number of readings this command will return for each channel is determined by the number of samples set by SAMPle COUNt The total number of readings returned is the number of samples times the number of specified channels If a measurement is aborted with the ABORt command there may be less readings available than indicated by samples x channels For ABORted measurements use DATA COUNt to determine how many readings are available Overloads and Deadlocks A full scale reading may actually be an overload A deadlock can occur when trigger events are set to BUS or HOLD because a software trigger could not break in after this command is sent PACKed Data Format Data are returned as raw data 16 bit integers when the data format is set to PACKed see FORMat DATA PACKed To convert the raw readings to voltages use voltage reading range 32768 or use voltage reading resolution use SENSe VOLTage DC RESolution to obtain the resolution value REAL Data Format Data are returned as real numbers when the data format is set to REAL see FORMat DATA REAL The data is returned in voltage units and no scaling conversion is required as with the PACKed format Readings are in an interleaved configuration IEEE 488 2 Headers Both PACKed and REAL formats return data preceded by the IEEE 488 2 definite length arbit
133. nt to mains or to any signal directly derived from mains Short term temporary overvoltages must be limited to 500V or less To prevent equipment damage in case of an overvoltage condition do not connect this equipment to any voltage source which can deliver greater than 2A at 500V in the case of a fault If such a fault condition is possible insert a 2A fuse in the input line CAUTION CLEANING THE MODULE Clean the outside surfaces of this module with a cloth slightly dampened with water Do not attempt to clean the interior of this module 18 Configuring the Digitizer Modules Chapter 1 Configuring the Digitizers Adding RAM to the Chapter 1 Module Selecting a RAM This section gives guidelines to configure the digitizers including e Adding RAM to the Module Setting the Logical Address Switch Setting the Interrupt Line Installing the Digitizer in a Mainframe You can increase the size of RAM on your Digitizer module by purchasing PC SIMM memory and installing it on the module after you remove the standard 4 Mbyte SIMM shipped with your digitizer Both FPM Fast Page Mode and EDO Extended Data Out are supported Although most commercially available PC SIMM RAM will work with the Digitizer there are some that are physically too large and will make contact with the top shield when installed A standard 72 SIMM specifies the length L or keying but does not specify the depth D Certain depths are too large and
134. nts following the calibration procedures Restore the switches to the Read Only position after you store the new calibration constants 1 Reset the E1564A Digitizer by executing RST 2 Connect a voltmeter to the Calibration Bus Output on the front panel D connector see Figure E 1 Set the voltmeter to the DCV function INP lt ch gt STATe ON Ole CAL SOURce EXT CAL STATe ON L Channel 1 Front Panel CAL GAIN lt ch gt Channel 2 TRIG LEVel lt channel gt Signals Chi L Channel 3 Con or the CAL Bus Channel 4 A to D Conv wy Data Data Storage gt Data to RAM Computer Event Separating e and Post Trigger Data Internal CLK Sample Trigger kr Extemal gt Calibration 7 Bus IMM TRIGGER amp SAMPLE Internal 1 SYSTEM To VXlbus Poor a Internal 2 CAL Source Internal 3 TLT O TTL Trigger Internal 4 Lines d 0 Figure E 1 E1564A Gain Adjustment Voltmeter Connections Appendix E Digitizers Adjustments 167 3 Prepare the E1564A for calibration S Set the channel s range VOLT lt channel gt RANG lt range gt
135. oes not have a calibration bus output However a programmable short is provided for each channel An external calibration source must be provided for calibration Figure 1 1 E1563A 2 Channel Digitizer Front Panel Configuring the Digitizer Modules 15 4 CH DIGITIZER 800 kSa s 14 BIT Fall Access Sample Use Insulated Shielded Twisted Pair Calioration Bus Dutput CAL L Samples TTL Inputs 5V Pk Max Use Insulated Shielded Twisted Pair E 256V Pk Max 5V Pk Max All Term 256V Pk Max ot El9644A Front Panel Indicators Failed LED llluminates momentarily during digitizer power on Access LED llluminates when the backplane is communicating with the digitizer Error LED llluminates only when an error is present in the digitizer s driver error queue The error can result from improperly executing a command or the digitizer being unable to pass self test or calibration Sample LED llluminates while the digitizer samples the input for a measurement Typically blinks for slow sample rates and is on steady state for high sample rates User Input Terminals the cable See User Cabling Considerations for connecting user supplied cables External Trigger Input Calibration Bus Output TTL trigger inputs and for calibration bus outputs The E1564A cable to the external trigger input calibration bus output Figure 1
136. oltage drop through the source impedance can be a significant error on low voltage ranges where the voltage of interest is small It is not as significant an error on high voltage ranges because the error introduced is not a significant part of a larger voltage and the percent of error is less significant Measurement error can increase significantly when you connect Low to Guard at the digitizer s input AND use switches to switch input signals to the digitizer Some switches have input protection resistors usually 100Q in series with the switch The digitizer s injected current now generates a voltage drop across this resistor in addition to the voltage drop generated across the source impedance Even with a grounded source an error voltage is generated across the switches current limiting resistor Two examples of two wire connections follow For the first example Figure 1 11 shows a typical connection using coaxial cable For the second example Figure 1 12 shows connections for a differential source Coaxial cable injected Figure 1 11 Example Two Wire Connections Coaxial Cable 26 Configuring the Digitizer Modules Chapter 1 Differential 4 29 KHz From Switching Supply Add 100 pF capacitor if low level 25 kHz noise from injected current ____ gy 100 oF I Injected is present Figure 1 12 Example Two Wire Connections Differential Source
137. or trigger state and begins taking pretrigger readings until the pretrigger count is met if there is a pretrigger count set 2 All incoming triggers are ignored until the pretrigger count is met Pretrigger readings continue until a trigger arrives The first trigger received after the pretrigger readings have been acquired is the one accepted 3 The incoming trigger advances the Digitizer to the wait for sample state which is where readings are actually taken The instrument will continuously sample until one of the following three things occurs The measurement is stopped by the ABORt command The measurement is stopped by executing INlTiate CON Tinuous OFF The instrument s FIFO memory is filled This can be prevented by fetching the data from memory in blocks faster than the sample rate can fill memory Determining Measurement Complete Status INIT MMediate and INIT CONTinuous return 1 to OPC when the instrument begins measurement not when measurements complete To determine when a non continuous measurement is complete use DIAG STATus and monitor bit 6 Digitizers Command Reference 73 You can also detect when measurements are complete by monitoring the measurement complete bit bit 9 of the STATus OPERation CONDition register in the STATus system see the STATus subsystem WAI OPC and OPC will all be fulfilled immediately after INIT is processed not when the measurements are complete
138. oth sources are common to ALL channels and the 1 and 2 are not channel designators but source designators Using SCPI or VXlplug amp play you can trigger internally from a voltage level from any channel The trigger level is set using TRIG LEVel lt channel gt lt voltage gt for the channel you want to generate the trigger event You then set the trigger source to trigger internally from that channel using TRIG SOURce lt n gt INT lt channel gt For example to trigger from a 11 5V level on channel 2 send VOLT2 RANG 16 TRIG LEV2 11 5 TRIG SOUR INT2 Figure 2 1 shows the relationship of the trigger level to the internal trigger source Each channel has a level compare circuit that compares the input signal to the value set by the TRIG LEVel lt channe gt command This level initiates a trigger when the input signal equals or exceeds the value set by TRIG LEVel This means the trigger can occur at a value other than the value set by the TRIG LEVel command For example assume a trigger level of OV on a ramp from 1V to 1V The first samples may be negative values close to zero These values will not cause a trigger because they do not equal or exceed the trigger level value yet The next sample may be a positive value greater than the trigger level The trigger compare circuit see Figure 2 4 detects this level is equal to or greater than the trigger level value set and a trigger is generated It was not however generate
139. ource 132 CVTable Channel 1 130 CVTable Channel 2 130 CVTable Channel 3 131 CVTable Channel 4 131 description 124 Device Type 126 SAMPLe PRETrigger COUNt 80 SAMPle PRE Trigger COUNt 81 SAMPle SLOPe 82 SAMPle SLOPe 82 SAMPle SOURce 82 SAMPle SOURce 83 SAMPle TlMer 84 SAMPle TIMer 84 Samples Taken High Byte register 131 Samples Taken Low Word register 131 SCPI command reference 47 SCPI commands 45 FIFO High Word Low Word 128 ID register 126 Interrupt Control 129 Interrupt Source 130 Offset and Cache Count 128 Pre Trigger Count High Word 136 Pre Trigger Count Low Word 137 Range Filter Connect Channel 3 4 133 READ registers 125 Sample Control 138 Sample Count High Byte 137 Sample Count Low Word 137 Sample Period High Byte 136 Sample Period Low Word 136 Samples Taken High Byte 131 Samples Taken Low Word 131 Status Control 126 Trigger Control 137 Trigger Interrupt Level Channel 1 134 Trigger Interrupt Level Channel 2 135 Trigger Interrupt Level Channel 3 135 Trigger Interrupt Level Channel 4 136 WRITE registers 124 reset state 35 restricted rights statement 9 S safety symbols 10 Sample Control register 138 Sample Count High Byte register 137 Sample Count Low Word register 137 Sample Period High Byte register 136 Sample Period Low Word register 136 172 Index abbreviated 46 abbreviated commands 46 command reference 47 command separator 46 format 4
140. own below 000 62 5 mV range 001 0 25V range 010 1 0V range 011 4 0V range 100 16V range 101 64V range 110 256V range also 111 256V range These bits connect an internal short to the channel inputs when the bit is 1 When it is 0 bits 7 amp 15 connect the channel to the input or the calibration bus These bits set the input channel filter cut off frequency by the codes shown below 000 1 5 kHz 001 6 kHz 010 25 kHz 011 100 kHz 111 NO filter This bit connects the input channel to the front panel connector Connect Code 0 or to the calibration bus Connect Code 1 and Each channel has an 8 bit byte which controls the input signal range filter Channel 3 4 cut off and the relay that connects the channel to the front panel connector 7 The fastest way to change range filter or the connect relay is to write a 32 bit Connect Register word to the register After every write to this register the bus is held off 10 us until the range filter and relay information is sent to the isolated channel The settling time for the relays filters and the gain amplifier is about 10 ms This register controls channels 3 and 4 eser 0199191999100 7 e sis 912 tt fe Write CH 3 Filter Code CH 3 Gain Code CH 4 Filter Code CH 4 Gain Code CH 3 Filter Code CH 3 Gain Code CH 4 Filter Code CH 4 Gain Code Appendix B Register Based Programming 133 WRITE READ BITS Range Filter and Cha
141. pecified The output level of this DAC is specified with CAL DAC VOLTage The actual output level must be measured with a voltmeter by the person doing the calibration That measured value is the value used for the lt voltage gt parameter of the CAL VALue command The voltage can be measured across pins 5 high and 9 low of the Calibration Bus Output D subminiature calibration bus connector Maximum Output Levels The maximum output levels are limited to the levels shown in the following table These are the E1564A DAC voltages recommended for calibrating each range The values are approximately 98 of full scale except for the 16V range which the internal E1564A s DAC has a maximum output of 15V Digitizers Command Reference 59 absolute value Executable when initiated NO Coupled Command NO Reset RST Condition All channels set to 0 0 volts CALibration VALue CALibration VALue queries the present setting of the calibration voltage CALibration ZERO CALibration ZERO lt channel gt lt samples gt lt rate gt initiates an offset calibration for the current range on the specified channel using an internal short Parameters Name Type Range of Values Default Value samples 25 to 4000 DEFault none rate numeric 1 25E 6 to reference period seconds 8 388 607 DEFault Comments _ Steps Before Executing a Zero Calibration The following steps must be completed prior to executing a zero calibr
142. pendix B Pre Trigger Count This register holds the low word 2 bytes for the pre trigger count Low Word Register merse 15 14 101129 e e 70199 912 110 me 01505019012 cm cm co co er ow os 3 ca cr co Sample Count High Sample count is the total number of readings to be taken including the Byte Register pre trigger readings The minimum value is 1 Zero 0 causes continuous readings and will not stop the acquisition until all of memory is full The module will not stop acquiring data if the host can remove readings fast enough The maximum number of readings is the size of memory in bytes divided by 8 for the E1563 and divided by 4 for the E1564 Hera 15 4 e ei ole fe 7 ie sis fe el wie wee ff er Se ete Teele loll lo lalalaalala Sample Count Low Register containing the low word 2 bytes for the sample count This Word Register register and the high byte in register 384g hold a value that can be set by SAMPle COUNt See Chapter 2 for the relationship of the sample count and the pre trigger count paa eee me 6 ow or cr2 en 0 co cs er 09 os cw 3 ca cr co Trigger This register provides the bits that control the trigger system See Source Control Master Slave Operation in Chapter 2 for more information on register programming the digitizer in a master slave configuration This uses Register bits 5 6 10 and 11 of the register serce 16 jejejejejeje s 4 8 2 11
143. ption VOLTage overload CALibration failure Channel 1 limit failure Channel 2 limit failure Channel 3 limit failure Channel 4 limit failure Chapter 3 Digitizers Command Reference 93 QUEStionable Status Register NOTE STATus QUEStionable CONDition Questionable Data m STATus QUEStionable EVENt V Messag vailable l ESB Standard Event m STATus QUEStionable ENABle lt unmask gt RQS STATus QUEStionable ENABLE STATus PREset _ Request Service OPR Operation Data Condition Register Sr Event egister Enable Register 2 lt 4 gt nterface Bus lt B gt Service R
144. r a limit failure LIMit LOWer STATe ON 1 OFF 0 Enable lower limit checking LIMit LOWer STATe Query lower limit checking LIMit LOWer DATA lt value gt MIN MAX Set lower limit value LIMit LOWer DATA MIN MAX Query lower limit value LIMit UPPer STATe ON 1 OFF 0 Enable upper limit checking LIMit UPPer STATe Query upper limit checking LIMit UPPer DATA lt value gt MIN MAX Set upper limit value LIMit UPPer DATA MIN MAX Query CALibrate Calibration commands DAC VOLTage lt voltage gt MIN MAX E1564A only sets internal cal source DAC VO Tage MIN MAX Query internal cal source DATA Returns calibration constants GAIN lt channel gt lt readings gt lt rate gt ON 1 OFF 0 Perform gain cal using VAL lt voltage gt SOURce INTernal EXTernal Set calibration source INT on E1564A only SOURce Query calibration source STATe ON 1 OFF 0 Enable disable ability to calibrate STATe Query calibration state STORe Store cal constants in NV memory VALue lt voltage gt Tell digitizer what cal value is input VALue Query cal value ZERO lt channel gt lt readings gt lt rate gt Perform zero cal on current range ZERO lt channel gt ALL lt readings gt lt rate gt Perform zero cal on all ranges and return zero cal status response DIAGnostic Troubleshooting commands DAC OFFSet lt channel gt lt voltage gt Set offset voltage for the DAC DAC OFFSet lt
145. r has been received after pre trigger acquisition is complete and measurement count is not complete Cas chan cei tin ia sarge CVTable Channel 1 This register holds the last value of the 2 s complement data stored in FIFO Register for channel 1 Data is 14 bits with the LSB at bit 2 pases tore ein 2 ole e fe ss fete 110 Read wel fs elo CVTable Channel 2 This register holds the last value of the 2 s complement data stored in FIFO Register for channel 2 Data is 14 bits with the LSB at bit 2 ppp fees el jessjofo 130 Register Based Programming Appendix B CVTable Channel 3 This register holds the last value of the 2 s complement data stored in FIFO Register for channel 3 Data is 14 bits with the LSB at bit 2 pases tare 1514 vo 2 e 070199 fe feds e Read Iel f Jessjopo CVTable Channel 4 mes register holds the last value of the 2 s complement data stored in FIFO Register for channel 4 Data is 14 bits with the LSB at bit 2 pl 14 8 2 im o o e 70911719211 o0 Read wee belele Samples Taken This register holds the upper 16 bits of the number of samples taken High Byte Register number of readings The value in this register will continuously change as readings are taken base 184g 15 14 13 12 11 10 31 30 29 28 27 26 ES Ba S E Se Si r 9 a 8 3 7 S 6
146. ra aseneed aa 163 PU FAO sonatas 164 PTE o AAA A 164 General FTOCOOUTO PA A o eE O PRE OU E PC A 164 E AA A 165 SiC An 166 LAI A OA eiii 167 AGILENT TECHNOLOGIES WARRANTY STATEMENT AGILENT PRODUCT E1563A 2 Channel Digitizer and E1564A 4 Channel Digitizer DURATION OF WARRANTY 3 years 1 Agilent Technologies warrants Agilent hardware accessories and supplies against defects in materials and workmanship for the period specified above If Agilent receives notice of such defects during the warranty period Agilent will at its option either repair or replace products which prove to be defective Replacement products may be either new or like new 2 Agilent warrants that Agilent software will not fail to execute its programming instructions for the period specified above due to defects in material and workmanship when properly installed and used If Agilent receives notice of such defects during the warranty period Agilent will replace software media which does not execute its programming instructions due to such defects 3 Agilent does not warrant that the operation of Agilent products will be uninterrupted or error free If Agilent is unable within a reasonable time to repair or replace any product to a condition as warranted customer will be entitled to a refund of the purchase price upon prompt return of the product 4 Agilent products may contain remanufactured parts equivalent to new in performance or may have been subject to i
147. ranges to 64V and set the filters to 100 kHz execute DIAG POKE 18 13621 The binary bit pattern for 13621 is 0011010100110101 reg number Register Description base register offset 2 Status Control Register base 04 g 3 Offset Register base 06 g 6 Interrupt Control Register base 0Cj 14 Calibration Flash ROM Address Register base 1C 15 Calibration Flash ROM Data Register base 1E g 16 Calibration Source Register base 20 g 18 Range Filter Connect Chs 1 and 2 Register base 24 19 Range Filter Connect Chs 3 and 4 Register base 2646 20 Trigger Interrupt Level Channel 1 Register base 28 21 Trigger Interrupt Level Channel 2 Register base 2A46 22 Trigger Interrupt Level Channel 3 Register base 2C 23 Trigger Interrupt Level Channel 4 Register base 2E 24 Sample Period High Word Register base 30 g 25 Sample Period Low Word Register base 32 26 Pre Trigger Count High Register base 3446 27 Pre Trigger Count Low Register base 3646 28 Post Trigger Count High Register base 3846 29 Post Trigger Count Low Register base 34 30 Trigger Control Source Register base 3Cj 31 Sample Control Source Register base 3E1 Executable when initiated NO Coupled Command NO Reset RST Condition None Digitizers Command Reference 69 DIAGnostic SHORt DIAGnostic SHORt lt channel gt ON 1 OFF 0 connects an internal short across the inpu
148. rary block header The header is lt num_digits gt lt num_bytes gt where e signifies a block transfer e lt num_digits gt is a single digit 1 through 9 which specifies how many digits ASCII characters are in lt num_bytes gt e lt num_bytes gt is the number of data bytes which immediately follow the lt num_bytes gt field Executable when initiated YES Coupled command NO Reset RST condition none 86 Digitizers Command Reference Chapter 3 SENSe DATA ALL SENSe DATA ALL lt rdgs_per_channel gt returns voltage formatted data from each active channel Parameters Name Type Range of Values Default Value rdgs_per_ numeric 1 to 32M E1563A none channel 1 to 16M E1564A memory size in bytes nbr of channels 2 128M 4 or 128M 8 MAX Comments _ Readings Returned The readings are returned in an array in an interleaved configuration That is the array contains the first reading from channel 1 channel 2 etc This is followed by the second reading from channel 1 channel 2 etc NOTE This command can read the data from a measurement only once It is a destructive read and the data cannot be retrieved a second time Number of Readings Returned The number of readings this command will return for each channel is determined by the number of samples set by SAMPle COUNt The total number of readings returned is the number of samples times the number of channels If a measurement is aborted
149. rasas 130 CVTable Channel 3 Register iii 131 CVTable Channel 4 Register ocooccoocccconccccnoconcconconcnonanccnnnonanonanononnnnanonon 131 Samples Taken High Byte Register AANEREN 131 Samples Taken Low Word Register NEEN 131 Calibration Flash ROM Address Register nn nnnannnnannnnennennnnnsnnnrnnrrnnnenrnrnnne 131 Calibration Flash ROM Data Register AA 132 Calibration Source Register aiii 132 RN OSIOT IP O dhE OS OO OA 132 Range Filter and Channel 1 2 Connect Register oocccoccccccccccccccnconnncononos 133 Range Filter and Channel 3 4 Connect Register ccoocccoccccocccocncnnnccanonos 133 Trigger Interrupt Level Channel 1 Register cccccsscccseeeeseeeeeeeeeseeeeseeeeeees 134 Trigger Interrupt Level Channel 2 Register cccccsscecssceeeeeeeeeeeeseeeeseneesees 135 Trigger Interrupt Level Channel 3 Register cccccsscccsseeeeeeeeseeeeseeeeseneeeees 135 Trigger Interrupt Level Channel 4 Register cccccsececsseeeeeeeeseeeeseeeeseeeesees 136 Sample Period High Byte Register A 136 Sample Period Low Word Register cooccococcconccocccconoconcconnonanonanonnnnonanonono 136 Pre Trigger Count High Byte Register cooccooccooccccocccocnoncnoconocnnnonanonanonos 136 Pre Trigger Count Low Word Register 137 Sample Count High Byte Register cccccccsscccececeeeseeeeceeeseeeceeeeeaeesseesaees 137 Sample Count Low Wor
150. ration data Executable when initiated Yes Coupled command No Reset RST condition none 112 Digitizers Command Reference Chapter 3 SRE and SRE STB Chapter 3 Parameters Comments Comments SRE lt unmask gt specifies which bits of the Status Byte Register are enabled unmasked to generate an IEEE 488 1 service request Event and summary bits are always set and cleared in the Status Byte Register regardless of the lt unmask gt value A 1 in a bit position enables service request generation when the corresponding Status Byte Register bit is set and a 0 disables it For example SRE 16 enables a service request on Message Available bit bit 4 unmask is the sum of the decimal weights of the bits to be enabled allowing these bits to pass through to the summary bit RQS bit 6 in the Status Byte Register SRE returns the current enable lt unmask gt value Name Type Range of Values Default Value Executable when initiated YES Coupled command NO Reset RST condition unaffected Power On condition no bits are enabled STB returns the value of the Status Byte Register The RQS bit bit 6 in the Status Byte Register having decimal weight 64 is set if a service request is pending Executable when initiated YES Coupled command NO Related commands SRE Reset RST condition none Digitizers Command Reference 113 TST WAI Comments Comments Comments
151. rd output to 55 mV 3 Perform the measurement using the INITiate command Retrieve the reading using DATA 1 71 4 Verify the result is within specified limits and record the result 5 Change ranges using VOLT lt channel gt RANG lt range gt and make a measurement for each DCV input and range shown in Table D 4 verifying the result is within specified limits Record the result 6 Repeat step 5 for channel 2 on the E1563A 2 Channel Digitizer and channels 2 through 4 on the E1564A 4 Channel Digitizer Table D 4 Gain Verification Test Points INPUT E1564A Range E1563A Error from nominal 113 mV 62 mV 62 mV 0 25V 0 25V 1 1 4 4 16 V 16 V 64 V 64 V 256 V 256 V 113 mV Appendix D Filter Bandwidth This test checks the filter input bandwidth for the 25 kHz filter on the E1563A Verification Test each of the four filters 1 5 kHz 6 kHz 25 kHz and 100 kHz on the E1564A The test This test uses an external source connected to the HI and LO Input terminals and has the L terminal connected to the G terminal The digitizer is set to the 1V range for all tests 1 Set the digitizer as follows Reset the digitizer RST Set all channels to 1V range VOLT1 RANG 1 VOLT2 RANG 1 etc Set input filter frequency to 25 kHz INPut1 FILTer FREQ 25e3 INPut2 FiLTer FREQ 25e3 Enable the input filter INPut1 FlILTer STATe ON INPut2 FlLTer STATe ON Set the AC Standard output to 0 95V 25 kHz a
152. read the digitizer s status register SE id err Viln16 digitizer VI_A16_SPACE 0x04 8istat_reg read status reg if err lt VI_SUCCESS err_handler digitizer err printf Status register 0x 4X n stat_reg Make some measurements and retrieve readings PACA Rete nay ae make measurements ene a eRe set channel 1 and 2 to 4V range err ViOut16 digitizer VI_A16_SPACE 0x24 0x7373 0x7373 sets 4V range if err lt VI_SUCCESS err_handler digitizer err set channel 3 and 4 to 4V range err ViOut16 digitizer VI_A16_SPACE 0x26 0x7373 0x7373 sets 4V range if err lt VI_SUCCESS err_handler digitizer err set pre trigger count of 4 err ViOut16 digitizer VI_A16_SPACE 0x34 0x0 high word 0 if err lt VI_SUCCESS err_handler digitizer err err ViOut16 digitizer VI_A16_SPACE 0x36 0x4 low word 4 if err lt VI_SUCCESS err_handler digitizer err set sample count of 7 err ViOut16 digitizer VI_A16_SPACE 0x38 0x0 high word 0 if err lt VI_SUCCESS err_handler digitizer err err ViOut16 digitizer VI_A16_SPACE 0x3A 0x7 low word 7 if err lt VI_SUCCESS err_handler digitizer err set trigger source err ViOut16 digitizer VI_A16_SPACE 0x3C 0x180 set bits 7 and 8 if err lt VI_SUCCESS err_handler digitizer err initiate a reading with a 30 mS delay err ViOut16 digitizer VI_A16_SPACE 0x3E 0x21A0 set bits 5 7 8 amp 13 if err
153. rform calibrations A return value of O indicates the instrument is not calibration enabled and attempting to execute a calibration process command such as CAL GAIN or CAL ZERO will return the error Calibration not enabled 58 Digitizers Command Reference Chapter 3 CALibration STORe NOTE CALibration VALue Parameters Comments Chapter 3 CALibration STORe writes the calibration constants to non volatile RAM after calibration has been completed The FLASH and CAL CONSTANTS switches must be set to the Write Enable positions before calibration constants are stored in RAM Executable when initiated NO Coupled Command NO Reset RST Condition None CALibration VALue lt voltage gt specifies the voltage value actually applied to the channel for calibration This value informs the digitizer what voltage is either being placed on the front panel input connector CAL SOURce EXTernal or the value being generated by the internal DAC E1564A 4 Channel Digitizer only and being output onto the calibration bus Name Type Range of Values Default Value voltage 0 061256409 15 6800 volts Source Maximum Voltages The maximum voltage from an external source used to calibrate the 16V range is 15 68V or 98 of full scale The maximum voltage attainable from the E1564A internal DAC is 15V Using the Internal DAC The internal DAC on the E1564A can be used for the calibration source when CAL SOURce INTernal is s
154. rland compiler Memory Model Options Project Compiler Memory Model gt large Directory Paths Options Directories Include File Paths drive VXIPNP WIN INCLUDE Library File Paths drive VXIPNP WIN LIB MSC Microsoft drive VXIPNP WIN LIB BC Borland 152 Digitizers Verification Tests Appendix D Functional Verification Test The procedure in this section is used to quickly verify that the digitizer is functioning This test should be performed any time the user wants to verify that the digitizer is connected properly and is responding to basic commands Functional Test This test verifies that the digitizer is communicating with the command Procedure module external controller and or external terminal by accepting the TST common command and performing a digitizer self test You have a high confidence 90 that the digitizer is operational if self test passes 1 Verify that the digitizer and command module or system resource manager e g embedded controller are properly installed in the mainframe 2 Remove any input connections to the digitizer input terminals Errors may be induced by ac signals present on the digitizer s input terminals during a self test 3 Execute the digitizer self test using the TST command 4 A 0 returned means self test passed with no failures Any other value returned is a self test error code and means a failure was detected See the TEST command in Chapter 3 for obtaining info
155. rmation about self test failures See Appendix C and the TEST command in Chapter 3 for self test error codes NOTE fan incorrect address is used the digitizer will not respond Verify proper address selection before troubleshooting Example Self Test This BASIC example performs a digitizer self test Any number other than 0 returned indicates a test failure See Appendix C and the TEST command in Chapter 3 for self test error codes 10 OUTPUT 70905 TST Send the self test command 20 ENTER 70905 A Read the test result 30 PRINT A Display the result 40 END Appendix D Digitizers Verification Tests 153 Performance Verification Tests NOTE Zero Offset Verification Test 154 Digitizers Verification Tests The procedures in this section are used to test the electrical performance of the digitizer using the specifications in Appendix A as the performance standards The Performance Verification Tests are recommended as acceptance tests when the instrument is first received The performance verification tests should be repeated at each calibration interval following acceptance If the E1563A or HP E1564A digitizer fails performance verification adjustment or repair may be needed see Appendix E Performance verification program source code is provided on the Agilent Technologies Universal Instrument Driver CD and are written in ANSI C The source code files are titled E1563VER C and E1564VER C This procedure is used
156. roes 128 Numeric data not allowed A numeric parameter was found but a character string was expected Check the list of parameters to verify you have used a correct parameter type Example TRIG SOUR 2 EXT should be TRIG SOUR2 EXT 138 Suffix not allowed A suffix was received following a numeric parameter which does not accept a suffix Example SAMP COUN 1 SEC SEC is not a valid suffix 148 Character data not A character string was received but a numeric parameter was allowed expected Check the list of parameters to verify that you have used a valid parameter type Example CAL VAL XYZ 158 String data not A character string was received but is not allowed for the command allowed Check the list of parameters to verify that you have used a valid parameter type Example CALC LIM LOW STAT ON 160 to 168 Block data errors The digitizer does accept block data 170 to 178 The digitizer does not accept mathematical expressions 211 Trigger ignored A Group Execute Trigger GET or TRG was received but the trigger was ignored Make sure the digitizer is in the wait for trigger state before issuing a trigger and make sure the correct trigger source is selected 213 Init ignored An INITiate command was received but could not be executed because a measurement was already in progress Send a device clear to halt a measurement in progress and place the digitizer in the idle state 214 Sample Trigg
157. rrors The self test command TST will return a non zero number if self test fails Self test error descriptions are retrieved using the TEST ERRor lt test_number gt command Use the number returned by self test as the lt test_number gt to obtain the description of the failure Calibration Errors Zero Calibration CAL ZERO lt channel gt ALL returns a non zero number if zero calibration fails For example a return value of 0x0021 binary value 100001 indicates that the 62 mV range and the 64V range failed A 1 in the range position indicates a failure range 256 64 16 4 1 0 25 0 062 The error string returned by SYST ERR will contain information about the failure on the highest range for 0x0021 binary value 100001 information is returned on the 64V range A zero non converging error usually indicates some internal problem with the instrument It is recommended you run the self test TST command to identify any instrument problems Gain Calibration calibration value CAL VALue lt voltage gt not within 85 to 98 of full scale You have entered a voltage with the CAL VALue command that is not between 85 and 98 of the full scale range For example a calibration value between 0 85 and 0 98 is required on the 1V range Gain Non converging error A gain non converging error usually indicates some internal problem with the instrument It is recommended you run the self test TST command to identify any
158. rst test that failed Use the TEST TST RESults command for a complete list of all failures resulting from a TST command The response may indicate in detail what caused the self test error See Appendix C for information on self test errors TEST NUMBer TEST NUMBer lt test_number gt lt cycles gt allows you to cycle through a self test a specified number of times instead of running the entire suite of self tests as is performed with the TST command This command returns the number of times the specified test failed out of the specified number of times the test was cycled For example send TEST NUMB 2 5 to cycle through test number 2 five times A 5 is returned if all five test cycles fail Parameters Name Type Range of Values Default Value test_number 1 through 94 None trough 32767 98 Digitizers Command Reference Chapter 3 Comments Test Descriptions This table summarizes the available self tests for the digitizers General register read write test Cal constant flash ROM read test oct COMA ESCOCIA 28 30 Channel 2 4V range filter OFF offset noise test Channel 3 4V range filter OFF offset noise test Channel 4 4V range filter OFF offset noise test 31 Channel 1 4V range filter ON offset noise test Chapter 3 Digitizers Command Reference 99 Channel 3 4V range filter ON offset noise test 34 Channel 4 4V range filter ON offset noise test Channel 1 16V range filter OFF offse
159. s there is no error Use TEST ERR lt test_number gt to retrieve details about the failed test number s returned by TEST TST RESults Digitizers Command Reference 103 TRIGger Subsystem Syntax TRIGger IMMediate Comments TRIGger LEVel Parameters The TRIGger command subsystem controls the behavior of the trigger system TRIGger IMMediate LEVel lt channel gt lt level gt MIN MAX LEVel lt channel gt MODE NORMal MASTer0 2 4 6 SLAVe0 2 4 6 MODE SLOPe lt n gt POS 1 NEG 0 SLOPe lt n gt SOURce lt n gt OFF BUS EXT HOLD IMMediate INTernal1 4 TTLTO 7 SOURce lt n gt TRIGger IMMediate causes the instrument to transition to the wait for sample state immediately regardless of the trigger source selected Instrument Must be Initiated The instrument must be initiated INITiate command and be in the wait for trigger state when TRIG IMM is executed A Trigger ignored error will be generated if the instrument has not been initiated prior to this command or if it is not in the wait for trigger state Executable when initiated YES Coupled command NO Reset RST condition None TRIGger LEVel lt channel gt lt voltage gt MIN MAX sets the level on the specified channel that can be used for internally triggering the instrument This command is valid only for TRIGger SOURce INTernal1 4 Name Type Range of Values Default Value voltage nu
160. slope Query the sample signal slope Set the sample source Query the sample source Set sampling interval for source TlMer Query sampling interval Read data from list of channels Read data from all channels Query available readings per channel Query last reading taken from channel Declare external source s frequency Query external source s frequency Set reference oscillator source Query reference oscillator source Set number of sweep points Query number of sweep points Set number of sweep offset points Query number of sweep offset points Set channel s voltage range Query channel s voltage range Query channel s resolution Chapter 3 STATus OPERation CONDition Read OPER CONDition register OPERation EVENt Read OPER EVENt register OPERation ENABle lt unmask gt Unmask operation register bits OPERation ENABle Read OPER ENABle register PRESet PRESet the status registers QUEStionable CONDition Read OPER CONDition register QUEStionable EVENt Read OPER EVENt register QUEStionableENABle lt unmask gt Unmask questionable register bits QUEStionable ENABle Read OPER EVENt register SYSTem ERRor Read system errors from error queue VERSion Query system version TEST ERRor Return details about self test errors NUMBer lt test_number gt Run a specified self test TST RESults Return results of the TST command TRIGger STARt SEQuence 1 IMMediate Trigger now LEVel lt channel gt lt
161. sted in Table D 1 Use a source with accuracy requirements indicated in the table for any substitute calibration standard You should complete the Performance Verification tests at one year intervals For heavy use or severe operating environments perform the tests more often Table D 1 Recommended Test Equipment Application Accuracy Requirements Gain Calibration and Fluke 5700A lt 1 5 digitizer spec 1ppm Verification linearity Special care must be taken to ensure that the calibration standards and test procedures used do not introduce additional errors Ideally the standards used to test and calibrate the digitizer should be an order of magnitude more accurate than each digitizer range full scale error specification Digitizers Verification Tests 151 Test Conditions all test procedures should comply with the following test conditions Ambient temperature of the test area is between 18 C and 28 C and stable to within 1 C e Ambient relative humidity of the test area is lt 80 S Must have a one hour warm up with all input signals removed before verification or adjustment Use only copper connections to minimize thermal offset voltages Use shielded twisted Teflon insulated cable or other high impedance low dielectric absorption cable for all measurements to reduce high resistance errors Keep cables as short as possible Long test leads can act as an antenna causing the pick up of ac signals and contri
162. t MIN MAX returns the number of samples each channel will make The number of samples returned is common to all channels SAMPIle IMMediate is generally used only when the sample source is HOLD to take a single reading when the digitizer is in the wait for sample state SAMPLe PRETrigger COUNt SAMPle PRETrigger COUNt lt count gt MIN MAX sets the number of pretriggers number of readings that will occur before the trigger event occurs The count is common to all channels 80 Digitizers Command Reference Chapter 3 Data From log to Digital Converter Measurement Data Pre Iriqqer Post Iriager l SC El To Retrieve Data A to D A to 1 Determine number of Data Data readings per channel available with SENSe DATA COUNt Total readings set by SAMP COUN lt count gt Retrieve data with j ENSe DATA ALL lt Rdgs channel gt S r S Pre Trigger r INIT C d DER SZ GE E Readings set by Post Trigger bs Measurements SAMP PRET COUN lt count gt Readings gt Se DATA ALL lt Rdgs channel gt ch _list Trigger Occurs Event Separates Pre Trigger ta From Post Trigger Data Comments Using the lt count gt Parameter lt count gt must be a positive number and not greater than the sample count 1 This count specifies the por
163. t 64 gt 7 lt 128 gt ON Pretrigger Complete 8 lt 256 gt Measurement Complete 9 OZ 0 lt 1024 gt hi lt 2048 gt 2 lt 4096 gt lt 8192 gt 4 lt 16384 gt 5 lt 32768 gt C EV EN 94 Digitizers Command Reference Chapter 3 OPERation Status The OPERation Status register indicates operational status as follows ICO CAL STATe ON calibration in progress Register waiting for trigger NS pretrigger count is met EN measurement complete Status Byte Register The OPR Operational Status bit RQS Request for Service bit ESB Standard Event Status Summary bit MAV Message Available Summary bit and QUE QUEStionable Status Summary bit in the Status Byte Register bits 7 6 5 4 and 3 respectively can be queried with STB but will be executed when previous commands are finished NOTE Using Agilent VISA you can query the value of the status byte without going through the digitizer s command parser by using the viReadSTB function call The OPR bit is the summary bit for the OPERation Status Register The QUE bit is the summary bit for the QUEStionable Status Register Standard Event Status Use ESE to query the unmask value for the Standard Event Status Register Register bits you want logically ORed into the summary bit Query using decimal weighted bit values STATus OPERation CONDition STATus OPERation CONDition returns a decimal weighted number representing the bits set in the OPERation Status Condition Re
164. t Status Register is set OPC suspends any other activity on the bus until the digitizer completes all commands sent to it prior to the OPC command INIT vs OPC The INIT command is considered complete when the measurement is started OPC will not suspend activity once INIT is processed and measurements start but the instrument may not be finished taking all readings initiated Digitizers Command Reference 111 OPC RST Comments Comments Executable when initiated YES Coupled command NO Related commands OPC WA Reset RST condition none OPC causes the E1563A and E1564A Digitizers to wait for all pending operations to complete A single ASCII 1 is then placed in the output queue INIT vs OPC The INIT command is considered complete when the measurement is started OPC will return 1 once INIT is processed and measurements start but the instrument may not be finished taking all readings initiated Executable when initiated YES Coupled command NO Related commands OPC WA Reset RST condition none RST resets the E1563A and E1564A Digitizers as follows e Sets all commands to their RST state Aborts a calibration CAL STATe ON Resets the CAL STATe to OFF Aborts all pending operations RST does not affect The output queue The Service Request and Standard Event Status Enable Registers The enable unmasks for the QUEStionable Status Registers e Calib
165. t ch 1 to 4V range ISet sample count to 7 common to all channels ISet pre trigger count to 3 common to all channels ISet sample interval to 100 usec ISet trigger source to EXTernal requires an external input to the Trig pin on the External Trigger Input port ISet the trigger level to 0 5V ISet trigger slope to positive Initiate measurements IRead 7 readings from ch 1 IEnter readings into the computer Chapter 2 Chapter 3 Digitizers Command Reference Using This Chapter Command Types Common Commands Format SCPI Command Format Chapter 3 This chapter describes the Standard Commands for Programmable Instruments SCPI and IEEE 488 2 Common commands applicable to the E1563A and E1564A Digitizers This chapter contains the following sections COMMANG RK 3er Gad hee cas 45 e SCPI Command Reference 0 000 eee eee 47 e IEEE 488 2 Common Commands Reference 109 e SCPI Commands Quick Reference 115 Commands are separated into two types IEEE 488 2 Common Commands and SCPI Commands The IEEE 488 2 standard defines the Common commands that perform functions like reset self test status byte query etc Common commands are four or five characters in length always begin with the asterisk character and may include one or more parameters The command keyword is separated from the first parameter by a space character Some examples of common comma
166. t n gt numeric 1 or 2 none Must Use INITiate TRIGger SOURce only selects the trigger source You must use INITiate to place the digitizer in the wait for trigger state TRIGger SOURce EXT TRIGger SOURce EXT uses the External Trigger In Port Trig pin on the D sub miniature connector as the trigger source The digitizer triggers on the falling negative going edge of a 5V TTL input signal maximum input is 5V peak to the Trig pin TRIGger IMMediate TRIGger MMediate causes a trigger to occur immediately provided the digitizer is placed in the wait for trigger state using the INITiate command Using GET or TRG When a Group Execute Trigger GET bus command or TRG common command is executed and the digitizer is not in the wait for trigger state the Trigger ignored error is generated Digitizers Command Reference 107 TRIGger SOURce INTernal TRIGger SOURce INTernal1 2 E1563A or TRIGger SOURce INTernal1 4 E1564A triggers a reading when the level specified by TRIG LEVel lt channel gt is met The TRIG SLOPe setting determines whether the trigger occurs when the signal rises above POSitive or falls below NEGative the specified level on that channel CALCulate Disabled If TRIGger SOURce INT lt n gt is set CALCulate lt n gt LIMit LOWer STATe or CALCulate lt n gt LIMit UPPer STATe are disabled if they were enabled where lt n gt represents the channel number used for the internal trigger source
167. t noise test 59 Channel 1 Offset DAC test Channel 2 Offset DAC test 61 Channel 3 Offset DAC test Channel 4 Offset DAC test GER Channel 1 Gain DAC test Channel 2 Gain DAC test 100 Digitizers Command Reference Chapter 3 Test requires an E1564A 4 Channel Digitizer Chapter 3 Digitizers Command Reference 101 Self Test Error Definitions A failed self test will return a number other than zero The binary value of that number defines the failure mode More than one failure mode may result from one self test The failure modes are defined in the following sections for each type of self test Bits and their weighting are Offset Noise Test self test numbers 3 58 Oe CITI Offset DAC Test self test numbers 59 62 E1564A 4 Channel Digitizer DEE Offset DAC span does not include O Bit weight is out of limits the offending bit is in B15 B8 Gain DAC Test self test numbers 63 66 E1564A 4 Channel Digitizer Gain DAC span does not include O Bit weight is out of limits the offending bit is in B15 B8 Gain DAC nominal setting is out of limits 5 oeste orga poto 102 Digitizers Command Reference Chapter 3 TEST TST RESults Chapter 3 Uncalibrated Gain Test self test numbers 67 94 E1564A Digitizer The max to min span is 0 0 Gain span is too large TEST TST RESults returns an array of integers that result from the self test command TST A response of 0 indicate
168. t of the specified channel when the ON or 1 parameter is used The internal short is enabled by ON or 1 and disabled by OFF or 0 Comments Short Remains in Effect Until Disabled The short remains in effect until a reset or until it is disabled with DIAG SHORt lt channel gt OFF Executable when initiated NO Coupled Command NO Reset RST Condition Short OFF DIAGnostic SHORt DIAGnostic SHORt lt channel gt queries the specified channel to determine if the internal short is connected This command returns 1 if the short is present or returns 0 if it is not present DIAGnostic STATus DIAGnostic STATus returns the status of bits in the instrument s interrupt sources register offset 08 see Appendix B A high value in a bit location indicates a particular event has occurred The bit positions and their meanings are as follows Bit Event Represented When Bit is High Channel 1 limit was exceeded or channel 1 trigger level was exceeded Channel 2 limit was exceeded or channel 2 trigger level was exceeded Channel 3 limit was exceeded or channel 3 trigger level was exceeded An input overload occurred and the input relay opened The pre trigger count has been met The measurement has completed normally or available memory has been filled and the measurement was halted E Channel 4 limit was exceeded or channel 4 trigger level was exceeded A valid trigger event was re
169. t the adjustment in progress Never turn off mainframe power while the digitizer is making an adjustment If power is removed during a zero adjustment ALL calibration memory may be lost If power is removed during any gain adjustment calibration memory for the function being adjusted may be lost The Agilent Technologies Universal Instrument Drivers CD received with the E1563A or E1564A contains calibration and performance verification program source code written in ANSI C Calibration programs are E1563CAL C and E1564CAL C Performance verification programs are E1563VER C and E1564VER C This procedure sets the zero calibration constants for each digitizer range The digitizer calculates a new offset correction constant for the current range when the CALibration ZERO lt channel gt command is executed The zero adjustment procedure takes about 20 seconds per channel to calculate new zero offset cal constants for all ranges of the channel The digitizer calculates a new set of offset correction constants for all ranges of a channel when the CALibration ZERO lt channel gt ALL command is executed The digitizer will sequence through all ranges automatically and calculate new zero offset calibration constants automatically DO NOT REMOVE POWER Do not remove power from the mainframe during the digitizer s Zero Adjustment You may lose ALL calibration memory if power is removed while the digitizer is adjusting 1 Reset the Digitizer by
170. tes a module configured as a master module TRIG MODE Configuration MASTer0 pairs TTLTO sample with TTLT1 trigger The MASTerO module will function with all SLAVeO modules sample Trigger to ADCs Event INT CLK EXT Backplane TILTO TTLTO sample VXI Backplane gt to Slave s Backplane DEE Pr TILT1 trigger Source Figure 2 5 Example Master Module Configuration Chapter 2 Using the Digitizers 39 The trigger source from the master can be set with TRIG SOURce1 2 IMM INT1 4 EXT TTLT lt n gt MAS Ter TTLT2 7 INT1 4 EXT MAS Ter2 TTLTO 1 4 7 INT1 4 EXT MAS Ierd TTLTO 3 6 7 INT 1 4 EXT MAS Ter6 TTLTO 5 INT1 4 EXT TRIG MODE MASTer0 drives the TTL lines as if OUTPut TTLTO SOURceSAMPle and OUTPut TTLT1 SOURce TRIGger had been set The master module generates the sample signal from which all modules master and slaves initiate a measurement MASTer0 sets the TTLT1 line as if it were TRIG SOUR1 TTLT1 However the query TRIG SOUR will not return this setting This line is dedicated for synchronization between the two modules in the master slave mode You should not use this line for any other purpose with the OUTPut SAMPle or TRIGger commands Example Slave Module Figure 2 6 illustrates a module configured as a slave module TRIG MODE Configuration SLAVe0 pairs TTLTO sample with TTLT1 trigger A S
171. tes gt field Executable when initiated YES Coupled command NO Reset RST condition none SENSe DATA COUNt SENSe DATA COUNt returns the number of readings available to be read by the DATA command per channel This is useful for determining the amount of data taken in an aborted measurement The data count from a completed measurement is equal to the sample count set by SAMPle COUNt SENSe DATA CVTable SENSe DATA CVTable channel_list returns the most recent reading taken from each specified channel The last reading Current Value from each channel is returned in channel number order starting with the first one in the list Parameters Name Type Range of Values Default Value channel _list numeric 1 2 E1563A N A 1 4 E1564A Comments Addressing Channels channel Jet has the form 01 or 02 01 2 1 4 or 1 2 3 4 For specific channels but not all the format is 1 3 4 If you do not specify channels in ascending order such as 02 1 or 3 4 2 they are rearranged as 1 2 or 2 3 4 respectively PACKed Format Data Data are returned as raw data 16 bit integers when the data format is set to PACKed see the FORMat DATA PACKed command To convert the raw readings to voltages use voltage reading range 32768 or voltage reading resolution use SENSe VOLTage DC RESolution to obtain the resolution value 88 Digitizers Command Reference Chapter 3 REAL Format Data Data
172. tion of the total SAMPle COUNt that will be sampled prior to the trigger A trigger is ignored if it occurs before the pretrigger count is met Sampling Operation If the specified number of pretrigger samples lt count gt have been taken and a trigger has not yet occurred the digitizer continues to sample the input signal The digitizer retains the most recent pretrigger samples specified by the number lt count gt when the trigger does occur Executable when initiated NO Coupled command NO Reset RST condition O pretriggers SAMPle PRETrigger COUNt SAMPle PRETrigger COUNt MIN MAX returns the number of pretrigger samples each channel will make prior to each trigger The number of pretriggers returned is common to all channels Chapter 3 Digitizers Command Reference 81 SAMPle SLOPe SAMPle SLOPe POS 1 NEG 0 sets the slope of the sample signal the active edge rising or falling of the sample signal The slope setting is common to all channels Comments Sample Source Must be EXTernal This command is effective only when the sample source is EXTernal The slope is set but will be ignored if the sample source is a source other than EXTernal Executable when initiated NO Coupled command NO Reset RST condition POSitive 1 SAMPle SLOPe SAMPle SLOPe queries the present setting of the slope of the sample signal The sample slope is effective only when the sample source is EXTernal SAMPle SOUR
173. to check the zero offset performance of the E1563A or E1564A Digitizer The digitizer s internal short is applied to the H HI and L LO input terminals of the channel being tested using the DIAG SHORt lt channel gt command 1 Check the Test Conditions section at the beginning of this appendix 2 Execute DIAG SHOR1 ON to enable the internal short across the H and L terminals of channel 1 3 Select each range in the order shown in Table D 2 Compare the measurement results to the appropriate test limits shown in the table Table D 2 Zero Offset Verification Test Points E1563A Error from E1564A Range nominal internal H L short DIAG SHORt command 4 Repeat steps 2 and 3 for channel 2 on the E1563A 2 Channel Digitizer and for channels 2 through 4 on the E1564A 4 Channel Digitizer changing the channel number in DIAG SHORt lt channel gt ON Appendix D Noise Verification Appendix D Test This procedure is used to check the noise performance of the E1563A or E1564A Digitizer The digitizer s internal short is applied to the H HI and L LO input terminals of the channel being tested using the DIAG SHORt lt channel gt ON command 1 2 Check the Test Conditions section at the beginning of this appendix Execute DIAG SHOR1 ON to enable the internal short across the H and L terminals of channel 1 Set a sample interval of 25 usec by executing SAMP TIM 25e 6 Select the first range 62 mV shown in Ta
174. ts slot For indoor use pollution degree 2 IEC 61010 1 E1563A 20 6W Operating altitude 3000 meters or mainframe altitude E1564A 37 4W specification whichever is lower AP mm H50 0 18 Operating temperature 0 C to 55 C Air flow liter s 2 8 Rel humidity up to 80 at 31 C decreasing to 50 at 40 C E1563A E1564A Accuracy Specifications 1 Year Range Zero Offset Zero Offset Gain Noise with filter OFF with filter ON of reading 3 sigma cation Coefficient cation Coefficient cation Coefficient cation EM 256V 4 28 mV C 110 mV 16 2 mV C 0 034 0 0061 C 189 mV 1 Valid within the range of 0 C to 55 C A zero offset calibration for all channels must be performed if the instrument experiences a temperature lt 0 C or gt 55 C for these specifications to remain valid 2 Specification is valid when tested at a temperature within 5 C of the calibration temperature 3 Amount of error that must be added for each C outside of 5 C of the calibration temperature Appendix A Digitizers Specifications 119 Notes 120 Digitizers Specifications Appendix A Appendix B Register Based Programming About This Appendix This appendix contains the information you can use for register based programming of the E1563A and E1564A Digitizers The contents include Register Programming vs SCPI Programming 121 e Addressing the Registers o o oooooooo 121 e Register Descriptions
175. ttings conflict error message Executable when initiated NO Coupled command YES TRIG MODE SLAVe lt n gt forces a specified TTL trigger line to the sample source A settings conflict occurs if you attempt to change this dedicated line with SAMPle SOURce TTL sources may conflict with the output subsystem Specifying a TTL source will force the output to be disabled See the OUTPut subsystem Reset RST condition TIMer source with 0 0000013 second sampling interval per reading SAMPle SOURce queries the present source setting for the sample signal The returned string is HOLD TlMer TTLTO 7 or EXT Digitizers Command Reference 83 SAMPle TIMer Parameters Comments SAMPle TlMer NOTE SAMPle TlMer lt interval gt MIN MAX sets the time interval for each sample event when the sample source is TIMer Measurements are made on the input signal at this rate This interval is common to all channels for sample source TIMer Name Type Range of Values Default Value interval numeric 1 25E 6 to 0 8 in multiples 1 3E 6 seconds of the reference oscillator period Default TlMer period is 1 3E 6 seconds See SENSe ROSC EXT FREQ lt freq gt Using the Sample Interval The sample interval specified by the period parameter must be a multiple of the reference oscillator period The specified time if not a correct multiple of the reference oscillator period will be rounded to the nearest value that can be attai
176. turns the oldest not the most recent error That error is then removed from the queue When the error queue is empty subsequent SYSTem ERRor queries return 0 No error To clear all errors from the queue execute CLS Error Queue Capacity The error queue has a maximum capacity of 20 errors If the queue overflows the last error is replaced with 350 Too many errors No additional errors are accepted by the queue until space becomes available SYSTem VERSion returns the SCPI version number to which this instrument complies The information returned is in the format YYYY R where YY YY is the year and R is the revision number within that year Digitizers Command Reference 97 TEST The TEST command subsystem allows you to run a self test and returns information about self test errors and results from the TST command Subsystem Syntax TEST ERRor lt test_number gt NUMBer lt test_number gt lt cycles gt TST RESUults TEST ERRor TEST ERRor lt test_number gt returns a binary coded decimal BCD number and a string giving details about the error associated with the test number returned by the TST command or the array of errors returned by the TEST TST RESults command The string returns parameters of the test such as span min max and standard deviation Parameters Name Type Range of Values Default Value test_number 1 through 94 None Comments The TST command returns only the fi
177. uestionable Data Signal Register It also allows you to unmask the bits you want reported from the Standard Event Register and to read the summary bits from the Status Byte Register The Operation Data Signal Register and Questionable Data Signal Register groups consist of a condition register an event register and an enable register STATus OPERation and STATus QUEStionable control and query these registers Subsystem Syntax STATus OPERation CONDition OPERation ENABle lt unmask gt OPERation ENABle OPERation EVENt PRESet QUEStionable CONDition QUEStionable ENABle lt unmask gt QUEStionable ENABle QUEStionable EVENt Status System The STATus system contains seven registers four of which are under IEEE Regi sters 488 2 control the Standard Event Status Register ESR the Standard Event Enable Register ESE and ESE the Status Byte Register STB and the Service Request Enable Register SRE and SRE QUEStionable Status The QUEStionable Status register indicates failures as described in the Register following table Limit failures occur at the sample rate so the condition register bits change rapidly and cannot be read until the measurement completes You should read the EVENT register which latches the CONDition register once a measurement cycle to see if a limit failure occurred You will then need to determine which reading failed by printing the reading number and the measurement value Descri
178. unmask value Name Type Range of Values Default Value Executable when initiated Yes Coupled command No Related Commands ESR SRE STB Reset RST condition unaffected Power On condition no events are enabled 110 Digitizers Command Reference Chapter 3 ESR IDN OPC Chapter 3 Comments Comments Comments ESR returns the value of the Standard Event Status Register The register is then cleared all bits 0 Executable when initiated YES Coupled command NO Reset RST condition none Power On condition register is cleared IDN returns identification information for the E1563A and E1564A Digitizers The response consists of four fields HEWLETT PACKARD E1563A 0 A 01 00 HEWLETT PACKARD E1564A 0 A 01 00 Field Descriptions The first two fields identify this instrument as model number E1563A or E1564A manufactured by Hewlett Packard The third field is O since the serial number of the digitizer is unknown to the firmware The last field indicates the revision level of the firmware The revision level shown above is an example and the actual response you receive may be different than the example Executable when initiated YES Coupled command NO Reset RST condition none Power On condition register is cleared OPC causes the E1563A and E1564A Digitizers to wait for all pending operations to complete after which the Operation Complete bit bit 0 in the Standard Even
179. ust have a different logical address If you use a VXlbus command module the logical address must be a multiple of eight e g 32 40 48 56 etc Each instrument must have a unique secondary address which is the logical address divided by eight See Figure 1 4 for guidelines to set the Logical Address Switch When using an E1406A as the VXIbus resource manager with SCPI commands the digitizer s address switch value must be a multiple of 8 Logical Address Switch Location Default Logical Address 40 Seen Ol 3 5 4 NO Ot N Hi SE LADDR_SW Figure 1 4 Setting the Logical Address Switch The E1563A and E1564A Digitizers are VXlbus interrupters You can specify which interrupt line 1 through 7 the interrupt is transmitted The interrupt line is specified using DIAGnostic INTerrupt LINE You can query the active interrupt line using DIAGnostic INTerrupt LINE The default is no interrupt line enabled at power up You specify 0 if you do not want an interrupt Resetting the module does change the interrupt line setting and you must reset your interrupt setting Configuring the Digitizer Modules 21 Installing the The 1563A or E1564A Digitizer can be installed in any slot except slot 0 Digitizer in a in a C size VXlbus mainframe See Figure 1 5 for the procedure to install the Digitizer in a mainframe Mainframe SE Set the extraction levers out Slide the
180. ve specified a number where a string was expected or vice versa Example SAMP COUN 150 or SAMP COUN A 105 GET not allowed A Group Execute Trigger GET is not allowed within a command string 108 Parameter not More parameters were received than expected for the command You allowed may have entered an extra parameter or you added a parameter to a command that does not accept a parameter Example SYST ERR 10 109 Missing parameter Fewer parameters were received than expected for the command You omitted one or more parameters that are required for this command Example SAMP COUN 112 Program mnemonic A command header was received which contained more than the too long maximum 12 characters allowed Example SAMPLE PRETRIGGER COUNT 10 113 Undefined header A command was received that is not valid for this digitizer You may have misspelled the command or it may not be a valid command If you are using the short form of the command it may contain up to four letters Example TRIGG LEV 1 2 121 Invalid character in An invalid character was found in the number specified for a parameter number value Example STAT QUES ENAB B01010102 Appendix C Digitizers Error Messages 145 wm me en 123 Numeric overflow A numeric parameter was found whose exponent was larger than 32 000 Example SAMP COUN 1E34000 124 Too many digits A numeric parameter was found whose mantissa contained more than 255 digits excluding leading ze
181. vice Again the digitizer s factory set logical address is 40 If this address is not changed the digitizer will have a base address of 1FCO00 6 40 64 16 1FC000 6 A0046 1FCAOO 6 or decimal 2 080 768 40 64 2 080 768 2560 2 083 328 122 Register Based Programming Appendix B Register Offset The register offset is the register s location in the block of 64 address bytes FFFFFF 46 EOOOOO 346 200000 16 IFOOOO 46 000000 16 Appendix B For example the digitizer s Status Register has an offset of 04416 When you write a command to this register the offset is added to the base address to form the register address 1FCA00i 0416 1FCAO4 6 or 2 083 328 4 2 083 332 REGISTER OFFSET 16 BIT WORDS 3E 46 Sample Control Source 3C 46 Trigger Control Source FFFF 16 gt e e REGISTER Sample Period High Byte ADDRESS 2E 46 TRIG INT Level CH4 SPACE 2016 TRIG INT Level CH3 2A16 TRIG INT Level CH2 TRIG INT Level CH1 0 0 0 0 Status Control Register Device Type Register ID Register E1563 E1564 A16 REGISTER MAP C000 16 O2 16 49 152 Base Address COOOJ4e Logical Address 64 46 or E1406 ADDRESS MAP A24 ADDRESS SPACE 49 152 Logical Address 64 40 Register Address Base address Register Offset
182. voltage gt MIN MAX Set trigger level for internal trigger LEVel lt channel gt MIN MAX Query trigger level for internal trigger MODE NORMal MASTer SLAVe Set trigger mode MODE Query trigger mode SLOPe lt n gt POS 1 NEG 0 Set slope of trigger signal SLOPe lt n gt Query trigger signal slope SOURce lt n gt OFF BUS EXT HOLD Set source of trigger signal IMMediate INTernal1 4 TTLTO 7 SOURce lt n gt Query source of trigger signal Chapter 3 Digitizers Command Reference 117 Notes 118 Digitizers Command Reference Chapter 3 Appendix A Digitizers Specifications General Number of channels Selectable input filters 2 pole Bessel E1563A 2 channels E1563A per channel 25 kHz E1564A 4 channels E1564A per channel 1 5kHz 6 kHz 25 kHz 100 kHz Timing Memory Triggering Bandwidth gt 400 kHz for all ranges Trigger Time and Event Resolution 14 bits including sign Pre trigger capture Yes Sample rates 1 Sa s to 800 kSa s Memory 4 Mbyte to 128 Mbyte PC SIMM Integral Non linearity all ranges 2 5 LSB FIFO memory Built in DSP No Minimum External Trigger Pulse Width 20 nsec Alias protection Oversample External Sample Latency 100 nsec due to optocoupler Time base resolution 0 1 usec External Trigger Latency 0 5 x Sample Interval Low frequency CMRR 113 dB Minimum Ext Sample Clock Pulse Width 20 nsec Can accept non periodic sample pulses Cooling Slot Environmental Wat
183. with specific warnings elsewhere in this manual violates safety standards of design manufacture and intended use of the product Agilent Technologies assumes no liability for the customer s failure to comply with these requirements Ground the equipment For Safety Class 1 equipment equipment having a protective earth terminal an uninterruptible safety earth ground must be provided from the mains power source to the product input wiring terminals or supplied power cable DO NOT operate the product in an explosive atmosphere or in the presence of flammable gases or fumes For continued protection against fire replace the line fuse s only with fuse s of the same voltage and current rating and type DO NOT use repaired fuses or short circuited fuse holders Keep away from live circuits Operating personnel must not remove equipment covers or shields Procedures involving the removal of covers or shields are for use by service trained personnel only Under certain conditions dangerous voltages may exist even with the equipment switched off To avoid dangerous electrical shock DO NOT perform procedures involving cover or shield removal unless you are qualified to do so DO NOT operate damaged equipment Whenever it is possible that the safety protection features built into this product have been impaired either through physical damage excessive moisture or any other reason REMOVE POWER and do not use the product until safe operation can be veri
184. y the calibration command was successful 7 Repeat steps 3 through 6 for ranges and inputs in Table E 1 8 Repeat steps 2 through 7 for channel 2 Table E 1 Gain Adjustment Range Input Voltages Channel Range Input Voltage 0 25V 0 24V 15V NOTE Valid calibration input values sent to the digitizer are 0 85 to 0 98 of Full 166 Digitizers Adjustments Scale for the range being adjusted The CAL VAL lt input voltage gt parameter must equal the actual input value For example if you input 0 9V to calibrate the 1V range instead of 0 95 send CAL VAL 0 9 to the digitizer prior to the CAL GAIN lt channel gt command Appendix E E1564A Gain Adjustment NOTE The zero adjustment procedure MUST have been recently performed prior to beginning any gain adjustment procedure Zero adjustment should be performed one time followed by the other gain adjustments Each range in the gain adjustment procedure for each channel takes less than 5 seconds to complete The E1564A 4 Channel Digitizer has an internal DAC that outputs to a calibration bus on the front panel Calibration Bus Output D connector This procedure uses the calibration bus and does not require an external DC Standard You must set the FLASH and CALIBRATION CONSTANTS switch to write enable before you can store new calibration constants lt is recommended you do this prior to starting the calibration procedures Execute CAL STORe to store the new calibration consta
Download Pdf Manuals
Related Search
Related Contents
Installation and User's Guide MOVITRAC LT P / Instruções de Operação / 2007-09 - SEW 32GSD3000 - BrandsMart USA MODBUS VW3A58312P - Schneider Electric CoolMax CUL-750B power supply unit Hitachi Koki USA W6V4 Cordless Drill User Manual (\311cho no 5, le 14 juillet 2012 test) - Domaine Notre-Dame Copyright © All rights reserved.
Failed to retrieve file