Agilent Technologies Stereo Receiver E1563A User Manual

Agilent Technologies  
E1563A 2-Channel Digitizer  
E1564A 4-Channel Digitizer  
User’s Manual  
Manual Part Number: E1563-90004  
Printed in U.S.A. E0501  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Contents  
E1563A/E1564A Digitizers User’s Manual  
Front Matter.......................................................................................................................9  
3
Download from Www.Somanuals.com. All Manuals Search And Download.  
4
Download from Www.Somanuals.com. All Manuals Search And Download.  
5
Download from Www.Somanuals.com. All Manuals Search And Download.  
6
Download from Www.Somanuals.com. All Manuals Search And Download.  
Functional Test  
Procedure .........................................................................................................153  
7
Download from Www.Somanuals.com. All Manuals Search And Download.  
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 incidental 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 paidfor 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 SUPPLIERS 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.  
E1563A 2-Channel Digitizer and E1564A 4-Channel Digitizer User’s Manual  
Edition 4  
Copyright © 1997, 1998, 2001 Agilent Technologies, Inc. All rights reserved.  
9
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Documentation History  
All Editions and Updates of this manual and their creation date are listed below. The first Edition of the manual is Edition 1. The Edition  
number increments by 1 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.  
Edition 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . October, 1997  
Edition 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . April, 1998  
Edition 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . March, 2001  
Edition 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . May, 2001  
Safety Symbols  
Instruction manual symbol affixed to  
Alternating current (AC)  
product. Indicates that the user must refer to  
the manual for specific WARNING or  
CAUTION information to avoid personal  
injury or damage to the product.  
Direct current (DC).  
Warning. Risk of electrical shock.  
Indicates the field wiring terminal that must  
be connected to earth ground before  
operating the equipment — protects against  
electrical shock in case of fault.  
Calls attention to a procedure, practice, or  
condition that could cause bodily injury or  
death.  
WARNING  
CAUTION  
Calls attention to a procedure, practice, or  
condition that could possibly cause damage to  
equipment or permanent loss of data.  
Frame or chassis ground terminal—typically  
connects to the equipment's metal frame.  
or  
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 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 verified 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, is 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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
DECLARATION OF CONFORMITY  
According to ISO/IEC Guide 22 and CEN/CENELEC EN 45014  
Manufacturer’s Name:  
Agilent Technologies, Incorporated  
815 - 14th ST. S.W.  
Loveland, CO 80537  
USA  
Manufacturer’s Address:  
Declares, that the product  
Product Name:  
Model Number:  
Product Options:  
2-Channel and 4-Channel Digitizers  
E1563A/E1564A  
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  
CISPR 11:1990 / EN 55011:1991  
Group 1 Class A  
4kV CD, 8kV AD  
IEC 61000-4-2:1995+A1:1998 / EN 61000-4-2:1995  
IEC 61000-4-3:1995 / EN 61000-4-3:1995  
IEC 61000-4-4:1995 / EN 61000-4-4:1995  
IEC 61000-4-5:1995 / EN 61000-4-5:1995  
IEC 61000-4-6:1996 / EN 61000-4-6:1996  
IEC 61000-4-11:1994 / EN 61000-4-11:1994  
CISPR 22:1997 / EN 55022:1998  
3 V/m, 80-1000 MHz  
0.5kV signal lines, 1kV power lines  
0.5 kV line-line, 1 kV line-ground  
3V, 0.15-80 MHz I cycle, 100%  
Dips: 30% 10ms; 60% 100ms  
Interrupt > 95%@5000ms  
Class A  
CISPR 24  
Canada: ICES-001:1998  
Australia/New Zealand: AS/NZS 2064.1  
The product was tested in a typical configuration with Agilent Technologies test systems.  
IEC 61010-1:1990+A1:1992+A2:1995 / EN 61010-1:1993+A2:1995  
Canada: CSA C22.2 No. 1010.1:1992  
Safety  
UL 3111-1: 1994  
IEC 60950: 1991+A1+A2+A3+A4 / EN 60950: 1992+A1+A2+A3+A4+A11  
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 Stra>e 130, D 71034 Böblingen, Germany  
Revision: B.02  
Issue Date: 20 March 2001  
Document E9850A.DOC  
.
11  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Notes:  
12  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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:  
Digitizers Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13  
Warnings and Cautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17  
Configuring the Digitizers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19  
User Cabling Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . .23  
Initial Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .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&play 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 4-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 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.  
Both digitizers use PC SIMM memory. Memory sizes that are supported are  
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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
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 mCoulombs (45 mA-s). Overload voltages  
(opens channel input relay) follow.  
Range  
Voltage Input Condition  
High or Low to Guard  
Low to Guard  
Vmax  
>20V  
>40V  
62 mV to 4V  
16V to 256V  
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  
4-Channel Digitizer.  
Features  
14 Configuring the Digitizer Modules  
Chapter 1  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Front Panel Indicators  
Failed LED: Illuminates momentarily during digitizer power-on.  
Access LED: Illuminates when the backplane is communicating with the  
digitizer.  
Error LED: Illuminates 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: Illuminates 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 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.  
plug&play  
Figure 1-1. E1563A 2-Channel Digitizer Front Panel  
Chapter 1  
Configuring the Digitizer Modules 15  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Front Panel Indicators  
Failed LED: Illuminates momentarily during digitizer power-on.  
Access LED: Illuminates when the backplane is communicating with the  
digitizer.  
Error LED: Illuminates 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: Illuminates 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 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 cable. See "User Cabling Considerations" for connecting  
user-supplied cables.  
External Trigger Input/Calibration Bus Output  
The front panel contains a 9-pin D-subminiature connector for external  
(TTL) trigger inputs and for calibration bus outputs. The E1564A  
4-Channel Digitizer has a calibration bus output (High, Low and Guard)  
and a programmable short. The user must provide the the appropriate  
cable to the external trigger input/calibration bus output.  
plug&play  
Figure 1-2. E1564A 2-Channel Digitizer Front Panel  
16 Configuring the Digitizer Modules  
Chapter 1  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Warnings and Cautions  
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.  
WARNING  
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  
inaccessible 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).  
WARNING  
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.  
WARNING  
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.  
Chapter 1  
Configuring the Digitizer Modules 17  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
CAUTION OVERVOLTAGE PROTECTION. To prevent equipment damage,  
do not connect this equipment 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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Configuring the Digitizers  
This section gives guidelines to configure the digitizers, including:  
Adding RAM to the Module  
Setting the Logical Address Switch  
Setting the Interrupt Line  
Installing the Digitizer in a Mainframe  
Adding RAM to the 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  
Module  
Mode) and EDO (Extended Data Out) are supported.  
Selecting a RAM 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 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 .  
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  
Chapter 1  
Configuring the Digitizer Modules 19  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
RAM Installation  
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 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 It is 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 large 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 module’s 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 <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 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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Setting the Logical 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  
Address Switch  
configuration. The E1563A and E1564A do not support dynamic  
configuration of the address.  
If you install more than one digitizer, each module must have a different  
logical address. If you use a VXIbus 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.  
NOTE When using an E1406A as the VXIbus resource manager with SCPI  
commands, the digitizer’s address switch value must be a multiple of 8.  
Figure 1-4. Setting the Logical Address Switch  
Setting the Interrupt The E1563A and E1564A Digitizers are VXIbus 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  
Line  
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.  
Chapter 1  
Configuring the Digitizer Modules 21  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Installing the The E1563A or E1564A Digitizer can be installed in any slot (except slot 0)  
in a C-size VXIbus mainframe. See Figure 1-5 for the procedure to install the  
Digitizer in a mainframe.  
Digitizer in a  
Mainframe  
1
Set the extraction levers out.  
2
Slide the 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.  
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 front of the mainframe. The  
extraction levers may be used to guide or  
remove the digitizer.  
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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
User Cabling Considerations  
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.  
Input Terminal Port 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  
Connector Cables  
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  
20 AWG (7x28)  
22 AWG (7x30)  
24 AWG (7x32)  
Belden® cable P/N  
Alpha® cable P/N  
none  
8762  
9462  
8641  
5481C  
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  
20 AWG (7x28)  
22 AWG (7x30)  
24 AWG (7x32)  
Belden® cable P/N  
Alpha® cable P/N  
none  
8762  
9462  
8641  
5481C  
5491C  
Chapter 1  
Configuring the Digitizer Modules 23  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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  
(E1564A).  
Cables  
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).  
TRIGger:SOURce EXT  
SAMPle:SOURce EXT  
ROSCillator:SOURce EXT  
Figure 1-6. E1563A External Trigger Input Port  
E1564A Digitizer. The E1564A front panel contains a 9-pin D-subminiature  
connector with the pin-outs and associated SCPI commands shown in  
Figure 1-7.  
CAL:SOURce INT  
CAL:SOURce INT  
TRIGger:SOURce EXT  
ROSCillator:SOURce EXT  
SAMPle:SOURce EXT  
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  
injected from chassis ground to the Guard terminal. Dependent on whether  
Input Cabling  
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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
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 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 £ 5V and the L-to-G  
voltage exceeds 5V. A “Wagner ground” is used to satisfy the L-to-G  
restriction of £ 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.  
Figure 1-9. Example: Three-Wire Connections (Bridge)  
Chapter 1  
Configuring the Digitizer Modules 25  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
.
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 voltage 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 100W) 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.  
Figure 1-11. Example: Two-Wire Connections (Coaxial Cable)  
26 Configuring the Digitizer Modules  
Chapter 1  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
50  
50  
Differential  
Source  
+
+
25 KHz From  
Switching Supply  
Add 100 pF capacitor if low-level  
25 kHz noise from injected current  
is present.  
100 pF  
I Injected  
Figure 1-12. Example: Two-Wire Connections (Differential Source)  
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.  
Step 2 Orient the HI, LO and Guard conductors with the corresponding pins.  
Chapter 1  
Configuring the Digitizer Modules 27  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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 cable.  
C. Push the boot all the way forward to seat tightly onto the cable clamp  
housing.  
28 Configuring the Digitizer Modules  
Chapter 1  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Cable  
Connector  
Coupling  
Ring  
Cable Clamp  
Housing  
Boot  
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 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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Initial Operation  
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.  
NOTE 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 VXIplug&play system frameworks that  
have the VISA I/O layer installed (visa.h “include” file).  
NOTE 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  
<channel>:ALL? for each channel to meet the accuracy specifications  
in Appendix A. See Appendix E for the zero adjustment procedure.  
Example: Initial Operation  
This C program verifies communication between the controller, mainframe  
and digitizer. It resets the module (*RST), queries the identity of the module  
(*IDN?) and queries the module for system errors.  
#include <stdio.h>  
#include <visa.h>  
/*** FUNCTION PROTOTYPE ***/  
void err_handler (ViSession vi, ViStatus x);  
void main(void)  
{
char buf[512] = {0};  
#if defined(_BORLANDC_) && !defined(_WIN32_)  
_InitEasyWin();  
#endif  
ViStatus err;  
ViSession defaultRM;  
ViSession digitizer;  
/* Open resource manager and digitizer sessions */  
viOpenDefaultRM (&defaultRM);  
viOpen(defaultRM, “GPIB-VXI0::9::40”,VI_NULL,VI_NULL, &digitizer);  
30 Configuring the Digitizer Modules  
Chapter 1  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
/* Set the timeout value to 10 seconds. */  
viSetAttribute (digitizer, VI_ATTR_TMO_VALUE, 10000);  
/* Reset the module. */  
err = viPrintf(digitizer, “*RST\n”);  
if (err<VI_SUCCESS) err_handler (digitizer, err);  
/* Query for the module’s identification string. */  
err = viPrintf(digitizer, “*IDN?\n”);  
if (err<VI_SUCCESS) err_handler (digitizer, err);  
err = viScanf(digitizer, “%t”, buf);  
if (err<VI_SUCCESS) err_handler (digitizer, err);  
printf (“Module ID = %s\n\n”, buf);  
/* Check 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); /* retrieve error description */  
printf (“ERROR = %s\n”, buf);  
return;  
}
Chapter 1  
Configuring the Digitizer Modules 31  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Notes:  
32 Configuring the Digitizer Modules  
Chapter 1  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Chapter 2  
Using the Digitizers  
Using this Chapter  
This chapter gives guidelines to use the E1563A and E1564A Digitizers,  
including:  
Digitizers Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33  
Triggering the Digitizers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37  
Digitizers Application Examples . . . . . . . . . . . . . . . . . . . . . . . .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.  
The E1563A 2-Channel Digitizer has the same internal structure without  
channels 3 and 4. TRIG:LEVel <channel> signals drive the internal trigger  
Diagram  
inputs, LEVel1 drives INT1, LEVel2 drives INT2, etc.  
Figure 2-1. Digitizer Block Diagram  
Chapter 2  
Using the Digitizers 33  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
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  
Diagram  
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.  
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  
QUERY LAST READING (current value):  
SENSe:DATA:CVTable? (@4)  
LIMIT and LEVEL COMPARISON:  
CALCulate4:LIMit:LOWer:DATA <value>  
CALCulate4:LIMit:LOWer:STATe ON | 1 | OFF | 0  
or  
CALCulate4:LIMit:UPPer:DATA <value>  
CALCulate4:LIMit:UPPer:STATe ON | 1 | OFF | 0  
or  
TRIGger:SOURce INTernal4  
TRIGger:LEVel4 <voltage>  
TRIGger:SLOPe4 POS | 1 | NEG | 0  
Figure 2-2. Digitizer Channel Block Diagram  
34 Using the Digitizers  
Chapter 2  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Pre-Trigger/ Figure 2-3 illustrates relationship of pre-trigger readings and post-trigger  
readings with the trigger event. See Chapter 3 for a full description of the  
Post-Trigger Block  
Diagram  
commands illustrated here.  
Figure 2-3. Pre-Trigger/Post-Trigger Block Diagram  
Power-on/Reset Table 2-1 describes all power-on and reset states for the digitizer. The reset  
state after executing *RST is the same as the power-on state.  
States  
Table 2-1. Power-on and Reset States.  
Parameter  
DIAG:INTerrupt:LINE  
FORMat:DATA  
Power-on/Reset State  
interrupt line #1  
Parameter  
VOLT4:RANGe  
Power-on/Reset State  
256V (channel 4 range)  
7.8125 mV (channel 1 res)  
7.8125 mV (channel 2 res)  
7.8125 mV (channel 3 res)  
7.8125 mV (channel 4 res)  
1 (one sample)  
ASCii  
VOLT1:RESolution  
VOLT2:RESolution  
VOLT3:RESolution  
VOLT4:RESolution  
SAMPle:COUNt  
INPut1:FILTer:FREQ  
INPut2:FILTer:FREQ  
INPut3:FILTer:FREQ  
INPut4:FILT:FREQ  
INPut1:STATe  
0 (no filter on channel 1 )  
0 (no filter on channel 2 )  
0 (no filter on channel 3 )  
0 (no filter on channel 4 )  
ON (channel 1 input state)  
ON (channel 2 input state)  
ON (channel 3 input state)  
ON (channel 4 input state)  
SAMPle:PRETrigger:COUNt 0 (no pretrigger samples)  
INPut2:STATe  
SAMPle:SLOPe  
SAMPle:SOURce  
SAMPle:TIMer  
POSitive  
INPut3:STATe  
TIMer (internal time base)  
1.3 µsec  
INPut4:STATe  
OUTPut:TTLT0-7:SOURce  
TRIGger (all TTLTrigger  
lines)  
TRIGger:LEVel1  
-256V (channel 1 level)  
Chapter 2  
Using the Digitizers 35  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Table 2-1. Power-on and Reset States.  
Parameter  
OUTPut:TTLT0-7:STATe  
ROSCillator:SOURce  
SWEep:POINts  
Power-on/Reset State  
OFF (all TTLTrigger lines)  
INTernal  
Parameter  
TRIGger:LEVel2  
Power-on/Reset State  
-256V (channel 2 level)  
-256V (channel 3 level)  
-256V (channel 4 level)  
TRIGger:LEVel3  
TRIGger:LEVel4  
TRIGger:SOURce1  
1 (one sample)  
SWEep:OFFSet:POINts  
0 (no pretrigger samples)  
IMMediate (source 1  
not ch 1)  
VOLT1:RANGe  
VOLT2:RANGe  
VOLT3:RANGe  
256V (channel 1 range)  
256V (channel 2 range)  
256V (channel 3 range)  
TRIGger:SOURce2  
TRIGger:SLOPe1  
TRIGger:SLOPe2  
HOLD (source 2 not ch 2)  
POSitive (slope 1 not ch 1)  
POSitive (slope 2 not ch 2)  
Input Overload Overload voltages may occur which will open the channel input relay  
disconnecting the input signal from the channel. Overload voltage by range  
is shown in the following table.  
Condition  
Range  
Voltage Input Condition  
High or Low to Guard  
Low to Guard  
Vmax  
>20V  
>40V  
62 mV to 4V  
16V to 256V  
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 informing 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 <channel> ON.  
36 Using the Digitizers  
Chapter 2  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Triggering the Digitizers  
This section describes digitizer triggering, including:  
Trigger Sources  
Using Internal Triggering  
Using External Triggering  
Master/Slave Operation  
Trigger Sources 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 TTLT0. Use  
TRIG:SOURce<n> to set the trigger source event options which can be  
OFF | BUS | EXT | HOLD | IMMEDIATE | INTernal1-4 | TTLT0-7.  
You must execute TRIG:SOURce<n> 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 SAMPle:COUNt are  
taken after the trigger event occurs.  
NOTE Do not confuse TRIG:SOUR1 as being associated with only channel 1  
(as well as TRIG:SOUR2 with only channel 2). Both sources are common  
to ALL channels and the “1” and “2” are not channel designators but  
“source” designators.  
Using Internal Using SCPI or VXIplug&play, you can trigger internally from a voltage  
level from any channel. The trigger level is set using TRIG:LEVel<channel>  
<voltage> for the channel you want to generate the trigger event. You then  
Triggering  
set the trigger source to trigger internally from that channel using  
TRIG:SOURce<n> INT<channel>. 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<channel> 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 0V 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, generated at the exact trigger level value set by the  
TRIG:LEVel command.  
Chapter 2  
Using the Digitizers 37  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
Figure 2-4. Trigger Level Compare Circuit Operation  
Using External You can provide an external trigger common to all channels. The external  
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  
Triggering  
using TRIGger:SOURce<n> EXT. Use TRIGger:SLOPe<n> POSitive |  
NEGative to set which signal edge will trigger.  
Master-Slave The E1563A and E1564A Digitizers can be configured in a master-slave  
configuration. This configuration allows a master module and one or more  
slave modules to have their measurements synchronized. Synchronization  
Operation  
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.  
The TTL trigger event can be generated by either the master module or any  
Synchronization  
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  
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 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.  
38 Using the Digitizers  
Chapter 2  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
TRIGger:MODE MASTer<n> configures a module as a master. The eight  
TTL trigger lines (TTLT0-TTLT7) on the VXI backplane allow four different  
pairings as shown in Table 2-2 (MASTer0 - SLAVe0, MASTer2 - SLAVe2,  
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. MASTer0 and SLAVe0 modules share TTL trigger lines TTLT0  
and TTLT1. TTLT0 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  
MASTer MODE SLAVe MODE  
TRIG:SOUR1  
TTLT1  
TRIG:SOUR2  
MASTer0  
MASTer2  
MASTer4  
MASTer6  
SLAVe0  
SLAVe2  
SLAVe4  
SLAVe6  
Any source except TTLT0 & TTLT1  
Any source except TTLT2 & TTLT3  
Any source except TTLT4 & TTLT5  
Any source except TTLT6 & TTLT7  
TTLT3  
TTLT5  
TTLT7  
Example: Master Module Figure 2-5 illustrates a module configured as a master module. TRIG:MODE  
MASTer0 pairs TTLT0 (sample) with TTLT1 (trigger). The MASTer0 module  
will function with all SLAVe0 modules.  
Configuration  
Figure 2-5. Example: Master Module Configuration  
Chapter 2  
Using the Digitizers 39  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
The trigger source from the master can be set with TRIG:SOURce1,2 IMM  
| INT1-4 | EXT | TTLT<n>.  
MODE  
MASTer Sample Signal  
TTLT2-7 | INT1-4 | EXT  
MASTer0  
MASTer2  
MASTer4  
MASTer6  
TTLT0,1,4-7 | INT1-4 | EXT  
TTLT0-3,6-7 | INT1-4 | EXT  
TTLT0-5 | INT1-4 | EXT  
TRIG:MODE MASTer0 drives the TTL lines as if OUTPut:TTLT0:  
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  
SLAVe0 pairs TTLT0 (sample) with TTLT1 (trigger). A SLAVe0 module will  
function with other SLAVe0 modules and with the MASTer0 module.  
Configuration  
Figure 2-6. Slave Module Configuration  
40 Using the Digitizers  
Chapter 2  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
The trigger source from the slave can be set with TRIG:SOURce2 IMM |  
INT1-4 | EXT | TTLT<n>.  
MODE  
SLAVe0  
SLAVe2  
SLAVe4  
SLAVe6  
SLAVe Sample Signal  
TTLT0  
TTLT2  
TTLT4  
TTLT6  
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, 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.  
Chapter 2  
Using the Digitizers 41  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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 and 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  
Microsoft® Visual C++™ Version 1.51 settings to work properly:  
Requirements  
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 Þ  
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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Making Digitizer This section provides three examples that show ways to make digitizer  
measurements and to retrieve data. The three programs are:  
Measurements  
Example: Sampling Using Immediate Triggering  
Example: Triggering Using Internal Level Trigger  
Example: Triggering Using External Triggering  
Example: Sampling 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.  
Using Immediate  
Triggering  
*CLS  
*RST  
!Clear the status system  
!Reset the digitizer  
VOLT1:RANG 4  
VOLT2:RANG 4  
SAMP:COUN 20  
!Set ch 1 to 4V range  
!Set ch 2 to 4V range  
!Set sample count to 20  
(common to all channels)  
SAMP:PRET:COUN 10  
!Set pre-trigger count to 10  
(common to all channels)  
INIT  
!Initiate measurements  
DATA? 20,(@1,2)  
Enter statement  
!Read 20 readings from chs 1 & 2  
!Enter readings into the computer  
Example: Triggering 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.  
Using Internal Level  
Trigger  
Resetting the module sets the data format to ASCii, sample source to TIMer  
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.  
*CLS  
*RST  
!Clear the status system  
!Reset the digitizer  
VOLT1:RANG 4  
SAMP:COUN 7  
!Set ch 1 to 4V range  
!Set sample count to 7  
(common to all channels)  
SAMP:PRET:COUN 3  
!Set pre-trigger count to 3  
(common to all channels)  
SAMP:TIM 50e-6  
TRIG:SOUR INT1  
!Set sample interval to 50 µsec  
!Set trigger source to a level on  
channel 1  
TRIG:LEV1 0  
TRIG:SLOP POS  
INIT  
!Set the trigger level to 0V  
!Set trigger slope to positive  
!Initiate measurements  
DATA? 7,(@1)  
Enter statement  
!Read 7 readings from ch 1  
!Enter readings into the computer  
Chapter 2  
Using the Digitizers 43  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Example: Triggering This example use an external trigger input at the External Trigger Input  
(D-connector) “Trig” input to trigger readings.  
Using External  
Triggering  
Resetting the module sets the data format to ASCii, sample source to TIMer  
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, the slope command is redundant.  
*CLS  
*RST  
!Clear the status system  
!Reset the digitizer  
VOLT1:RANG 4  
SAMP:COUN 7  
!Set ch 1 to 4V range  
!Set sample count to 7  
(common to all channels)  
SAMP:PRET:COUN 3  
!Set pre-trigger count to 3  
(common to all channels)  
SAMP:TIM 100e-6  
TRIG:SOUR EXT  
!Set sample interval to 100 µsec  
!Set trigger source to EXTernal  
(requires an external input to the  
“Trig” pin on the External Trigger  
Input port)  
TRIG:LEV1 0.5  
TRIG:SLOP POS  
INIT  
!Set the trigger level to 0.5V  
!Set trigger slope to positive  
!Initiate measurements  
DATA? 7,(@1)  
Enter statement  
!Read 7 readings from ch 1  
!Enter readings into the computer  
44 Using the Digitizers  
Chapter 2  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
Chapter 3  
Digitizers Command Reference  
Using This Chapter  
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:  
Command Types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45  
SCPI Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . .47  
IEEE 488.2 Common Commands Reference. . . . . . . . . . . . .109  
SCPI Commands Quick Reference . . . . . . . . . . . . . . . . . . . .115  
Command Types  
Commands are separated into two types: IEEE 488.2 Common Commands  
and SCPI Commands.  
Common 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 commands are: *RST *ESR 32 *STB?  
Format  
SCPI Command Format 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 < value>  
:LIMit:LOWer:DATA?  
:LIMit:UPPer[:STATe] ON | 1 | OFF | 0  
:LIMit:UPPer[:STATe]?  
:LIMit:UPPer:DATA <value>  
:LIMit:UPPer:DATA?  
Chapter 3  
Digitizers Command Reference 45  
Download from Www.Somanuals.com. All Manuals Search And Download.  
             
CALCulate 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 program 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 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 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:  
[SENSe:]  
VOLTage[:DC]:RANGe <range>|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.  
Type  
Explanations and Examples  
Boolean  
Represents a single 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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Discrete  
Numeric  
Optional  
Selects from a finite number of values. These parameters  
use mnemonics to represent each valid setting. An  
example is the TRIGger:SOURce <source> command  
where <source> can be BUS, EXTernal, HOLD,  
IMMediate, or TTLTrgn.  
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.  
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<chan>?  
[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 Commands Linking IEEE 488.2 Common Commands with SCPI Commands.  
Use only a semicolon 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  
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.  
Chapter 3  
Digitizers Command Reference 47  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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 is not a coupled command  
Reset (*RST) Condition: None  
48 Digitizers Command Reference  
Chapter 3  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
CALCulate  
The CALCulate subsystem enables the limit checking of measured data.  
Subsystem Syntax CALCulate[<channel>]  
:LIMit:FAIL?  
:LIMit:LOWer:DATA <value> | 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 <value> | 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[<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. Therefore, this  
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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
CALCulate:LIMit:LOWer:DATA  
CALCulate[<channel>]:LIMit:LOWer:DATA <value> | MIN | MAX sets the lower  
limit value you want to test against. CALC<channel>: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  
Name  
Type  
Range of Values  
Default Value  
value  
numeric  
-254 to +252  
volts  
Comments Allowable Maximum Values: Allowable maximum values for the lower limit by  
range and the associated resolution follow.  
Range  
0.0625  
0.250  
1.00  
Maximum Value  
Resolution  
0.000488281  
0.001953125  
0.00781250  
0.031250  
0.1250  
±0.061523438  
±0.246093750  
±0.984375000  
±3.937500  
±15.750  
4.00  
16.00  
64.00  
256.00  
±63.00  
±252.00  
0.500  
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[<channel>][:DC]:RANGe <range>  
Reset (*RST) Condition: -254 volts  
CALCulate:LIMit:LOWer:DATA?  
CALCulate[<channel>]:LIMit:LOWer:DATA? [MIN | MAX] queries the lower  
limit value set for the specified channel.  
50 Digitizers Command Reference  
Chapter 3  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
CALCulate:LIMit:LOWer[:STATe]  
CALCulate[<channel>]:LIMit:LOWer[:STATe] OFF | 0 | ON | 1 enables the  
lower limit checking for the specified channel. Use :LIMit:LOWer:  
DATA <value> 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[<channel>]:LIMit:LOWer[:STATe]? queries the lower limit  
checking 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.  
CALCulate:LIMit:UPPer:DATA  
CALCulate[<channel>]:LIMit:UPPer:DATA <value> | MIN | MAX sets the upper  
limit value you want to test against. CALCulate: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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
Parameters  
Name  
Type  
Range of Values  
Default Value  
value  
numeric  
-254 to +252  
volts  
Comments Maximum Allowed Values: The maximum allowed <value> 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  
0.0625  
0.250  
1.00  
Maximum Value  
Resolution  
0.000488281  
0.001953125  
0.00781250  
0.031250  
0.1250  
±0.062011719  
±0.248046875  
±0.992187500  
±3.968750  
±15.8750  
4.00  
16.00  
64.00  
256.00  
±63.50  
±254.00  
0.500  
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: +252 Volts  
CALCulate:LIMit:UPPer:DATA?  
CALCulate[<channel>]:LIMit:UPPer:DATA? [MIN | MAX] queries the upper  
limit value set for the specified channel.  
CALCulate:LIMit:UPPer[:STATe]  
CALCulate[<channel>]:LIMit:UPPer[:STATe] OFF | 0 | ON | 1 enables the  
upper limit checking for the specified channel. Use LIMit:UPPer:  
DATA <value> to set the actual limit value to be tested against.  
Comments 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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
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]?  
CALCulate[<channel>]: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 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.  
Chapter 3  
Digitizers Command Reference 53  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
CALibration  
The CALibration subsystem allows you to calibrate the digitizer.  
Subsystem Syntax CALibration  
:DAC:VOLTage <voltage> | MIN | MAX  
:DAC:VOLTage? MIN | MAX  
:DATA?  
:GAIN[<channel>] [<readings> | DEF][,<rate> | DEF][,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:DAC:VOLTage  
CALibration:DAC:VOLTage <voltage> | 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  
numeric  
±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  
calibrating each range. The values are approximately 98% of full scale.  
Voltage  
Range  
Max DC Voltage  
(absolute value)  
Voltage  
Range  
Max DC Voltage  
(absolute value)  
0.0625  
0.061256409  
0.245025635  
0.980102539  
3.920410156  
16.0000  
15.00  
0.2500  
1.0000  
4.0000  
64.0000  
not used  
not used  
256.0000  
54 Digitizers Command Reference  
Chapter 3  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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:GAIN  
CALibration:DATA? returns the calibration constants currently stored in  
non-volatile calibration memory.  
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  
calibration of the 16V range.  
Parameters  
Name  
readings  
rate  
Type  
numeric  
Range of Values  
Default Value  
none  
25 to 4000 | DEFault  
numeric  
1.25E-6 to reference period  
* 8,388,607 | DEFault  
seconds  
Chapter 3  
Digitizers Command Reference 55  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
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[<channel>]:RANGe <range> and  
INPut[<channel>]:FILTer:FREQ <freq> and :FILTer: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 E1564A 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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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.  
Voltage Range  
0.0625  
Max DC Voltage (absolute value)  
0.061256409  
0.2500  
0.245025635  
0.980102539  
3.920410156  
15.68164062  
not used  
1.0000  
4.0000  
16.0000  
64.0000  
256.0000  
not used  
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 <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: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  
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.  
Comments 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 <voltage> onto the calibration bus where  
it is applied internally to the channels. The INTernal source is also available  
on the Calibration 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.  
Chapter 3  
Digitizers Command Reference 57  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Executable when initiated: NO  
Coupled Command: NO  
Reset (*RST) Condition: EXTernal  
CALibration:SOURce?  
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.  
NOTE 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?  
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 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”.  
58 Digitizers Command Reference  
Chapter 3  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
CALibration:STORe  
CALibration:STORe writes the calibration constants to non-volatile RAM  
after calibration has been completed.  
NOTE 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  
CALibration:VALue <voltage> 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.  
Parameters  
Name  
Type  
Range of Values  
Default Value  
voltage  
numeric  
±0.061256409 - ±15.6800  
volts  
Comments 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 specified. 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 <voltage> 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.  
Chapter 3  
Digitizers Command Reference 59  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Voltage Range  
0.0625  
Max DC Voltage  
(absolute value)  
0.061256409  
0.2500  
0.245025635  
0.980102539  
3.920410156  
15.00  
1.0000  
4.0000  
16.0000  
64.0000  
256.0000  
not used  
not used  
Executable when initiated: NO  
Coupled Command: NO  
Reset (*RST) Condition: All channels set to 0.0 volts  
CALibration:VALue?  
CALibration:ZERO  
CALibration:VALue? queries the present setting of the calibration voltage.  
CALibration:ZERO[<channel>] [<samples>][,<rate>] initiates an offset  
calibration for the current range on the specified channel using an internal  
short.  
Parameters  
Name  
samples  
rate  
Type  
Range of Values  
Default Value  
none  
numeric  
numeric  
25 to 4000 | DEFault  
1.25E-6 to reference period  
* 8,388,607 | DEFault  
seconds  
Comments Steps Before Executing a Zero Calibration: The following steps must be  
completed prior to executing a zero calibration. 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[<channel>]:RANGe <range>,  
INPut[<channel>]:FILTer:FREQ <freq>, and :FILTer:STATe ON|OFF.  
60 Digitizers Command Reference  
Chapter 3  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
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 <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.  
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 <samples> and/or <rate> 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?  
CALibration:ZERO[<channel>]:ALL? [<samples>][,<rate>] 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.  
Parameters  
Name  
samples  
rate  
Type  
Range of Values  
Default Value  
none  
numeric  
numeric  
25 to 4000 | DEFault  
1.25E-6 to reference period  
* 8,388,607 | DEFault  
seconds  
Comments Non-Zero Error Values: A 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 0  
(bit 0 = 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.  
Chapter 3  
Digitizers Command Reference 61  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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[<channel>]:FILTer:FREQ <freq> and  
:FILTer:STATe ON|OFF.  
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  
<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.  
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 <samples> and/or <rate> will  
result in those values being used.  
Executable when initiated: NO  
Coupled Command: NO  
Reset (*RST) Condition: None  
62 Digitizers Command Reference  
Chapter 3  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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[<channel>] <value>  
:DAC:OFFSet[<channel>] <voltage>  
:DAC:OFFSet[<channel>]:RAMP <count>  
:DAC:SOURce <voltage>  
:DAC:SOURce:RAMP <count>  
:INTerrupt:LINE 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7  
:INTerrupt:LINE?  
:MEMory:SIZE <size>  
:MEMory:SIZE?  
:PEEK? <reg_number>  
:POKE <reg_number>,<data>  
:SHORt[<channel>] ON | 1 | OFF | 0  
:SHORt[<channel>]?  
:STATus?  
DIAGnostic:DAC:GAIN  
DIAGnostic:DAC:GAIN[<channel>] <value> 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  
value  
numeric  
0 to 255  
none  
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 <voltage> 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 0V output in both cases.  
Executable when initiated: NO  
Coupled Command: NO  
Reset (*RST) Condition: None  
Chapter 3  
Digitizers Command Reference 63  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
DIAGnostic: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  
Name  
Type  
Range of Values  
Default Value  
voltage  
numeric  
-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[<channel>]:RAMP <count> outputs to the  
specified channel, a ramp of DAC values from 0 to 255 with the DAC code  
changing approximately every 100 msec. This command is a factory  
diagnostic routine.  
Parameters  
Name  
Type  
Range of Values  
Default Value  
count  
numeric  
1 to 32767  
none  
Comments Using the <count> Parameter: The <count> 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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
DIAGnostic:DAC:SOURce  
DIAGnostic:DAC:SOURce <voltage> 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.  
Parameters  
Name  
Type  
Range of Values  
Default Value  
voltage  
numeric  
-15.0 to +15.0  
none  
Comments 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  
Coupled Command: NO  
Reset (*RST) Condition: DAC output is set to 0V  
DIAGnostic:DAC:SOURce:RAMP  
DIAGnostic:DAC:SOURce:RAMP <count> outputs a ramp of DAC values  
from 0 to 4095 with the DAC code changing about every 100 msec. This  
command is a factory diagnostic routine.  
Parameters  
Name  
Type  
Range of Values  
Default Value  
count  
numeric  
1 through 255  
none  
Comments Using the <count> Parameter: The <count> 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 0V  
Chapter 3  
Digitizers Command Reference 65  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
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  
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 <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 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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
Parameters  
Name  
Type  
Range of Values  
Default Value  
size  
numeric  
4E6, 8E6, 16E6, 32E6,  
64E6 and 128E6  
none  
Comments Using the <size> Parameter: The <size> 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: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  
4M  
Actual Size Value  
4,194,304  
8M  
8,388,608  
16M  
32M  
64M  
128M  
16,777,216  
33,554,432  
67,108,864  
134,217,728  
DIAGnostic:PEEK?  
DIAGnostic:PEEK? <reg_number> queries the specified register and returns  
the contents of the register.  
Parameters  
Name  
Type  
Range of Values  
Default Value  
reg_number  
numeric  
0 to 31  
none  
Comments 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.  
Chapter 3  
Digitizers Command Reference 67  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
reg_number  
Register Description (base + register offset)  
Manufacturer ID Register (base + 00 )  
0
1
16  
Device Type Register (base + 02 )  
16  
2
Status/Control Register (base + 04 )  
16  
3
Offset Register (base + 06 )  
16  
4**  
5**  
6
FIFO High Word Register (base + 08 )  
16  
FIFO Low Word Register (base + 0A )  
16  
Interrupt Control Register (base + 0C )  
16  
7
Interrupt Sources Register (base + 0E )  
16  
8
CVTable Channel 1 Register (base + 10 )  
16  
9
CVTable Channel 2 Register (base + 12 )  
16  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
CVTable Channel 3 Register (base + 14 )  
16  
CVTable Channel 4 Register (base + 16 )  
16  
Samples Taken High Word Register (base + 18 )  
Samples Taken Low Word Register (base + 1A )  
Calibration Flash ROM Address Register (base + 1C )  
Calibration Flash ROM Data Register (base + 1E )  
16  
16  
16  
16  
Calibration Source Register (base + 20 )  
16  
Cache Count Register (base + 22 )  
16  
Range, Filter, Connect Chs 1 and 2 Register (base + 24 )  
Range, Filter, Connect Chs 3 and 4 Register (base + 26 )  
Trigger/Interrupt Level Channel 1 Register (base + 28 )  
Trigger/Interrupt Level Channel 2 Register (base + 2A )  
Trigger/Interrupt Level Channel 3 Register (base + 2C )  
Trigger/Interrupt Level Channel 4 Register (base + 2E )  
Sample Period High Word Register (base + 30 )  
Sample Period Low Word Register (base + 32 )  
Pre-Trigger Count High Register (base + 34 )  
Pre-Trigger Count Low Register (base + 36 )  
Post-Trigger Count High Register (base + 38 )  
Post-Trigger Count Low Register (base + 3A )  
Trigger Control/Source Register (base + 3C )  
Sample Control/Source Register (base + 3E )  
16  
16  
16  
16  
16  
16  
16  
16  
16  
16  
16  
16  
16  
16  
* 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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
DIAGnostic:POKE  
DIAGnostic:POKE <reg_number>,<data> places the specified value in the  
specified register.  
Parameters  
Name  
reg_number  
data  
Type  
Range of Values  
2-4, 14-16, 18-31  
Default Value  
none  
numeric  
numeric  
-32768 to +32767  
(signed integer)  
0 to 65535  
none  
(unsigned integer)  
Comments 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 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)  
Status/Control Register (base + 04 )  
2
3
16  
Offset Register (base + 06 )  
16  
6
Interrupt Control Register (base + 0C )  
16  
14  
15  
16  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
Calibration Flash ROM Address Register (base + 1C )  
16  
Calibration Flash ROM Data Register (base + 1E )  
16  
Calibration Source Register (base + 20 )  
16  
Range, Filter, Connect Chs 1 and 2 Register (base + 24 )  
Range, Filter, Connect Chs 3 and 4 Register (base + 26 )  
16  
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  
Post-Trigger Count High Register (base + 38 )  
16  
Post-Trigger Count Low Register (base + 3A )  
16  
Trigger Control/Source Register (base + 3C )  
16  
Sample Control/Source Register (base + 3E )  
16  
Executable when initiated: NO  
Coupled Command: NO  
Reset (*RST) Condition: None  
Chapter 3  
Digitizers Command Reference 69  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
DIAGnostic:SHORt  
DIAGnostic:SHORt[<channel>] ON | 1 | OFF | 0 connects an internal short  
across the input 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[<channel>] OFF.  
Executable when initiated: NO  
Coupled Command: NO  
Reset (*RST) Condition: Short OFF  
DIAGnostic:SHORt?  
DIAGnostic:SHORt[<channel>]? 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 08h - 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  
0
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.  
Channel 4 limit was exceeded or channel 4 trigger level was exceeded.  
An input overload occurred and the input relay opened.  
1
2
3
4
5
6
The pre-trigger count has been met.  
The measurement has completed normally, or available memory has  
been filled and the measurement was halted.  
7
A valid trigger event was received after the pretrigger acquisition (if any)  
was completed.  
70 Digitizers Command Reference  
Chapter 3  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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 # <num_digits> <num_bytes>, where  
# signifies a block transfer  
<num_digits> is a single digit (1 through 9) which specifies how  
many digits (ASCII characters) are in <num_bytes>  
<num_bytes> is the number of data bytes which immediately  
follow the <num_bytes> 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,+& 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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
INITiate  
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.  
Subsystem Syntax INITiate  
:CONTinuous ON | 1 | OFF | 0  
:CONTinuous?  
[:IMMediate]  
INITiate:CONTinuous  
INITiate:CONTinuous ON | 1 | OFF | 0 is used to start or stop a continuous  
measurement.  
Comments 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-for-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  
INITiate:CONTinuous 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[:IMMediate] 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.  
Chapter 3  
Digitizers Command Reference 73  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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.  
Comments Executable when initiated: NO  
Coupled Command: NO  
Reset (*RST) Condition: Idle state  
INITiate:CONTinuous?  
INITiate[:IMMediate]  
INITiate:CONTinuous? queries the instrument to determine if the  
INITiate:CONTinuous is enabled or disabled.  
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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
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 (e.g.,  
INP ON is same as INP1 ON).  
Subsystem Syntax INPut[<channel>]  
: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[<channel>]: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 <channel> 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[<channel>]:FILTer[:LPASs]:FREQ? queries the present filter frequency  
setting on the specified channel.  
Chapter 3  
Digitizers Command Reference 75  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
INPut:FILTer[:LPASs][:STATe]  
INPut[<channel>]:FILTer[:LPASs][:STATe] ON | 1 | OFF | 0 enables or disables  
the low-pass filter on the specified channel.  
Comments Executable Command: NO  
Coupled Command: NO  
Reset (*RST) Condition: Filter OFF  
INPut:FILTer[:LPASs][:STATe]?  
INPut[<channel>]: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[<channel>][:STATe] ON | 1 | OFF | 0 connects or disconnects the input  
signal to the Digitizer’s measurement circuitry.  
Comments OFF State Connections: For the E1563A 2-Channel Digitizer,  
INPut<channel>:STATe OFF connects the specified channel to ground.  
For the E1564A 4-Channel Digitizer, INPut<channel>: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[<channel>][: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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
               
OUTPut  
The OUTPut command subsystem sets the source of output pulses for the  
specified TTL Trigger line (TTLT0-TTLT7) and enables or disables the  
output.  
Subsystem Syntax OUTPut  
:TTLT<n>:SOURce TRIGger | SAMPle | BOTH  
:TTLT<n>:SOURce?  
:TTLT<n>[:STATe] ON | 1 | OFF | 0  
:TTLT<n>[:STATe]?  
OUTput:TTLT<n>:SOURce  
OUTPut:TTLT<n>:SOURce TRIG | SAMP | BOTH sets the source of output  
pulses for the specified TTL Trigger line. <n> can have the value 0 through  
7 (TTLT0 - TTLT7).  
Comments 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 TIMer 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<n>:SOURce?  
OUTPut:TTLT<n>:SOURce? queries the specified TTL Trigger line (TTLT0-  
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.  
Chapter 3  
Digitizers Command Reference 77  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
OUTPut:TTLT<n>[:STATe]  
OUTPut:TTLT<n>[:STATe] ON | 1 | OFF | 0 enables or disables the specified  
TTL Trigger line for outputting the source set by OUTPut:TTLT<n>:  
SOURce. <n> can have the value 0 through 7 (TTLT0 - 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<n> | SLAVe<n> will disable all  
other OUTPut:TTLT<n>: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<n>[:STATe]?  
OUTPut:TTLT<n>[:STATe]? queries the specified TTL Trigger line (TTLT0-  
TTLT7) to determine if it is enabled (1) or disabled (0).  
78 Digitizers Command Reference  
Chapter 3  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
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 <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]  
SAMPle:COUNt  
SAMPle:COUNt <count> | 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.  
Chapter 3  
Digitizers Command Reference 79  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
Comments 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)  
Maximum Samples  
1,048,575  
E1564A (4-channel)  
Maximum Samples  
524,287  
Memory Size  
4 MBytes  
8 MBytes  
2,096,151  
1,048,575  
16 MBytes  
32 MBytes  
64 MBytes  
128 MBytes  
4,194,303  
8,388,607  
16,777,215  
33,554,431  
2,097,151  
4,194,303  
8,388,607  
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:COUNt?  
SAMPle:COUNt? [MIN | MAX] returns the number of samples each channel  
will make. The number of samples returned is common to all channels.  
SAMPle[:IMMediate]  
SAMPle[: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 <count> | 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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
Comments Using the <count> Parameter: <count> must be a positive number and not  
greater than the sample count -1. This count specifies the portion 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 (<count>)  
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 “<count>” when the trigger does occur.  
Executable when initiated: NO  
Coupled command: NO  
Reset (*RST) condition: 0 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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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:SOURce  
SAMPle:SOURce HOLD | TIMer | TTLT0-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)  
82 Digitizers Command Reference  
Chapter 3  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
Parameters  
Name  
HOLD  
TIMer  
Type  
Point of Source  
SAMPle[:IMMediate]  
Default  
none  
discrete  
discrete  
Uses specified SAMPle:TIMer  
none  
<interval> as sample rate  
TTLT0-7  
EXTernal  
discrete  
discrete  
VXIbus TTL trigger lines  
none  
none  
“Sample” pin on D-sub connector  
Comments 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 TIMer (see  
SAMPle:TIMer).  
Slave Mode: 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 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?  
SAMPle:SOURce? queries the present source setting for the sample signal.  
The returned string is HOLD, TIMer, TTLT0-7 or EXT.  
Chapter 3  
Digitizers Command Reference 83  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
SAMPle:TIMer  
SAMPle:TIMer <interval> | 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.  
Parameters  
Name  
Type  
Range of Values  
Default Value  
interval  
numeric  
1.25E-6 to 0.8 (in multiples  
of the reference oscillator  
period*. Default TIMer  
1.3E-6 seconds  
period is 1.3E-6 seconds)  
* See SENSe:ROSC:EXT:FREQ <freq>  
Comments 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 attained. 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.  
NOTE 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 ³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 msec)  
SAMPle:TIMer?  
SAMPle:TIMer? [MIN | MAX] queries the sample interval when the sample  
source is TIMer.  
84 Digitizers Command Reference  
Chapter 3  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
[SENSe:]  
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.  
Subsystem Syntax [SENSe:]  
DATA? <rdgs_per_channel>[,channel_list]  
DATA:ALL? <rdgs_per_channel>  
DATA:COUNt?  
DATA:CVTable? [channel_list]  
ROSCillator:EXTernal:FREQuency <freq>l  
ROSCillator:EXTernal:FREQuency?  
ROSCillator:SOURce INTernal | EXTernal  
ROSCillator:SOURce?  
SWEep:OFFSet:POINts <neg_value> | MIN | MAX  
SWEep:OFFSet:POINts? MIN | MAX  
SWEep:POINts <neg_value> | MIN | MAX  
SWEep:POINts? MIN | MAX  
VOLTage[<channel>][:DC]:RANGe <range> | MIN | MAX  
VOLTage[<channel>][:DC]:RANGe?  
VOLTage[<channel>][:DC]:RESolution?  
[SENSe:]DATA?  
[SENSe:]DATA? <rdgs_per_channel>[,channel_list] returns voltage formatted  
data from all channels (default) or only from the specified channel list.  
<channel_list> has the form (@1) or (@2), (@1,2), (@1:4) or (@1,2,3,4).  
For specific channels, but not all, the format is (@1,3,4).  
Parameters  
Name  
Type  
Range of Values  
Default Value  
rdgs_per_  
channel  
numeric  
1 to MAX samples  
depends on size of RAM  
on module  
none  
(see SAMPle:COUNt)  
channel_list  
numeric  
1-2 (E1563A)  
1-4 (E1564A)  
N/A  
Chapter 3  
Digitizers Command Reference 85  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
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 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 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 arbitrary block header. The header is #  
<num_digits> <num_bytes>, where  
# signifies a block transfer  
<num_digits> is a single digit (1 through 9) which specifies how  
many digits (ASCII characters) are in <num_bytes>  
<num_bytes> is the number of data bytes which immediately  
follow the <num_bytes> field.  
Executable when initiated: YES  
Coupled command: NO  
Reset (*RST) condition: none  
86 Digitizers Command Reference  
Chapter 3  
Download from Www.Somanuals.com. All Manuals Search And Download.  
[SENSe:]DATA:ALL?  
[SENSe:]DATA:ALL? <rdgs_per_channel> returns voltage formatted data  
from each active channel.  
Parameters  
Name  
Type  
Range of Values  
Default Value  
rdgs_per_  
channel  
numeric  
1 to 32M* (E1563A)  
1 to 16M* (E1564A)  
none  
*(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 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 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.  
Chapter 3  
Digitizers Command Reference 87  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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 #  
<num_digits> <num_bytes>, where  
# signifies a block transfer  
<num_digits> is a single digit (1 through 9) which specifies how  
many digits (ASCII characters) are in <num_bytes>  
<num_bytes> is the number of data bytes which immediately  
follow the <num_bytes> 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)  
1-4 (E1564A)  
N/A  
Comments Addressing Channels: channel_list has the form (@1) or (@2), (@1,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  
(@2,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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
REAL Format Data: Data 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 #  
<num_digits> <num_bytes>, where  
# signifies a block transfer  
<num_digits> is a single digit (1 through 9) which specifies how  
many digits (ASCII characters) are in <num_bytes>  
<num_bytes> is the number of data bytes which immediately  
follow the <num_bytes> field  
[SENSe:]ROSCillator:EXTernal:FREQuency  
[SENSe:]ROSCillator:EXTernal:FREQuency <freq> 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  
freq  
numeric  
9.9E3 Hz to 30E6 Hz  
N/A  
Comments Sample Periods: The frequency parameter value is used to calculate sample  
periods when the sample source is set to TIMer. 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) Condition: frequency = 10.0 MHz  
[SENSe:]ROSCillator:EXTernal:FREQuency?  
[SENSe:]ROSCillator:EXTernal:FREQuency?queriestheexternalfrequency.  
Chapter 3  
Digitizers Command Reference 89  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
[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)  
NOTE The EXTernal source requires you also send ROSC:EXT:FREQ <freq>  
to specify the frequency of the external timebase.  
Comments Timebase Reference: 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  
[SENSe:]ROSCillator:SOURce?  
[SENSe:]ROSCillator:SOURce? queries to determine the timebase source.  
Returns either INTernal or EXTernal.  
90 Digitizers Command Reference  
Chapter 3  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
[SENSe:]SWEep:OFFSet:POINts  
[SENSe:]SWEep:OFFSet:POINts <count> | MIN | MAX sets the number of  
sweep offset points. <count> must be a negative number.  
Comments This command is the same as SAMPle:PRETrigger:COUNt, except the sign  
on <count> 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  
[SENSe:]SWEep:POINts <count> | 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.  
Parameters  
Name  
Type  
Range of Values  
Default Value  
<count>  
numeric  
1 to 32M* (E1563A)  
1 to 16M* (E1564A)  
N/A  
*(memory size in bytes)/number of channels * 2) = 128M/4 or 128M/8 (MAX)  
Comments This command is the same as SAMPle:COUNt and is included for SCPI  
compatibility.  
[SENSe:]SWEep:POINts?  
[SENSe:]SWEep:POINts? [MIN | MAX] returns the sweep points.  
Chapter 3  
Digitizers Command Reference 91  
Download from Www.Somanuals.com. All Manuals Search And Download.  
               
[SENSe:]VOLTage[<channel>][:DC]:RANGe  
[SENSe:]VOLTage[<channel>][:DC]:RANGe <range> changes the range  
on the specified channel. There are seven different ranges. If the range  
specified 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  
0.0625  
0.2500  
1.0000  
4.0000  
16.0000  
64.0000  
256.0000  
Resolution  
.000007629  
.000030518  
.000122070  
.000488281  
.007812500  
.007812500  
.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[<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.  
[SENSe:]VOLTage[<channel>][:DC]:RESolution?  
[SENSe:]VOLTage[<channel>][: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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
STATus  
The STATus subsystem reports the bit values of the Operation Data/Signal  
Register and Questionable 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 <unmask>  
:OPERation:ENABle?  
:OPERation[:EVENt]?  
:PRESet  
:QUEStionable:CONDition?  
:QUEStionable:ENABle <unmask>  
:QUEStionable:ENABle?  
:QUEStionable[:EVENt]?  
Status System 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 Service Request Enable Register (*SRE and *SRE?).  
Registers  
QUEStionable Status The QUEStionable Status register indicates failures as described in the  
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.  
Register  
Bit #  
0
Description  
VOLTage overload  
8
CALibration failure  
9
Channel 1 limit failure  
Channel 2 limit failure  
Channel 3 limit failure  
Channel 4 limit failure  
10  
11  
12  
Chapter 3  
Digitizers Command Reference 93  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
94 Digitizers Command Reference  
Chapter 3  
Download from Www.Somanuals.com. All Manuals Search And Download.  
OPERation Status The OPERation Status register indicates operational status as follows:  
Register  
Bit #  
Description  
CAL:STATe ON  
0
(calibration in progress)  
5
8
9
waiting for trigger  
pretrigger count is met  
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 (bits you want logically ORed into the summary bit). Query using  
decimal-weighted bit values.  
Register  
STATus:OPERation:CONDition?  
STATus:OPERation:CONDition? returns a decimal-weighted number  
representing the bits set in the OPERation Status Condition Register.  
STATus:OPERation:ENABle  
STATus:OPERation:ENABle <unmask> 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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
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. It does 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 <unmask> enables (unmasks) bits in the  
QUEStionable Status Enable Register to be reported to the summary bit  
(setting 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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                       
SYSTem  
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.  
Subsystem Syntax SYSTem  
:ERRor?  
:VERSion?  
SYSTem:ERRor?  
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.  
Comments 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  
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 *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?  
SYSTem:VERSion? returns the SCPI version number to which this  
instrument complies. The information returned is in the format "YYYY.R"  
where "YYYY" is the year and "R" is the revision number within that year.  
Chapter 3  
Digitizers Command Reference 97  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
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? <test_number>  
:NUMBer? <test_number>,<cycles>  
:TST[:RESults]?  
TEST:ERRor?  
TEST:ERRor? <test_number> 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  
numeric  
1 through 94  
None  
Comments The *TST? command returns only the first 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? <test_number>,<cycles> 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  
test_number  
cycles  
Type  
Range of Values  
1 through 94  
Default Value  
None  
numeric  
numeric  
1 through 32767  
None  
98 Digitizers Command Reference  
Chapter 3  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
Comments Test Descriptions: This table summarizes the available self-tests for the  
digitizers.  
test_number  
Description  
General register read/write test  
1
2
Cal constant/flash ROM read test  
3
Channel 1: 62 mV range filter OFF, offset noise test  
Channel 2: 62 mV range filter OFF, offset noise test  
Channel 3: 62 mV range filter OFF, offset noise test  
Channel 4: 62 mV range filter OFF, offset noise test  
Channel 1: 62 mV range filter ON, offset noise test  
Channel 2: 62 mV range filter ON, offset noise test  
Channel 3: 62 mV range filter ON, offset noise test  
Channel 4: 62 mV range filter ON, offset noise test  
Channel 1: 0.25V range filter OFF, offset noise test  
Channel 2: 0.25V range filter OFF, offset noise test  
Channel 3: 0.25V range filter OFF, offset noise test  
Channel 4: 0.25V range filter OFF, offset noise test  
Channel 1: 0.25V range filter ON, offset noise test  
Channel 2: 0.25V range filter ON, offset noise test  
Channel 3: 0.25V range filter ON, offset noise test  
Channel 4: 0.25V range filter ON, offset noise test  
Channel 1: 1V range filter OFF, offset noise test  
Channel 2: 1V range filter OFF, offset noise test  
Channel 3: 1V range filter OFF, offset noise test  
Channel 4: 1V range filter OFF, offset noise test  
Channel 1: 1V range filter ON, offset noise test  
Channel 2: 1V range filter ON, offset noise test  
Channel 3: 1V range filter ON, offset noise test  
Channel 4: 1V range filter ON, offset noise test  
Channel 1: 4V range filter OFF, offset noise test  
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  
Channel 1: 4V range filter ON, offset noise test  
4
5*  
6*  
7
8
9*  
10*  
11  
12  
13*  
14*  
15  
16  
17*  
18*  
19  
20  
21*  
22*  
23  
24  
25*  
26*  
27  
28  
29*  
30*  
31  
Chapter 3  
Digitizers Command Reference 99  
Download from Www.Somanuals.com. All Manuals Search And Download.  
test_number  
32  
Description  
Channel 2: 4V range filter ON, offset noise test  
Channel 3: 4V range filter ON, offset noise test  
Channel 4: 4V range filter ON, offset noise test  
Channel 1: 16V range filter OFF, offset noise test  
Channel 2: 16V range filter OFF, offset noise test  
Channel 3: 16V range filter OFF, offset noise test  
Channel 4: 16V range filter OFF, offset noise test  
Channel 1: 16V range filter ON, offset noise test  
Channel 2: 16V range filter ON, offset noise test  
Channel 3: 16V range filter ON, offset noise test  
Channel 4: 16V range filter ON, offset noise test  
Channel 1: 64V range filter OFF, offset noise test  
Channel 2: 64V range filter OFF, offset noise test  
Channel 3: 64V range filter OFF, offset noise test  
Channel 4: 64V range filter OFF, offset noise test  
Channel 1: 64V range filter ON, offset noise test  
Channel 2: 64V range filter ON, offset noise test  
Channel 3: 64V range filter ON, offset noise test  
Channel 4: 64V range filter ON, offset noise test  
Channel 1: 256V range filter OFF, offset noise test  
Channel 2: 256V range filter OFF, offset noise test  
Channel 3: 256V range filter OFF, offset noise test  
Channel 4: 256V range filter OFF, offset noise test  
Channel 1: 256V range filter ON, offset noise test  
Channel 2: 256V range filter ON, offset noise test  
Channel 3: 256V range filter ON, offset noise test  
Channel 4: 256V range filter ON, offset noise test  
Channel 1: Offset DAC test  
33*  
34*  
35  
36  
37*  
38*  
39  
40  
41*  
42*  
43  
44  
45*  
46*  
47  
48  
49*  
50*  
51  
52  
53*  
54*  
55  
56  
57*  
58*  
59*  
60*  
61*  
62*  
63*  
64*  
Channel 2: Offset DAC test  
Channel 3: Offset DAC test  
Channel 4: Offset DAC test  
Channel 1: Gain DAC test  
Channel 2: Gain DAC test  
100 Digitizers Command Reference  
Chapter 3  
Download from Www.Somanuals.com. All Manuals Search And Download.  
test_number  
65*  
Description  
Channel 3: Gain DAC test  
66*  
67*  
68*  
69*  
70*  
71*  
72*  
73*  
74*  
75*  
76*  
77*  
78*  
79*  
80*  
81*  
82*  
83*  
84*  
85*  
86*  
87*  
88*  
89*  
90*  
91*  
92*  
93*  
94*  
Channel 4: Gain DAC test  
Channel 1: 62 mV uncalibrated gain  
Channel 2: 62 mV uncalibrated gain  
Channel 3: 62 mV uncalibrated gain  
Channel 4: 62 mV uncalibrated gain  
Channel 1: 0.25V uncalibrated gain  
Channel 2: 0.25V uncalibrated gain  
Channel 3: 0.25V uncalibrated gain  
Channel 4: 0.25V uncalibrated gain  
Channel 1: 1V uncalibrated gain  
Channel 2: 1V uncalibrated gain  
Channel 3: 1V uncalibrated gain  
Channel 4: 1V uncalibrated gain  
Channel 1: 4V uncalibrated gain  
Channel 2: 4V uncalibrated gain  
Channel 3: 4V uncalibrated gain  
Channel 4: 4V uncalibrated gain  
Channel 1: 16V uncalibrated gain  
Channel 2: 16V uncalibrated gain  
Channel 3: 16V uncalibrated gain  
Channel 4: 16V uncalibrated gain  
Channel 1: 64V uncalibrated gain  
Channel 2: 64V uncalibrated gain  
Channel 3: 64V uncalibrated gain  
Channel 4: 64V uncalibrated gain  
Channel 1: 256V uncalibrated gain  
Channel 2: 256V uncalibrated gain  
Channel 3: 256V uncalibrated gain  
Channel 4: 256V uncalibrated gain  
*Test requires an E1564A 4-Channel Digitizer  
Chapter 3  
Digitizers Command Reference 101  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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:  
bit #  
7
6
5
4
3
8
2
4
1
2
0
1
weight  
128  
64  
32  
16  
Offset Noise Test (self-test numbers 3 - 58)  
BCD weight  
Failure mode  
1
2
Span is zero  
Span is too large  
Mean is too low  
Mean is too high  
4
8
16  
Standard deviation is too large  
Offset DAC Test (self-test numbers 59-62) (E1564A 4-Channel Digitizer)  
BCD weight  
Failure mode  
DAC measurement is noisy  
1
2
Measured data span is too small  
4
Lower end point to upper end point span is too small  
Lower end point to upper end point span is too large  
Offset DAC span does not include 0  
8
16  
32  
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)  
BCD weight  
Failure mode  
DAC measurement is noisy  
1
2
Measured data span is too small  
4
Lower end point to upper end point span is too small  
Lower end point to upper end point span is too large  
Gain DAC span does not include 0  
8
16  
32  
64  
Bit weight is out of limits; the offending bit is in B15-B8.  
Gain DAC nominal setting is out of limits.  
102 Digitizers Command Reference  
Chapter 3  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Uncalibrated Gain Test (self-test numbers 67-94)(E1564A Digitizer)  
BCD weight Failure mode  
The max-to-min span is 0.0.  
1
2
Gain span is too large.  
Gain mean is too low.  
4
8
Gain mean is too high.  
Gain standard deviation is too large.  
Gain is out of limits.  
16  
32  
TEST:TST[:RESults]?  
TEST:TST[:RESults]? returns an array of integers that result from the  
self-test command *TST?. A response of “0” indicates there is no error.  
Use TEST:ERR? <test_number> to retrieve details about the failed test  
number(s) returned by TEST:TST:RESults?.  
Chapter 3  
Digitizers Command Reference 103  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
TRIGger  
The TRIGger command subsystem controls the behavior of the trigger  
system.  
Subsystem Syntax TRIGger  
[:IMMediate]  
:LEVel <channel> <level> | MIN | MAX  
:LEVel <channel>?  
:MODE NORMal | MASTer0,2,4,6 | SLAVe0,2,4,6  
:MODE?  
:SLOPe[<n>] POS | 1 | NEG | 0  
:SLOPe[<n>]?  
:SOURce[<n>] OFF | BUS | EXT | HOLD | IMMediate |  
INTernal1-4 | TTLT0-7  
:SOURce[<n>]?  
TRIGger[:IMMediate]  
TRIGger[:IMMediate] causes the instrument to transition to the  
wait-for-samplestateimmediately,regardlessofthetriggersourceselected.  
Comments 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  
TRIGger:LEVel<channel> <voltage> | 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.  
Parameters  
Name  
Type  
Range of Values  
Default Value  
voltage  
numeric  
see Comments  
volts  
104 Digitizers Command Reference  
Chapter 3  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
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?  
TRIGger:LEVel<channel>? queries the value of the trigger level set on the  
specified channel.  
TRIGger:MODE  
TRIGger:MODE NORMal | MASTer<n> | SLAVe<n> 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.  
Parameters  
Name  
Type  
Range of Values  
Default Value  
<n>  
numeric  
0, 2, 4, 6  
none  
Comments Master and Slave Operation: NORMal sets standard trigger operation and the  
specified trigger and sample sources are used. MASTer<n> and SLAVe<n>  
pairs a sample line and a trigger line which are then used for multiple unit  
synchronization. See Chapter 2 for more information, including diagrams.  
Chapter 3  
Digitizers Command Reference 105  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
TTLT pairs to SLAVe modules  
MASTer MODE  
MASTer0  
SLAVe MODE  
SLAVe0  
Sample line  
TTLT0  
Trigger line  
TTLT1  
MASTer2  
SLAVe2  
TTLT2  
TTLT3  
MASTer4  
SLAVe4  
TTLT4  
TTLT5  
MASTer6  
SLAVe6  
TTLT6  
TTLT7  
Executable when initiated: YES  
Coupled command: NO  
Reset (*RST) condition: NORMal mode  
TRIGger:MODE?  
TRIGger:MODE? queries the trigger mode setting. Returns NORMal,  
MASTer or SLAVe.  
TRIGger:SLOPe[<n>]  
TRIGger:SLOPe[<n>] POS | 1 | NEG | 0 sets the active edge of the trigger  
signal that causes a measurement to be made.  
Parameters  
Name  
Type  
Range of Values  
Default Value  
<n>  
numeric  
1 or 2  
none  
Comments 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 designate  
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 <n> 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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
TRIGger:SLOPe[<n>]?  
TRIGger:SLOPe[<n>]? 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 <n> is not designated. Trigger slope applies only for  
TRIG:LEVel when the trigger source is INTernal or EXTernal. The command  
returns “POS” or “NEG”.  
Parameters  
Name  
Type  
Range of Values  
Default Value  
<n>  
numeric  
1 or 2  
none  
TRIGger:SOURce[<n>]  
TRIGger:SOURce[<n>] BUS | EXTernal | HOLD | IMMediate | INTernal1-4 |  
TTLT0-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 <n>  
is not designated.  
Two 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  
Name  
Type  
Range of Values  
Default Value  
<n>  
numeric  
1 or 2  
none  
Comments 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:IMMediate 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.  
Chapter 3  
Digitizers Command Reference 107  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
TRIGger:SOURce INTernal: TRIGger:SOURce INTernal1-2 (E1563A) or  
TRIGger:SOURce:INTernal1-4 (E1564A) triggers a reading when the level  
specified by TRIG:LEVel <channel> 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<n> is set, CALCulate<n>  
:LIMit:LOWer[:STATe] or CALCulate<n>:LIMit:UPPer[:STATe] are disabled  
if they were enabled, where <n> represents the channel number used for the  
internal trigger source 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<n>  
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<n>: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[<n>]?  
TRIGger:SOURce[<n>]? queries present setting for the specified trigger  
source (1 or 2). The command defaults to trigger source number 1  
if <n> is not designated.  
Parameters  
Name  
Type  
Range of Values  
Default Value  
<n>  
numeric  
1 or 2  
none  
Comments 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 and INT4, respectively.  
108 Digitizers Command Reference  
Chapter 3  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
IEEE 488.2 Common Commands Quick Reference  
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.  
Category  
Command  
*IDN  
Title  
Description  
System Data  
Identification  
Reset  
Returns the identification string of the  
Digitizer. Includes latest firmware version.  
Internal  
*RST  
Resets the Digitizer to:  
Operations  
range:  
256V  
input state: ON  
input filter:  
OFF  
TTLT states: OFF  
data format: ASCii  
See Chapter 2 for the 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 Appendix C for a complete  
list of error numbers and their description.  
Synchronization  
Status & Event  
*OPC  
*OPC?  
*WAI  
Operation Complete  
Operation Complete Query  
Wait to Complete  
Operation Complete Command  
Operation Complete Query  
Wait-to-Continue Command  
*CLS  
Clear Status  
Clear Status Command  
*ESE <unmask>  
*ESE?  
*ESR?  
*SRE <unmask>  
*SRE?  
*STB?  
Event Status Enable  
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  
Event Status Enable Query  
Event Status Register Query  
Service Request Enable  
Service Request 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.  
Chapter 3  
Digitizers Command Reference 109  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
*CLS  
*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.  
Comments Executable when initiated: No  
Coupled command: No  
Related Commands: STATus:PRESet  
Reset (*RST) condition: None  
*ESE and *ESE?  
*ESE <unmask> 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 unmask value.  
Parameters  
Name  
Type  
Range of Values  
Default Value  
unmask  
numeric  
0 through 255  
None  
Comments 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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
*ESR?  
*ESR? returns the value of the Standard Event Status Register. The register  
is then cleared (all bits 0).  
Comments Executable when initiated: YES  
Coupled command: NO  
Reset (*RST) condition: none  
Power-On condition: register is cleared  
*IDN?  
*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  
Comments Field Descriptions: The first two fields identify this instrument as model  
number E1563A or E1564A manufactured by Hewlett-Packard. The third  
field is 0 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  
*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 Event 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.  
Comments 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.  
Chapter 3  
Digitizers Command Reference 111  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
Executable when initiated: YES  
Coupled command: NO  
Related commands: *OPC?, *WAI  
Reset (*RST) condition: none  
*OPC?  
*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.  
Comments 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?, *WAI  
Reset (*RST) condition: none  
*RST  
*RST resets the E1563A and E1564A Digitizers as follows:  
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  
Calibration data  
Comments Executable when initiated: Yes  
Coupled command: No  
Reset (*RST) condition: none  
112 Digitizers Command Reference  
Chapter 3  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
*SRE and *SRE?  
*SRE <unmask> 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 <unmask> 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 <unmask> value.  
Parameters  
Name  
Type  
Range of Values  
Default Value  
unmask  
numeric  
0 through 255  
None  
Comments Executable when initiated: YES  
Coupled command: NO  
Reset (*RST) condition: unaffected  
Power-On condition: no bits are enabled  
*STB?  
*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.  
Comments Executable when initiated: YES  
Coupled command: NO  
Related commands: *SRE  
Reset (*RST) condition: none  
Chapter 3  
Digitizers Command Reference 113  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
*TST?  
*TST? causes the E1563A and E1564A Digitizers to execute an internal  
self-test and returns the number of the first failed test.  
Comments *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? <number> 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.  
Comments Executable when initiated: NO  
Coupled command: NO  
Reset (*RST) condition: none  
*WAI  
*WAI causes the E1563A and E1564A Digitizers to wait for all pending  
operations to complete before executing any further commands.  
Comments *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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
SCPI Commands Quick Reference  
This table summarizes SCPI commands for the E1563A and E1564A  
Digitizers.  
Command  
Description  
ABORt  
Stops any measurement in progress and puts  
instrument in the idle state  
CALCulate[<channel>]  
Defaults to channel 1 if none specified  
Checks for a limit failure  
Enable lower limit checking  
Query lower limit checking  
Set lower limit value  
Query lower limit value  
Enable upper limit checking  
Query upper limit checking  
Set upper limit value  
:LIMit:FAIL?  
:LIMit:LOWer[:STATe] ON | 1 | OFF | 0  
:LIMit:LOWer[:STATe]?  
:LIMit:LOWer:DATA <value> | MIN | MAX  
:LIMit:LOWer:DATA? [MIN | MAX]  
:LIMit:UPPer[:STATe] ON | 1 | OFF | 0  
:LIMit:UPPer[:STATe]?  
:LIMit:UPPer:DATA <value> | MIN | MAX  
:LIMit:UPPer:DATA? [MIN | MAX]  
Query  
CALibrate  
Calibration commands  
:DAC:VOLTage <voltage> | MIN | MAX  
:DAC:VOLTage? MIN | MAX  
:DATA?  
:GAIN[<channel>] [<readings>][,<rate>][,ON | 1 | OFF | 0]  
:SOURce INTernal | EXTernal  
:SOURce?  
(E1564A only) sets internal cal source  
Query internal cal source  
Returns calibration constants  
Perform gain cal using :VAL <voltage>  
Set calibration source (INT on E1564A only)  
Query calibration source  
:STATe ON | 1 | OFF | 0  
:STATe?  
Enable/disable ability to calibrate  
Query calibration state  
:STORe  
:VALue <voltage>  
:VALue?  
Store cal constants in NV memory  
Tell digitizer what cal value is input  
Query cal value  
:ZERO[<channel>] [<readings>][,<rate>]  
:ZERO[<channel>]:ALL? [<readings>][,<rate>]  
Perform zero cal on current range  
Perform zero cal on all ranges and return zero cal  
status response  
DIAGnostic  
Troubleshooting commands  
Set offset voltage for the DAC  
Output offset ramp from the DAC  
Set DAC gain as specified  
Output specified DAC voltage  
Output ramp from the DAC  
:DAC:OFFSet[<channel>] <voltage>  
:DAC:OFFSet[<channel>]:RAMP <count>  
:DAC:GAIN[<channel>] <value>  
:DAC:SOURce <voltage>  
:DAC:SOURce:RAMP <count>  
:INTerrupt:LINE 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7  
:INTerrupt:LINE?  
Sets the interrupt line used (“0” =none)  
Query interrupt line used  
:MEMory:SIZE <size>  
:MEMory:SIZE?  
Sets new value when you upsize RAM  
Query memory size  
:PEEK? <reg_num>  
Query contents of a register  
Write data to a register  
Connect internal short to the channel  
Query if internal short connected  
Query interrupt sources register status  
:POKE <reg_num>,<data>  
:SHORt[<channel>] ON | 1 | OFF | 0  
:SHORt[<channel>]?  
:STATus?  
FORMat  
Format commands  
Set data format  
Query data format  
[:DATA] ASCii | PACKed | REAL  
[:DATA]?  
Chapter 3  
Digitizers Command Reference 115  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Command  
Description  
INITiate  
[:IMMediate]  
Initiate a measurement now  
:CONTinuous ON | 1 | OFF | 0  
:CONTinuous?  
Initiate measurements continuously  
Query continuous state  
INPut[<channel>]  
Set the input filter and enable/disable input  
E1564A only. E1563A has fixed 25K.  
Query filter frequency  
:FILTer[:LPASs]:FREQ 1.5K | 6K | 25K | 100K (4-chan)  
:FILTer[:LPASs]:FREQ?  
:FILTer[:LPASs][:STATe] ON | 1 | OFF | 0  
:FILTer[:LPASs][:STATe]?  
Enable/disable channel’s filter  
Query filter state  
[:STATe] ON | 1 | OFF | 0  
[:STATe]?  
Enable/disable channel’s input  
Query channel input state  
OUTPut  
:TTLT<n>:SOURce TRIGger | SAMPle | BOTH  
:TTLT<n>:SOURce?  
Define trigger lines to output trigger and/or sample  
Query source  
:TTLT<n>[:STATe] ON | 1 | OFF | 0  
:TTLT<n>[:STATe]?  
Enable/disable the specified output  
Query specified output  
SAMPle  
[:STARt | :SEQuence[1]]  
:COUNt <count> | MIN | MAX  
:COUNt? [MIN | MAX]  
[:IMMediate]  
Set the number of samples to take  
Query number of samples set  
Take a sample now  
:PRETrigger:COUNt <count> | MIN | MAX  
:PRETrigger:COUNt? [MIN | MAX]  
:SLOPe POS | 1 | NEG | 0  
:SLOPe?  
:SOURce HOLD | TIMer | TTLT0-7 | EXT  
:SOURce?  
Set the number of pretrigger samples  
Query number of pretrigger samples  
Set the sample signal slope  
Query the sample signal slope  
Set the sample source  
Query the sample source  
:TIMer <interval> | MIN | MAX  
:TIMer? [MIN | MAX]  
Set sampling interval for source TIMer  
Query sampling interval  
[SENSe:]  
DATA? <Rdgs_per_channel>[,<channel_list>]  
DATA:ALL? <Rdgs_per_channel>  
Read data from list of channels  
Read data from all channels  
DATA:COUNt? [MIN | MAX]  
DATA:CVTable? <channel_list>  
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  
ROSCillator:EXTernal:FREQuency <freq>  
ROSCillator:EXTernal:FREQuency?  
ROSCillator:SOURce INTernal | EXTernal  
ROSCillator:SOURce?  
SWEep:POINts <neg_value> | MIN | MAX  
SWEep:POINts? [MIN | MAX]  
SWEep:OFFSet:POINts <neg_value> | MIN | MAX  
SWEep:OFFSet:POINts? [MIN | MAX]  
VOLTage[<channel>][:DC]:RANGe <range> | MIN | MAX  
VOLTage[<channel>][:DC]:RANGe? [MIN | MAX]  
VOLTage[<channel>][:DC]:RESolution? [MIN | MAX]  
Query channel’s voltage range  
Query channel’s resolution  
116 Digitizers Command Reference  
Chapter 3  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Command  
Description  
STATus  
:OPERation:CONDition?  
Read OPER:CONDition register  
Read OPER:EVENt register  
Unmask operation register bits  
Read OPER:ENABle register  
PRESet the status registers  
Read OPER:CONDition register  
Read OPER:EVENt register  
Unmask questionable register bits  
Read OPER:EVENt register  
:OPERation[:EVENt]?  
:OPERation:ENABle <unmask>  
:OPERation:ENABle?  
:PRESet  
:QUEStionable:CONDition?  
:QUEStionable[:EVENt]?  
:QUEStionableENABle <unmask>  
:QUEStionable:ENABle?  
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 specified self-test  
Return results of the *TST command  
TRIGger  
[:STARt | :SEQuence[1]]  
[:IMMediate]  
Trigger now  
:LEVel<channel> <voltage> | MIN | MAX  
:LEVel<channel>? [MIN | MAX]  
:MODE NORMal | MASTer | SLAVe  
:MODE?  
Set trigger level for internal trigger  
Query trigger level for internal trigger  
Set trigger mode  
Query trigger mode  
:SLOPe<n> POS | 1 | NEG | 0  
:SLOPe<n>?  
:SOURce<n> OFF | BUS | EXT | HOLD |  
Set slope of trigger signal  
Query trigger signal slope  
Set source of trigger signal  
IMMediate | INTernal1-4 | TTLT0-7  
:SOURce<n>?  
Query source of trigger signal  
Chapter 3  
Digitizers Command Reference 117  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Notes:  
118 Digitizers Command Reference  
Chapter 3  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Appendix A  
Digitizers Specifications  
General  
Number of channels:  
E1563A: 2 channels  
E1564A: 4 channels  
Selectable input filters (2-pole Bessel):  
E1563A (per channel): 25 kHz  
E1564A (per channel): 1.5kHz, 6 kHz, 25 kHz, 100 kHz  
Timing:  
Memory/Triggering:  
Bandwidth:>400 kHz for all ranges  
Resolution: 14 bits (including sign)  
Sample rates: 1 Sa/s to 800 kSa/s  
Integral Non-linearity (all ranges): 2.5 LSB  
Built-in DSP: No  
Alias protection: Oversample  
Time base resolution: 0.1 msec  
Low-frequency CMRR: 113 dB  
Trigger: Time and Event  
Pre-trigger capture: Yes  
Memory: 4 Mbyte to 128 Mbyte PC SIMM  
FIFO memory  
Minimum External Trigger Pulse Width: ~ 20 nsec  
External Sample Latency: 100 nsec (due to optocoupler)  
External Trigger Latency: ±0.5 x Sample Interval  
Minimum Ext Sample Clock Pulse Width: ~ 20 nsec  
Can accept non-periodic sample pulses  
Cooling/Slot:  
Watts/slot  
Environmental:  
For indoor use, pollution degree 2 (IEC 61010-1)  
Operating altitude: 3000 meters or mainframe altitude  
specification, whichever is lower  
E1563A: 20.6W  
E1564A: 37.4W  
DP mm H O:0.18  
Operating temperature: 0°C to 55°C  
2
Rel humidity: up to 80% at 31°C, decreasing to 50% at 40°C  
Air flow liter/s: 2.8  
E1563A/E1564A Accuracy Specifications (1 Year)  
1
1
Range  
Gain  
(% of reading)  
Noise  
(3 sigma)  
Zero Offset  
Zero Offset  
(with filter OFF)  
(with filter ON)  
Specifi-  
Temperature  
Specifi-  
Temperature  
Specifi-  
Temperature  
Specifi-  
cation  
2
3
2
3
2
3
cation  
Coefficient  
cation  
Coefficient  
cation  
Coefficient  
0.0625V  
0.25V  
1V  
20 mV  
78 mV  
1.9 mV/°C  
6 mV/°C  
28 mV  
110 mV  
430 mV  
1.7 mV  
21 mV  
34 mV  
110 mV  
4.3 mV/°C  
16 mV/°C  
0.034%  
0.034%  
0.034%  
0.034%  
0.034%  
0.034%  
0.034%  
0.0061%/°C  
0.0061%/°C  
0.0061%/°C  
0.0061%/°C  
0.0061%/°C  
0.0061%/°C  
0.0061%/°C  
57 mV  
180 mV  
720 mV  
2.88 mV  
14.7 mV  
48 mV  
300 mV  
1.2 mV  
21 mV  
28 mV  
79 mV  
15 mV/°C  
63 mV/°C  
4V  
60 mV/°C  
251 mV/°C  
1.63 mV/°C  
4.24 mV/°C  
16.2 mV/°C  
16V  
1.3 mV/°C  
1.65 mV/°C  
4.28 mV/°C  
64V  
256V  
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 <0°C or >55°C for these specifications to remain valid.  
2
3
Specification is valid when tested at a temperature within ±5°C of the calibration temperature.  
Amount of error that must be added for each °C outside of ±5°C of the calibration temperature.  
Appendix A  
Digitizers Specifications 119  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Notes:  
120 Digitizers Specifications  
Appendix A  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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  
Addressing the Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . .121  
Register Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .124  
Programming Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . .140  
Register Programming vs. SCPI Programming  
The E1536A and E1564A Digitizers are register-based modules that do not  
support the VXIbus 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.  
NOTE 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  
0, 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  
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.  
Appendix B  
Register-Based Programming 121  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
The Base Address When reading or writing to a switch register, a hexadecimal or decimal  
register address is specified. 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  
Figure B-1), the digitizer’s base address is computed as:  
Outside the Command  
Module  
C00016 + (LADDR * 64)16 or 49,152 + (LADDR * 64)  
where C00016 (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 (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  
A16 Address Space When the A16 address space is inside the E1406 Command Module  
(see Figure B-2), the digitizer’s base address is computed as:  
Inside the Command  
Module or Mainframe  
1FC00016 + (LADDR * 64)16  
or  
2,080,768 + (LADDR * 64)  
where 1FC00016 (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 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 (decimal)  
2,080,768 + (40 * 64) = 2,080,768 + 2560 = 2,083,328  
122 Register-Based Programming  
Appendix B  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Register Offset The register offset is the register’s location in the block of 64 address bytes.  
For example, the digitizer’s Status Register has an offset of 0416. When you  
write a command to this register, the offset is added to the base address to  
form the register address:  
1FCA0016 + 0416 = 1FCA0416 or 2,083,328 + 4 = 2,083,332  
REGISTER  
16-BIT WORDS  
OFFSET  
3E  
3C  
Sample Control/Source  
Trigger Control/Source  
16  
16  
FFFF  
16  
16  
FFFF  
16  
30  
2E  
2C  
2A  
28  
Sample Period High Byte  
TRIG/INT Level CH4  
TRIG/INT Level CH3  
TRIG/INT Level CH2  
TRIG/INT Level CH1  
16  
16  
16  
16  
16  
COOO  
REGISTER  
ADDRESS  
SPACE  
*
A16  
ADDRESS  
SPACE  
O4  
O2  
OO  
Status/Control Register  
Device Type Register  
ID Register  
16  
16  
16  
C000  
16  
(49,152)  
E1563/E1564  
A16 REGISTER MAP  
Base Address = COOO + (Logical Address 64)  
*
*
16  
16  
OOOO  
16  
or  
49,152 + (Logical Address 64)  
*
10  
Register Address = Base address + Register Offset  
Figure B-1. Registers Within A16 Address Space  
E1406  
ADDRESS MAP  
REGISTER  
OFFSET  
16-BIT WORDS  
FFFFFF  
16  
16  
3E  
16  
Sample Control/Source  
Trigger Control/Source  
3C  
16  
200000  
16  
16  
EOOOOO  
30  
2E  
2C  
2A  
28  
Sample Peroid High Byte  
TRIG/INT Level CH4  
TRIG/INT Level CH3  
TRIG/INT Level CH2  
TRIG/INT Level CH1  
16  
16  
16  
16  
16  
IFCOOO  
200000  
16  
A16  
ADDRESS  
SPACE  
A24  
ADDRESS  
SPACE  
REGISTER  
ADDRESS  
SPACE  
*
O4  
O2  
OO  
Status/Control Register  
Device Type Register  
ID Register  
16  
16  
16  
IFCOOO  
16  
IFOOOO  
16  
(2,080,768)  
200000  
IF0000  
16  
16  
E1563A/E1564A  
A16 REGISTER MAP  
Base Address = IFC00016 + (Logical Address 64)16  
*
*
or  
2,080,768 + (Logical Address 64)10  
*
000000  
16  
Register Address = Base address + Register Offset  
Figure B-2. Registers Within the E1406 A16 Address Space  
Appendix B  
Register-Based Programming 123  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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:  
Description  
Address  
base + 04  
Status/Control Register  
16  
16  
base + 06  
Offset Register  
base + 0C  
base + 1C  
base + 1E  
base + 20  
Interrupt Control Register  
16  
16  
16  
Calibration Flash ROM Address Register  
Calibration Flash ROM Data Register  
Calibration Source Register  
16  
16  
16  
16  
base + 24  
base + 26  
base + 28  
Range, Filter, Connect Channels 1 and 2 Register  
Range, Filter, Connect Channels 3 and 4 Register  
Trigger/Interrupt Level Channel 1 Register  
Trigger/Interrupt Level Channel 2 Register  
Trigger/Interrupt Level Channel 3 Register  
Trigger/Interrupt Level Channel 4 Register  
Sample Period High Word Register  
Sample Period Low Word Register  
Pre-Trigger Count High Register  
Pre-Trigger Count Low Register  
base + 2A  
base + 2C  
base + 2E  
base + 30  
16  
16  
16  
16  
16  
16  
16  
16  
base + 32  
base + 34  
base + 36  
base + 38  
Post-Trigger Count High Register  
Post-Trigger Count Low Register  
Trigger Control/Source Register  
base + 3A  
base + 3C  
base + 3E  
16  
16  
16  
Sample Control/Source Register  
124 Register-Based Programming  
Appendix B  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
READ Registers You can read the following digitizer registers:  
Description  
Address  
Manufacturer ID Register  
base + 00  
16  
16  
16  
16  
16  
Device Type Register  
base + 02  
base + 04  
base + 06  
base + 08  
Status/Control Register  
Offset Register  
FIFO High Word Register  
FIFO Low Word Register  
base + 0A  
base + 0C  
base + 0E  
16  
16  
16  
16  
16  
16  
16  
16  
Interrupt Control Register  
Interrupt Sources Register  
CVTable Channel 1 Register  
base + 10  
base + 12  
base + 14  
base + 16  
base + 18  
CVTable Channel 2 Register  
CVTable Channel 3 Register  
CVTable Channel 4 Register  
Samples Taken High Word Register  
Samples Taken Low Word Register  
Calibration Flash ROM Address Register  
Calibration Flash ROM Data Register  
Calibration Source Register  
base + 1A  
base + 1C  
base + 1E  
base + 20  
16  
16  
16  
16  
16  
16  
16  
base + 24  
base + 26  
base + 28  
Range, Filter, Connect Channels 1 and 2 Register  
Range, Filter, Connect Channels 3 and 4 Register  
Trigger/Interrupt Level Channel 1 Register  
Trigger/Interrupt Level Channel 2 Register  
Trigger/Interrupt Level Channel 3 Register  
Trigger/Interrupt Level Channel 4 Register  
Sample Period High Word Register  
Sample Period Low Word Register  
Pre-Trigger Count High Register  
Pre-Trigger Count Low Register  
Post-Trigger Count High Register  
Post-Trigger Count Low Register  
base + 2A  
base + 2C  
base + 2E  
base + 30  
16  
16  
16  
16  
16  
16  
16  
16  
base + 32  
base + 34  
base + 36  
base + 38  
base + 3A  
16  
Appendix B  
Register-Based Programming 125  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Description  
Address  
base + 3C  
Trigger Control/Source Register  
16  
16  
base + 3E  
Sample Control/Source Register  
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.  
base + 0016 15  
14  
13  
12  
11  
10  
9
8
7
6
5
4
3
2
1
0
Read Device Class Addr Space Manufacturer ID - returns FFF16 (-1228910) 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 + 0 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 26616 in the least significant bits  
to identify the device as the E1563A 2-Channel Digitizer or 26716 in the least  
significant bits to identify the device as the E1564A 4-Channel Digitizer.  
Register  
base + 0216 15  
14  
1
13  
12  
11  
10  
9
8
7
6
5
4
3
2
1
0
Read  
0
E1563A (2-Channel Digitizer) = 26616 (614  
)
10  
1
1
E1564A (4-Channel Digitizer) = 26716 (61510  
)
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 + 0416) which enables you to  
reset the module and set either A24 or A32 decoding. You can also read the  
MODID bit.  
Register  
base + 04  
Write*  
15  
A
14  
13  
12  
11  
10  
9
8
7
F
6
5
4
3
2
1
0
16  
Unde- MOT- A24  
fined INTEL  
Undefined  
E
Undefined  
S
R
Read**  
A
M
MOT- A24 Unde- Memory Size  
INTEL fined  
F
E
Arm Delay RDY  
P
S
R
126 Register-Based Programming  
Appendix B  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
:
*WRITE BITS (Status/Control Register)  
bit 0  
R
Writing a "1" to this bit resets the digitizer to the power-on state. You must set bit 0 back  
to a logical "0" before resuming normal operations of the module.  
bit 1  
bit 6  
S
E
F
“1” inhibits sysfail, “0” does not inhibit sysfail.  
“1” disables error reporting LED, “0” enables error reporting LED (front panel).  
“1” disables Flash ROM “write”, “0” enables Flash ROM “write”.  
“1” sets A24 space as all FIFO, “0” sets A24 space as broken up.  
“1” sets Motorola format for reading ordering, “0” sets Intel format for reading ordering.  
“1” enables A32 decoding, “0” enables A24 decoding.  
bit 7  
bit 12  
bit 13  
bit 15  
A24  
MOT-INTEL  
A
**READ BITS (Status/Control Register)  
Reset Status; "1" = module reset, "0" = normal operation.  
SYSFAIL inhibit; “1” = inhibited, “0” = not inhibited.  
Passed; “1” = passed, “0” = failed.  
bit 0  
bit 1  
R
S
bit 2  
P
bit 3  
RDY  
Ready; “1” = A32 decoding enabled, “0” = A24 decoding enabled.  
bits 4 & 5  
Arm  
Delay  
Bit 4 is “1” for 1 msec after a range/filter change then returns to “0”, bit 5 is “1”  
for 30 msec after range/filter change then returns to “0”.  
bit 6  
bit 7  
E
F
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,  
and 10  
Memory  
Size  
Memory Size; “000” = 4 MBytes, “001” = 8 MBytes, “010” = 16 MBytes, “011” = 32 MBytes,  
“100” = 64 MBytes, “101” = 128 MBytes.  
bit 12  
bit 13  
A24  
“1” sets A24 space as all FIFO, “0” sets A24 space as broken up.  
MOT-  
“1” = Motorola big endian byte swapping, “0” = Intel little endian byte swapping.  
INTEL  
bit 14  
bit 15  
M
A
MODID bit; if the bit is "0", module has been selected.  
A24/A32 enable; “1” = A32 decoding enabled, “0” = A24 decoding enabled.  
Reading the Register Via Command Module PEEK command: DIAG:PEEK? 2083332,16  
(2083328 = base with logical address 40 + 04 offset - see Figure B-2)  
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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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 + 06  
15  
14  
13  
12  
11  
10  
9
8
7
0
6
0
5
0
4
3
2
0
1
0
0
0
16  
Write*  
A23 A22 A21 A20 A19 A18 A17 A16  
A24 Offset  
undefined  
Read**  
0
0
*WRITE BITS (A24 Offset Register)  
bits 8-15  
bits 8-15  
A16-A23  
These bits set the offset of the module in A24 space.  
**READ BITS (A24 Offset Register)  
A24 Offset  
The module’s offset in A24 space.  
FIFO High 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  
Word/Low Word  
Registers  
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  
0816 before 0A16 if using D16. The FIFO is incremented after reading  
register 0E16. If D32 is used, reading 0816 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 remove the  
data on a 4-channel module is:  
Read 0816 chan 1 data (bit 15 is MSB of chan 1, bit 0 is chan 1 LSB)  
Read 0A16 channel 2 data  
FIFO is automatically incremented to bring in the next data  
Read 0816 channel 3 data  
Read 0A16 channel 4 data  
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 0816 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)  
FIFO is automatically incremented to bring in the next data  
Read 0A16 channel 3 data, channel 4 data (bit 31 is MSB of chan 3,  
bFitIF1O6 iiss LaSutBomofactihcaanlly3i,nbcirte1m5eisntMedStBoobfricnhgainn4th, ebint e0xitsdLaStaB of chan 4)  
128 Register-Based Programming  
Appendix B  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
base + 08  
Read  
15  
15  
14  
14  
13  
13  
12  
12  
11  
11  
10  
10  
9
9
8
8
7
7
6
6
5
5
4
4
3
3
2
2
1
1
0
16  
LSB  
base + 0A  
Read  
0
16  
LSB  
Interrupt Control The interrupt level and the interrupt source are controlled by the interrupt  
control register. There are several sources of interrupt. A logical OR is  
Register  
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 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.  
:
base + 0C  
15  
14  
13  
12  
11  
10  
9
8
7
6
5
4
3
2
1
0
16  
Write*  
Enable L2  
L1  
L0  
Read**  
TRIG DONE PRE OVER CH4 CH3 CH2 CH1  
undefined  
Enable Interrupt Level  
*WRITE BITS (Interrupt Control Register)  
bits 0-2  
bit 3  
L0-2  
Specifies the interrupt level (1 - 7); “001” = 1, “111” = 7  
Enable  
Enable the interrupt; “1” = interrupt enabled, “0” = interrupt disabled.  
**READ BITS (Interrupt Control Register)  
A trigger has been received after pre-trigger acquisition is done.  
Memory is full or post trigger acquisition is done.  
Pre-trigger data has been acquired.  
bit 15  
bit 14  
bit 13  
bit 12  
bit 11  
bit 10  
bit 9  
TRIG  
DONE  
PRE  
OVER  
CH4  
A dangerous OVERvoltage caused the channel input relay to open.  
Channel 4 exceeded the set limit.  
CH3  
Channel 3 exceeded the set limit.  
CH2  
Channel 2 exceeded the set limit.  
bit 8  
CH1  
Channel 1 exceeded the set limit.  
Appendix B  
Register-Based Programming 129  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Interrupt Source Eight events can be enabled to interrupt the digitizer. These events are listed  
in the above Interrupt Control Register definition for bits 8 through 15. The  
Register  
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.  
base + 0E  
Read  
15  
14  
13  
12  
11  
10  
9
8
7
6
5
4
3
2
1
0
16  
TRIG DONE PRE OVER CH4 CH3 CH2 CH1 TRIG DONE PRE OVER CH4 CH3 CH2 CH1  
READ BITS (Interrupt Source Register)  
bit 15, 7  
TRIG  
A trigger has been received after pre-trigger acquisition is complete and  
measurement count is not complete.  
bit 14, 6  
bit 13, 5  
bit 12, 4  
bit 11, 3  
bit 10, 2  
bit 9, 1  
DONE  
PRE  
OVER  
CH4  
Memory is full or post-trigger acquisition is complete.  
Pre-trigger data has been acquired and waiting for trigger.  
A dangerous OVERvoltage caused the channel input relay to open.  
Channel 4 exceeded the set limit during the last sample taken.  
Channel 3 exceeded the set limit during the last sample taken.  
Channel 2 exceeded the set limit during the last sample taken.  
Channel 1 exceeded the set limit during the last sample taken.  
CH3  
CH2  
bit 8, 0  
CH1  
CVTable Channel 1 This register holds the last value of the 2’s complement data stored in FIFO  
for channel 1. Data is 14 bits with the LSB at bit 2.  
Register  
base + 10  
Read  
15  
14  
13  
12  
11  
10  
9
8
7
6
5
4
3
2
1
0
0
0
16  
MSB  
LSB  
CVTable Channel 2 This register holds the last value of the 2’s complement data stored in FIFO  
for channel 2. Data is 14 bits with the LSB at bit 2.  
Register  
base + 12  
Read  
15  
14  
13  
12  
11  
10  
9
8
7
6
5
4
3
2
1
0
0
0
16  
MSB  
LSB  
130 Register-Based Programming  
Appendix B  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
CVTable Channel 3 This register holds the last value of the 2’s complement data stored in FIFO  
for channel 3. Data is 14 bits with the LSB at bit 2.  
Register  
base + 14  
Read  
15  
14  
13  
12  
11  
10  
9
8
7
6
5
4
3
2
1
0
0
0
16  
MSB  
LSB  
CVTable Channel 4 This register holds the last value of the 2’s complement data stored in FIFO  
for channel 4. Data is 14 bits with the LSB at bit 2.  
Register  
base + 16  
Read  
15  
14  
13  
12  
11  
10  
9
8
7
6
5
4
3
2
1
0
0
0
16  
MSB  
LSB  
Samples Taken 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.  
High Byte Register  
base + 18  
15  
14  
13  
12  
11  
10  
9
8
7
6
5
4
3
2
1
0
16  
(31) (30) (29) (28) (27) (26) (25) (24) (23) (22) (21) (20) (19) (18) (17) (16)  
Read  
0
0
0
0
0
0
0
0
0
0
x
x
x
x
x
x
Samples Taken Low 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.  
Word Register  
base + 1A  
Read  
15  
x
14  
x
13  
x
12  
x
11  
x
10  
x
9
x
8
x
7
x
6
x
5
x
4
x
3
x
2
x
1
x
0
16  
LSB  
Calibration Flash This register holds the address of the calibration flash ROM that is used for  
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.  
ROM Address  
Register  
base + 1C  
15  
14  
13  
12  
11  
10  
9
8
7
6
5
4
3
2
1
0
16  
Write*  
0
0
1
0
0
0
1
0
0
0
A10  
A10  
A9  
A9  
A8  
A8  
A7  
A7  
A6  
A6  
A5  
A5  
A4  
A4  
A3  
A3  
A2  
A2  
A1  
A1  
A0  
A0  
Read**  
Appendix B  
Register-Based Programming 131  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                   
Calibration Flash This register holds the data of the calibration flash ROM that is used for the  
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.  
ROM Data Register  
base + 1E  
15  
14  
13  
12  
11  
10  
9
8
7
6
5
4
3
2
1
0
16  
Write*  
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
D7  
D7  
D6  
D6  
D5  
D5  
D4  
D4  
D3  
D3  
D2  
D2  
D1  
D1  
D0  
D0  
Read**  
Calibration Source The E1564A 4-Channel Digitizer has an on-board calibration source.  
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.  
Register  
base + 20  
Write  
15  
14  
13  
12  
11  
10  
9
8
7
6
5
4
3
2
1
0
16  
RANGE  
MUX1 MUX0  
DAC Data  
*WRITE BITS (Calibration Source Register)  
DAC data  
bits 0-11  
bit 12, 13  
DAC  
MUX0, 1  
connects choices to the output; 00 = CAL source, 01 = Raw DAC output,  
10 = Internal +5V reference, 11 = Input short  
bit 15  
RANGE  
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)  
divided by the number of channels) + the sample count (registers at offset  
Register  
1816 and 1A ).  
16  
base + 22  
15  
0
14  
0
13  
0
12  
0
11  
0
10  
0
9
0
8
0
7
6
5
4
3
2
1
0
16  
Write  
Cache count  
132 Register-Based Programming  
Appendix B  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
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.  
The fastest way to change range, filter or the connect relay is to write a 32-bit  
Channel 1, 2  
Connect Register  
word to the register. After every write to this register the bus is held off 10  
ms 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. :  
base + 24  
15  
14  
13  
12  
11  
10  
9
8
7
6
5
4
3
2
1
0
16  
Conn1  
Conn1  
Conn2  
Conn2  
Write  
Read  
CH 1 Filter Code short1 CH 1 Gain Code  
CH 1 Filter Code short1 CH 1 Gain Code  
CH 2 Filter Code short2 CH 2 Gain Code  
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-10  
Gain  
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)  
bits 3  
and 11  
short1,  
short2  
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 = 25 kHz  
011 = 100 kHz  
111 = NO filter  
bits 7 and  
15  
Connect  
Code  
This bit connects the input channel to the front panel connector (Connect Code = 0) or to the  
calibration bus (Connect Code = 1).  
Range, Filter, and Each channel has an 8-bit byte which controls the input signal range, filter  
cut off and the relay that connects the channel to the front panel connector.  
The fastest way to change range, filter or the connect relay is to write a 32-bit  
Channel 3, 4  
Connect Register  
word to the register. After every write to this register the bus is held off 10  
ms 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.  
base + 26  
15  
14  
13  
12  
11  
10  
9
8
7
6
5
4
3
2
1
0
16  
Conn3  
Conn3  
Conn4  
Conn4  
Write  
Read  
CH 3 Filter Code short3 CH 3 Gain Code  
CH 3 Filter Code short3 CH 3 Gain Code  
CH 4 Filter Code short4 CH 4 Gain Code  
CH 4 Filter Code short4 CH 4 Gain Code  
Appendix B  
Register-Based Programming 133  
Download from Www.Somanuals.com. All Manuals Search And Download.  
     
:
WRITE/READ BITS (Range, Filter and Channel 3/4 Connect Register)  
bits 0-2 and  
8-10  
Gain  
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)  
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 = 25 kHz  
011 = 100 kHz  
111 = NO filter  
bits 7 and  
15  
Connect  
Code  
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  
complement format. :  
Level Channel 1  
Register  
base + 28  
15  
14  
13  
12  
11  
10  
9
8
7
6
5
4
3
2
1
0
16  
Write*  
MSB-D7 D6  
MSB-D7 D6  
D5  
D5  
D4  
D4  
D3  
D3  
D2  
D2  
D1  
D1  
D0  
D0  
0
0
0
0
0
0
0
0
0
0
0
0
0
0
GL  
GL  
Read**  
*WRITE/**READ BITS (Trigger/Interrupt Level Channel 1 Register)  
Greater than or Less than; “0” = >, “1” = <.  
data bits.  
bit 0  
GL  
bits 15-8  
D7-D0  
134 Register-Based Programming  
Appendix B  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Trigger/Interrupt This register provides 8-bit data corrected for offset and gain in 2’s  
complement format. :  
Level Channel 2  
Register  
base + 2A  
15  
14  
13  
12  
11  
10  
9
8
7
6
5
4
3
2
1
0
16  
Write*  
MSB-D7 D6  
MSB-D7 D6  
D5  
D5  
D4  
D4  
D3  
D3  
D2  
D2  
D1  
D1  
D0  
D0  
0
0
0
0
0
0
0
0
0
0
0
0
0
0
GL  
GL  
Read**  
*WRITE/**READ BITS (Trigger/Interrupt Level Channel 2 Register)  
Greater than or Less than; “0” = >, “1” = <.  
data bits.  
bit 0  
GL  
bits 15-8  
D7-D0  
Trigger/Interrupt This register provides 8-bit data corrected for offset and gain in 2’s  
complement format. :  
Level Channel 3  
Register  
base + 2C  
15  
14  
13  
12  
11  
10  
9
8
7
6
5
4
3
2
1
0
16  
Write*  
MSB-D7 D6  
MSB-D7 D6  
D5  
D5  
D4  
D4  
D3  
D3  
D2  
D2  
D1  
D1  
D0  
D0  
0
0
0
0
0
0
0
0
0
0
0
0
0
0
GL  
GL  
Read**  
*WRITE/**READ BITS (Trigger/Interrupt Level Channel 3 Register)  
Greater than or Less than; “0” = >, “1” = <.  
data bits.  
bit 0  
GL  
bits 15-8  
D7-D0  
Appendix B  
Register-Based Programming 135  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Trigger/Interrupt This register provides 8-bit data corrected for offset and gain in 2’s  
complement format. :  
Level Channel 4  
Register  
base + 2E  
15  
14  
13  
12  
11  
10  
9
8
7
6
5
4
3
2
1
0
16  
Write*  
MSB-D7 D6  
MSB-D7 D6  
D5  
D5  
D4  
D4  
D3  
D3  
D2  
D2  
D1  
D1  
D0  
D0  
0
0
0
0
0
0
0
0
0
0
0
0
0
0
GL  
GL  
Read**  
*WRITE/**READ BITS (Trigger/Interrupt Level Channel 4 Register)  
Greater than or Less than; “0” = >, “1” = <.  
data bits.  
bit 0  
GL  
bits 15-8  
D7-D0  
Sample Period High This register provides the high byte of the sample period.  
Byte Register  
base + 30  
15  
0
14  
0
13  
0
12  
0
11  
0
10  
0
9
0
8
0
7
6
5
4
3
2
1
0
16  
Write*  
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
Read**  
Sample Period Low This register provides the low word (2 bytes) of the sample period.  
Word Register  
base + 32  
15  
14  
13  
12  
11  
10  
9
8
7
6
5
4
3
2
1
0
16  
Write*  
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
LSB  
LSB  
Read**  
Pre-Trigger Count Pre-trigger count is the number of readings stored before the trigger is  
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.  
High Byte Register  
base + 34  
15  
0
14  
0
13  
0
12  
0
11  
10  
9
0
8
0
7
0
6
0
5
4
3
2
1
0
16  
Write  
Read  
undefined  
C5  
C5  
C4  
C4  
C3  
C3  
C2  
C2  
C1  
C1  
C0  
C0  
0
0
136 Register-Based Programming  
Appendix B  
Download from Www.Somanuals.com. All Manuals Search And Download.  
               
Pre-Trigger Count This register holds the low word (2 bytes) for the pre-trigger count.i  
Low Word Register  
base + 36  
15  
14  
13  
12  
11  
10  
9
8
7
6
5
4
3
2
1
0
16  
Write  
Read  
C15 C14 C13 C12 C11 C10 C9  
C15 C14 C13 C12 C11 C10 C9  
C8  
C8  
C7  
C7  
C6  
C6  
C5  
C5  
C4  
C4  
C3  
C3  
C2  
C2  
C1  
C1  
C0  
C0  
Sample Count High Sample count is the total number of readings to be taken including the  
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.  
Byte Register  
base + 38  
15  
0
14  
0
13  
0
12  
0
11  
10  
9
0
8
0
7
0
6
0
5
4
3
2
1
0
16  
Write  
Read  
undefined  
C5  
C5  
C4  
C4  
C3  
C3  
C2  
C2  
C1  
C1  
C0  
C0  
0
0
Sample Count Low Register containing the low word (2 bytes) for the sample count. This  
register and the high byte in register 3816 hold a value that can be set  
by SAMPle:COUNt. See Chapter 2 for the relationship of the sample count  
Word Register  
and the pre-trigger count.  
base + 3A  
15  
14  
13  
12  
11  
10  
9
8
7
6
5
4
3
2
1
0
16  
Write  
Read  
C15 C14 C13 C12 C11 C10 C9  
C15 C14 C13 C12 C11 C10 C9  
C8  
C8  
C7  
C7  
C6  
C6  
C5  
C5  
C4  
C4  
C3  
C3  
C2  
C2  
C1  
C1  
C0  
C0  
Trigger This register provides the bits that control the trigger system. See  
“Master-Slave Operation” in Chapter 2 for more information on register  
Source/Control  
Register  
programming the digitizer in a master-slave configuration. This uses  
bits 5, 6, 10 and 11 of the register.  
base + 3C  
15  
14  
13  
12  
11 10  
9
8
7
6
5
4
3
2
1
0
16  
CMP4 CMP3 CMP2 CMP1 SLAVING EX_ POS_ SOFT MASTER SLAVE EN_  
IN/ TTL_3 TTL_1 TTL_0  
Write*  
PAIR TRIG NEG TRIG TTL OUT  
CMP4 CMP3 CMP2 CMP1 SLAVING EX_ POS_ SOFT MASTER SLAVE EN_  
IN/ TTL_3 TTL_1 TTL_0  
Read**  
PAIR TRIG NEG TRIG TTL OUT  
Appendix B  
Register-Based Programming 137  
Download from Www.Somanuals.com. All Manuals Search And Download.  
               
:
*WRITE BITS (Trigger Source Register) and  
**READ BITS (Trigger Control Register)  
bits 0-2  
bit 3  
bit 4  
bit 5  
bit 6  
bit 7  
bit 8  
bit 9  
TTL_n  
000 = TTLT0, 001 = TTLT1, 010 = TTLT2, ... , 011 = TTLT6, 111 = TTLT7.  
TTLTn line is: 0 = IN, 1 = OUT.  
IN/OUT  
EN_TTL  
SLAVE  
0 = disable TTLTn, 1 = enable TTLTn  
0 = not a slave module, 1 = slave module.  
MASTER  
SOFT TRIG  
POS_NEG  
EX_TRIG  
0 = not a master module, 1 = master module.  
software trigger: 0 = IMMediate disabled, 1 = IMMediate enabled.  
trigger slope: 0 = NEG, 1 = POS.  
0 = 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  
bits 12-15  
SLAVING_PAIR  
CMP1-4  
00 = MASTer0/SLAVe0; 01 = MASTer2/SLAVe2; 10 = MASTer4/SLAVe4;  
11 = MASTer6/SLAVe6  
0 = 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  
base + 3E 15  
14 13  
12  
11 10  
9
8
7
6
5
4
3
2
1
0
16  
SW  
ARM  
IMM  
SW  
ARM  
30 mS  
delay  
ABORT  
EX_  
POS_ SOFT EXT  
INT  
EN_  
IN/  
OUT  
TTL_3 TTL_1 TTL_0  
Write*  
SAM NEG SAM TIME CLOCK TTL  
PLE  
PLE  
BASE  
SW  
ARM  
IMM  
SW  
ABORT  
EX_  
POS_ SOFT EXT  
INT  
EN_  
IN/  
OUT  
TTL_3 TTL_1 TTL_0  
Read**  
ARM  
30 mS  
delay  
SAM NEG SAM TIME CLOCK TTL  
PLE PLE BASE  
*WRITE BITS (Sample Source Register) and  
**READ BITS (Sample Control Register)  
bits 0-2  
TTL_n  
000 = TTLT0, 001 = TTLT1, 010 = TTLT2, ... , 011 = TTLT6, 111 = TTLT7.  
TTLTn line is: 0 = IN, 1 = OUT.  
bit 3  
bit 4  
bit 5  
IN/OUT  
EN_TTL  
INT Clock  
1 = enable TTLTn, 0 = disable TTLTn  
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 External Trigger Input connector.  
138 Register-Based Programming  
Appendix B  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
*WRITE BITS (Sample Source Register) and  
**READ BITS (Sample Control Register)  
bit 7  
SOFT  
software sample: 0 = IMMediate disabled, 1 = IMMediate enabled.  
SAMPLE  
bit 8  
bit 9  
POS_NEG  
External sample slope: 0 = NEG, 1 = POS.  
EX_SAMPLE  
1 = EXTernal sample is an external source you must input on the “Sample” pin on the  
front panel D-subminiature connector. 0 = EXTernal sample disabled.  
bit 12  
ABORT  
1 = aborts measurement and flushes all reading data in all memory. The bit is set to “0”  
when the digitizer is initiated.  
bit 13*  
INIT  
with 30 msec  
delay  
This bit will initiate measurements after a 30 msec delay when it is set to “1”. It is set to  
“0” when pre-trigger readings are complete.  
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 15 is set and  
thepreviousmeasurementcompleted,anABORTfollowedbyanINITisexecuted.  
If bits 12, 13 and 15 are all “0”, no action is initiated.  
Appendix B  
Register-Based Programming 139  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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 If 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 = 0xCFFF  
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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
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 with MS Visual C++ version 2.0 using Agilent VISA I/O calls. */  
#include <visa.h>  
#include <stdio.h>  
#include <stdlib.h>  
#include <string.h>  
#include <time.h>  
/* 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(&defaultRM);  
/* GPIB 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 *********/  
err=ViIn16(digitizer,VI_A16_SPACE,0x00,&id_reg);  
if (err<VI_SUCCESS) err_handler(digitizer,err);  
err=ViIn16(digitizer,VI_A16_SPACE,0x02,&dt_reg);  
if (err<VI_SUCCESS) err_handler(digitizer,err);  
/* read reg 00 */  
/* read reg 02 */  
printf(“ID register = 0x%4X\n”,id_reg)  
printf(“Device Type register = 0x%4X\n”,dt_reg);  
Appendix B  
Register-Based Programming 141  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Read Status Register  
/**************** read the digitizer's status register **************/  
err=ViIn16(digitizer,VI_A16_SPACE,0x04,&stat_reg);  
if (err<VI_SUCCESS) err_handler(digitizer,err);  
printf("Status register = 0x%4X\n", stat_reg);  
/* read status reg */  
Make some measurements and retrieve readings  
/******************** make measurements *******************/  
/* set channel 1 and 2 to 4V range */  
err=ViOut16(digitizer,VI_A16_SPACE,0x24,0x7373);  
if (err<VI_SUCCESS) err_handler(digitizer,err);  
/* set channel 3 and 4 to 4V range */  
/* 0x7373 sets 4V range */  
err=ViOut16(digitizer,VI_A16_SPACE,0x26,0x7373);  
if (err<VI_SUCCESS) err_handler(digitizer,err);  
/* 0x7373 sets 4V range */  
/* set pre-trigger count of 4 */  
err=ViOut16(digitizer,VI_A16_SPACE,0x34,0x0);  
if (err<VI_SUCCESS) err_handler(digitizer,err);  
err=ViOut16(digitizer,VI_A16_SPACE,0x36,0x4);  
if (err<VI_SUCCESS) err_handler(digitizer,err);  
/* high word = 0 */  
/* low word = 4 */  
/* set sample count of 7 */  
err=ViOut16(digitizer,VI_A16_SPACE,0x38,0x0);  
if (err<VI_SUCCESS) err_handler(digitizer,err);  
err=ViOut16(digitizer,VI_A16_SPACE,0x3A,0x7);  
if (err<VI_SUCCESS) err_handler(digitizer,err);  
/* high word = 0 */  
/* low word = 7 */  
/* set trigger source */  
err=ViOut16(digitizer,VI_A16_SPACE,0x3C,0x180);  
if (err<VI_SUCCESS) err_handler(digitizer,err);  
/* set bits 7 and 8 */  
/* initiate a reading with a 30 mS delay */  
err=ViOut16(digitizer,VI_A16_SPACE,0x3E,0x21A0);  
if (err<VI_SUCCESS) err_handler(digitizer,err);  
/* set bits 5,7,8 & 13 */  
/******************** 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_reading = (double)cvt_reg*4/32768;  
printf(“channel 1 = %lf Volts\n”, last_reading);  
err=ViIn16(digitizer,VI_A16_SPACE,0x12,&cvt_reg);  
if (err<VI_SUCCESS) err_handler(digitizer,err);  
printf(“channel 2 = 0x%4X\n”, cvt_reg);  
last_reading = (double)cvt_reg*4/32768;  
printf(“channel 2 = %lf Volts\n”, last_reading);  
142 Register-Based Programming  
Appendix B  
Download from Www.Somanuals.com. All Manuals Search And Download.  
/* E1564A only for channels 3 and 4 -------------- */  
err=ViIn16(digitizer,VI_A16_SPACE,0x14,&cvt_reg);  
if (err<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 Volts\n”, last_reading);  
err=ViIn16(digitizer,VI_A16_SPACE,0x16,&cvt_reg);  
if (err<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 Volts\n”, 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<7; ++i)  
{
err=ViIn16(digitizer,VI_A16_SPACE,0x08,&cache_reg);  
if (err<VI_SUCCESS) err_handler(digitizer,err);  
reading = (double)cache_reg*4/32768;  
printf(“channel 1 = %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 2 = %lf Volts\n”, reading);  
/* E1564A only for channels 3 and 4 -- comment out for E1563A */  
err=ViIn16(digitizer,VI_A16_SPACE,0x08,&cache_reg);  
if (err<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,&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 Function  
/************************************************************/  
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 */  
{
Appendix B  
Register-Based Programming 143  
Download from Www.Somanuals.com. All Manuals Search And Download.  
/* write a “1” to the reset bit then set the bit back to “0” */  
err=ViOut16(digitizer,VI_A16_SPACE,0x04,1);  
if (err<VI_SUCCESS) err_handler(digitizer,err);  
wait(1);  
err=ViOut16(digitizer,VI_A16_SPACE,0x04,0);  
if (err<VI_SUCCESS) err_handler(digitizer,err);  
/* set reset bit to “1” */  
/* set reset bit to “0” */  
return;  
}
Wait Function  
/************************************************************/  
void wait(int wait_seconds) /* wait for specified period in seconds */  
{
time_t current_time;  
time_t entry_time;  
fflush(stdout);  
if(-1==time(&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 */  
144 Register-Based Programming  
Appendix B  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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  
Number  
-101  
Title  
Description  
Invalid character  
An invalid character was found in the command string. You may have  
inserted a character such as #, $, or % in the command header or  
within a parameter. Example: INP:FILT:FREQ#6E3  
-102  
-103  
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  
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 specified a number where a string was expected, or vice-versa.  
Example: SAMP:COUN '150' or SAMP:COUN A  
-105  
-108  
GET not allowed  
A Group Execute Trigger (GET) is not allowed within a command  
string.  
Parameter not  
allowed  
More parameters were received than expected for the command. You  
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  
-112  
-113  
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  
Program mnemonic  
too long  
A command header was received which contained more than the  
maximum 12 characters allowed.  
Example: SAMPLE:PRETRIGGER:COUNT 10  
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  
number  
An invalid character was found in the number specified for a parameter  
value. Example: STAT:QUES:ENAB #B01010102  
Appendix C  
Digitizers Error Messages 145  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Number  
-123  
Title  
Description  
Numeric overflow  
A numeric parameter was found whose exponent was larger than  
32,000. Example: SAMP:COUN 1E34000  
-124  
-128  
Too many digits  
A numeric parameter was found whose mantissa contained more than  
255 digits, excluding leading zeroes.  
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  
-148  
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).  
Character data not  
allowed  
A character string was received but a numeric parameter was  
expected. Check the list of parameters to verify that you have used a  
valid parameter type. Example: CAL:VAL XYZ  
-158  
String data not  
allowed  
A character string was received but is not allowed for the command.  
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  
-170 to -178 Expression errors  
The digitizer does accept block data.  
The digitizer does not accept mathematical expressions.  
-211  
-213  
-214  
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.  
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.  
Sample Trigger  
deadlock  
You tried to read data before readings are finished, but the sample  
source is keeping readings from being taken. It 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  
deadlock  
Same situation as for Sample Trigger deadlock, except the Trigger  
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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Number  
-221  
Title  
Description  
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  
-224  
Data out of range  
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  
Illegal parameter  
value  
A discrete parameter 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).  
-230  
-231  
-240  
-241  
Data corrupt or stale NOT USED  
Data questionable  
Hardware error  
NOT USED  
This can occur if the instrument fails at power on.  
Hardware missing  
Usually is a result of sending a legal E1564A command to an E1563A.  
An example is CAL:DAC:VOLT, which is only legal for an E1564A.  
-300  
-311  
-312  
-313  
Device-specific error NOT USED  
Memory error  
NOT USED  
NOT USED  
NOT USED  
PUD memory lost  
Calibration memory  
lost  
-330  
-350  
Self-test failed  
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.  
Too many errors  
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.  
-410  
-420  
Query  
INTERRUPTED  
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.  
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 executed a  
SAMPle:COUNt <count> (which does not generate data) and then  
attempted an ENTER statement to read data from the remote interface.  
-430  
Query  
DEADLOCKED  
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.  
Appendix C  
Digitizers Error Messages 147  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Number  
-440  
Title  
Description  
Query  
The *IDN? command must be the last query command within a  
command string. Example: *IDN?;:SYST:VERS?  
UNTERMINATED  
after indefinite  
response  
300  
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  
1002  
1003  
1004  
1005  
1006  
Illegal while  
calibrating  
Many commands are not allowed to execute when the instrument is in  
calibration mode. This error will occur when that is the case.  
Trigger ignored  
A valid trigger occurred, but was not expected at that time. Usually,  
because a trigger has already been received for that measurement.  
Sample Trigger  
ignored  
This will occur if the instrument is taking a sample and a SAMPle:IMM  
command is received during the previous sample period.  
Insufficient data for  
query  
This error will occur if you try to fetch readings, but have not initiated a  
measurement, so no data is available.  
Invalid channel  
number  
This error usually is the result of trying to specify channels 3 or 4 for a  
command sent to the E1563A (which only has two channels).  
Invalid 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  
1008  
Error in CAL  
An error occurred while trying to perform the calibration command  
specified.  
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  
1010  
Error reading bits,  
viMoveIn16 failed  
NOT USED  
Self test failed  
The abbreviated power on self test failed. A more thorough *TST self  
test should be run for more specific information.  
1011  
1012  
VISA error  
An unknown error occurred in the VISA I/O library.  
Write to Flash ROM  
failed  
An unknown I/O error occurred while trying to write to flash ROM.  
1013  
1014  
Insufficient memory  
for cal; try smaller  
sample size  
The controller did not have enough memory for the command to  
complete, so try specifying a smaller sample size for the calibration  
command that caused the error.  
Memory malloc failed; The controller did not have sufficient RAM for the command to  
insufficient memory execute.  
148 Digitizers Error Messages  
Appendix C  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Self-Test Errors  
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?  
<test_number> command. Use the number returned by self-test as the  
<test_number> to obtain the description of the failure.  
Calibration Errors  
Zero Calibration CAL:ZERO[<channel>]: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 <voltage>) 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 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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
Notes:  
150 Digitizers Error Messages  
Appendix C  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Appendix D  
Digitizers Verification Tests  
Introduction  
This appendix provides information on functional and performance  
verification of the E1563A 2-Channel Digitizer and E1564A 4-Channel  
Digitizer.  
Types of Tests 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.  
WARNING  
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 1 and the Warnings  
and Safety information in the front matter.  
Recommended Test Test equipment recommended for the performance verification and  
calibration procedures are listed in Table D-1. Use a source with accuracy  
Equipment  
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  
Recommended  
Accuracy Requirements  
Gain Calibration and  
Verification  
Fluke 5700A  
<1/5 digitizer spec ±1ppm  
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.  
Appendix D  
Digitizers Verification Tests 151  
Download from Www.Somanuals.com. All Manuals Search And Download.  
           
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.  
Ambient relative humidity of the test area is <80%.  
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 contributing to  
measurement error.  
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)  
for use in performance verifying each channel (use one test record copy per  
Test Results  
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  
performance verify your digitizer. These programs were developed on a PC  
running Windows with a GPIB interface and SICL/Windows for GPIB  
software. All projects written in C programming language require the  
following settings, files or paths to work properly:  
Verification Test  
Programs  
Project Type: QuickWin application (.EXE)  
Project Files: 1. <source code file name>.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\VISA.LIB (Microsoft® compiler)  
[drive:]\VXIPNP\WIN\LIB\BC\VISA.LIB  
(Borland® compiler)  
Memory Model: Options | Project | Compiler | Memory Model Þ 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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
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  
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.  
Procedure  
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  
information about self-test failures. See Appendix C and the TEST  
command in Chapter 3 for self-test error codes.  
NOTE If an 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?"  
20 ENTER 70905;A  
30 PRINT A  
! Send the self-test command  
! Read the test result  
! Display the result  
40 END  
Appendix D  
Digitizers Verification Tests 153  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Performance 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).  
NOTE 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.  
Zero Offset This procedure is used 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  
Verification Test  
<channel> 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 /  
E1564A Range  
Error from  
nominal  
INPUT  
62 mV  
± 20 mV  
0.25 V  
1 V  
± 78 mV  
± 300 mV  
± 1.2 mV  
± 21 mV  
± 28 mV  
± 79 mV  
internal  
H-L short  
4 V  
DIAG:SHORt  
command  
16 V  
64 V  
256 V  
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<channel>  
ON.  
154 Digitizers Verification Tests  
Appendix D  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
Noise Verification 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  
Test  
<channel> ON 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 Set a sample interval of 25 msec by executing SAMP:TIM 25e-6.  
4 Select the first range (62 mV) shown in Table D-3.  
Table D-3. Noise Verification Test Points.  
INPUT  
E1563A /  
Error from zero  
E1564A Range  
62 mV  
0.25 V  
1 V  
57 mV  
180 mV  
720 mV  
2.88 mV  
14.7 mV  
48 mV  
internal  
H-L short  
4 V  
DIAG:SHORt  
command  
16 V  
64 V  
256 V  
189 mV  
5 Make 100 readings, sum them, divide by 100 and obtain the mean  
reading.  
6 Calculate the standard deviation using the following formula (this is  
the rms noise value). "readingn" represents the 100 readings where  
n = 1 to 100.  
5ꢀreading 2 – 100mean2  
n
I = -----------------------------------------------------------------------  
99  
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 the E1563A 2-Channel Digitizer  
and channels 2 through 4 on the E1564A 4-Channel Digitizer  
changing the channel number in the DIAG:SHORt<channel> ON  
command and executing the command prior to performing the steps.  
Appendix D  
Digitizers Verification Tests 155  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Gain Verification 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  
Test  
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 Set the DC Standard output to 55 mV.  
3 Perform the measurement using the INITiate command. Retrieve the  
reading using DATA? 1,(@1).  
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 the E1564A 4-Channel Digitizer.  
Table D-4. Gain Verification Test Points.  
INPUT  
E1563A /  
Error from nominal  
E1564A Range  
+55 mV  
-55 mV  
+0.24V  
-0.24V  
+0.95V  
-0.95V  
+3.8V  
-3.8V  
62 mV  
62 mV  
0.25V  
0.25V  
1 V  
± 38.7 mV  
± 38.7 mV  
± 160 mV  
± 160 mV  
± 623 mV  
± 623 mV  
± 2.49 mV  
± 2.49 mV  
± 26.1 mV  
± 26.1 mV  
± 48.4 mV  
± 48.4 mV  
± 113 mV  
± 113 mV  
1 V  
4 V  
4 V  
+15V  
16 V  
16 V  
64 V  
64 V  
256 V  
256 V  
-15V  
+60V  
-60V  
+100V  
-100V  
156 Digitizers Verification Tests  
Appendix D  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Filter Bandwidth This test checks the filter input bandwidth for the 25 kHz filter on the E1563A  
or each of the four filters (1.5 kHz, 6 kHz, 25 kHz and 100 kHz) on the  
Verification Test  
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:FILTer:STATe ON; INPut2:FILTer:  
STATe ON  
2 Set the AC Standard output to 0.95V @ 25 kHz and connect the  
standard to the digitizer’s channel 1.  
3 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.  
4. 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.  
5 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:FILTer: STATe ON.  
6 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<channel>:FILTer:FREQ <filter_frequency> 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  
1V  
1 V  
25 kHz  
-3 dB ±2 dB  
E1564A RANGE  
INPUT  
1 V  
INPUT FREQ  
25 kHz  
Error from input value  
-3 dB ±2 dB  
1V  
1V  
1V  
1V  
1 V  
1.5 kHz  
-3 dB ±2 dB  
1 V  
6 kHz  
-3 dB ±2 dB  
1 V  
100 kHz  
-3 dB ±2 dB  
Appendix D  
Digitizers Verification Tests 157  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
Performance Test Record  
The Performance Test Record for 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  
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.  
Uncertainty  
Test Accuracy Ratio Test Accuracy Ratio (TAR) = (high limit - expected measurement) divided by  
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.  
(TAR)  
158 Digitizers Verification Tests  
Appendix D  
Download from Www.Somanuals.com. All Manuals Search And Download.  
         
E1563A/E1564A Digitizers Performance Test Record  
General Information  
Date: _____________________________________ Report No:______________________________  
Test Facility:_______________________________  
Address:__________________________________  
City and State:_____________________________  
ZIP:______________________________________  
Tested By:______________________________  
Phone:_________________________________  
FAX:___________________________________  
e-mail:_________________________________  
Test Conditions  
Ambient Temperature:__________________oC  
Relative Humidity:______________________%  
Line Frequency: __________________ Hz (nominal)  
Model:____________________________________  
Serial Number:_____________________________  
Firmware Revision: _________________________  
Notes:  
_______________________________________________________________________________________  
_______________________________________________________________________________________  
_______________________________________________________________________________________  
_______________________________________________________________________________________  
_______________________________________________________________________________________  
_______________________________________________________________________________________  
_______________________________________________________________________________________  
_______________________________________________________________________________________  
_______________________________________________________________________________________  
_______________________________________________________________________________________  
_______________________________________________________________________________________  
_______________________________________________________________________________________  
_______________________________________________________________________________________  
_______________________________________________________________________________________  
Test Equipment Used  
Model No.  
Trace No.  
Cal Due Date  
Appendix D  
Digitizers Verification Tests 159  
Download from Www.Somanuals.com. All Manuals Search And Download.  
                                                     
                                                     
                                                                                                            
                                                                                                            
                                                                                                          
                                                                                                           
                                                                                                                      
                                                                                                                      
                                                                                                                                  
                                                                                                                                  
                                                                                                                                              
                                                                                                                                              
Date___________________  
PERFORMANCE TEST RECORD  
H E1563A 2-Channel Digitizer H E1564A 4-Channel Digitizer  
CHANNEL: H1  
H2  
H3  
H4  
Test  
Input  
Digitizer  
Range  
Low  
Limit  
Measured  
Reading  
High  
Limit  
Meas  
Uncert  
Test  
Accuracy  
Ratio  
Zero Offset Test  
0
62 mV  
-.000020  
-.000078  
-.000300  
-.001200  
-.021000  
-.028000  
-.079000  
.000020  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
0
250 mV  
1V  
.000078  
.000300  
.001200  
.021000  
.028000  
.079000  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
0
0
4V  
0
16V  
0
64V  
0
256V  
Noise Test  
0
62 mV  
250 mV  
1V  
0
0
0
0
0
0
0
57 mV max  
180 mV max  
720 mV max  
2.88 mV max  
14.7 mV  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
0
0
0
4V  
0
16V  
0
64V  
48 mV  
0
256V  
189 mV  
Gain Test  
55 mV  
-55 mV  
240 mV  
62 mV  
62 mV  
250 mV  
54.9613 mV  
-55.0387 mV  
239.84 mV  
-240.16 mV  
0.949377 V  
-0.950623 V  
3.79751 V  
55.0387 mV  
-54.9613 mV  
240.16 mV  
-239.84 mV  
0.950623 V  
-0.949377 V  
3.80249 V  
.0000011  
.0000011  
.0000022  
.0000022  
.0000069  
.0000069  
.000023  
>10:1  
>10:1  
>10:1  
>10:1  
>10:1  
>10:1  
>10:1  
>10:1  
-240 mV 250 mV  
0.95V  
-0.95V  
3.8V  
1V  
1V  
4V  
4V  
-3.8V  
-3.80249 V  
-3.79751 V  
.000023  
160 Digitizers Verification Tests  
Appendix D  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Test  
Input  
Digitizer  
Range  
Low  
Limit  
Measured  
Reading  
High  
Limit  
Meas  
Uncert  
Test  
Accuracy  
Ratio  
Gain Test (continued)  
15V  
16V  
14.9739 V  
-15.0261 V  
59.9516 V  
-60.0484 V  
99.887 V  
15.0261 V  
-14.9739 V  
60.0484 V  
-59.9516 V  
100.113 V  
-99.887 V  
.000083  
.000083  
.00046  
.00046  
.0007  
>10:1  
>10:1  
>10:1  
>10:1  
>10:1  
>10:1  
-15V  
60V  
16V  
64V  
-60V  
100V  
-100V  
64V  
256V  
256V  
-100.113 V  
.0007  
E1563A 25 kHz Filter Bandwidth Test  
1V @  
1 MHz  
1V  
no filter  
-5 dB  
-1 dB  
-1 dB  
N/A  
N/A  
N/A  
N/A  
1V @  
1V  
-5 dB  
25 kHz filter  
25 kHz  
E1564A Filter Bandwidth Test (4 filters)  
1V @  
1 MHz  
1V  
no filter  
-5 dB  
-1 dB  
-1 dB  
N/A  
N/A  
N/A  
N/A  
1V @  
1V  
-5 dB  
1.5 kHz  
filter  
1.5 kHz  
1V @  
6 kHz  
1V  
6 kHz filter  
-5 dB  
-5 dB  
-5 dB  
-1 dB  
-1 dB  
-1 dB  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
1V @  
25 kHz  
1V  
25 kHz filter  
1V @  
1V  
100 kHz  
filter  
100 kHz  
Appendix D  
Digitizers Verification Tests 161  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Notes:  
162 Digitizers Verification Tests  
Appendix D  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Appendix E  
Digitizers Adjustments  
Introduction  
This appendix contains procedures for adjusting the calibration constants  
in the E1563A and E1564A digitizer. See "Calibration Interval" for  
recommendations on time intervals.  
NOTE You must set the module’s "FLASH" and "CALIBRATION CONSTANTS"  
switches to the "Write Enable" position before you perform any adjustment.  
This allows modified calibration constants to be stored in memory when  
you execute CAL:STORe.  
Closed-Cover The E1563A and E1564A Digitizers feature closed-cover electronic  
calibration. There are no internal mechanical adjustments. When  
you input CAL:VALue <voltage>, the digitizer measures the applied voltage  
when performing a zero or a range gain calibration and then calculates  
Electronic  
Calibration  
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.)  
Calibration Intervals 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 year 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.  
NOTE 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.  
Appendix E  
Digitizers Adjustments 163  
Download from Www.Somanuals.com. All Manuals Search And Download.  
             
Adjustment Procedures  
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 this manual. Adjustment  
procedures should be performed in the order shown in  
this manual.  
Adjustment See Table D-1, Recommended Test Equipment, for test equipment  
requirements. For optimum performance, all adjustment procedures should  
comply with following test conditions:  
Conditions  
Ambient temperature of the test area is between 18°C and 28°C  
and stable to within ±1oC.  
Ambient relative humidity of the test area is <80%.  
Must have a one hour warm-up with all input signals removed.  
Shielded twisted Teflonâ insulated cable or other high impedance,  
low dielectric absorption cable is recommended for all  
measurements.  
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.  
General Procedure 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.  
CAUTION  
CAUTION  
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.  
164 Digitizers Adjustments  
Appendix E  
Download from Www.Somanuals.com. All Manuals Search And Download.  
       
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  
abort 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.  
NOTE 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.  
Zero Adjustment  
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[<channel>] 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[<channel>]:ALL? command is  
executed. The digitizer will sequence through all ranges automatically and  
calculate new zero offset calibration constants automatically.  
CAUTION  
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 executing *RST.  
2 Switch the internal short across each channel’s input by executing  
DIAG:SHORt<channel> for all channels. For example, DIAG:SHOR1;  
DIAG:SHOR2; etc.  
3 Send CAL:VAL 0 <input> CALibration <value>.  
4 Perform the adjustment by sending CAL:ZERO<channel>:ALL?  
once for each channel and reading the calibration success result (a  
non-zero response indicates a calibration error occurred).  
Appendix E  
Digitizers Adjustments 165  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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 Set the 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:  
Set the channel’s range: VOLT<channel>:RANG <range>  
Set calibration source to external: CAL:SOUR EXT  
Send input value: CAL:VAL <input voltage> (see Table E-1, Gain  
Adjustment Range Input Voltages, for <range> and <input voltage>  
values)  
5 Perform the adjustment by sending CAL:GAIN<channel> (adjusts  
each channel in about 5 seconds).  
6 Send SYST:ERR? and read the result to verify 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  
55 mV  
0.24V  
62 mV  
0.25V  
1V  
0.95V  
4V  
3.8V  
16V  
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 <input voltage>  
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 <channel> command.  
166 Digitizers Adjustments  
Appendix E  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
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. It is  
recommended you do this prior to starting the calibration procedures.  
Execute CAL:STORe to store the new calibration constants 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.  
Figure E-1. E1564A Gain Adjustment Voltmeter Connections  
Appendix E  
Digitizers Adjustments 167  
Download from Www.Somanuals.com. All Manuals Search And Download.  
   
3 Prepare the 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  
Table E-2 for <range> settings and CAL DAC <voltage> 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 <voltage>  
6 Perform the adjustment by sending CAL:GAIN<channel> (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  
0.25V  
1V  
55 mV  
0.24V  
0.95V  
3.8V  
4V  
16V  
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 <input voltage>  
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<channel> command.  
168 Digitizers Adjustments  
Appendix E  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Index  
E1563A/E1564A Digitizers User’s Manual  
channel block diagram, 34  
commands  
A
A24 Offset register, 128  
abbreviated commands, 46  
ABORt subsystem, 48  
accuracy, digitizers, 158  
addressing registers, 121  
adjustment procedures, 164  
adjustments, digitizers, 163  
abbreviated, 46  
implied, 46  
separators, 46  
types, 45  
common commands  
*CLS, 110  
*ESE, 110  
*ESE?, 110  
*ESR?, 111  
*IDN?, 111  
B
base address, 122  
*OPC, 111  
*OPC?, 112  
*RST, 112  
*SRE?, 113  
*STB?, 113  
C
cabling considerations, 23  
CALCulate subsystem  
CALCulate:LIMit:FAIL?, 49  
CALCulate:LIMit:LOWer:DATA, 50  
CALCulate:LIMit:LOWer:DATA?, 50  
CALCulate:LIMit:LOWer[:STATe], 51  
CALCulate:LIMit:LOWer[:STATe]?, 51  
CALCulate:LIMit:UPPer:DATA, 51  
CALCulate:LIMit:UPPer:DATA?, 52  
CALCulate:LIMit:UPPer[:STATe], 52  
CALCulate:LIMit:UPPer[:STATe]?, 53  
calibration, 163  
*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  
CVTable Channel 3 register, 131  
CVTable Channel 4 register, 131  
calibration errors, 149  
Calibration Flash ROM Address register, 131  
Calibration Flash ROM Data register, 132  
calibration intervals, 163  
Calibration Source register, 132  
CALibration subsystem  
D
declaration of conformity, 11  
description, digitizers, 13  
Device Type register, 126  
DIAGnostic 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  
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  
CALibration:VALue?, 60  
CALibration:ZERO, 60  
DIAGnostic:POKE, 69  
CALibration:ZERO:ALL?, 61  
Cache Count register, 128  
cautions, 17  
DIAGnostic:SHORt, 70  
DIAGnostic:SHORt?, 70  
DIAGnostic:STATus?, 70  
Index 169  
Download from Www.Somanuals.com. All Manuals Search And Download.  
 
digitizers (cont’d)  
D (continued)  
master-slave operation, 38  
measurement uncertainty, 158  
memory sizes, 13  
digitizers  
accuracy, 158  
adding RAM, 19  
Noise Verification perfomance test, 155  
Offset and Cache Count register, 128  
operation, 33  
addressing registers, 121  
adjustment procedures, 164  
adjustments, 163  
application examples, 42  
base address, 122  
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  
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  
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  
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  
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/Interrupt Level Channel 3 register, 135  
Trigger/Interrupt Level Channel 4 register, 136  
triggering, 37  
Gain Verification performance test, 156  
ID register, 126  
initial operation, 30  
input cabling, 2-wire, 24  
input cabling, 3-wire, 24  
input model, 25  
verification tests, 151  
WRITE registers, 124  
input overload, 36  
Zero Adjustment procedures, 165  
Zero Offset verification test, 154  
digitizers application examples, 42  
documentation history, 10  
installing in mainframe, 22  
internal triggering, 37  
Interrupt Control register, 129  
Interrupt Source register, 130  
170 Index  
Download from Www.Somanuals.com. All Manuals Search And Download.  
installing digitizers in mainframe, 22  
Interrupt Control register, 129  
interrupt line, setting, 21  
E
E1563A gain adjustment, 166  
E1564A gain adjustment, 167  
error messages, 145  
Interrupt Source register, 130  
calibration errors, 149  
execution errors, 145  
self-test errors, 149  
examples  
L
linking commands, 47  
logical address, setting, 21  
Digitizer Self-Test, 153  
Initial Operation, 30  
M
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  
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  
F
FIFO High Word/Low Word registers, 128  
Filter Bandwidth verification test, 157  
format, common commands, 45  
FORMat subsystem  
FORMat[:DATA], 72  
FORMat[:DATA]?, 72  
front panel features, 14  
functional verification test, 153  
P
Performance Test Record, 158  
performance tests, conditions, 152  
performance verification  
G
Gain Verification test, 156  
Filter Bandwidth test, 157  
I
Gain Verification test, 156  
Noise Verification test, 155  
ID register, 126  
performance verification test programs, 152  
performance verification tests, 154  
power-on state, 35  
implied commands, 46  
initial operation, 30  
INITiate subsystem  
Pre-Trigger Count High Word register, 136  
Pre-Trigger Count Low Word register, 137  
programming, register-based, 121  
INITiate:CONTinuous, 73  
INITiate:CONTinuous?, 74  
INITiate[:IMMediate], 74  
input overload condition, 36  
INPut subsystem  
R
INPut:FILTer[:LPASs]:FREQ, 75  
INPut:FILTer[:LPASs]:FREQ?, 75  
INPut:FILTer[:LPASs][:STATe], 76  
INPut:FILTer[:LPASs][:STATe]?, 76  
INPut[:STATe], 76  
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  
INPut[:STATe]?, 76  
Index 171  
Download from Www.Somanuals.com. All Manuals Search And Download.  
SAMPle subsystem  
R (continued)  
register offset, 123  
register-based programming, 121  
registers  
SAMPle:COUNt, 79  
SAMPle:COUNt?, 80  
SAMPle[:IMMediate], 80  
SAMPLe:PRETrigger:COUNt, 80  
SAMPle:PRETrigger:COUNt?, 81  
SAMPle:SLOPe, 82  
SAMPle:SLOPe?, 82  
SAMPle:SOURce, 82  
SAMPle:SOURce?, 83  
SAMPle:TIMer, 84  
SAMPle:TIMer?, 84  
A24 Offset, 128  
addressing, 121  
base address, 122  
Calibration Flash ROM Address, 131  
Calibration Flash ROM Data, 132  
Calibration Source, 132  
CVTable Channel 1, 130  
CVTable Channel 2, 130  
CVTable Channel 3, 131  
CVTable Channel 4, 131  
description, 124  
Device Type, 126  
FIFO High Word/Low Word, 128  
ID register, 126  
Interrupt Control, 129  
Interrupt Source, 130  
Samples Taken High Byte register, 131  
Samples Taken Low Word register, 131  
SCPI command reference, 47  
SCPI commands, 45  
abbreviated, 46  
abbreviated commands, 46  
command reference, 47  
command separator, 46  
format, 45  
implied, 46  
implied commands, 46  
linking commands, 47  
parameters, 46  
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  
quick reference, 115  
Sample Control, 138  
[SENSe:] subsystem  
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  
[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[<chan>] [:DC]:RANGe?, 92  
[SENSe:]VOLTage[<chan>][:DC]:RANGe, 92  
[SENSe:]VOLTage[<chan>][:DC]:RES?, 92  
specifications, digitizers, 119  
Status/Control register, 126  
STATus subsystem  
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  
STATus:OPERation:CONDition?, 95  
STATus:OPERation:ENABle, 95  
STATus:OPERation:ENABle?, 95  
STATus:OPERation[:EVENt]?, 96  
STATus:PRESet, 96  
172 Index  
Download from Www.Somanuals.com. All Manuals Search And Download.  
S (continued)  
V
STATus subsystem (cont’d)  
STATus:QUEStionable:CONDition?, 96  
STATus:QUEStionable:ENABle, 96  
STATus:QUEStionable:ENABle?, 96  
STATus:QUEStionable[:EVENt]?, 96  
SYSTem subsystem  
verification tests, 151  
W
WARNINGS, 10  
Warnings, 17  
warranty statement, 9  
WRITE registers, 124  
SYSTem:ERRor?, 97  
SYSTem:VERSion?, 97  
Z
T
Zero Adjustment procedure, 165  
Zero Offset verification test, 154  
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, 37  
TRIGger subsystem  
TRIGger[:IMMediate], 104  
TRIGger:LEVel, 104  
TRIGger:LEVel?, 105  
TRIGger:MODE, 105  
TRIGger:MODE?, 106  
TRIGger:SLOPe[<n>], 106  
TRIGger:SLOPe[<n>]?, 107  
TRIGger:SOURce[<n>], 107  
TRIGger:SOURce[<n>]?, 108  
triggering the digitizers, 37  
Index 173  
Download from Www.Somanuals.com. All Manuals Search And Download.  

3Com Switch 09 0487 002 User Manual
Aastra Telecom Telephone 9116 User Manual
Absocold Corp Refrigerator ARD104 User Manual
Acer Computer Monitor 1916W User Manual
Acnodes Computer Monitor APH 8064 User Manual
Acroprint Switch DC7000 User Manual
ADC Network Router MMW 110 User Manual
Aiphone Thermostat PAA 100F User Manual
Alto Shaam Carpet Cleaner STC 2000 User Manual
Axis Communications Security Camera P1343 User Manual