VXI Agilent E1437A User Manual

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

Advertisement

Quick Links

Agilent E1437A
20 MSample/second ADC
with Filters and FIFO
User's Guide
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.

Advertisement

Table of Contents
loading

Summary of Contents for VXI Agilent E1437A

  • Page 1 Agilent E1437A 20 MSample/second ADC with Filters and FIFO User’s Guide 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.
  • Page 2 NOTICE The information contained in this document is subject to change without notice. AGILENT TECHNOLOGIES, INC., MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS MANUAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Agilent Technologies shall not be liable for errors contained herein or direct, indirect, special, incidental or consequential damages in connection with the furnishing, performance, or use of this material.
  • Page 3 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. Number of Channels Type of Input...
  • Page 4 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 5 In This Book This book documents the E1437A module. It provides: installion information verification information operational information a programmer’s reference circuit descriptions technical specifications If you plan to use this module with the E1485A/B signal processing module and the 35635T Programmer’s Toolkit you should also use the documentation for those products in order to form an application program development environment.
  • Page 7: Table Of Contents

    TABLE OF CONTENTS 1 Installing the E1437A Installing the E1437A 1-2 To inspect the E1437A 1-2 To install the E1437A 1-3 To store the module 1-6 To transport the module 1-6 2 Getting Started with the E1437A Introduction 2-2 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...
  • Page 8 Table of Contents Managing multiple modules 3-8 Clock distribution 3-8 Managing Multi-module Systems 3-10 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...
  • Page 9 Table of Contents 6 Module Description Front Panel Description 6-2 VXI Backplane Connections 6-3 Power Supplies and Ground 6-3 Data Transfer Bus 6-3 DTB Arbitration Bus 6-3 Priority Interrupt Bus 6-3 Utility Bus 6-3 Local Bus 6-3 Trigger Lines 6-4...
  • Page 10 Table of Contents Glossary Index Need Assistance? About this Edition...
  • Page 11: Installing The E1437A

    Installing the E1437A...
  • Page 12: 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 13: To Install The E1437A

    If you will be using the local bus, select adjacent slots immediately to the left of the data-receiving module. If the VXI bus is used, maximum data rates will be reduced but the module can be placed in any available slot.
  • Page 14 E1437A User's Guide Installing the E1437A...
  • Page 15 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 16: 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 17: Getting Started With The E1437A

    Getting Started with the E1437A...
  • Page 18: 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 19: To Install The Programmer's Libraries

    – A stand-alone HP/Agilent Series 700 workstation with an E1489 – EISA-to-MXIbus card and an E1483B VXI-MXI Bus Extender. The workstation must have a DAT drive for the installation media. HP-UX (version 9.x) HP SICL for HP-UX (version C.03.08a or later). The SICL product number is HP...
  • Page 20: 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 21: To Install The Hp-Ux C-Language Drivers For The E1437A (For Hp-Ux Systems)

    Getting Started with the E1437A To install the HP-UX C-language drivers for the E1437A (for HP-UX systems): Log in as root. Insert the “Agilent E1437A 20 MSample/sec A-to-D Converter” tape into the tape drive To run the software installation utility interactively type: /etc/update See the HP-UX Reference manual for information on the update command.
  • Page 22: 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. This program group contains icons which access the Soft Front Panel program, online help, and example programs.
  • Page 23 (including VISA) and have run the configurator and Resource Manager required by your hardware interface. When prompted for the resource descriptor, use the default “VXI::192" unless the logical address of the E1437 has been changed from its default setting of 192. If it has been changed then type the appropriate logical address instead of 192.
  • Page 24 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 Moves the marker by the step size value Starts a measurement Pauses the measurement...
  • Page 25 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: Hint: the E1437 online help, available from the SFP Help menu item or from the program group icon, describes these panels and has links to functions which control and define many of the parameters.
  • Page 26: To Use Online Help In Windows 2-10

    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 27: To Use The Example Programs

    Getting Started with the E1437A 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 28 HP-UX environment only. interupt.exe This example shows how to set up and trap a VXI interrupt to indicate an error condition in the E1437. It is written as a consol program in Microsoft Visual C++ and runs only on Win95 or WinNT. Source code is installed on Win 3.1, but no executable is provided.
  • Page 29 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. thruput.vee This VEE example demonstrates how to set up a Local Bus data transfer from the E1437 to an E1562 data disk module.
  • Page 30: To View The Visual Basic Example Program

    Getting Started with the E1437A The next few pages show the structure and some details of a few of the example programs 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.
  • Page 31: To Use The Hp-Vee Example Program

    Getting Started with the E1437A 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 32 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...
  • Page 33: Using The E1437A

    Using the E1437A...
  • Page 34: Programming The E1437A

    E1437A User's Guide 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 35: Hp-Ux, Series 700 Environment

    HP-UX operating system 9.x • Standard Instrument Control Library (SICL) • SICL compatible VXI hardware interface • C-language programming system. In addition to the source code files, the E1437A includes compiled libraries, example programs, online help files, and an installation utility.
  • Page 36: Ascii Programming

    A key advantage of ASCII programming is that it can be done in virtually any VXI environment which supports message based I/O. A disadvantage of ASCII programming is the lack of host-based tools such as diagnostics and demonstration programs.
  • Page 37: 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 38: 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. The Measurement Loop in Multi-module systems The following rules generally apply to transitions between states when multiple modules share a SYNC signal:...
  • Page 39: 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 40: Managing Multiple Modules

    When shared, the ADC clock and SYNC lines are distributed among modules either on the VXI backplane using the ECL Trigger lines, or on the front panel using the SMB Clock/Sync extender connectors. When VXI backplane distribution is used with more than one VXI mainframe, the front panel Clock/Sync connectors can be used to buffer the ADC clock and SYNC lines from one mainframe to another.
  • Page 41 • Backplane distribution is more susceptible to pickup of jitter on the ADC clock from other digital activity on the VXI backplane. The extent of this pickup depends on the mainframe and on the other modules in the mainframe. One important step in reducing this pickup is to disable, whenever possible, the 10 MHz VXI clock generated by the slot-0 controller.
  • Page 42: Managing Multi-Module Systems

    SYNC: Rear SYNC: Rear SYNC: Rear SYNC: Rear Backplane Backplane ADCclock and SYNCdistribution External clock and SYNCdistribution using VXI backplane ECL trigger lines. using VXI backplane ECL trigger lines. Source: N/A Source: Internal Source: External/PLL Source: N/A Master: Off Master: On...
  • Page 43: Managing Multi-Mainframe Systems

    VXI Mainframe A VXI Mainframe B VXI Mainframe C Three or more mainf rames wit h clock and SYNC distribut ion using VXI backplane lines wit hin mainf rames and using f ront panel ext ender connect ions bet ween mainf rames.
  • Page 44: 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 45: Transferring Data

    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: E1437A Vxiplug&Play Programmer's Reference

    E1437A VXIplug&play Programmer’s Reference...
  • Page 48: Introduction

    E1437A User's Guide Introduction Introduction The programmer’s reference is presented as a set of VXIplug&play functions since this is the primary targeted environment. However, when you performed the setup for the E1437A, drivers were installed to support various programming environments as described in the Programing Overview section in the “Using the E1437A”...
  • Page 49: Functions Listed By Functional Group

    This data can be transferred either on the VXI backplane of over the Local Bus. You can append status information to each block of data indicating ADC overloads or ADC errors during the block.
  • Page 50: 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 hpe1437_input_coupling - selects AC or DC input coupling hpe1437_input_coupling_get - get the input coupling type hpe1437_input_float - enables/disables floating the input connector...
  • Page 51: 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. hpe1437_status_get - retreives module’s status register information Digital Processing hpe1437_filter_setup - sets the digital filter bandwidth and decimation filter parameters...
  • Page 52: Reading Data

    - provides the frequency of an external sample clock hpe1437_clock_fs_get - gets the current external sample clock frequency 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 53: 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 54: Functions Listed Alphabetically

    - provides the frequency of an external sample clock hpe1437_clock_fs_get - gets the current external sample clock frequency 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 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 hpe1437_frequency_cmplxdc_get - gets the state of the baseband measurement mode hpe1437_frequency_setup - sets all center frequency parameters hpe1437_frequency_sync - prepares the module for a synchronous frequency change...
  • Page 56 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 at the trigger point hpe1437_trigger_gen - determines whether a module can generate a trigger hpe1437_trigger_gen_get - gets the trigger generation status...
  • Page 57: Vxiplug&Play Programming Reference

    E1437A User's Guide VXI plug&play Programming Reference VXI plug&play Programming Reference 4-11...
  • Page 58 Since interrupts are a shared resource across all modules using the VXI interface, it is not possible for the E1437 library, which governs single modules, to provide the functions to properly manage interrupts.
  • Page 59 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 60 E1437 to drive the front panel ADC clock; or if sync = HPE1437_REAR causes the module to use its ADC clock to drive the VXI backplane in the mainframe in which it resides. HPE1437_OFF means that the E1437 is driving neither the front panel nor the backplane and is the correct variable to use for all non-master modules in a multi-module system.
  • Page 61 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 62 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 63 IDLE state. After this function has been executed the specified id identifier is no longer a valid parameter for function calls. Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. Effect on Active This command does not abort any measurement in progress.
  • Page 64 This command allows you to determine whether your module contains standard memory of 8 Mbytes or a larger memory option. Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. memSizePtr contains the memory size in number of Megabytes. Effect on Active This command does not abort any measurement in progress.
  • Page 65 The factor returned by this function is used to multiply raw data to get data in volts. Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. scalePtr contains the calculated scale factor with which to scale raw data to volts. NOTE If hpe1437_input_range_auto is pending or in progress this command returns an error.
  • Page 66 ViStatus hpe1437_data_port(ViSession id, ViInt16 port); ViStatus hpe1437_data_port_get(ViSession id, ViPInt16 portPtr); ViStatus hpe1437_data_resolution(ViSession id, ViInt16 resolution); ViStatus hpe1437_data_resolution_get(ViSession id, ViPInt16 resolutionPtr); ViStatus hpe1437_data_type(ViSession id, ViInt16 dType); ViStatus hpe1437_data_type_get(ViSession id, ViPInt16 dTypePtr); Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. 4-20...
  • Page 67 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 68 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 69 Setting port to HPE1437_LBUS means the data is to be output as a byte-serial data stream via the VXI local bus. When using the local bus port the module immediately to the right of the E1437 must be capable of receiving the local bus byte sequence.
  • Page 70 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 71 This function includes host errors as well as firmware errors. Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. errNum represents the instrument numeric error code. errMessage represents the error message string up to 80 characters long.
  • Page 72 This function does not trap host errors. Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. errNumPtr contains the instrument numeric error code. errMessagePtr contains the error message string up to 80 characters long. This message also indicates what function call generated the error.
  • Page 73 The requested number of samples are equally spaced from the requested minimum frequency to the requested maximum frequency. Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. resp returns the response in the format: resp(re0, im0, re1, im1,..., re(n-1), im(n-1) n is the number of samples desired.
  • Page 74 ViStatus hpe1437_filter_bw_get(ViSession id, ViPInt16 sigBwPtr); Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. sigBw selects an alias protected signal filter bandwidth that is roughly fs/(2.56 * 2^(sigBw)) where fs is the ADC sample frequency. In zoom applications, where the center frequency is generally not zero, the zoom filter bandwidth is centered on the frequency programmed with the hpe1437_frequency_setup function.
  • Page 75 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 76 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 77 It is not necessary to resynchronize the decimation counters when the digital filter bandwidths are changed. Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. Comment If you also want to synchronize frequency or phase, see hpe1437_frequency_sync and multi module information.
  • Page 78 ADC clock frequency. Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. coarse is used to set high frequencies or a low resolution frequency component. fine is used to set very low frequencies or a high resolution frequency component.
  • Page 79 Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. cmplxDc selects either a phase continuous or phase reset transition when the freq = 0. HPE1437_OFF, combined with a frequency change to zero, causes phase to be reset to zero.
  • Page 80 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 81 VXI instrument Session identifier returned by this function for the module. This identifier is then used with all other functions which address this module.
  • Page 82 See the hpe1437_frequency_sync and hpe1437_frequency_sync functions for details on how to re-establish LO phase coherence and filter synchronization. Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. Effect on Active This command aborts any measurement in progress. Measurement...
  • Page 83 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 84 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 85 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 86 ADC overload. Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. sec is the time in seconds to take data at each range to insure that an overload is detected. Setting this parameter to 0.0 will result in this time being set automatically according to an algorithm that depends on block size and filter bandwidth.
  • Page 87 The interrupt masks set by the hpe1437_interrupt_setup function are cleared during the interrupt acknowledge cycle. This function restores the cleared interrupt masks. Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. Effect on Active This command does not abort any measurement in progress.
  • Page 88 Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. intrNum is the number of the interrupt generator. The only values accepted are 0 and 1. mask specifies the mask of events on which to interrupt. This mask is created by ORing together the bits defined in bits 8 through 15 of the status register.
  • Page 89 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 , hpe1437_attrib_get PAGE 56 4-43...
  • Page 90 Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. lbusMode selects the transmission mode of the local bus when it is enabled by the hpe1437_data_port function. HPE1437_GENERATE forces the module at id to generate data only, not passing through data from other modules on the local bus.
  • Page 91 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. Upon powerup or whenever any single module in the mainframe is put into a reset state, all modules should be placed into the reset state from left to right.
  • Page 92 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...
  • Page 93 Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. idle selects the condition of the IDLE state. HPE1437_ASSERT holds the module in the IDLE state. HPE1437_RELEASE reverses a previous HPE1437_ASSERT or ensures that no forced IDLE is active.
  • Page 94 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 95 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. This command moves the module through the IDLE state and the SYNC state while checking the status to assure a valid state.
  • Page 96 Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. rec is a pointer to the array into which the floating point data is to be placed. Be sure to allocate sufficient storage space at this location to hold the full data record as determined by the samplecount parameter.
  • Page 97 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 98 Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. rec is a pointer to the array into which the raw data record is to be place. Be sure to allocate sufficient storage space to hold the full data record as determined by the wordcount parameter.
  • Page 99 This function can be called separately by this function, or may be selected in conjunction with the hpe1437_init function. Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. Comments The reset values are listed with each command description.
  • Page 100 ViStatus hpe1437_revision_query(ViSession id, ViString driverRev, ViString instRev); Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. driverRev returns the date and time of the module’s driver revision in the form: mm-dd-yyyy hh:mm instRev returns the date, time, and board number of the module’s firmware revision in...
  • Page 101 Analog: verifies that autozero adjust is working and that the input is triggering. Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. testResult contains the instrument numeric error code. testMessage contains the self test status message string up to 80 characters long.
  • Page 102 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 103 10 Armed: This bit is set whenever the module is in the Trigger state, or is in the Arm state and has satisfied its pre-trigger requirements. When this bit is set, the module releases the VXI SYNC line. Once all modules release the SYNC line, then all modules go to the Trigger state.
  • Page 104 ViStatus hpe1437_trigger_delay_actual_get(ViSession id, ViPReal64 actualDelayPtr); Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. actualDelayPtr contains the returned actual delay from the most recent trigger event and the resulting first output sample time. This delay value provides more accuracy...
  • Page 105 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. actualPhasePtr contains the returned value interpreted as follows: 0 <= value < 1.0 where 0 => 0 degrees .25 =>...
  • Page 106 Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. Effect on Active This command does not abort any measurement in progress.
  • Page 107 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 108 An E1437 will generate a trigger only when it is in the TRIGGER state and the SYNC line on the VXI backplane is released. When a trigger is generated, the E1437 will release the SYNC line.
  • Page 109 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 110 You do not need to call hpe1437_wait for single modules or non-synchronous groups since the hpe1437_meas_control and hpe1437_meas_start functions perform an implicit wait. Parameters id is the VXI instrument session pointer returned by the hpe1437_init function. Effect on Active This command does not abort any measurement in progress. Measurement...
  • Page 111 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 112 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 113 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 114: 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 115 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 116 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 117: 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 HPE1437_ADC HPE1437_APPEND HPE1437_ASSERT...
  • Page 118 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...
  • Page 119: 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 120 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 121: 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) hpe1437_meas_start hpe1437_reset 4-75...
  • Page 123: Ascii Overview And Commands

    ASCII Overview and Commands...
  • Page 124: Introduction

    E1437A 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 are provided mainly to accommodate users who have previously used SCPI (Standard Commands for Programming Instruments) with the HP/Agilent E1406 Command Module.
  • Page 125: 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 126: Using Ascii Commands In Your Environment

    ASCII commands require no drivers or other special downloadable files. They may be sent from the host computer through an GPIB/HPIB interface to a HP/Agilent E1406 Command Module in a VXI mainframe containing the E1437A. Using ASCII commands with HP BASIC In order to address the module you must know the addressing information about your GPIB/HPIB interface, your command module, and the E1437A.
  • Page 127: Ascii Programming Reference

    E1437A ASCII Overview and Commands ASCII Programming Reference...
  • Page 128 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 129 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 130 E1437A *TST? ASCII Overview and Commands query *TST? query Tests the module’s hardware and returns the result.. Query syntax: *TST? Example Statement: 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.
  • Page 131 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. CLOCK:FS provides the frequency of an external sample clock.
  • Page 132 REAR. The module uses the shared ADC clock and SYNC signals which are distributed on the VXI backplane using the ECL trigger lines selects the clock source that is used to drive the analog to digital converter (ADC) for single module operation or when a module is used as the master ADC clock source for a multi-module system.
  • Page 133 ON. When multisync=1 (front panel) the E1437 drives the front panel ADC clock. If multisync=2 (back plane) the module uses its ADC clock to drive the VXI backplane in the mainframe in which it resides.
  • Page 134 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): DSP CLOCK MASTER SYNC...
  • Page 135 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. DATA:APPEND:STATUS? gets the append status state DATA:BLOCKSIZE determines the size of the output data block.
  • Page 136 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 137 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. The actual number used is the first integer power of 2 equal to or larger than the requested blocksize.
  • Page 138 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. When using the local bus port the module immediately to the right of the E1437 must be capable of receiving the local bus byte sequence.
  • Page 139 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 Complex True 0 or 1...
  • Page 140 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: parameter order parameter definition value...
  • Page 141 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...
  • Page 142 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. FILTER:DECIMATE? gets current state of extra decimation FILTER:BW selects a signal filter bandwidth.
  • Page 143 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. ON.
  • Page 144 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 ±7.37...
  • Page 145 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 146 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. See Also: FILTER:SETUP, MEAS:CONTROL, FREQUENCY:CMPLXDC 5-24...
  • Page 147 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 148 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 FREQUENCY:SYNC prepares the module for a synchronous frequency change FREQUENCY:SYNC? gets the state of the synchronous change mode FREQUENCY:CENTER sets the center frequency...
  • Page 149 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 150 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 151 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 152 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 153 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 154 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 155 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. INPUT_RANGE? also returns an error if an autorange is pending or in progress.
  • Page 156 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 157 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. Command Syntax: INTERRUPT:SETUP <intrNum>,<priority>,<mask>...
  • Page 158 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. The data port must be set to the local bus with the DATA:PORT command before these modes take effect.
  • Page 159 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. Upon powerup or whenever any single module in the mainframe is put into a reset state, all modules should be placed into the reset state from left to right.
  • Page 160 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. parameter idle parameter definition value...
  • Page 161 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 162 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 163 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 164 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 165 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. The following are not affected by this command: •...
  • Page 166 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 revision Return Format: <swrev0:swrev1:board#>...
  • Page 167 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 168 10 Armed: This bit is set whenever the module is in the Trigger state, or is in the Arm state and has satisfied its pre-trigger requirements. When this bit is set, the module releases the VXI SYNC line. Once all modules release the SYNC line, then all modules go to the Trigger state.
  • Page 169 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 170 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 171 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 TRIGGER:DELAY:CAPTURE to only one module in the system (typically the master) after you have completed all frequency and filter setup functions, since those functions take the module out of the phase_capture mode.
  • Page 172 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 173 TRIGGER:SETUP is the command that sets all trigger parameters at once. An E1437 will generate a trigger only when it is in the TRIGGER state and the SYNC line on the VXI backplane is released. When a trigger is generated, the E1437 will release the SYNC line.
  • Page 174 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 175 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. ON enables triggering Reset Values: type=IMMEDIATE, delay=0, adclevel=0, maglevel=−128, slope=POSITIVE,...
  • Page 177: Module Description

    Module Description...
  • Page 178: Front Panel 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 179: Vxi Backplane Connections

    DTB Arbitration Bus The E1437A module is not capable of requesting bus control. Thus it does not use the Arbitration bus. To conform to the VME and VXI specifications, it passes the bus lines through. Priority Interrupt Bus The E1437A generates interrupts by applying a programmable mask to its status bits.
  • Page 180: Trigger Lines

    Module Description Trigger Lines The VXI specification provides 8 TTL and 2 ECL trigger lines which can be used for module-specific signaling. When programmed in a multi-input configuration, the E1437A uses the ECL trigger lines, designating ECLTRG0 as the SYNC line and ECLTRG1 as the ADC sample clock (CLOCK).
  • Page 181: 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 Sampling Control Anti-Alias Amplifier/ Input Register...
  • Page 182: Clock Generation

    E1437A User's Guide Module Description Clock Generation The usual source for a clock signal is the 20 MHz or the 20.48 MHz crystal oscillator inside the E1437A. However, the E1437A can also accept an external clock signal through a front-panel BNC (“Ext Clock”). This signal can be TTL, ECL, or sine wave. In a system using more than one E1437A, the ADCs can be synchronized by programming them to use a common ECL line on the backplane.
  • Page 183: 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 184: 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 185: Trigger Detection

    Control Registers The E1437A module is controlled by firmware using registers mapped into the 16-bit VXI address space. There are 24 writable and 18 readable registers, each has 16 bits. The control registers are not user accessible.
  • Page 187: Verifying The E1437A

    Verifying the E1437A...
  • Page 188: 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 189: Replacing Assemblies

    Replacing Assemblies...
  • Page 190: Replaceable Parts

    E1437A User's Guide Replacing Assemblies Replaceable Parts For information on upgrading your module or replacing parts, contact your local Agilent Technologies sales and service office. See the Technical Specifications or the Agilent Technologies web site (http://www.agilent.com/find/tmdir) for a list of office locations and addresses. Ordering Information To order Agilent Technologies, Inc.
  • Page 191: 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. 30817 Instrument Specialties Co.
  • Page 192: Assemblies

    E1437A User's Guide Replacing Assemblies Assemblies MP023 MP003 MP002 MP004 MP007 A1, A2, A3, A4 MP024 SMB Terminator (accessory) MP018 MP015 MP001 MP008 MP017 MP004 MP005 MP012 MP010 MP019 MP021 MP016 MP020 MP022 MP018 MP013 MP014 MP016 MP006 MP011 MP017 MP009 MP013...
  • Page 193 28480 E1450-01202 MP008 E1437-00204 8 PANEL-FRONT, “E1437A” 28480 E1437-00204 MP009 7121-7964 LABEL-HP, LOGO 28480 E1400-84308 MP010 7121-7893 LABEL-VXI, LOGO 28480 E1400-84307 MP011 E1400-45102 6 MOLD, HANDLE RIGHT 28480 E1400-45102 MP012 E1400-45101 5 MOLD, HANDLE LEFT 28480 E1400-45101 MP013 E1400-00610 7...
  • Page 194: 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...
  • Page 195: 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 196: 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 197 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 198 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 199: 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: Backdating

    Backdating...
  • Page 202 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 203 American Standard Code for Information Interchange, a standard format for data or commands. backplane A set of lines that connects all the modules in a VXI system. baseband A band in the frequency spectrum that begins at zero. In contrast a zoomed band is centered on a specific center frequency.
  • Page 204 VXI system. VME Extensions for Instrumentation, a standard specification for instrument systems VXIplug&play A set of standards which provides VXI users with a level of standardization across different vendors beyond what the VXI standard specifications spell out. zoom Selects a frequency span around a specified center frequency.
  • Page 205 Need Assistance? If you need assistance, contact your nearest Agilent Technologies 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 About this edition January 1997: First Edition June 1997: Second Edition. April 2000: Third Edition - Rebranding, Hewlett-Packard to Agilent Technologies, Inc.
  • Page 209 3-7 closing an instrument session 4-17 appending data on local bus 4-44 complex data output, specifying 4-20 Arm state 3-5 configuring VXI system 2-5 arming measurements 4-47 conformity, declaration of (rear of ASCII commands 5-2 manual) 4-23 ASCII programming overview 3-2...
  • Page 210 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 211 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 212 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...

Table of Contents