HP E1563A User Manual Download Page 100

100

Digitizer Command Reference  

IEEE 488.2 Common Command Quick Reference

The table below lists, by functional group, the IEEE 488.2 Common (*) Commands 
that can be executed by the HP E1563A and HP 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, 
refer to IEEE Standard 488.2-1987.

Category

Command

Title

Description

System Data

*IDN

Identification

Returns the identification string of the 
Digitizer which includes the latest 
firmware version.

Internal 
Operations

*RST

Reset

Resets the Digitizer to:

range:

 256V

input state:

 ON

input filter:

  OFF

TTLT states: OFF
data format:  ASCii

See Table 2-1 in Chapter 2 for the 
module’s complete reset state. 

Internal 
Operations

*TST

Self-Test

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 “Self-Test Errors” in 
Appendix B for a complete list of error 
numbers and their description.  Return 
the digitizer to Hewlett-Packard for 
repair if repair is required.

Synchronization

*OPC
*OPC?
*WAI

Operation Complete
Operation Complete Query
Wait to Complete

Operation Complete Command
Operation Complete Query
Wait-to-Continue Command

Status & Event

*CLS
*ESE <

unmask

>

*ESE?
*ESR?
*SRE <

unmask

>

*SRE?
*STB?

Clear Status
Event Status Enable
Event Status Enable Query
Event Status Register Query
Service Request Enable
Service Request Query
Read Status Byte Query

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

Bus Operation

*TRG

Bus Trigger

When the digitizer is in the 
wait-for-trigger state and the trigger 
source is TRIGger:SOURce BUS, use 
*TRG to trigger the digitizer.

Summary of Contents for E1563A

Page 1: ...ctor Assembly Instructions 20 Chapter 2 Digitizer Application Information 25 Using this Chapter 25 Digitizer Block Diagrams 25 Power on and Reset State 27 Triggering the Digitizer 29 Input Overload Condition 34 HP E1563A and E1564A Digitizer Application Examples 35 Chapter 3 Digitizer Command Reference 39 ABORt 42 CALCulate 43 CALibration 47 DIAGnostic 55 FORMat 63 INITiate 64 INPut 66 OUTPut 68 S...

Page 2: ...n 130 Appendix C HP E1563A and E1564A Digitizer Error Messages 139 Execution Errors 139 Self Test Errors 144 Calibration Errors 144 Appendix D HP E1563A and E1564A Verification Tests 145 Introduction 145 Verification Tests 146 Performance Verification Test Programs 146 Functional Test 147 Performance Verification 148 Performance Test Record 152 Appendix E HP E1563A and E1564A Adjustments 157 Intro...

Page 3: ...OVE WARRANTIES ARE EXCLUSIVE AND NO OTHER WARRANTY OR CONDITION WHETHER WRITTEN OR ORAL IS EXPRESSED OR IMPLIED AND HP SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OR CONDITIONS OF MERCHANTABILITY SATISFACTORY QUALITY AND FITNESS FOR A PARTICULAR PURPOSE 8 HP 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 th...

Page 4: ...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 pr...

Page 5: ...duct Specifications Safety IEC 61010 1 1990 Incl Amend 2 1996 EN61010 1 1993 CSA C22 2 1010 1 1992 UL 3111 1 1994 EMC CISPR 11 1990 EN55011 1991 Group 1 Class A EN61000 3 2 1995 Class A EN61000 3 3 1995 EN50082 1 1992 IEC 1000 4 2 1995 4kV CD 8kV AD IEC 1000 4 3 1995 3 V m IEC 1000 4 4 1995 1kV Power Line 0 5kV Signal Lines ENV50141 1993 prEN50082 1 1995 3 Vrms EN61000 4 5 1995 1kV CM 0 5kV DM EN6...

Page 6: ...ed to gain access to them Additionally the operator cannot have access to a conductive surface connected to any cable conductor High Low or Guard 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 ar...

Page 7: ...r with Area Code Please list the system controller operating system programming language and plug in modules you are using BUSINESS REPLY MAIL FIRST CLASS PERMIT NO 37 LOVELAND CO POSTAGE WILL BE PAID BY ADDRESSEE HEWLETT PACKARD COMPANY Measurement Systems Division Learning Products Department P O Box 301 Loveland CO 80539 9984 fold here Please pencil in one circle for each statement below Disagr...

Page 8: ......

Page 9: ... transient voltages up to 256V They are ideal for measurements in electomechanical design characterization particularily in environments with high levels of electrical noise They are also ideal for characterizing electronic and mechanical transient waveforms You cannot upgrade an E1563A 2 Channel to an E1564A 4 Channel Digitizer Both digitizers are designed to use PC SIMM memory Memory sizes that ...

Page 10: ...t can be enabled The E1564A 4 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 The HP E1563A and E1564A Digitizers are capable of measuring voltages up to 256V maximu...

Page 11: ...ils 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 WARNING Tighten the faceplate mounting screws after installing the module in the mainframe to prevent e...

Page 12: ... 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 the diagram below when purchasing your upgrade RAM RAM Install Procedure 1 Disconnect any field wiring from the module and remove power from the mainframe before proceeding 2 Remove the module from the mainframe and remove the top shield from the module 3 Remove ...

Page 13: ...ry size by sending the command DIAGnostic MEMory SIZE size 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 your module in your mainframe WARNING Tighten the faceplate mounting screws to prevent electric shock in the case of eq...

Page 14: ...h is the logical address divided by eight The Digitizer is shipped from the factory with logical address 40 Note When using an HP E1405A B or E1406A as the VXIbus resource manager with SCPI commands the digitizer s address switch value must be a multiple of 8 Interrupt Line The HP E1563A and E1564A Digitizers are VXIbus interrupters You can specify which interrupt line 1 through 7 the interrupt is...

Page 15: ...ntil the backplane connectors touch 3 Seat the digitizer into the mainframe by pushing in the extraction levers 4 Tighten the top and bottom screws to secure the digitizer module to the mainframe NOTE The extraction levers will not seat the backplane connectors on older VXIbus mainframes You must manually seat the connectors by pushing in the module until the module s front panel is flush with the...

Page 16: ...samples the input for a measurement The Sample indicator typically will blink for slow sample rates and is on steady state for high sample rates HP E1563A Input Terminals The HP E1563A Digitizer s front panel contains two Switchcraft EN3 Mini Weathertight Connectors female Mating Switchcraft Cord Connectors male are supplied with the module and the user must provide the cable and assemble the conn...

Page 17: ...igitizer samples the input for a measurement The Sample indicator typically will blink for slow sample rates and is on steady state for high sample rates HP E1564A Input Terminals The HP E1564A Digitizer s front panel contains four Switchcraft EN3 Mini Weathertight Connectors female Mating Switchcraft Cord Connectors male are supplied with the module and the user must provide the cable and assembl...

Page 18: ...Guard is 5V Exceeding this limitation will not damage your digitizer but will generate invalid data for any measurement taken Three Wire Connection This section shows two examples of connecting the input using a three wire connection Both examples can be constructed using shielded twisted pair The first example shows making connections for a bridge measurement where the L to G voltage is 5V and wh...

Page 19: ... as significant an error on high voltage ranges simply because the error introduced is not a significant part of a larger voltage 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 100Ω in series wi...

Page 20: ...able clamp housing and coupling ring in the order and position shown NOTE The coupling ring can also be inserted onto the cable connector from the front Step 2 Orient the HI LO and Guard conductors with the corresponding pins Step 3 Solder conductors to pins CAUTION Excessive heat on the connector terminals can cause damage to the connector ...

Page 21: ...t panel connector 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 the coupling ring and slowly rotate it clockwise while you gently push the connector toward the panel mount until the notches on the c...

Page 22: ...struments SCPI requires that you select the controller language e g C C Basic Visual Basic etc interface address and SCPI commands to be used See the C Size Installation and Getting Started Guide or equivalent for interfacing addressing and controller information The following C program verifies communication between the controller mainframe and digitizer It resets the module RST queries the ident...

Page 23: ...the module for system errors err viPrintf digitizer SYST ERR n if err VI_SUCCESS err_handler digitizer err err viScanf digitizer t buf if err VI_SUCCESS err_handler digitizer err printf System error response s n n buf viClose digitizer close the digitizer session end of main Error handling function void err_handler ViSession digitizer ViStatus err char buf 1024 0 viStatusDesc digitizer err buf ret...

Page 24: ...24 Digitizer Module Set up ...

Page 25: ...zer Master Slave Operation HP E1563A and E1564A Digitizer Application Examples Digitizer Block Diagrams A block diagram of the HP E1564A 4 Channel Digitizer is shown in Figure 2 1 The HP E1563A 2 Channel Digitizer has the same internal structure without channels 3 and 4 Note the TRIG LEVel channel signals drive the internal trigger inputs LEVel1 drives INT1 LEVel2 drives INT2 etc Figure 2 1 Digiti...

Page 26: ...Chapter 3 SCPI Command Reference for a full description of the commands illustrated here Figure 2 2 Digitizer Channel Block Diagram RANGE SELECTION INPut4 STATe ON 1 OFF 0 VOLTage4 DC RANGe range FILTER SETTING INPut4 FILTer LPASs FREQ freq INPut4 FILTer LPASs STATe ON 1 OFF 0 LIMIT and LEVEL COMPARISON CALCulate4 LIMit LOWer DATA value CALCulate4 LIMit LOWer STATe ON 1 OFF 0 or CALCulate4 LIMit U...

Page 27: ...able 2 1 describes all power on and reset states for the digitizer The reset state obtained after executing a RST command is the same as the power on state Figure 2 3 Pre Trigger and Post Trigger Block Diagram Table 2 1 Power on and Reset States Parameter Power on Reset State DIAG INTerrupt LINE interrupt line 1 FORMat DATA ASCii INPut1 FILTer FREQ 0 no filter on channel 1 INPut2 FILTer FREQ 0 no ...

Page 28: ...nel 4 range VOLT1 RESolution 7 8125 mV channel 1 res VOLT2 RESolution 7 8125 mV channel 2 res VOLT3 RESolution 7 8125 mV channel 3 res VOLT4 RESolution 7 8125 mV channel 4 res SAMPle COUNt 1 one sample SAMPle PRETrigger COUNt 0 no pretrigger samples SAMPle SLOPe POSitive SAMPle SOURce TIMer internal time base SAMPle TIMer 1 3 µS TRIGger LEVel1 256V channel 1 level TRIGger LEVel2 256V channel 2 lev...

Page 29: ...set using the TRIG LEVel channel voltage command for the particular channel you want to generate the trigger event You then set the trigger source to trigger internally from that channel using the TRIG SOURce n INT channel command For example if you want to trigger from a 11 5V level on channel 2 you send the following commands VOLT2 RANG 16 TRIG LEV2 11 5 TRIG SOUR INT2 Figure 2 1 illustrates the...

Page 30: ... internal trigger sources or their external trigger source to trigger a measurement Both the trigger signal and the sample signal are put on the VXI backplane 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 car...

Page 31: ...ger lines for each master slave mode Master Slave Diagrams Figures 2 4 illustrates a module configured as a master module Figure 2 5 illustrates a module configured as a slave module Table 2 2 Trigger Sources for Master Slave Modes MASTer SLAVe Trigger Sources MASTer MODE SLAVe MODE TRIG SOUR1 TRIG SOUR2 MASTer0 SLAVe0 TTLT1 Any source except TTLT0 TTLT1 MASTer2 SLAVe2 TTLT3 Any source except TTLT...

Page 32: ...iate a measurement from 4 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 simply 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 MODE MASTer Sample Signal MASTer0 TTLT2 7 INT1 4 EXT MASTer2 TTLT...

Page 33: ...Rce2 IMM INT1 4 EXT TTLT n 2 SLAVe0 sets the TTLT0 line as if it were SAMP SOUR TTLT0 and sets the TTLT1 line as if it were TRIG SOUR1 TTLT1 However the queries SAMP SOUR or TRIG SOUR will not return these settings These lines are simply 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 ...

Page 34: ...orted both when the readings are retrieved and when the next measurement is initiated If an overload occurred 1 An error message is returned when data is retrieved informing you that the data is questionable Overload detected data questionable 2 An error message is also returned when you initiate the next measurement Overload detected attempting re connect of input relays Range Voltage Input Condi...

Page 35: ...using the HP VISA I O Library C Programs All projects written in C programming language require the following Microsoft Visual C Version 1 51 settings to work properly Project Type QuickWin application EXE Project Files source code file name 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 La...

Page 36: ...ternal trigger input at the D connector Trig input to trigger readings READINGS C Use an IMMediate trigger to begin the sampling measurements on two channels and retrieve the interleaved readings from FIFO memory SCPI COMMANDS IN THIS PROGRAM RST reset the digitizer CLS clear the status system VOLT1 RANG 4 set ch 1 to 4V range VOLT2 RANG 4 set ch 2 to 4V range SAMP COUN 20 set sample count to 20 c...

Page 37: ...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 0V 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 these commands are redundant EXT_TRIG C Use an external trigger input at the D connector Trig in...

Page 38: ...igger 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 0V 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 ...

Page 39: ...mat 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 an...

Page 40: ...insensitive Therefore you may use upper or lower case letters and commands of the form CALCULATE calculate and CaLcUlAtE 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 implie...

Page 41: ...T 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 following SCPI string TRIG LEVel 1 5 SLOPe NEG SOURce EXT Linking Multiple SCPI Commands of Different Subsystems Use bo...

Page 42: ...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 Use the DATA COUNt query to determine how many readings were taken before the ABORt was received ABORt does not affect any instrument settings Executable when initiated YES Coupled command No Reset RST Condition None ...

Page 43: ... 10 in the Questionable Data Register of the status system using the STATus command LIMit FAIL CALCulate channel 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 ther...

Page 44: ...ng state to see if it is enabled or disabled for the specified channel 1 returned indicates the specified channel is enabled for lower limit checking 0 returned indicates the specified channel is disabled for lower limit checking LIMit LOWer DATA CALCulate channel LIMit LOWer DATA value MIN MAX sets the lower limit value you want to test against The CALC channel LIMit FAIL command will return a 1 ...

Page 45: ... be set OFF if it is ON Note 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 if 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 ...

Page 46: ...cent of full scale is kept constant Allowable maximum values for the upper limit by range and the associated resolution is given below Range Maximum value Resolution 0 0625 0 062011719 0 000488281 0 250 0 248046875 0 001953125 1 00 0 992187500 0 00781250 4 00 3 968750 0 031250 16 00 15 8750 0 1250 64 00 63 50 0 500 256 00 254 00 2 0 Executable when initiated No Coupled Command YES Range changes wi...

Page 47: ...e internal DAC to the calibration bus HP E1564A 4 Channel Digitizer only You can measure this voltage on the top two pins of the front panel D sub connector CAL H and CAL L and is used for calibrating the digitizer s gain as the CAL VALue Parameters Comments The maximum output levels are limited to the levels shown in the table below These are the HP E1564A DAC voltages recommended for calibrating...

Page 48: ...he DAC DATA CALibration DATA returns the calibration constants currently stored in non volatile calibration memory GAIN CALibration GAIN channel readings DEF rate 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 ca...

Page 49: ... periodic with the power supply 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 cal constant This boolean ON OFF parameter is checked and used only when calibrating the 16V range It is ignored when calibrating any other rang...

Page 50: ...is the default source a voltage must be provided from an external source to the channel being calibrated Note The INTernal source is available only on the HP E1564A 4 Channel Digitizer CAL SOURce INTernal outputs the specified DAC voltage set by CAL DAC VOLT voltage onto the calibration bus where it is applied internally to the channels It is also available on the top two pins of the front panel D...

Page 51: ...nabled and will accept calibration commands and perform calibrations A return value of 0 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 STORe CALibration STORe writes the calibration constants to non volatile RAM after calibration has been completed Note You must ...

Page 52: ...ed value is the input for the voltage parameter of this CAL VALue command The voltage can be measured across pins 5 high and 9 low of the D subminiature calibration bus connector The maximum output levels are limited to the levels shown in the table below These are the HP E1564A DAC voltages recommended for calibrating each range The values are approximately 98 of full scale except for the 16V ran...

Page 53: ... 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 readings parameter or the rate parameter value you intended will be used to fill in the readings parameter The command for channel 1 would appear as CAL ZERO1 DEF 002 The number of samples and the sample rate would normally be ...

Page 54: ... before CAL ZERO ALL Parameters Comments 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 readings parameter or the rate parameter value you intended will be used to fill...

Page 55: ...t channel STATus DAC OFFSet DIAGnostic DAC OFFSet channel voltage 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 value is sent to the calibration gain DAC This command is a factory diagnostic routine Parameters Comments Executable when initiated No Coupled Command No...

Page 56: ...e DAC OFFSet voltage is used by the DAC when the DAC GAIN command is sent The gain is set on the specified channel This command is a factory diagnostic routine Parameters Comments 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 DA...

Page 57: ...count outputs a ramp of DAC values from 0 to 4095 with the DAC code changing about every 100 µS This command is a factory diagnostic routine Parameters Comments The count variable 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 cal pins on the fron...

Page 58: ... setting Returns a number 0 through 7 to indicate interrupt line 1 through 7 A 0 returned indicates interrupts are disabled See Note in preceding DIAG INTerrupt LINE MEMory SIZE DIAGnostic MEMory SIZE size 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...

Page 59: ...ollowing digitizer registers using the register number reg_number Register Description base register offset 0 Manufacturer ID Register base 0016 1 Device Type Register base 0216 2 Status Control Register base 0416 3 Offset Register base 0616 4 FIFO High Word Register base 0816 5 FIFO Low Word Register base 0A16 6 Interrupt Control Register base 0C16 7 Interrupt Sources Register base 0E16 8 CVTable...

Page 60: ...Count High Register base 3416 27 Pre Trigger Count Low Register base 3616 28 Post Trigger Count High Register base 3816 29 Post Trigger Count Low Register base 3A16 30 Trigger Control Source Register base 3C16 31 Sample Control Source Register base 3E16 DIAG PEEK 4 or DIAG PEEK 5 may cause an error if they are read before data has been taken Example Read the Manufacturers ID register DIAG PEEK 0 r...

Page 61: ...e 3216 26 Pre Trigger Count High Register base 3416 27 Pre Trigger Count Low Register base 3616 28 Post Trigger Count High Register base 3816 29 Post Trigger Count Low Register base 3A16 30 Trigger Control Source Register base 3C16 31 Sample Control Source Register base 3E16 Executable when initiated No Coupled Command No Reset RST Condition None Example Write to the Range Filter Connect Channels ...

Page 62: ... register and therefore the status of the above instrument events Executable when initiated No Coupled Command No Reset RST Condition None Bit Event Represented When Bit is High 0 Channel 1 limit was exceeded or channel 1 trigger level was exceeded 1 Channel 2 limit was exceeded or channel 2 trigger level was exceeded 2 Channel 3 limit was exceeded or channel 3 trigger level was exceeded 3 Channel...

Page 63: ... format sends data back as IEEE 754 64 bit real numbers Both PACKed 16 and REAL 64 formats return data preceded by the IEEE 488 2 definite length arbitrary block header The header is as follows num_digits num_bytes signifies a block transfer num_digits is a single digit 1 through 9 which specifies how many digits ASCII characters are in the num_bytes descriptor which follows num_bytes is the numbe...

Page 64: ...e wait for sample state which is where readings are actually taken When the number of readings specified by the TRIGger COUNt and SAMPle COUNt have been taken the trigger system returns to the idle state and digitizer stops measuring Comments Executable when initiated No Coupled Command No Reset RST Condition Idle state CONTinuous INITiate CONTinuous ON 1 OFF 0 is used to either start or stop a co...

Page 65: ...complete use the DIAG STATus command and monitor bit 6 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 command WAI OPC and OPC will all be fulfilled immediately after the INIT command is processed not when the measurements are complete Comments Executable when initiate...

Page 66: ...l is 1 through 4 The 2 channel E1563A Digitizer only has a fixed 25 kHz filter but will accept this command without error 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 In the E1564A 4 channel digitizer the filter will be set to the nearest value that can be achieved by the value...

Page 67: ...hannel STATe ON 1 OFF 0 is used to connect or disconnect the input signal to the Digitizer s measurement circuitry Note OFF State Connections HP E1563A 2 Channel Digitizer INPut channel STATe OFF connects the specified channel to ground HP E1564A 4 Channel Digitizer INPut channel STATe OFF connects the specified channel to the internal calibration bus calibration DAC Comments Executable when intit...

Page 68: ...L trigger line state is set to ON 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 TIMer if it is the conflict A Settings Conflict error will occur Setting the trigger or sample source to a TTL trigger line that has its output stat...

Page 69: ... error will occur 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 TRIG MODE MASTer n SLAVe n will disable all other OUTPut TTLT n STATe settings The only outputs that will occur are those defined in ...

Page 70: ...NSe DATA rdgs_per_channel channel_list command returns voltage formatted data from all channels default or only from the specified channel list Parameters Comments channel_list has the form 1 or 2 1 2 1 4 or 1 2 3 4 or for specific channels but not all the format is 1 3 4 The readings are returned in an array in an interleaved configuration That is the array contains the first reading from each sp...

Page 71: ...e raw readings to voltages voltage reading range 32768 voltage reading resolution NOTE Use the SENSe VOLTage DC RESolution command to obtain the resolution value Data is returned as real numbers when the data format is set to REAL see the FORMat DATA REAL command The data is returned in voltage units and no scaling conversion is required as with the PACKed format Readings are in an interleaved con...

Page 72: ... may be less readings available than indicated by samples X channels For ABORted measurements use DATA COUNt to determine how many readings are available Data is returned as raw data 16 bit integers when the data format is set to PACKed see the FORMat DATA PACKed command Use either of the two methods shown below to convert the raw readings to voltages voltage reading range 32768 voltage reading re...

Page 73: ...The data count from a completed measurement is equal to the sample count set by the SAMPle COUNt command DATA CVTable SENSe DATA CVTable channel_list command returns the most recent reading taken from each specified channel The last reading or Current Value from eachchannel isreturnedinchannelnumberorderstartingwiththefirstoneinthelist Parameters Comments channel_list has the form 1 or 2 1 2 1 4 o...

Page 74: ...ield ROSCillator EXTernal FREQuency SENSe ROSCillator EXTernal FREQuency freq is used to specify the externally supplied timebase frequency This command is not required unless ROSCillator SOURce is EXTernal The default timebase isthe INTernal timebase Parameters Comments The frequency parameter value is used to calculate sample periods when the sample source is set to TIMer The sample period must ...

Page 75: ...ternal timebase Comments The timebase reference set by SAMPle TIMer interval is used when the sample source is TIMer SAMPle SOURce TIMer Executable when initiated NO Coupled command Yes The SAMPle TIMer interval 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 ROSCillator SOURce SEN...

Page 76: ... SAMPle PRETrigger COUNt except the sign on count is negative here whereas it is positive for pretrigger count and is included for SCPI compatibility SWEep OFFSet POINts SENSe SWEep OFFSet POINts MIN MAX command returns the sweep offset points VOLTage channel DC RANGe SENSe VOLTage channel DC RANGe range command is used to change the range on the specified channel There are seven different ranges ...

Page 77: ...te 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 condition range is set to 256 for all channels VOLTage channel DC RANGe SENSe VOLTage channel DC RANGe queries the specified channel for its present range setting The command defaults to channel 1 if no channel is specified VOLTage channel DC RESolut...

Page 78: ...COUNt count MIN MAX COUNt MIN MAX IMMediate PRETrigger COUNt count MIN MAX PRETrigger COUNt MIN MAX SLOPe POS 1 NEG 0 SLOPe SOURce HOLD TIMer TTLT0 7 EXT SOURce TIMer interval MIN MAX TIMer MIN MAX COUNt SAMPle COUNt count MIN MAX command 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 ...

Page 79: ...ytes 33 554 432 16 777 216 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 COUNt SAMPle COUNt MIN MAX command returns the number of samples each channel will make The number of samples returned is common to all channels PRETrigger COUNt ...

Page 80: ...s each channel will make prior to each trigger The number of pretriggers returned is common to all channels IMMediate SAMPle IMMediate command 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 SLOPe SAMPle SLOPe POS 1 NEG 0 command sets the slope of the sample signal the active edge rising or falling of the sample sign...

Page 81: ...riod can be specified if the sample source is set to TIMer see SAMPle TIMer command TRIG MODE SLAVe n forces the sample source to be the appropriate TTL trigger line Attempts to change the sample source while TRIG MODE is SLAVe n will result in a settings conflict error message Executable when initiated No Coupled command Yes TRIG MODE SLAVe n forces a certain TTL trigger line to the sample source...

Page 82: ...EXT FREQ freq command Comments 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 attained For SAMPle SOURce INTernal if not a correct multiple of 1E 7 it will be rounded to the nearest value that can be attained b...

Page 83: ...ble ENABle Status System Registers The STATus system contains seven registers four of which are under IEEE 488 2 control the Standard Event Status Register ESR the Standard Event Enable Register ESE and ESE the Status Byte Register STB and the Status Byte Enable Register SRE and SRE Questionable Data Register The QUEStionable data register indicates failures as described in the following table Lim...

Page 84: ...84 Digitizer Command Reference ...

Page 85: ...to the summary bit Query using decimal weighted bit values OPERation CONDition STATus OPERation CONDition returns a decimal weighted number representing the bits set in the Operation Data condition register OPERation EVENt STATus OPERation EVENt returns a decimal weighted number representing the bits set in the Operation Data Signal Register s event register This command clears all bits in the eve...

Page 86: ...ber representing the bits set in the Questionable Data Signal Register s event register This command clears all bits in the event register when executed QUEStionable ENABle STATus QUEStionable ENABle unmask enables unmasks bits in the Questionable Data Signal Register s enable register to be reported to the summary bit setting Status Byte Register bit 3 true The event register bits are not reporte...

Page 87: ...cleared in a first in first out order This means that if several errors are waiting in the queue each SYSTem ERRor query returns 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 the CLS command The error queue has a maximum capacity of 20 errors I...

Page 88: ... command returns only the first test that failed Use the TEST TST RESults command to obtain the 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 Error Messages for retrieving information on self test errors NUMBer TEST NUMBer test_number cycles allows you to cycle through a particular self test a specified...

Page 89: ...e test 10 Channel 4 62 mV range filter ON offset noise test 11 Channel 1 0 25V range filter OFF offset noise test 12 Channel 2 0 25V range filter OFF offset noise test 13 Channel 3 0 25V range filter OFF offset noise test 14 Channel 4 0 25V range filter OFF offset noise test 15 Channel 1 0 25V range filter ON offset noise test 16 Channel 2 0 25V range filter ON offset noise test 17 Channel 3 0 25V...

Page 90: ...annel 2 16V range filter ON offset noise test 41 Channel 3 16V range filter ON offset noise test 42 Channel 4 16V range filter ON offset noise test 43 Channel 1 64V range filter OFF offset noise test 44 Channel 2 64V range filter OFF offset noise test 45 Channel 3 64V range filter OFF offset noise test 46 Channel 4 64V range filter OFF offset noise test 47 Channel 1 64V range filter ON offset nois...

Page 91: ...5V uncalibrated gain 72 Channel 2 0 25V uncalibrated gain 73 Channel 3 0 25V uncalibrated gain 74 Channel 4 0 25V uncalibrated gain 75 Channel 1 1V uncalibrated gain 76 Channel 2 1V uncalibrated gain 77 Channel 3 1V uncalibrated gain 78 Channel 4 1V uncalibrated gain 79 Channel 1 4V uncalibrated gain 80 Channel 2 4V uncalibrated gain 81 Channel 3 4V uncalibrated gain 82 Channel 4 4V uncalibrated g...

Page 92: ...64A 4 Channel Digitizer 90 Channel 4 64V uncalibrated gain 91 Channel 1 256V uncalibrated gain 92 Channel 2 256V uncalibrated gain 93 Channel 3 256V uncalibrated gain 94 Channel 4 256V uncalibrated gain test_number Description bit 7 6 5 4 3 2 1 0 weight 128 64 32 16 8 4 2 1 BCD weight Failure mode 1 Span is zero 2 Span is too large 4 Mean is too low 8 Mean is too high 16 Standard deviation is too ...

Page 93: ... the failed test number s returned by the TEST TST RESults command BCD weight Failure mode 1 DAC measurement is noisy 2 Measured data span is too small 4 Lower end point to upper end point span is too small 8 Lower end point to upper end point span is too large 16 Gain DAC span does not include 0 32 Bit weight is out of limits the offending bit is in B15 B8 64 Gain DAC nominal setting is out of li...

Page 94: ...nd 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 Comments Executable when initiated Yes Coupled command No Reset RST condition none LEVel TRIGger LEVel channel voltage MIN MAX sets the level on the specified channel that can be used...

Page 95: ...tizer TRIG SLOPe is POSitive causes a trigger when the signal passes through the level and rises above the specified level A trigger occurs when TRIG SLOPe is NEGative and the trigger 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 LEVel TRIGger LEVel channel queries the valu...

Page 96: ... and you must designate which source you are setting the slope n 1 for the slope of trigger source number 1 n 2 for the slope of trigger source number 2 Trigger slope defaults to n 1 if n is not designated Parameters Note 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 C...

Page 97: ...o trigger sources are allowed TRIG SOUR1 and TRIG SOUR2 which are common to ALL channels on the E1563A and E1564A SOUR1 is not associated only with channel 1 and SOUR2 is not associated only with channel 2 Parameters Comments The TRIGger SOURce command only selects the trigger source You must use the INITiate command to place the digitizer in the wait for trigger state TRIGger SOURce EXT uses the ...

Page 98: ...it Refer to the first block diagram in chapter 2 for information about how the internal trigger source is driven by the level signal TRIG SOURce1 is set to the appropriate TTLT n line by the TRIG MODE MASTer SLAVe command TRIG SOURce1 can not 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...

Page 99: ...lowing responses indicating the trigger source setting BUS EXT HOLD IMM INT INT2 INT3 INT4 TTLTn where n 0 to 7 Note 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 and INT4 ...

Page 100: ...Operations TST Self Test 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 Self Test Errors in Appendix B for a complete list of error numbers and their description Return the digitizer to Hewlett Packard for repair if repair is required Synchronization OPC OPC WAI Operation Complete Operation Complete Query Wait to ...

Page 101: ...vent Status Register to be reported in bit 5 the Standard Event Status Summary Bit of the Status Byte Register 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 The query form returns the current enable unmask value Parameters A 1 in a bit position enables the corresponding event a 0 disables it Co...

Page 102: ...field indicates the revision level of the firmware The revision level shown above is an example and the actual response you receive will likely be different than the example Comments Executable when initiated Yes Coupled command No Reset RST condition none Power On condition register is cleared OPC OPC causes the HP E1563A and E1564A Digitizers to wait for all pending operations to complete after ...

Page 103: ...strument may not be finished taking all readings initiated Executable when initiated Yes Coupled command No Related commands OPC WAI Reset RST condition none RST RST resets the HP E1563A and E1564A Digitizers as follows Sets all commands to their RST state Aborts a calibration CAL STATe ON resetting the CAL STATe to OFF Aborts all pending operations RST does not affect The output queue The Service...

Page 104: ...corresponding Status Byte Register bit is set a 0 disables it Comments Executable when initiated Yes Coupled command No Reset RST condition unaffected Power On condition no bits are enabled Example Enable service request on Message Available bit SRE 16 Enable request on MAV STB STB returns the value of the Status Byte Register The RQS bit bit 6 in the status byte having decimal weight 64 is set if...

Page 105: ...ommand No Reset RST condition none WAI WAI causes the HP E1563A and E1564A Digitizers to wait for all pending operations to complete before executing any further commands Comments The 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 t...

Page 106: ...e Enable lower limit checking Set lower limit value Enable upper limit checking Set upper limit value CALibrate DAC VOLTage voltage MIN MAX DAC VOLTage MIN MAX DATA GAIN channel readings rate ON 1 OFF 0 SOURce INTernal EXTernal SOURce STATe ON 1 OFF 0 STATe STORe VALue voltage VALue ZERO channel readings rate ZERO channel ALL readings rate Calibration commands E1564A sets internal cal source Retur...

Page 107: ...te data to a register Connect internal short to the channel Query interrupt sources register status FORMat DATA ASCii PACKed REAL DATA Set data format INITiate IMMediate CONTinuous ON 1 OFF 0 CONTinuous Initiate a measurement now Initiate measurements continuously INPut channel FILTer LPASs FREQ 1 5K 6K 25K 100K 4 chan FILTer LPASs FREQ FILTer LPASs STATe ON 1 OFF 0 FILTer LPASs STATe STATe ON 1 O...

Page 108: ...d data from all channels Query available readings per channel Query last reading taken from channel Declare external source s frequency Set reference oscillator source Set number of sweep points Set number of sweep offset points Set channel s voltage range Query channel s resolution SAMPle STARt SEQuence 1 COUNt count MIN MAX COUNt MIN MAX IMMediate PRETrigger COUNt count MIN MAX PRETrigger COUNt ...

Page 109: ...er bits Read OPER EVENt register SYSTem ERRor VERSion Read system errors from error queue Query system version TEST ERRor NUMBer test_number TST RESults Return details about self test errors Run a specific self test Return results of the TST command TRIGger STARt SEQuence 1 IMMediate LEVel channel voltage MIN MAX LEVel channel MIN MAX MODE NORMal MASTer SLAVe MODE SLOPe n POS 1 NEG 0 SLOPe n SOURc...

Page 110: ...110 ...

Page 111: ...uding sign Sample rates 1 Sa s to 800 kSa s Built in DSP No Alias protection Oversample Time base resolution 0 1 us Low frequency CMRR 113 dB Selectable input filters E1563A per channel 25 kHz E1564A per channel 1 5kHz 6 kHz 25 kHz 100 kHz Trigger Time and Event Pre trigger capture Yes Memory 4 Mbyte to 128 Mbyte PC SIMM FIFO memory Cooling Slot Watts slot E1563A 20 6W E1564A 37 4W P mm H2O 0 18 A...

Page 112: ...e 3000 meters or mainframe altitude specification whichever is lower Operating temperature 0 C to 55 C Relative humidity up to 80 at 31 C decreasing to 50 at 40 C Range Zero Offset1 with filter OFF Zero Offset1 with filter ON Gain of reading Noise 3 sigma Specifi cation2 Temperature Coefficient3 Specifi cation2 Temperature Coefficient3 Specifi cation2 Temperature Coefficient3 Specifi cation 0 0625...

Page 113: ...ate the need for using an HP E1405 E1406 Command Module This appendix contains the information you need for register based programming The contents include Register Addressing 113 Register Descriptions 116 Program Timing and Execution 130 Programming Example 130 Register Addressing Register addresses for register based devices are located in the upper 25 of VXI A16 address space Every VXI device u...

Page 114: ... 49 152 is the starting location of the register addresses LADDR is the digitizer s logical address and 6410 is the number of address bytes per VXI device For example the digitizer s factory set logical address is 40 2816 If this address is not changed the digitizer will have a base address of C00016 40 64 16 C00016 A0016 CA0016 or decimal 49 152 40 64 49 152 2560 51 712 1 The 16 at the end of the...

Page 115: ...bytes per register based device Again the digitizer s factory set logical address is 40 If this address is not changed the digitizer will have a base address of 1FC00016 40 64 16 1FC00016 A0016 1FCA0016 or 2 080 768 40 64 2 080 768 2560 2 083 328 Register Offset The register offset is the register s location in the block of 64 address bytes For example the multiplexer s Status Control Register has...

Page 116: ... base 26 16 Trigger Interrupt Level Channel 1 Register base 28 16 Trigger Interrupt Level Channel 2 Register base 2A 16 Trigger Interrupt Level Channel 3 Register base 2C 16 Trigger Interrupt Level Channel 4 Register base 2E 16 Sample Period High Word Register base 30 16 Sample Period Low Word Register base 32 16 Pre Trigger Count High Register base 34 16 Pre Trigger Count Low Register base 36 16 ...

Page 117: ...ce Register base 3C16 Sample Control Source Register base 3E16 ID Register Reading the ID register returns FFF16 in the least significant bits to indicate the manufacturer is Hewlett Packard and the module is an A16 register based device Reading the Register Via Command Module PEEK command DIAG PEEK 2083328 16 2083328 base with logical address 40 0 offset see Figure B 2 Via Digitizer Module PEEK c...

Page 118: ... before resuming normal operations of the module bit 1 S 1 inhibits sysfail 0 does not inhibit sysfail bit 6 E 1 disables error reporting LED 0 enables error reporting LED front panel bit 7 F 1 disables Flash ROM write 0 enables Flash ROM write bit 12 A24 1 sets A24 space as all FIFO 0 sets A24 space as broken up bit 13 MOT INTEL 1 sets Motorola format for reading ordering 0 sets Intel format for ...

Page 119: ...ked into the FIFO registers Always read register 08h before 0Ah if using D16 The FIFO is incremented after reading register 0Eh If D32 is used reading 08h will increment the FIFO correctly The data is interwoven from all channels The following is the ordering of the data when D16 is used to remove the data on a 4 channel module Read 08h channel 1 data bit 15 is MSB of chan1 bit 0 is LSB of chan 1 ...

Page 120: ...rupt 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 Level 0 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...

Page 121: ... is full or post trigger acquisition is done bit 13 PRE Pre trigger data has been acquired bit 12 OVER A dangerous OVERvoltage caused the channel input relay to open bit 11 CH4 Channel 4 exceeded the set limit bit 10 CH3 Channel 3 exceeded the set limit bit 9 CH2 Channel 2 exceeded the set limit bit 8 CH1 Channel 1 exceeded the set limit base 0E16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Read TRIG DO...

Page 122: ... at bit 2 Samples Taken High Byte Register This register holds the upper 16 bits of the number of samples taken number of readings The value in this register will continuously change as readings are taken Samples Taken Low Word Register This register holds the lower 16 bits of the number of samples taken number of readings The value in this register will continuously change as readings are taken b...

Page 123: ...ch Bit 15 is the gain switch and bits 11 through 0 are the calibration value Calibration Source register bits defined Cache Count Register The total number of samples taken by the digitizer is the cache count x 2 divided by the number of channels the sample count registers at offset 1816 and 1A16 base 1C16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write 0 1 0 1 0 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 Read...

Page 124: ...ters and the gain amplifier is about 10 ms This register controls channels 3 and 4 base 2416 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write Conn1 CH 1 Filter Code short1 CH 1 Gain Code Conn2 CH 2 Filter Code short2 CH 2 Gain Code Read Conn1 CH 1 Filter Code short1 CH 1 Gain Code Conn2 CH 2 Filter Code short2 CH 2 Gain Code WRITE READ BITS Range Filter and Channel 1 2 Connect Register bits 0 2 and 8 1...

Page 125: ... 4 0V range 100 16V range 101 64V range 110 256V range also 111 256V range bits 3 and 11 short3 short4 These bits connect an internal short to the channel inputs when the bit is 1 When it is 0 bits 7 15 connect the channel to the input or the calibration bus bits 4 6 and 12 14 Filter Code These bits set the input channel filter cut off frequency by the codes shown below 000 1 5 kHz 001 6 kHz 010 2...

Page 126: ...D7 D6 D5 D4 D3 D2 D1 D0 0 0 0 0 0 0 0 GL Read MSB D7 D6 D5 D4 D3 D2 D1 D0 0 0 0 0 0 0 0 GL WRITE READ BITS Trigger Interrupt Level Channel 2 Register bit 0 GL Greater than or Less than 0 1 bits 15 8 D7 D0 data bits base 2C16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write MSB D7 D6 D5 D4 D3 D2 D1 D0 0 0 0 0 0 0 0 GL Read MSB D7 D6 D5 D4 D3 D2 D1 D0 0 0 0 0 0 0 0 GL WRITE READ BITS Trigger Interrupt Le...

Page 127: ...e 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 base 3016 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write x x x x x x x x Read 0 0 0 0 0 0 0 0 x ...

Page 128: ...12 11 10 9 8 7 6 5 4 3 2 1 0 Write CMP4 CMP3 CMP2 CMP1 SLAVING PAIR EX_ TRIG POS_ NEG SOFT TRIG MAS TER SLAVE EN_ TTL IN OUT TTL_3 TTL_1 TTL_0 Read CMP4 CMP3 CMP2 CMP1 SLAVING PAIR EX_ TRIG POS_ NEG SOFT TRIG MAS TER SLAVE EN_ TTL IN OUT TTL_3 TTL_1 TTL_0 WRITE BITS Trigger Source Register and READ BITS Trigger Control Register bits 0 2 TTL_n 000 TTLT0 001 TTLT1 010 TTLT2 011 TTLT6 111 TTLT7 bit 3...

Page 129: ... 010 TTLT2 011 TTLT6 111 TTLT7 bit 3 IN OUT TTLTn line is 0 IN 1 OUT bit 4 EN_TTL 1 enable TTLTn 0 disable TTLTn bit 5 INT Clock 0 disable sampling from internal clock source 1 sample from the internal clock source bit 6 EXT Timebase 0 timebase is internal 10 MHz clock 1 timebase is external clock source you must input on the Time Base pin on the front panel D subminiature connector bit 7 Soft Sam...

Page 130: ...HP IB to the HP E1406A slot 0 Command Module The command module simply provides direct access to the VXI backplane If you use the HP E1406A with SCPI commands you would use the HPE1563A E1564A SCPI driver which you installed in the HP E1406A firmware and register programming would not be necessary Chapter 3 describes the SCPI commands for the digitizer s driver Programming Example The example prog...

Page 131: ...mal values of readings int i create and open a device session ViStatus err ViSession defaultRM digitizer ViOpenDefaultRM defaultRM HP IB interface address is 9 digitizer logical address switch 40 factory setting ViOpen defaultRM GPIB VXI0 9 40 VI_NULL VI_NULL digitizer reset the E1563A E1564A reset digitizer err Read ID and Device Type Registers read the digitizer s ID and Device Type registers er...

Page 132: ...A16_SPACE 0x3C 0x180 set bits 7 and 8 if err 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 13 if err VI_SUCCESS err_handler digitizer err retrieve readings read the CVT registers err ViIn16 digitizer VI_A16_SPACE 0x10 cvt_reg if err VI_SUCCESS err_handler digitizer err printf channel 1 0x 4X n cvt_reg last_r...

Page 133: ...gitizer err reading double cache_reg 4 32768 printf channel 3 lf Volts n reading err ViIn16 digitizer VI_A16_SPACE 0x0A cache_reg if err 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 E1564A is reset Close session ViClose digitizer ViClose defaultRM Reset Functio...

Page 134: ...ime entry_time printf Call failed exiting n exit 1 do if 1 time current_time printf Call failed exiting n exit 1 while current_time entry_time time_t wait_seconds fflush stdout end of wait function Program Output Printout from example program ID register 0xCFFF Device Type register 0x7267 Status register 0x40CE last readings printout all readings from all channels printout HP E1563A E1564A is rese...

Page 135: ... used to configure Digitizers for master slave operation The module functions as a normal module when both bits are 0 NORMal Mode The default setting for trigger mode is normal bits 5 and 6 of the Trigger Source Control register are both 0 which configures the module as an individual instrument MASTer Mode Bit 6 of the Trigger Source Control register is used to configure a module as a master The e...

Page 136: ...et with the Trigger Source Control Register bits 0 1 2 3 4 7 8 9 12 13 14 and 15 2 SLAVe0 sets the TTLT0 line as if the sample source is TTLT0 and sets the TTLT1 line as if the trigger source is TTLT1 These lines are simply dedicated for synchronization between the modules in the master slave mode You should not use these lines for any other purpose MODE Sample signal Trigger signal SLAVe0 TTLT0 T...

Page 137: ...e can be set with the Trigger Source Control Register bits 0 1 2 3 4 7 8 9 12 13 14 and 15 2 SLAVe0 sets the TTLT0 line as if the sample source is TTLT0 and sets the TTLT1 line as if the trigger source is TTLT1 These lines are simply dedicated for synchronization between the modules in the master slave mode You should not use these lines for any other purpose MODE Sample signal Trigger signal SLAV...

Page 138: ...138 HP E1563A and E1564A Register Based Programming Appendix B ...

Page 139: ...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 have specifie...

Page 140: ...gits A numeric parameter was found whose mantissa contained more than 255 digits excluding leading zeros 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 paramete...

Page 141: ... 215 Arm Trigger deadlock You 221 Settings conflict 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 CALC2 LIM UPP STAT ON 222 Data out of range A numeric parameter value is outside the valid ...

Page 142: ...t 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 command has been executed 420 Query UNTERMINATED 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...

Page 143: ...le calibrating 1002 Trigger ignored 1003 Sample Trigger ignored 1004 Insufficient data for query 1005 Invalid channel number 1006 Invalid channel range 1007 Error in CAL 1008 Data fetch timed out waiting for trigger 1009 Error reading data viMoveIn16 failed 1010 Self test failed 1011 Visa error ...

Page 144: ...nformation is returned on the 64V range Zero Non converging error A 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 voltage not within 85 to 98 of full scale You have entered a voltage with the CAL VALue command that is not between 85...

Page 145: ...d technician and have read the WARNINGS and CAUTIONS in Chapter 1 and the Warnings and Safety information preceding chapter 1 on page 4 Recommended Test Equipment Test equipment recommended for the performance verification and calibration procedures are listed in Table D 1 Use a source with accuracy requirements indicated in the table for any substitute calibration standard Special care must be ta...

Page 146: ...tainty 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 Verification Test Programs Performance Verification Test programs are provided so you can performance verify...

Page 147: ...tizer 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...

Page 148: ...Verification This procedure is used to check the zero offset performance of the HP E1563A or HP 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 channel command 1 Check the Test Conditions section at the beginning of this chapter 2 Execute the command DIAG SHOR1 ON to enable the internal short across th...

Page 149: ... Calculate the standard deviation using the following formula this is the rms noise value readingn represents the 100 readings where n 1 to 100 7 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 8 Repeat steps 4 5 and 6 for each range listed in table D 3 9 Repeat steps 3 to 7 for channel 2 on ...

Page 150: ... command Retrieve the reading using the DATA 1 1 command 4 Verify the result is within specified limits and record the result 5 Change ranges using VOLT channel RANG range 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...

Page 151: ...trieve the reading using the DATA 1 1 command 4 Record the result on the Performance Test Record and verify the result is within specified limits 5 Move the AC Standard output to the channel 2 input Perform the filter bandwidth measurement using the INITiate command Retrieve the reading using the DATA 1 2 command 6 Verify the result is within specified limits and record the result 7 Repeat steps 1...

Page 152: ... and Low Limit columns represent the digitizer accuracy for the specified test conditions Measurement Uncertainty Measurement uncertainties listed in the Performance Test Record are 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...

Page 153: ..._________ Date ___________________________________ City State__________________________________ Customer________________________________ Phone_____________________________________ Tested By________________________________ Model______________________________ Ambient temperature _________________________ C Serial No ___________________________ Relative humidity ___________________________ Firmware R...

Page 154: ...N A N A 0 256V 079000 079000 N A N A Noise Test 0 62 mV 0 57 µV max N A N A 0 250 mV 0 180 µV max N A N A 0 1V 0 720 µV max N A N A 0 4V 0 2 8 mV max N A N A 0 16V 0 14 7 mV N A N A 0 64V 0 48 mV N A N A 0 256V 0 189 mV N A N A Gain Test 55 mV 62 mV 05498100 05501900 0000011 10 1 55 mV 62 mV 05501900 05498100 0000011 10 1 200 mV 250 mV 19993200 20006800 0000022 10 1 200 mV 250 mV 20006800 19993200...

Page 155: ...9 9660 100 0340 0007 10 1 100V 256V 100 0340 99 9660 0007 10 1 E1563A 25 kHz Filter Bandwidth Test 1V 1 MHz 1V no filter 5 dB 1 dB N A N A 1V 25 kHz 1V 25 kHz filter 5 dB 1 dB N A N A E1564A Filter Bandwidth Test 4 filters 1V 1 MHz 1V no filter 5 dB 1 dB N A N A 1V 1 5 kHz 1V 1 5 kHz filter 5 dB 1 dB N A N A 1V 6 kHz 1V 6 kHz filter 5 dB 1 dB N A N A 1V 25 kHz 1V 25 kHz filter 5 dB 1 dB N A N A 1V...

Page 156: ...156 HP E1563A and E1564A Verification Tests ...

Page 157: ...tors 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 WARNING Do not perform any of the following adjustments unless you are a qualified service trained technician and have read the WARNINGS and CAUTIONS in Chapter 1 and the Warnings and safety information preceding chapter 1 on page 4 Adjustment proce...

Page 158: ... be lost If power is removed during any gain adjustment calibration memory for the function being adjusted may be lost Adjustment Procedures Adjustment Conditions See Table D 1 Recommended Test Equipment for test equipment requirements For optimum performance all adjustment procedures should comply with following test conditions Ambient temperature of the test area is between 18 C and 28 C and sta...

Page 159: ...or the current range when the CALibration ZERO channel command is executed The digitizer calculates a new set of offset correction constants for all ranges of a channel when the CALibration ZERO channel ALL command is executed The digitizer will sequence through all ranges automatically and calculate new zero offset calibration constants automatically 1 Reset the Digitizer by executing a RST comma...

Page 160: ...e adjustment by sending the CAL GAIN channel command adjusts each channel in about 5 seconds 6 Send the SYST ERR command and read the result to verify the calibration command was successful See Chapter 3 SCPI Command Reference for details on reading system errors 7 Repeat steps 3 through 6 for the ranges and inputs given in Table E 1 8 Repeat steps 2 through 7 for channel 2 Note Each range in the ...

Page 161: ...eset the HP E1564A Digitizer by executing a RST command 2 Connect a voltmeter to the Calibration Bus Output on the front panel D connector see the following diagram Set the voltmeter to the DCV function 3 Prepare the HP E1564A for calibration Set the channel s range VOLT channel RANG range Set the calibration source to internal CAL SOUR INT Set the CAL DAC output voltage CAL DAC VOLT voltage see t...

Page 162: ...ll Scale for the range being adjusted The input voltage parameter of the CAL VAL command must equal the actual input value For example if you input 0 9V to calibrate the 1V range instead of 0 95 you send CAL VAL 0 9 to the digitizer prior to the CAL GAIN channel command Store Calibration Constants You must set the FLASH and CALIBRATION CONSTANTS switch to write enable before you can store new cali...

Page 163: ... 47 50 calibration erros 144 Calibration Flash ROM Address register 123 Calibration Flash ROM Data register 123 calibration services by Hewlett Packard Co 157 calibration source external 50 internal 50 Calibration Source register 123 CALibration subsystem 47 CALibration DAC VOLTage 47 CALibration DATA 48 CALibration GAIN 48 CALibration SOURce 50 CALibration SOURce 50 CALibration STATe 51 CALibrati...

Page 164: ...139 self test errors 144 error queue capacity 87 clearing 87 reading 87 ERRor see SYSTem subsystem 87 Example programs hardware used 35 Execution program 130 F format common command 39 SCPI command 39 FORMat subsystem 63 FORMat DATA 63 FORMat DATA 63 functional test procedure 147 H HP I O Libraries for Instrument Control 146 I implied commands 40 INITiate subsystem 64 INITiate CONTinuous 64 INITia...

Page 165: ...Programming Register based 113 programs verification tests 146 Q QUEStionable Data Register 83 85 Questionable Data Register 84 questionable data status 83 R Range Filter Connect Channel 3 4 Register 124 Reading registers 113 reading the error queue 87 Register the device type 117 the ID 117 the status control 118 Register Addressing 113 Register Descriptions 116 Register based Programming 113 bas...

Page 166: ...us QUEStionable CONDition 86 STATus QUEStionable ENABle 86 STATus QUEStionable ENABle 86 STATus QUEStionable EVENt 86 symbols safety 4 SYSTem subsystem 87 SYSTem ERRor 87 SYSTem VERSion 87 T test conditions 145 TEST subsystem 88 TEST ERRor 88 TEST NUMBer 88 TEST TST RESults 93 The Device Type Register 117 The ID Register 117 The READ Registers 116 The Status Control Register 118 The WRITE Register...

Reviews: