Agilent Technologies E1437A User Manual
Agilent Technologies E1437A User Manual

Agilent Technologies E1437A User Manual

20 msample/second adc with filters and fifo
Table of Contents

Advertisement

Quick Links

Agilent Technologies E1437A User Manual

Advertisement

Table of Contents
loading

Summary of Contents for Agilent Technologies E1437A

  • Page 1 Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT • FAST SHIPPING AND DELIVERY Experienced engineers and technicians on staff Sell your excess, underutilized, and idle used equipment at our full-service, in-house repair center We also offer credit for buy-backs and trade-ins •...
  • Page 2 Agilent Part Number E1437-90002 Printed in U.S.A Print Date: March 2000, Third Edition Agilent Technologies, Inc., 1997, 2000. All rights reserved. 8600 Soper Hill Road Everett, Washington 98205-1209 U.S.A. Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 3 WARRANTY A copy of the specific warranty terms applicable to your Agilent Technologies product and replacement parts can be obtained from your local Sales and Service Office. This document contains proprietary information which is protected by copyright.
  • Page 4 The E1437A at a Glance The E1437A 20 Msample/second Analog-to-Digital Converter with Filtering and Memory provides high precision digitizing for time and frequency domain applications along with signal conditioning, filtering, and memory. The module plugs into a single C-size slot in a VXI mainframe.
  • Page 5 What you get with the E1437A The following items are included with your E1437A Hardware: E1437A ADC, C-size VXI module Software media: ® MS-Windows disks HP-UX tape Software: MS-Windows disks A setup program which installs: The E1437A VXIplug&play libraries and drivers...
  • Page 6 ® ® If you are using your E1437A module in the Windows 3.1 , Windows NT ® Windows 95 , or HP-UX environment the programmer’s reference and other programming information are available as online help.
  • Page 7 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 8: Table Of Contents

    To Install the Programmer’s Libraries 2-3 System Requirements (Microsoft Windows) 2-3 System Requirements (HP-UX) 2-3 To install the Windows VXIplug&play drivers for the E1437A (for Windows 3.1, Windows 95 and Windows NT) 2-4 To install the HP-UX C-language drivers for the E1437A...
  • Page 9 Managing Multi-Mainframe Systems 3-11 Synchronizing Changes in Multi-module Systems 3-12 Synchronous Digital Filter Changes 3-12 Synchronous Center Frequency Changes 3-12 Transferring data 3-13 4 E1437A VXIplug&play Programmer’s Reference Introduction 4-2 Functions Listed by Functional Group 4-3 Analog Setup 4-4 Data Format 4-4...
  • Page 10 Data Formatting and FIFO Memory 6-8 Data Output 6-8 Trigger Detection 6-9 Control Registers 6-9 7 Verifying the E1437A To verify the E1437A 7-2 8 Replacing Assemblies Replaceable Parts 8-2 Ordering Information 8-2 Direct Mail Order System 8-3 Code Numbers 8-3...
  • Page 11 Table of Contents Glossary Index Need Assistance? About this Edition Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 12: Installing The E1437A

    Installing the E1437A Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 13: To Inspect The E1437A

    E1437A User's Guide Installing the E1437A Installing the E1437A This chapter contains instruction for installing the E1437A VXI ADC Module and its drivers. This chapter also includes instruction for transporting and storing the module. To inspect the E1437A The E1437A single channel VXI ADC Module was carefully inspected both mechanically and electrically before shipment.
  • Page 14: To Install The E1437A

    (See the illustration on the next page.) Each module in the system must have a unique logical address. The factory default setting is 1100 0000 (192). If an GPIB command module will be controlling the E1437A module, select an address that is a multiple of 8.
  • Page 15 E1437A User's Guide Installing the E1437A Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 16 E1437A User's Guide Installing the E1437A Set the mainframe’s power switch to off (0). Caution Installing or removing the module with power on may damage components in the module. Place the module’s card edges (top and bottom) into the module guides in the slot.
  • Page 17: To Store The Module

    E1437A User's Guide Installing the E1437A To store the module Store the module in a clean, dry, and static free environment For other requirements, see storage and transport restriction in ‘’Technical Specifications’’. To transport the module Package the module using the orignal factory packaging or packaging identical to the factory packaging.
  • Page 18: Getting Started With The E1437A

    Getting Started with the E1437A Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 19: Introduction

    Getting Started with the E1437A Introduction This chapter will help you to get your E1437A running and making simple measurements without programming. It shows you how to install the software libraries and how to run the Soft Front Panel program. It also introduces you to example programs.
  • Page 20: To Install The Programmer's Libraries

    Getting Started with the E1437A To Install the Programmer’s Libraries System Requirements (Microsoft Windows) An IBM-compatible personal computer. ® ® ® Microsoft Windows 3.1, Microsoft Windows 95 , or Microsoft Windows NT The computer must have a 3 1/2 inch disk drive for the installation media.
  • Page 21: To Install The Windows Vxiplug&Play Drivers For The E1437A (For Windows 3.1, Windows 95 And Windows Nt)

    Instrument Software Architucture) library. If not, you can still install these drivers but you will receive an error message reminding you to install the VISA library. Insert the disk labeled: “Agilent E1437A 20 MSample/sec A-to-D Converter” Run the program: drive:\setup.exe Where drive represents the drive containing the setup disk.
  • Page 22: To Install The Hp-Ux C-Language Drivers For The E1437A (For Hp-Ux Systems)

    It looks at the VXI mainframe to determine what modules are installed. You need to run it every time you power up. If you get the message: “No HP E1437A can be found in the system.” then run the Resource Manager.
  • Page 23: To Use The Program Group (Windows)

    Getting Started with the E1437A To Use the Program Group (Windows) If you chose to install the program group during the installation procedure you will have an icon for a program group similar to one of the two below, depending on which Windows platform you use.
  • Page 24: To Use The Vxiplug And Play Soft Front Panel (Spf)

    Getting Started with the E1437A To Use the VXIplug&play Soft Front Panel (SPF) The the best place to start to explore the capabilities of the E1437A is with the Soft Front Panel (SFP). The Soft Front Panel can be useful for checking your system to make sure that is is installed correctly and that all of its parts are working.
  • Page 25 Getting Started with the E1437A The buttons at the lower left of the SFP are always accessible and control various measurement and control functions. Sets an appropriate range Corrects DC offset Adjusts vertical display Adjusts horizontal display Moves the marker incrementally...
  • Page 26 Getting Started with the E1437A The left center section of the SFP is an area for which you may select various panels to control the measurement and display parameters. These panels are available as selections from the Control pull-down menu:...
  • Page 27: To Use Online Help In Windows

    Getting Started with the E1437A To Use Online Help in Windows The E1437 Help icon accesses the online help file for the E1437A. The online help includes the programming library as well as general information. The DSP help icon accesses the online help file for the HPDSP library functions.
  • Page 28: To Use The Example Programs

    To Use the Example Programs Several example programs are included to perform useful tasks for you and to serve as a basis for your own programs. When you installed your E1437A Windows or HP-UX libraries and drivers using the setup program or utility, you also installed executable and source code files for several useful example programs.
  • Page 29 Getting Started with the E1437A ascii.exe, ascii_32.exe, ascii This example shows how to control the E1437 without using the C-function library. Since all I/O is performed with ASCII commands and the VXI message protocol, the speed is substantially reduced. This example still uses the VISA I/O library to send and receive ASCII commands, however any environment capable of ASCII I/O to VXI could be used.
  • Page 30 Getting Started with the E1437A scope.vee This is a simple one-channel example written in VEE. In order to view or execute it, the VEE programming environment must be installed on the system. It is not installed on Win 3.1 or HP-UX.
  • Page 31: To View The Visual Basic Example Program

    To View the Visual Basic Example Program The acvolts.vbp project from which the acvolts.exe example program was created demonstrates how to communicate with the E1437A module in Visual Basic. The example below shows the open project with an open form and an open object.
  • Page 32: To Use The Hp-Vee Example Program

    To Use the HP-VEE Example Program The scope.vee program demonstrates a simple example of how to use the E1437A in a HP-VEE program. Load HP-VEE and the scope.vee. You may run the program to measure a signal and may select input parameter variables in the boxes provided.
  • Page 33 Getting Started with the E1437A The view below shows detail within the input setup, meas start and status get boxes. These are examples of how HP-VEE communicates with the E1437A module. 2-16 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 34: Using The E1437A

    Using the E1437A Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 35: Programming The E1437A

    Using the E1437A Programming the E1437A The E1437A is shipped with software and documentation to support a broad set of choices of controllers, I/O interfaces, programming languages, and operating systems. By virtue of its compliance to the VXIplug&play standard, the E1437A is most easily controlled in an environment conforming to one of the supported VXIplug&play frameworks.
  • Page 36: Hp-Ux, Series 700 Environment

    C Programming The E1437A is shipped with a source library of C-functions which can be called from user programs. This elevates the interface above the register level so the programmer no longer has to be concerned with such things as register addresses and packing or splitting parameters into 16-bit register lengths.
  • Page 37: Ascii Programming

    E1437A ASCII command set does not use the SCPI commands. Since the ASCII interpreter is built into the E1437A hardware, no host library is necessary for ASCII programming. Thus, there is no software to install. There is no need for a separate interpreter in the host computer (CSCPI or ISCPI).
  • Page 38: The Measurement Loop

    E1437A User's Guide Using the E1437A The Measurement loop The measurement loop progresses through four states. The transition from one state to the next is tied to the transition of the SYNC signal. The effect of the SYNC signal is summarized in the following diagram representing the four possible states of an E1437 module.
  • Page 39: The Measurement Loop In Multi-Module Systems

    E1437A User's Guide Using the E1437A In continuous mode a module releases sync immediately but moves to the Idle state only if explicitly programmed to do so or if the FIFO data buffer overflows because data cannot be read from the I/O port fast enough.
  • Page 40: Frequency And Filtering

    E1437A User's Guide Using the E1437A Frequency and Filtering The E1437’s center frequency is normally set at zero (baseband measurement). However, you may set the center frequency to a non-zero value in order to examine a narrower span away from baseband (zoom measurement). The frequency band of interest, represented by digitized time data samples from the ADC, is mixed with the E1437 digital LO, a complex exponential, at the desired center frequency.
  • Page 41: Managing Multiple Modules

    E1437A User's Guide Using the E1437A Managing multiple modules The E1437 supports synchronous operation among multiple E1437s by using a shared ADC clock and SYNC signal to drive all the modules in a system. The shared SYNC signal is used to synchronize critical operations including arming, triggering...
  • Page 42 E1437A User's Guide Using the E1437A When using the multi-sync mode of operation, the selection of front panel or backplane distribution of ADC clock and SYNC signals involves the following considerations: • Backplane distribution requires the use of the ECL Trigger lines on the backplane, which are then unavailable to other modules.
  • Page 43: Managing Multi-Module Systems

    E1437A User's Guide Using the E1437A Managing Multi-module Systems Source: Internal Source: N/A Source: External/PLL Source: N/A Master: On Master: Off Master: On Master: Off SYNC: Rear SYNC: Rear SYNC: Rear SYNC: Rear Backplane Backplane ADCclock and SYNCdistribution External clock and SYNCdistribution using VXI backplane ECL trigger lines.
  • Page 44: Managing Multi-Mainframe Systems

    E1437A User's Guide Using the E1437A Managing Multi-Mainframe Systems Source: Internal Source: NA Source: N/A Source: N/A Master: Off Master: On Master: Off Master: Off SYNC: Front SYNC: Front SYNC: Front SYNC: Front VXI Mainframe A VXI Mainframe B Clock and SYNCdistribution using front panel extender connections within and between mainframes.
  • Page 45: Synchronizing Changes In Multi-Module Systems

    E1437A User's Guide Using the E1437A Synchronizing Changes in Multi-module Systems Multi-module systems require special treatment with respect to timing of frequency and filter changes. Center frequency changes may involve synchronizing the local oscillators of all modules in a system. Digital filters changes in multi-module systems require that the decimation counters be synchronized.
  • Page 46: Transferring Data

    E1437A User's Guide Using the E1437A Transferring data You can transfer data from the E1437 two different ways. • The VMEbus is the universal data bus for VXI architecture. It provides flexibility and versatility in transferring data. Transfers over the VMEbus are 16 bits wide.
  • Page 47 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 48: E1437A Vxiplug&Play Programmer's Reference

    E1437A VXIplug&play Programmer’s Reference Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 49: Introduction

    ASCII, which is treated in a separate chapter. Be sure to follow the instructions in the “Getting Started” chapter to assure proper installation and to become aware of the capabilities of your E1437A software in various programming environments. You will find the example programs particularly helpful for programming in different environments.
  • Page 50: Functions Listed By Functional Group

    E1437A User's Guide Functions Listed by Functional Group Functions Listed by Functional Group The following pages have the programming functions grouped by related functions. The a brief description of each group follows: Initializing the E1437: You must first initialize the I/O driver and set up each module.
  • Page 51: Analog Setup

    E1437A User's Guide Functions Listed by Functional Group Analog Setup hpe1437_input_setup - sets all the analog input parameters hpe1437_input_alias_filter - include/bypasse the built-in analog anti-alias filter hpe1437_input_alias_filter_get - gets the anti-alias filter state hpe1437_input_autozero - nulls out the input DC offset...
  • Page 52: Debugging

    E1437A User's Guide Functions Listed by Functional Group Debugging hpe1437_error_message - returns error information obtained from function calls hpe1437_error_query - queries the module for the most recent error hpe1437_revision_query - returns strings that identify the date of the firmware revision.
  • Page 53: Reading Data

    E1437A User's Guide Functions Listed by Functional Group Reading data hpe1437_data_scale_get - gets data scale factor hpe1437_read - reads scaled 32-bit float data from FIFO hpe1437_read64 - reads scaled 64-bit float data from FIFO, specifically for VEE applications hpe1437_read_raw - - reads raw data from FIFO...
  • Page 54: Synchronization

    E1437A User's Guide Functions Listed by Functional Group Synchronization hpe1437_clock_master - determines whether a module drives the VXI clock line with its ADC clock hpe1437_clock_master_get - gets the module’s clock master state hpe1437_clock_multi_sync - specifies whether the module uses a shared clock and sync hpe1437_clock_multi_sync_get - gets the module’s current shared clock and sync state...
  • Page 55: Functions Listed Alphabetically

    E1437A User's Guide Functions Listed alphabetically Functions Listed alphabetically hpe1437_attrib_get - allows direct access to the I/O library functions hpe1437_clock_dsp - selects the clock used to drive the decimation/zoom section hpe1437_clock_dsp_get - gets the current decimation clock source hpe1437_clock_fs - provides the frequency of an external sample clock...
  • Page 56 E1437A User's Guide Functions Listed alphabetically hpe1437_filter_sync - synchronizes the decimation filter counter hpe1437_frequency_center - sets the center frequency hpe1437_frequency_center_get - gets the current center frequency hpe1437_frequency_center_raw - A fast way to set the center frequency hpe1437_frequency_cmplxdc - selects a complex baseband measurement...
  • Page 57 E1437A User's Guide Functions Listed alphabetically hpe1437_trigger_adclevel - specifies the threshold for the ADC trigger hpe1437_trigger_adclevel_get - gets the ADC trigger threshold hpe1437_trigger_delay - specifies a pre- or post-trigger delay time hpe1437_trigger_delay_get - gets the trigger delay time hpe1437_trigger_delay_actual_get - gets a representation of the phase value of the LO...
  • Page 58: Vxiplug&Play Programming Reference

    E1437A User's Guide VXI plug&play Programming Reference VXI plug&play Programming Reference 4-11 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 59 E1437A User's Guide VXI plug&play Programming Reference hpe1437_attrib_get Allows direct access to the I/O library functions. VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_attrib_get(ViSession id, ViInt16 attrib, ViPint32 value); Description hpe1437_attrib_get is used primarily to manage the use of interrupts. Since interrupts...
  • Page 60 E1437A User's Guide VXI plug&play Programming Reference hpe1437_clock_setup hpe1437_clock_setup sets all timing parameters. This description also includes information on the following functions which set or query the timing parameters individually: hpe1437_clock_dsp selects the clock used to drive the decimation/zoom section.
  • Page 61 E1437A User's Guide VXI plug&play Programming Reference Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. sync is used to specify whether the module uses a shared ADC clock and SYNC signal. If the sync parameter is set to HPE1437_OFF the ADC clock and SYNC are generated locally.
  • Page 62 E1437A User's Guide VXI plug&play Programming Reference fs provides the module with the frequency of an external sample clock (from >0 to 20600000) connected to the Ext Clk TTL connector. When using an external clock or when a module is a non-master in a multi-module group, the frequency of the ADC clock is unknown by the module.
  • Page 63 E1437A User's Guide VXI plug&play Programming Reference ==================================================================== MASTER SYNC SOURCE DSP CLOCK RATE ==================================================================== 20.x Internal Source External Source 20.48 EXT_PLL OFF|BUFFER FRONT Master ADC OFF|BUFFER FRONT 20.48 REAR Master ADC REAR 20.48 FRONT 20.x Internal Source FRONT External Source FRONT 20.48...
  • Page 64 E1437A User's Guide VXI plug&play Programming Reference hpe1437_close Closes the module’s software connection. VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_close(ViSession id); Description hpe1437_close terminates the software connection to the module, deallocates system resources, and places the module in the IDLE state. After this function has been executed the specified id identifier is no longer a valid parameter for function calls.
  • Page 65 E1437A User's Guide VXI plug&play Programming Reference hpe1437_data_memsize_get Returns the module’s memory size in megabytes. VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_data_memsize_get(ViSession id, ViPInt16 memSizePtr); Description This command allows you to determine whether your module contains standard memory of 8 Mbytes or a larger memory option.
  • Page 66 E1437A User's Guide VXI plug&play Programming Reference hpe1437_data_scale_get Gets data scale factor. VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_data_scale_get(ViSession id, ViPReal64 scalePtr); Description hpe1437_data_scale_get calculates the correct scale factor for raw data using the current data resolution and range. The factor returned by this function is used to multiply raw data to get data in volts.
  • Page 67 E1437A User's Guide VXI plug&play Programming Reference hpe1437_data_setup hpe1437_data_setup sets all format and data output flow parameters. This description also includes information on the following functions which set or query the format and flow parameters individually: hpe1437_data_append_status appends status information to a data block.
  • Page 68 E1437A User's Guide VXI plug&play Programming Reference dType determines whether the E1437 collects and returns real or complex data. Setting this parameter to HPE1437_REAL causes only the real part of the data to be returned for each sample. HPE1437_COMPLEX causes the real data followed by the imaginary data to be returned in each sample.
  • Page 69 E1437A User's Guide VXI plug&play Programming Reference The following table summarizes the available block sizes for each setting of the dType and resolution parameters. ===================================================================== data data resolution bytes per min block max block size port type Sample size (with standard...
  • Page 70 E1437A User's Guide VXI plug&play Programming Reference port determines which output port is used to take data from the E1437 module. Setting port to HPE1437_VME means the data is to be output using standard VME register reads. Setting port to HPE1437_LBUS means the data is to be output as a byte-serial data stream via the VXI local bus.
  • Page 71 E1437A User's Guide VXI plug&play Programming Reference The following table summarizes the relationship between data parameter combinations, decimation, filter bandwidth, and whether the combination permits block or continuous measurements: ===================================================================== Resolution Type Decimation Filter BW Block Continuous Sample rate (MBytes)
  • Page 72 E1437A User's Guide VXI plug&play Programming Reference hpe1437_error_message Returns error information obtained from function calls. VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_error_message(ViSession id, ViStatus errNum, ViPString errMessage); Description hpe1437_error_message takes an error return value generated by a function and translates it to a readable string. This function includes host errors as well as firmware errors.
  • Page 73 E1437A User's Guide VXI plug&play Programming Reference hpe1437_error_query Queries the module for the first error in the queue. VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_error_query(ViSession id, ViPint32 errNumPtr, ViPString errMessage); Description hpe1437_error_query queries the module for the oldest error and returns the corresponding error message.
  • Page 74 E1437A User's Guide VXI plug&play Programming Reference hpe1437_filter_resp_get Returns the module’s complex frequency response. VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_filter_resp_get(ViSession id, ViReal64 resp[ ], ViInt32 n, ViReal64 fmin, ViReal64 fmax); Description This function uses the current filter and center frequency settings to return the complex frequency response.
  • Page 75 E1437A User's Guide VXI plug&play Programming Reference hpe1437_filter_setup hpe1437_filter_setup sets the digital filter bandwidth and decimation filter parameters. This description also includes information on the following functions which set or query the decimation filter parameters individually hpe1437_filter_decimate selects an extra factor of 2 decimation.
  • Page 76 E1437A User's Guide VXI plug&play Programming Reference CAUTION Turning decimation ON when sigBw=0 results in aliasing (garbage data) due to upper limit of the sampling frequency. Comments To ensure full alias-free operation the analog anti-alias filter (set by the hpe1437_input_alias_filter function) should be ON unless the application inherently bandlimits the input signal to less than fs/2.
  • Page 77 E1437A User's Guide VXI plug&play Programming Reference Example Here are some bandwidth and sample rate results using the “k” calculation for bandwidth: ===================================================================== Fs = 20.48 MHz default internal ADC clock (all data in MHz) ===================================================================== | Signal Bandwidth Sample rate sigBw | .25 dB...
  • Page 78 E1437A User's Guide VXI plug&play Programming Reference hpe1437_filter_sync Synchronizes the decimation counter. VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_filter_sync(ViSession id); Description This function causes the digital decimation counter to be reset by the next SYNC line rising transition. Any measurement in progress is terminated and the module is placed in the idle state.
  • Page 79 E1437A User's Guide VXI plug&play Programming Reference hpe1437_frequency_center_raw Provides a fast way to set the center frequency. VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_frequency_center_raw(ViSession id, ViInt16 coarse, ViInt32 fine); Description hpe1437_frequency_raw sets the center frequency without relying on the internal E1437 microprocessor to do any floating point computations, since the internal microprocessor does not have a floating point co-processor.
  • Page 80 E1437A User's Guide VXI plug&play Programming Reference hpe1437_frequency_setup hpe1437_frequency_setup sets all the zoom center frequency parameters. This description also includes information on the following functions which set or query frequency parameters individually: hpe1437_frequency_cmplxdc selects a complex baseband measurement hpe1437_frequency_cmplxdc_get gets the state of the baseband measurement mode...
  • Page 81 E1437A User's Guide VXI plug&play Programming Reference sync when set to HPE1437_OFF allows an immediate frequency change. In multiple-module systems, setting this parameter to HPE1437_ON prepares the modules for a frequency change, but does not actually bring about the change until the next ADC clock corresponding to the next assertion of the shared SYNC signal.
  • Page 82 E1437A User's Guide VXI plug&play Programming Reference hpe1437_init Initializes the I/O driver for a module. VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_init(ViRsrc instrDesc, ViBoolean idQuery, ViBoolean rst, ViPSession id); Description hpe1437_init must be the first routine called when using the E1437 library. It establishes communication with the module and returns a module identification which is used with all subsequent functions involving this module.
  • Page 83 E1437A User's Guide VXI plug&play Programming Reference hpe1437_input_autozero Nulls out the input DC offset voltage VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_input_autozero(ViSession id); Description hpe1437_input_autozero updates a table of DC offset corrections to be used with each input setup condition. The applicable correction from this table is automatically added to the input offset parameter to achieve the correct DC offset value.
  • Page 84 E1437A User's Guide VXI plug&play Programming Reference hpe1437_input_setup hpe1437_input_setup sets all the analog input parameters. This description also includes information on the following functions which set or query the input parameters individually: hpe1437_input_alias_filter selects the built-in analog anti-alias filter hpe1437_input_alias_filter_get gets the anti-alias filter state...
  • Page 85 E1437A User's Guide VXI plug&play Programming Reference Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. range is a range index number between 0 and 9 which is transformed to a full scale voltage value. The corresponding discrete legal values of full scale vary from 0.02 volt to 10.24 volts with factor-of-two steps (.02 ×...
  • Page 86 E1437A User's Guide VXI plug&play Programming Reference floatInPtr contains the current value of the floatin parameter. Comments To ensure full alias-free operation the analog anti-alias filter should be ON unless the application inherently bandlimits the input signal to less than fs/2. The analog anti-alias filter has a fixed bandwidth and thus is fully effective only when fs≥20 MHz.
  • Page 87 E1437A User's Guide VXI plug&play Programming Reference hpe1437_input_range_auto Performs auto-ranging. VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_input_range_auto(ViSession id, ViReal64 sec); Description hpe1437_input_range_auto sets the range of a E1437 to the lowest value that will not cause an ADC overload to occur. The algorithm will start at the lowest range and move up until there is no ADC overload.
  • Page 88 E1437A User's Guide VXI plug&play Programming Reference hpe1437_interrupt_restore Restores the interrupt masks to the setting last programmed with hpe1437_interrupt_setup. VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_interrupt_restore(ViSession id); Description The interrupt masks set by the hpe1437_interrupt_setup function are cleared during the interrupt acknowledge cycle. This function restores the cleared interrupt masks.
  • Page 89 E1437A User's Guide VXI plug&play Programming Reference hpe1437_interrupt_setup hpe1437_interrupt_setup sets both interrupt parameters. This description also includes information on the following functions which query the interrupt parameters individually: hpe1437_interrupt_mask_get gets the interrupt event mask hpe1437_interrupt_priority_get gets the VME interrupt line VXIplug&play Syntax...
  • Page 90 E1437A User's Guide VXI plug&play Programming Reference mask Effect on Active The commands in this group do not abort any measurement in progress. Measurement See Also hpe1437_init, hpe1437_status_get PAGE 56 , hpe1437_attrib_get 4-43 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 91 E1437A User's Guide VXI plug&play Programming Reference hpe1437_lbus_mode Sets the local bus mode. This description also includes the query: hpe1437_lbus_mode_get gets the current local bus mode. VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_lbus_mode(ViSession id, ViInt16 lbusMode); ViStatus hpe1437_lbus_mode_get(ViSession id, ViPInt16 lbusModePtr);...
  • Page 92 E1437A User's Guide VXI plug&play Programming Reference hpe1437_lbus_reset Resets the local bus. This description also includes the query: hpe1437_lbus_reset_get - gets the current local bus reset state VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_lbus_reset(ViSession id, ViInt16 lbusReset); ViStatus hpe1437_lbus_reset_get(ViSession id, ViPInt16 lbusResetPtr);...
  • Page 93 E1437A User's Guide VXI plug&play Programming Reference Reset Values lbusReset ON Effect on Active This command does not abort any measurement in progress . Measurement See Also hpe1437_init 4-46 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 94 E1437A User's Guide VXI plug&play Programming Reference hpe1437_meas_control Initiates and controls measurements in multi-module systems. VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_meas_control(ViSession id, ViInt16 idle, ViInt16 sync); Description hpe1437_meas_control explicitly controls the measurement state. Parameters id is the VXI instrument session pointer returned by the hpe1437_init function.
  • Page 95 E1437A User's Guide VXI plug&play Programming Reference In addition to controlling the progression through the four module states, the SYNC signal is used to allow for synchronizing the decimation counters and local oscillators of multiple E1437 modules. This is done by calling hpe1437_filter_sync and/or hpe1437_frequency_sync prior to asserting SYNC with hpe1437_meas_control.
  • Page 96 E1437A User's Guide VXI plug&play Programming Reference hpe1437_meas_start Initiates a measurement in single-module systems. VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_meas_start(ViSession id); Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. hpe1437_meas_start provides an easy way to initiate a measurement in a single module system.
  • Page 97 E1437A User's Guide VXI plug&play Programming Reference hpe1437_read Reads scaled 32-bit float data from FIFO . This description also includes the following function: hpe1437_read64 reads scaled 64-bit float data, implemented specifically for VEE applications. VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_read(ViSession id, ViReal32 rec[ ], ViInt32 sampleCount, ViPInt16 overloadPtr);...
  • Page 98 E1437A User's Guide VXI plug&play Programming Reference overloadPtr is a pointer to a short integer which is set to 1 if an ADC overload was encountered during the collection of the data record and if appendStatus is turned on. The value is set to 0 with no overload.
  • Page 99 E1437A User's Guide VXI plug&play Programming Reference hpe1437_read_raw Reads raw, unscaled data from FIFO VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_read_raw(ViSession id, ViInt16 rec[ ], ViInt32 wordCount); Description hpe1437_read_raw returns a block of raw, unscaled data from the FIFO. This function can only read data from the VME backplane register. The data port of the E1437 must be set to HPE1437_VME by the hpe1437_data_port function for this function to be effective.
  • Page 100 E1437A User's Guide VXI plug&play Programming Reference hpe1437_reset Places the module in a known state. VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_reset(ViSession id); Description hpe1437_reset returns the module and its internal data structures to the power-up state. This function can be called separately by this function, or may be selected in conjunction with the hpe1437_init function.
  • Page 101 E1437A User's Guide VXI plug&play Programming Reference hpe1437_revision_query Returns strings that identify the date of the firmware revision. VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_revision_query(ViSession id, ViString driverRev, ViString instRev); Parameters id is the VXI instrument session pointer returned by the hpe1437_init function.
  • Page 102 E1437A User's Guide VXI plug&play Programming Reference hpe1437_self_test Performs a self-test and returns the result of that self test. VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_self_test(ViSession id, ViPInt16 testResultPtr, ViString testMessage); Description The E1437 self test includes the following tests: •...
  • Page 103 E1437A User's Guide VXI plug&play Programming Reference hpe1437_status_get Reads Status Register information for the module. VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_status_get(ViSession id, ViPInt16 statusPtr); Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. statusPtr contains the status word. The bits are defined below: 1-0 State: These two bits indicate the current state of the measurement loop as shown in the table below.
  • Page 104 E1437A User's Guide VXI plug&play Programming Reference Measure Done: This bit is set in continuous mode whenever the size of the data in the FIFO is equal to or greater than the block size register. Check this bit before reading data to insure that a block of data may be transferred without fear of running out of data, thereby holding up the Local bus or VME bus.
  • Page 105 E1437A User's Guide VXI plug&play Programming Reference hpe1437_trigger_delay_actual_get Returns the actual trigger delay from the most recent trigger event. VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_trigger_delay_actual_get(ViSession id, ViPReal64 actualDelayPtr); Parameters id is the VXI instrument session pointer returned by the hpe1437_init function.
  • Page 106 E1437A User's Guide VXI plug&play Programming Reference hpe1437_trigger_phase_actual_get Returns a representation of the phase value of the LO at the trigger point. VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_trigger_phase_actual_get(ViSession id, ViPReal64 actualPhasePtr); Parameters id is the VXI instrument session pointer returned by the hpe1437_init function.
  • Page 107 E1437A User's Guide VXI plug&play Programming Reference hpe1437_trigger_phase_capture Prepares for LO phase capture in frequency-synchronized, multiple-module zoom measurements. VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_trigger_phase_capture(ViSession id); Description Use this function if you intend to subsequently use hpe1437_trigger_phase_actual_get to capture the LO phase on the next SYNC assertion.
  • Page 108 E1437A User's Guide VXI plug&play Programming Reference hpe1437_trigger_setup hpe1437_trigger_setup sets all triggering parameters. This description also includes information on the following functions which set or query the trigger parameters individually: hpe1437_trigger_adclevel specifies the trigger threshold for an ADC trigger hpe1437_trigger_adclevel_get gets the ADC trigger threshold...
  • Page 109 E1437A User's Guide VXI plug&play Programming Reference Description An E1437 can be triggered to collect data in a variety of ways. The trigger can be internally generated or can come from an external source. Multiple modules can be triggered synchronously. A variable pre- and post-trigger delay can be programmed for data collection.
  • Page 110 E1437A User's Guide VXI plug&play Programming Reference adcLevel is used to set the triggering signal threshold when using the ADC trigger source. This threshold is (full scale ×adclevel/256), where −256 ≤ adclevel ≤ 255. There is hysteresis around the threshold in order to prevent multiple triggers from a single threshold crossing.
  • Page 111 E1437A User's Guide VXI plug&play Programming Reference hpe1437_wait Facilitates the synchronization and control of multi-module systems. VXIplug&play Syntax #include “hpe1437.h” ViStatus hpe1437_wait(ViSession id); Description This function assures that all slave modules are completely set up before issuing measurement control commands to the master module. Prior to calling...
  • Page 112 E1437A User's Guide VXI plug&play Programming Reference VXIplug&play Quick Reference ViStatus hpe1437_attrib_get(ViSession id, ViInt16 attrib, ViPint32 value) ViStatus hpe1437_clock_setup(ViSession id, ViInt16 sync, ViInt16 source, ViInt16 dsp, ViInt16 master, ViReal64 fs); ViStatus hpe1437_clock_dsp(ViSession id, ViInt16 dsp); ViStatus hpe1437_clock_dsp_get(ViSession id, ViPInt16 dspPtr);...
  • Page 113 E1437A User's Guide VXI plug&play Programming Reference ViStatus hpe1437_filter_bw (ViSession id, ViInt16 sigBw); ViStatus hpe1437_filter_bw_get(ViSession id, ViPInt16 sigBwPtr); ViStatus hpe1437_filter_sync(ViSession id); ViStatus hpe1437_frequency_center_raw(ViSession id, ViInt16 coarse, ViInt32 fine); ViStatus hpe1437_frequency_setup(ViSession id, ViInt16 cmplxDc, ViInt16 sync, ViReal64 freq); ViStatus hpe1437_frequency_cmplxdc(ViSession id, ViInt16 cmplxDc);...
  • Page 114 E1437A User's Guide VXI plug&play Programming Reference ViStatus hpe1437_read(ViSession id, ViReal32 rec[ ], ViInt32 sampleCount, ViPInt16 overloadPtr); ViStatus hpe1437_read64(ViSession id, ViReal64 rec[ ], ViInt32 sampleCount, ViPInt16 overloadPtr); ViStatus hpe1437_read_raw(ViSession id, ViInt16 rec[ ], ViInt32 wordCount); ViStatus hpe1437_reset(ViSession id); ViStatus hpe1437_revision_query(ViSession id, ViString driverRev, ViString instRev);...
  • Page 115: Visual Basic Quick Reference

    E1437A User's Guide Visual Basic Quick Reference Visual Basic Quick Reference Return& = hpe1437_attrib_get(id&, attrib%, value&) Return& = hpe1437_clock_setup(id&, sync%, source%, dsp%, master%, fs#) Return& = hpe1437_clock_dsp(id&, dsp%) Return& = hpe1437_clock_dsp_get(id&, dspPtr%) Return& = hpe1437_clock_fs(id&, fs#) Return& = hpe1437_clock_fs_get(id&, fsPtr#) Return&...
  • Page 116 E1437A User's Guide Visual Basic Quick Reference Return& = hpe1437_filter_sync(id&) Return& = hpe1437_frequency_center_raw(id&, coarse%, fine&) Return& = hpe1437_frequency_setup(id&, cmplxDc%, sync%, freq#) Return& = hpe1437_frequency_cmplxdc(id&, cmplxDc%) Return& = hpe1437_frequency_cmplxdc_get(id&, cmplxDcPtr%) Return& = hpe1437_frequency_sync(id&, sync%) Return& = hpe1437_frequency_sync_get(id&, syncPtr%) Return& = hpe1437_frequency_center(id&, freq#) Return&...
  • Page 117 E1437A User's Guide Visual Basic Quick Reference Return& = hpe1437_trigger_delay_actual_get(id&, actualDelayPtr#) Return& = hpe1437_trigger_phase_actual_get(id&, actualPhasePtr#) Return& = hpe1437_trigger_phase_capture(id&) Return& = hpe1437_trigger_setup(id&, tType%, delay&, adcLevel%, magLevel%, slope%, gen%) Return& = hpe1437_trigger_adclevel(id&, adcLevel%) Return& = hpe1437_trigger_adclevel_get(id&, adcLevelPtr%) Return& = hpe1437_trigger_delay(id&, delay&) Return& = hpe1437_trigger_delay_get(id&, delayPtr&) Return&...
  • Page 118: Parameter Numeric Equivalents

    E1437A User's Guide Parameter numeric equivalents Parameter numeric equivalents Numeric equivalents may be used in place of alphanumeric variables in function calls. These numeric equivalents are also available as popups within online function parameter descriptions. HPE1437_16BIT HPE1437_32BIT HPE1437_20000KHZ HPE1437_20480KHZ HPE1437_AC...
  • Page 119 E1437A User's Guide Parameter numeric equivalents HPE1437_OFF HPE1437_ON HPE1437_OSCILLATOR HPE1437_PIPELINE HPE1437_POSITIVE HPE1437_REAL HPE1437_REAR HPE1437_RELEASE HPE1437_RM_HANDLE HPE1437_USER HPE1437_VME 4-72 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 120: Errors

    E1437A User's Guide Errors Errors The following errors are generated by library calls: 0000 HPE1437_SUCCESS “No error.” 0001 HPE1437_NO_DATA_MEASUREMENT_IN_PROGRESS “No data available, a measurement is in progress.” 0002 HPE1437_NO_DATA_MEASUREMENT_PAUSED “No data available, the measurement is paused.” 0003 HPE1437_NO_DATA_WAITING_FOR_TRIGGER “No data available, trigger has not occurred.”...
  • Page 121 E1437A User's Guide Errors The following errors are generated by firmware: 0097 HPE1437_BAD_COMMAND “Invalid command code.” 0098 HPE1437_PARM_ERROR “Invalid command parameter.” 0100 HPE1437_CAL_SAVE_ERROR “Error in saving calibration constants.” 0101 HPE1437_DOWNLOAD_ERROR “Error while downloading new firmware.” 0102 HPE1437_DSPCLOCK_TOO_SLOW_ERROR “DSP clock slower than minimum specification.”...
  • Page 122: Functions Which Abort Measurements

    E1437A User's Guide Functions Which Abort Measurements Functions Which Abort Measurements The following functions abort any measurement in progress: hpe1437_clock_dsp hpe1437_clock_master. hpe1437_clock_multi_sync hpe1437_clock_source hpe1437_data_append_status hpe1437_data_blocksize hpe1437_data_mode hpe1437_data_port hpe1437_data_resolution hpe1437_data_type hpe1437_filter_decimate hpe1437_filter_bw hpe1437_filter_sync hpe1437_init hpe1437_input_autozero hpe1437_lbus_mode hpe1437_meas_control (depending on write value)
  • Page 123 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 124: Ascii Overview And Commands

    ASCII Overview and Commands Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 125: Introduction

    ASCII Overview and Commands Introduction ASCII commands allow you to communicate with the E1437A without using the libraries, although most users will find it easier and faster to use libraries than these ASCII commands. The ASCII commands in this chapter...
  • Page 126: Command Syntax

    E1437A ASCII Overview and Commands Command Syntax This section describes the syntax elements used in the ASCII command reference. Special Syntactic Elements Some syntactic elements have special meanings: • colon (:)  The colon is a part of the program header (command or query) and does not imply a heirarchy such as that which exists with SCPI commands for other instruments.
  • Page 127: Using Ascii Commands In Your Environment

    Before using ASCII in this environment be sure that all standard VISA files are installed and that the interface is properly configured. The following is an example of sending ASCII commands to the E1437A through the VISA interface: Declare Function viReadbin Lib “VISA32.DLL” Alias “#256" (ByVal vi...
  • Page 128: Ascii Programming Reference

    E1437A ASCII Overview and Commands ASCII Programming Reference Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 129 E1437A *IDN? ASCII Overview and Commands query *IDN? query Returns a string that identifies the E1437A. Query syntax: *IDN? Example Statement: OUTPUT 70924;"*Idn?" ENTER 70924;identity$ Return Format: HEWLETT-PACKARD, E1437A, <serial number>, <swrev0:swrev1:hwrev3> Description: The response to this query uniquely identifies your module and the version of the module’s firmware and hardware.
  • Page 130 E1437A *RST ASCII Overview and Commands command *RST command Executes a device reset.. Command syntax: *RST Example Statement: OUTPUT 70924;"*rst" Description: This command returns the module to a reset state. The following are not affected by this command: • Calibration constants...
  • Page 131 OUTPUT 70924;"*TST?" Description: The module’s selt-test performs the E1437A diagnostic tests. If the results are within specified limits, the module returns 0. If the results exceed the secified limits, the module returns 1 and an error message is placed in the error queue. The length...
  • Page 132 E1437A CLOCK:SETUP ASCII Overview and Commands command/query CLOCK:SETUP command/query Sets all timing parameters. This description also includes information on the following commands which set or query the timing parameters individually: CLOCK:DSP selects the clock used to drive the decimation/zoom section.
  • Page 133 E1437A CLOCK:SETUP ASCII Overview and Commands command/query Description: CLOCK:SETUP is used to configure all timing parameters used for sampling (ADC clock) and decimation/zoom (DSP clock). This command, as well as the other CLOCK commands covered in this description, is used to select the source and distribution of clocking and synchronization signals used by the E1437 module.
  • Page 134 E1437A CLOCK:SETUP ASCII Overview and Commands command/query selects the clock used to drive the decimation/zoom section within the E1437. Normally, the DSP clock should be coupled to the ADC clock whenever possible since the spurious performance specification is degraded when the clocks are independent.
  • Page 135 E1437A CLOCK:SETUP ASCII Overview and Commands command/query Comments: For more details on the interaction among source, master and sync with multiple modules and multiple mainframes see Managing multiple modules. The master, multisync, source, and dsp parameters are interdependent with legitimate combinations being as follows (along with the resultant DSP clock rates):...
  • Page 136 E1437A DATA:SETUP ASCII Overview and Commands command/query DATA:SETUP command/query Sets all format and data output flow parameters. This description also includes information on the following commands which set or query the format and flow parameters individually: DATA:APPEND:STATUS appends status information to a data block.
  • Page 137 E1437A DATA:SETUP ASCII Overview and Commands command/query DATA:TYPE? Example Statement: OUTPUT 70924;"DATA:setup 1,1000000,0,2,0,1" OUTPUT 70924;"Data:mode 2" Parameter definitions: determines whether the E1437 collects and returns real or complex data. Normally, if the frequency set with the FREQUENCY:SETUP command is zero, the type should be set to real since the imaginary component of each sample is zero anyway.
  • Page 138 E1437A DATA:SETUP ASCII Overview and Commands command/query determines the number of sample points in each output data block. The range of available block sizes depends on the number of bytes required for each sample. The command accepts any number between 1 and memory size (in bytes)/2.
  • Page 139 E1437A DATA:SETUP ASCII Overview and Commands command/query determines which output port is used to take data from the E1437 module. parameter port parameter definition value VME. Means the data is to be output using standard VME register reads LBUS. Means the data is to be output as a byte-serial data stream via the VXI local bus.
  • Page 140 E1437A DATA:SETUP ASCII Overview and Commands command/query The following table summarizes under what data parameter combinations decimation must be used: Sample Rate Resolution Type Decimation Filter BW Block Continuous (MBytes/sec) Complex False 0 or 1 Real False 0 or 1...
  • Page 141 E1437A DATA:VME:ORDER ASCII Overview and Commands command/query DATA:VME:ORDER command/query Selects the 16-bit word ordering out of the VME port when the data resolution is 32 bits. Command syntax; DATA:VME:ORDER <order> order::=01 Query syntax: DATA:VME:ORDER? Example Statement: OUTPUT 70924;"DATA:VME:Order 1" Parameters:...
  • Page 142 E1437A ERROR ASCII Overview and Commands query ERROR query Returns the error number for the oldest error in the queue. Query syntax: ERROR? Example Statement: OUTPUT 70924;"ERROR?" 5-19 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 143 E1437A FILTER:SETUP ASCII Overview and Commands command/query FILTER:SETUP command/query Sets the digital filter bandwidth and decimation filter parameters. This description also includes information on the following commands which set or query the decimation filter parameters individually: FILTER:DECIMATE selects an extra factor of 2 decimation.
  • Page 144 E1437A FILTER:SETUP ASCII Overview and Commands command/query selects the data output sample rate. You would normally want to add the extra level of decimation in order to increase the displayed span. parameter decimate parameter definition value OFF. The output sample rate is: fs when bw=0 or fs/ 2^(bw-1) when bw>0.
  • Page 145 E1437A FILTER:SETUP ASCII Overview and Commands command/query Example: Here are some bandwidth and sample rate results using the “k” calculation for bandwidth: Fs = 20.48 MHz default internal ADC clock Signal Bandwidth Sample Rate sigBw 25 Db 15 Db Decimation OFF Decimation ON 10.24...
  • Page 146 E1437A FILTER:SYNC ASCII Overview and Commands command FILTER:SYNC command Synchronizes the decimation counter. Command Syntax: FILTER:SYNC Description: This command causes the digital decimation counter to be reset by the next SYNC line rising transition. Any measurement in progress is terminated and the module is placed in the idle state.
  • Page 147 E1437A FILTER:SYNC ASCII Overview and Commands command NOTE Resetting the decimation counter causes a transient in the digital filters. The transient takes about 30 output sample periods to decay 120 dB. See the impulse response graphs in the specification section for more detail.
  • Page 148 E1437A FREQUENCY:CENTER:RAW ASCII Overview and Commands command/query FREQUENCY:CENTER:RAW command/query Provides a fast way to set the center frequency. Command Syntax: FREQUENCY:CENTER:RAW <coarse>, <fine> coarse::=0 to 2047 fine::=0 to 499999999 Query Syntax: FREQUENCY:CENTER:RAW? Example Statements: OUTPUT 70924;"FREQUENCY:CENTER:RAW 1024,1000000 Description: This command sets the center frequency without relying on the internal E1437 microprocessor to do any floating point computations, since the internal microprocessor does not have a floating point co-processor.
  • Page 149 E1437A FREQUENCY:SETUP ASCII Overview and Commands command/query FREQUENCY:SETUP command/query Sets all the zoom center frequency parameters. This description also includes information on the following commands which set or get frequency parameters individually: FREQUENCY:CMPLXDC selects a complex baseband measurement FREQUENCY:CMPLXDC? gets the state of the baseband measurement mode...
  • Page 150 E1437A FREQUENCY:SETUP ASCII Overview and Commands command/query Parameter Definitions: selects either a phase continuous or phase reset transition when the freq = 0. . The state of this parameter does not affect any transition where freq ≠0. Whether the real or complex data is saved and ultimately sent to the output port is determined by the DATA:TYPE command.
  • Page 151 E1437A FREQUENCY:SETUP ASCII Overview and Commands command/query Example: The following example shows how to synchronously change the center frequency and maintain the phase relationship between modules in a multi-module system without stopping a measurement in progress. ! For all ids, check status bits 0 and 1 to assure that all modules are in MEASURE or IDLE ! state.
  • Page 152 E1437A INPUT:AUTOZERO ASCII Overview and Commands command INPUT:AUTOZERO command Nulls out the input DC offset voltage. Command Syntax: INPUT:AUTOZERO Description: INPUT:AUTOZERO updates a table of DC offset corrections to be used with each input setup condition. The applicable correction from this table is automatically added to the input offset parameter to achieve the correct DC offset value.
  • Page 153 E1437A INPUT:RANGE:AUTO ASCII Overview and Commands command INPUT:RANGE:AUTO command Performs auto-ranging. Command Syntax: INPUT:RANGE:AUTO <sec> sec::=<numeric> numeric::=≥0 seconds Description: This command sets the range of a E1437 to the lowest value that will not cause an ADC overload to occur. The algorithm will start at the lowest range and move up until there is no ADC overload.
  • Page 154 E1437A INPUT:SETUP ASCII Overview and Commands command/query INPUT:SETUP command/query Sets all the analog input parameters. This description also includes information on the following commands which set or query the input parameters individually: INPUT:ALIAS:FILTER selects the built-in analog anti-alias filter. INPUT:ALIAS:FILTER? gets the anti-alias filter state INPUT:COUPLING selects AC or DC input coupling.
  • Page 155 E1437A INPUT:SETUP ASCII Overview and Commands command/query Parameter Definitions: determines whether or not to use the built-in analog anti-alias filter. It is recommended that the filter is always on to insure bandlimited, anti-aliased data. parameter alias parameter definition value OFF disables the anti-alias filter ON inserts a sharp-cutoff (11-pole) 8 MHz lowpass filter ahead of the analog-to-digital converter.
  • Page 156 E1437A INPUT:SETUP ASCII Overview and Commands command/query Full scale Range Full Scale dBm voltage −24 −18 −12 −6 1.28 2.56 5.12 10.24 NOTE If an INPUT:RANGE:AUTO command is pending or in progress it is aborted when an INPUT:RANGE or INPUT_RANGE? command is received.
  • Page 157 E1437A INTERRUPT:RESTORE ASCII Overview and Commands command INTERRUPT:RESTORE command Restores the interrupt masks to the setting last programmed with INTERRUPT:SETUP. Command Syntax: INTERRUPT:RESTORE Example Statements: OUTPUT 70924;"Interrupt:restore" Description: The interrupt masks set by the INTERRUPT:SETUP function are cleared during the interrupt acknowledge cycle.
  • Page 158 E1437A INTERRUPT:SETUP ASCII Overview and Commands command/query INTERRUPT:SETUP command/query Sets all interrupt parameters. This description also includes information on the following commands which query the interrupt parameters individually: INTERRUPT:MASK? gets the interrupt event mask. INTERRUPT:PRIORITY? gets the VME interrupt line.
  • Page 159 E1437A LBUS:MODE ASCII Overview and Commands command/query LBUS:MODE command/query Set and query local bus mode. Command Syntax: LBUS:MODE <mode> mode::=012 3 Query Syntax: LBUS:MODE? Example Statements: OUTPUT 70924;"Lbus:Mode 2" Description: LBUS:MODE sets the local bus to either generate, append, insert or pipeline data.
  • Page 160 E1437A LBUS:RESET ASCII Overview and Commands command/query LBUS:RESET command/query Resets local bus. Gets the current local bus reset state. Command Syntax: LBUS:RESET <reset> reset::=01 Query Syntax: LBUS:RESET ? Example Statements: OUTPUT 70924;"Lbus:reset 1" Description: In order to avoid glitches in the local bus data, the local bus interface has strict requirements as to the order in which modules in a VXI mainframe have their local bus interface reset.
  • Page 161 E1437A MEAS:CONTROL ASCII Overview and Commands command MEAS:CONTROL command Initiates and controls measurements in a multi-module system. Command Syntax: MEAS:CONTROL <idle>,<sync> idle::=01 sync::=01 Example Statements: OUTPUT 70924;"Meas:Control 1,0" Description: MEAS:CONTROL explicitly controls the measurement state. Parameter Definitions: selects the condition of the IDLE state.
  • Page 162 E1437A MEAS:CONTROL ASCII Overview and Commands command NOTE When the SYNC line is asserted, it will remain asserted for an adequate number of ADC clock cycles to ensure that the signal effect will have propagated to all the modules in the system. You can determine when the command is completed by looking as the Sync/Idle Complete bit in the Status Register.
  • Page 163 E1437A MEAS:CONTROL ASCII Overview and Commands command Example: The following example shows how to initiate a measurement in a typical multi-module system ! Place all HP E1437s in IDLE OUTPUT <addrAll>;"MEAS:CONTROL 1,0" ! Take all HP E1437s out of IDLE OUTPUT <addrAll>;"MEAS:CONTROL 0,0"...
  • Page 164 E1437A MEAS:START ASCII Overview and Commands command MEAS:START command Initiates a measurement in single-module systems. Command Syntax: MEAS:START Example Statements: OUTPUT 70924;"meas:start" Description: MEAS:START provides an easy way to initiate a measurement in a single module system. This command moves the module through the IDLE state and the SYNC state while checking the status to assure a valid state.
  • Page 165 E1437A READ? ASCII Overview and Commands query READ? query Reads scaled data from FIFO Query Syntax: READ?<samples> samples::=1 to 8 Example Statements: OUTPUT 70924;"READ? 4" Description: This command returns a block of floating point data from the E1437 that has been scaled to be in volts.
  • Page 166 E1437A RESET ASCII Overview and Commands command RESET command Places the module in a known state. Command Syntax: RESET Example Statements: OUTPUT 70924;"Reset" Description: This command returns the module and its internal data structures to the power-up state. The reset values are listed with each command description.
  • Page 167 E1437A REVISION? ASCII Overview and Commands query REVISION? query Returns strings that identify the date of the firmware revision Query Syntax: REVISION? Example Statements: OUTPUT 70924;"revision?" ENTER 70924;rev$ Parameter Definitions: This command returns the date, time, and board number of the module’s firmware...
  • Page 168 E1437A STATUS? ASCII Overview and Commands query STATUS? query Reads Status Register information for the module. Query Syntax: STATUS? Example Statements: OUTPUT 70924;"Status? ENTER 70924;Result$ Parameter Definitions: Result$ contains the status word. The bits are defined below: 1-0 State: These two bits indicate the current state of the measurement loop as shown in the table below.
  • Page 169 E1437A STATUS? ASCII Overview and Commands query 8 Read Valid: This flag is set whenever there is at least one valid 16-bit data word available to be read via the Data register. 9 Measure Done: This bit is set in continuous mode whenever the size of the data in the FIFO is equal to or greater than the block size register.
  • Page 170 E1437A TRIGGER:DELAY:ACTUAL? ASCII Overview and Commands query TRIGGER:DELAY:ACTUAL? query Returns the actual trigger delay from the most recent trigger event. Query Syntax: TRIGGER:DELAY:ACTUAL? Example Statements: OUTPUT 70924;"trigger:delay:actual? ENTER 70924;Result$ Parameter Definitions: Result$ contains the returned actual delay from the most recent trigger event and the resulting first output sample time.
  • Page 171 E1437A TRIGGER:PHASE:ACTUAL? ASCII Overview and Commands query TRIGGER:PHASE:ACTUAL? query Returns a representation of the phase value of the LO at the trigger point. Query Syntax: TRIGGER:PHASE:ACTUAL? Example Statements: OUTPUT 70924;"trigger:phase:actual? ENTER 70924;Result$ Parameter Definitions: Result$ contains the returned value interpreted as follows: 0 <= value <...
  • Page 172 E1437A TRIGGER:PHASE:CAPTURE ASCII Overview and Commands command TRIGGER:PHASE:CAPTURE command Prepares for LO phase capture in frequency-synchronized, multiple-module zoom measurements. Command Syntax: TRIGGER:PHASE:CAPTURE Example Statements: OUTPUT 70924;"trigger:phase:Capture Description: Use this function if you intend to subsequently use TRIGGER:DELAY:ACTUAL? to capture the LO phase on the next SYNC assertion. You should send...
  • Page 173 E1437A TRIGGER:SETUP ASCII Overview and Commands command/query TRIGGER:SETUP command/query Sets all trigger parameters. This description also includes information on the following commands which set or query the trigger parameters individually: TRIGGER:ADCLEVEL specifies the trigger threshold for an ADC trigger. TRIGGER:ADCLEVEL? gets the ADC trigger threshold TRIGGER:DELAY specifies a pre- or post-trigger delay time.
  • Page 174 E1437A TRIGGER:SETUP ASCII Overview and Commands command/query Query syntax: TRIGGER:ADCLEVEL? TRIGGER:DELAY? TRIGGER:GEN? TRIGGER:MAGLEVEL? TRIGGER:SLOPE? TRIGGER:TYPE? Example Statement: OUTPUT 70924;"Trigger:setup 1,256,25.6,0,0,1" OUTPUT 70924;"trigger:type?" Description: An E1437 can be triggered to collect data in a variety of ways. The trigger can be internally generated or can come from an external source.
  • Page 175 E1437A TRIGGER:SETUP ASCII Overview and Commands command/query NOTE In multi-module systems all modules should be of the same type in order to have the same actual delay. is the time delay, in units of output samples, between when a trigger is received and the first data point in the output data.
  • Page 176 E1437A TRIGGER:SETUP ASCII Overview and Commands command/query determines whether a module may generate a trigger. parameter gen parameter definition value OFF disables triggering.This is useful in multi-module systems with the same trigger type where you want only certain module(s) to generate a trigger.
  • Page 177 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 178: Module Description

    Module Description Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 179: Front Panel Description

    E1437A User's Guide Module Description Front Panel Description LED lights w hen the module is LED lights w henever the input range is being accessed via the VXI backplane exceeded, producing an overload in the ADC Clock Extenders are used to extend the sample clock from one mainframe or module to another.
  • Page 180: Vxi Backplane Connections

    Using the local bus, Hewlett-Packard has defined a standard byte-wide ECL protocol that transfers data from left to right at up to 100 Mbyte/s. The E1437A can be programmed to output its data using this high speed port instead of the VME data output register.
  • Page 181: Trigger Lines

    E1437A modules. Only one E1437A module in each mainframe is allowed to drive this line. The SYNC line is used to send timing signals among E1437A modules in a multi-input system. Any module which drives this line must do so synchronously with CLOCK so that transitions on SYNC do not occur near the rising edge of CLOCK.
  • Page 182: Block Diagram And Description

    E1437A User's Guide Module Description Block Diagram and Description Descriptions of sections in the diagram below appear on the following pages. HP E1437 Block Diagram Clock to/from other modules Clock Extender External Clock Clock Generation Input Analog Anti-Alias Sampling Control...
  • Page 183: Clock Generation

    The anti-alias filter attenuates these high frequency components to reduce aliasing. The anti-alias filter in the E1437A is flat to 8 MHz and rejects signals above 12 MHz by at least 100 dB. Thus the 0-8 MHz frequency range of the sampled signal will be alias free.
  • Page 184: Sampling Adc

    E1437A User's Guide Module Description In cases where alias filtering is not necessary the E1437A can be programmed to bypass the anti-alias filter. This allows the system to take advantage of the full 40 MHz sampler bandwidth. To avoid incorrect results, the alias filter bypass mode should be used with caution;...
  • Page 185: Data Formatting And Fifo Memory

    Data Output There are two ways to output data from the E1437A: by way of the VXI backplane or by way of the local bus. To use the VXI backplane, the E1437A can be programmed so that the output of the FIFO is sent to the Send Data register.
  • Page 186: Trigger Detection

    VXI backplane. This SYNC line can be extended to other mainframes by connecting a “Sync” SMB connector to a “Sync” SMB connector on a E1437A in the second mainframe. All modules in a synchronous system are triggered on the same ADC sample.
  • Page 187 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 188: Verifying The E1437A

    Verifying the E1437A Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 189: To Verify The E1437A

    E1437A User's Guide To verify the E1437A To verify the E1437A You may perform a quick verification of the basic functions of the E1437A by performing the built-in self-test function. The self-test verifies the following: • Digital filtering, zooming, and decimation at full scale voltage range •...
  • Page 190: Replacing Assemblies

    Replacing Assemblies Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 191: Replaceable Parts

    (http://www.agilent.com/find/tmdir) for a list of office locations and addresses. Ordering Information To order Agilent Technologies, Inc. parts in the U.S., call Agilent Technologies, Inc. Parts Direct Ordering at (800) 798-5487. Outside the U.S., please contact your local Agfilent Technologies, Inc. parts center.
  • Page 192: Code Numbers

    E1437A User's Guide Replacing Assemblies Code Numbers The following table provides the name and location for the manufacturers’ code numbers (Mfr Code) listed in the replaceable parts tables. Mfr No. Mfr Name Location 28480 Agilent Technologies, Inc. Palo Alto, CA U.S.A.
  • Page 193: Assemblies

    E1437A User's Guide Replacing Assemblies Assemblies MP023 MP003 MP002 MP004 MP007 A1, A2, A3, A4 MP024 SMB Terminator (accessory) MP018 MP015 MP008 MP001 MP017 MP004 MP005 MP012 MP010 MP019 MP021 MP016 MP020 MP022 MP018 MP013 MP014 MP016 MP006 MP011 MP017...
  • Page 194 E1437A User's Guide Replacing Assemblies Part CD Qty Description Mfr Part Number Code Number 1818-6722 ICM DRAM, 4MB 13940 SM5361000-6 1818-6828 ICM DRAM, 8MB Opt. UFC 13940 SM536023101P4S6 1818-6728 ICM DRAM, 16MB Opt. ANC 13940 SM536044002P3S6 1818-6649 ICM DRAM, 32MB Opt. ANE 13940...
  • Page 195: To Remove The Top And Bottom Covers

    E1437A User's Guide Replacing Assemblies To remove the top and bottom covers Remove the four short and eight long screws using a T-10 torx driver and remove the covers. Short Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 196: To Remove The A1, A2, A3 Or The A4 Assembly

    E1437A User's Guide Replacing Assemblies To remove the A1, A2, A3 or the A4 assembly Remove top cover, see “To remove the top and bottom covers.” Gently push the silver tabs outward and tilt the assembly forward releasing it from the connector.
  • Page 197: To Remove The Front Panel

    E1437A User's Guide Replacing Assemblies To remove the front panel Remove covers, see “To remove the top and bottom covers”. Using a T-8 torx driver, remove the two screws that attach the handles to the assembly. NOTE: be sure to label the two handles, which are different from each other.
  • Page 198 E1437A User's Guide Replacing Assemblies Remove the 3 nuts and washers from the BNC connectors as shown, using a 9/16" nut driver. Slide the front panel off the main assembly. Note: steps 4, 5, and 6 are only necessary if you need to replace the front panel or any of it’s components.
  • Page 199 E1437A User's Guide Replacing Assemblies Using your hand, remove the two captive screws. Using a T-10 torx driver, remove the two screws that attach the two logo bases and the two L-blocks to the front panel. Note: there is a left and a right logo base. Also notice the orientation of the two L-blocks.
  • Page 200: To Remove The A10 Main Assembly

    E1437A User's Guide Replacing Assemblies To remove the A10 main assembly Remove covers, see “To remove the top and bottom covers”. Remove the SIMMS, see “To remove the A1, A2, A3, or the A4 assembly”. Remove the front panel, see steps 1, 2 and 3 of the “To remove the front panel”...
  • Page 201 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 202: Backdating

    Backdating Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 203 HP E1437A User's Guide Backdating Backdating This chapter documents modules that differ from those currently being produced. With the information provided in this chapter, this guide can be modified so that it applies to any earlier version or configuration of the module.
  • Page 204 A band in the frequency spectrum that begins at zero. In contrast a zoomed band is centered on a specific center frequency. block mode A mode in which the HP E1437A stops taking data as soon as a block of data has been collected. block size The number of sample points in a block of data.
  • Page 205 HP-VEE A Hewlett-Packard program for graphical programming Local Bus A high-speed port that Hewlett-Packard has defined as a standard byte-wide ECL protocol which can transfer measurement data from left to right at up to 2.62 Msamples per second on the VXI backplane. logical address The VXI logical address identifies where each module is located in the memory map of the VXI system.
  • Page 206 Service Office listed in the Agilent Catalog, or visit our web site: http:// www.agilent.com/find/tmdir for a current sale office listing. If you are contacting Agilent Technologies about a problem with your E1437A 20 MSample/second ADC, please provide the following information: •...
  • Page 207 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 208 About this edition January 1997: First Edition June 1997: Second Edition. April 2000: Third Edition - Rebranding, Hewlett-Packard to Agilent Technologies, Inc. Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 209 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 210 INDEX ac coupling, selecting 4-37 C programming overview 3-2 ADC clock center frequency SEE clock, source SEE frequency, center ADC, circuit description 6-6 circuit descriptions 6-5 addressing, instrument 4-35 clock alias filter distribution 3-8 SEE anit-alias filter extenders 6-2 analog filter external 4-13 SEE alias filter external input 6-2...
  • Page 211 decimation filter synchronizing changes 4-33 SEE ALSO anti-alias filter frequency response, determining 4-27 bandwidth, setting 4-28 front panel description 6-2 changes 3-12 functions, by functional group 4-3 circuit description 6-7 functions, listed alphabetically 4-8 described 3-7 selecting 4-28 generating data on local bus 4-44 diagnostics functions 4-5 generating interrupts 4-42 digital filter...
  • Page 212 mask, setting 4-42 phase priority, setting 4-42 and frequency 4-33 using 4-12 at trigger 4-59 capturing trigger 4-60 continuous 4-33 local bus preserving 4-34 backplane connections 6-3 phone assistance (rear of manual) 1-i described 6-3 pipelining data on local bus 4-44 generating data 4-44 port selection, data 4-20 mode, setting 4-44...
  • Page 213 SYNC VXI bus transfers 3-13, 6-8 and measurement state 3-5 VXI interface, configuring 2-5 extenders 6-2 sharing 3-8, 6-9 Windows signal, asserting and releasing 4-47 example programs 2-7 synchronization functions 4-7 installing libraries 2-4 synchronizing clocks online help 2-10 SEE multiple modules, managing programming overview 3-2 synchronizing decimation filters SEE multiple modules, managing...
  • Page 214 Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT • FAST SHIPPING AND DELIVERY Experienced engineers and technicians on staff Sell your excess, underutilized, and idle used equipment at our full-service, in-house repair center We also offer credit for buy-backs and trade-ins •...

Table of Contents