Resumo do conteúdo contido na página número 1
Infiniium DCA and DCA-J
Agilent 86100A/B/C
Wide-Bandwidth
Oscilloscope
Programmer’s Guide
Agilent Technologies
Resumo do conteúdo contido na página número 2
Notices Technology Licenses Trademark Acknowledgements © Agilent Technologies, Inc. 2000-2005 The hardware and/or software described in this Microsoft is a U.S. registered trademark of document are furnished under a license and may Microsoft Corporation. be used or copied only in accordance with the No part of this manual may be reproduced in any terms of such license. form or by any means (including electronic stor- Windows and MS Windows are U.S. registered age and retrieval or translation
Resumo do conteúdo contido na página número 3
Contents 1 Introduction Introduction 1-2 Starting a Program 1-4 Multiple Databases 1-6 Files 1-8 Status Reporting 1-11 Command Syntax 1-23 Interface Functions 1-34 Language Compatibility 1-36 New and Revised Commands 1-42 Commands Unavailable in Jitter Mode 1-44 Error Messages 1-46 2 Sample Programs Sample C Programs 2-3 Listings of the Sample Programs 2-15 3 Common Commands 4 Root Level Commands 5 System Commands 6 Acquire Commands 7 Calibration Commands 8 Channel Commands 9 Clock Recovery Comm
Resumo do conteúdo contido na página número 4
Contents Contents 13 Hardcopy Commands 14 Histogram Commands 15 Limit Test Commands 16 Marker Commands 17 Mask Test Commands 18 Measure Commands 19 S-Parameter Commands 20 Signal Processing Commands 21 TDR/TDT Commands (Rev. A.05.00 and Below) 22 TDR/TDT Commands (Rev. A.06.00 and Above) 23 Timebase Commands 24 Trigger Commands 25 Waveform Commands 26 Waveform Memory Commands Contents-2
Resumo do conteúdo contido na página número 5
1 Introduction 1-2 Starting a Program 1-4 Multiple Databases 1-6 Files 1-8 Status Reporting 1-11 Command Syntax 1-23 Interface Functions 1-34 Language Compatibility 1-36 New and Revised Commands 1-42 Commands Unavailable in Jitter Mode 1-44 Error Messages 1-46 Introduction
Resumo do conteúdo contido na página número 6
Introduction Introduction Introduction This chapter explains how to program the instrument. The programming syntax conforms to the IEEE 488.2 Standard Digital Interface for Programmable Instrumentation and to the Standard Commands for Programmable Instruments (SCPI). This edition of the manual doc- uments all 86100-series software revisions up through A.04.10. For a listing of commands that are new or revised for software revisions A.04.00 and A.04.10, refer to “New and Revised Commands” on
Resumo do conteúdo contido na página número 7
Introduction Introduction Figure 1-1. Sample Data Processing The sample data is stored in the channel memory for further processing before being dis- played. The time it takes for the sample data to be displayed depends on the number of post processes you have selected. Averaging your sampled data helps remove any unwanted noise from your waveform. You can store your sample data in the instrument’s waveform memories for use as one of the sources in Math functions, or to visually compare agai
Resumo do conteúdo contido na página número 8
Introduction Starting a Program Starting a Program The commands and syntax for initializing the instrument are listed in Chapter 3, “Common Commands”. Refer to your GPIB manual and programming language reference manual for information on initializing the interface. To make sure the bus and all appropriate interfaces are in a known state, begin every program with an initialization statement. For example, BASIC provides a CLEAR command which clears the interface buffer. When you are using GPI
Resumo do conteúdo contido na página número 9
Introduction Starting a Program − 40 millivolts. � Lines 80 through 90 configure the instrument to trigger at − 0.4 volts with normal triggering. � Line 100 turns system headers off. � Line 110 turns the grid off. The DIGITIZE command is a macro that captures data using the acquisition (ACQUIRE) sub- system. When the digitize process is complete, the acquisition is stopped. The captured data can then be measured by the instrument or transferred to the computer for further analysis. The capture
Resumo do conteúdo contido na página número 10
Introduction Multiple Databases Multiple Databases Eye/Mask measurements are based on statistical data that is acquired and stored in the color grade/gray scale database. The color grade/gray scale database consists of all data samples displayed on the display graticule. The measurement algorithms are dependent upon histo- grams derived from the database. This database is internal to the instrument’s applications. The color grade/gray scale database cannot be imported into an external databas
Resumo do conteúdo contido na página número 11
Introduction Multiple Databases CHANnel2:DISPlay ON,APPend For a example of using multiple databases, refer to “multidatabase.c Sample Program” on page 2-35. Downloading a The general process for downloading a color grade/gray scale database is as follows: Database 1 Send the command :WAVEFORM:SOURCE CGRADE This will select the color grade/gray scale database as the waveform source. 2 Issue :WAVeform:FORMat WORD. Database downloads only support word formatted data (16-bit integers). 3 Send the
Resumo do conteúdo contido na página número 12
Introduction Files Files When specifying a file name in a remote command, enclose the name in double quotation marks, such as "filename". If you specify a path, the path should be included in the quotation marks. All files stored using remote commands have file name extensions as listed in Table 1-1. You can use the full path name, a relative path name, or no path. If you do not specify an extension when storing a file, or specify an incorrect extension, it will be corrected automatically a
Resumo do conteúdo contido na página número 13
Introduction Files Table 1-1. File Name Extensions File Type File Name Extension Command Waveform - internal format .wfm “STORe” on page 10-9 Waveform - text format (Verbose, XY Verbose, .txt “STORe” on page 10-9 or Y values) Pattern Waveform .csv “PWAVeform:SAVE” on page 10-6 Setup .set “STORe” on page 10-9 Color grade - Gray Scale .cgs “STORe” on page 10-9 Jitter Memory .jd “STORe” on page 10-9 a .bmp, .eps, .gif, .pcx, .ps, .jpg, .tif “SIMage” on page 10-7 Screen image Mask .msk, .pcm “SAVE”
Resumo do conteúdo contido na página número 14
Introduction Files Table 1-3. Default File Locations File Type Default Location Waveform - internal format, text format (Verbose, XY Verbose, or Y D:\User Files\waveforms values), Pattern Waveforms D:\User Files\waveforms Setup D:\User Files\setups Color Grade - Gray Scale D:\User Files\colorgrade-grayscale Jitter Memory D:\User Files\jitter data Screen Image D:\User Files\screen images Mask C:\Scope\masks (standard masks) D:\User Files\masks (user-defined masks) TDR/TDT calibration data (softw
Resumo do conteúdo contido na página número 15
Introduction Status Reporting Status Reporting Almost every program that you write will need to monitor the instrument for its operating status. This includes querying execution or command errors and determining whether or not measurements have been completed. Several status registers and queues are provided to accomplish these tasks. In this section, you’ll learn how to enable and read these registers. � Refer to Figure 1-4 on page 1-14 for an overall status reporting decision chart. � See
Resumo do conteúdo contido na página número 16
Introduction Status Reporting bit 6 as the Request Service (RQS) bit and clears the bit which clears the SRQ interrupt. The *STB? query reads bit 6 as the Master Summary Status (MSS) and does not clear the bit or have any affect on the SRQ interrupt. The value returned is the total bit weights of all of the bits that are set at the present time. Figure 1-2. Status Reporting Decision Chart 1-12
Resumo do conteúdo contido na página número 17
Introduction Status Reporting The use of bit 6 can be confusing. This bit was defined to cover all possible computer inter- faces, including a computer that could not do a serial poll. The important point to remember is that, if you are using an SRQ interrupt to an external computer, the serial poll command clears bit 6. Clearing bit 6 allows the instrument to generate another SRQ interrupt when another enabled event occurs. The only other bit in the Status Byte Register affected by the *STB
Resumo do conteúdo contido na página número 18
Introduction Status Reporting Figure 1-4. Status Reporting Data Structures 1-14
Resumo do conteúdo contido na página número 19
Introduction Status Reporting Status Reporting Data Structures (continued) 1-15
Resumo do conteúdo contido na página número 20
Introduction Status Reporting This BASIC example uses the *STB? query to read the contents of the instrument’s Status Byte Register when none of the register's summary bits are enabled to generate an SRQ inter- rupt. 10 OUTPUT 707;":SYSTEM:HEADER OFF;*STB?"!Turn headers off 20 ENTER 707;Result!Place result in a numeric variable 30 PRINT Result!Print the result 40 End The next program prints 132 and clears bit 6 (RQS) of the Status Byte Register. The differ- ence in the decimal value between thi