Programmer's Guide Agilent Technologies E4406A VSA Series Transmitter Tester
Total Page:16
File Type:pdf, Size:1020Kb
Programmer’s Guide Agilent Technologies E4406A VSA Series Transmitter Tester Manufacturing Part Number: E4406-90303 Supersedes E4406-90176 Printed in USA May 2007 © Copyright 1999 - 2001, 2007 Agilent Technologies, Inc. Notice The information contained in this document is subject to change without notice. Agilent Technologies makes no warranty of any kind with regard to this material, 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 for incidental or consequential damages in connection with the furnishing, performance, or use of this material. Technology Licenses The hardware and/or software described in this document are furnished under a license and may be used or copied only in accordance with the terms of such license. Restricted Rights Legend If software is for use in the performance of a U.S. Government prime contract or subcontract, Software is delivered and licensed as “Commercial computer software” as defined in DFAR 252.227-7014 (June 1995), or as a “commercial item” as defined in FAR 2.101(a) or as “Restricted computer software” as defined in FAR 52.227-19 (June 1987) or any equivalent agency regulation or contract clause. Use, duplication or disclosure of Software is subject to Agilent Technologies’ standard commercial license terms, and non-DOD Departments and Agencies of the U.S. Government will receive no greater than Restricted Rights as defined in FAR 52.227-19(c)(1-2) (June 1987). U.S. Government users will receive no greater than Limited Rights as defined in FAR 52.227-14 (June 1987) or DFAR 252.227-7015 (b)(2) (November 1995), as applicable in any technical data. 2 Safety Information The following safety symbols are used throughout this manual. Familiarize yourself with the symbols and their meaning before operating this instrument. WARNING Warning denotes a hazard. It calls attention to a procedure which, if not correctly performed or adhered to, could result in injury or loss of life. Do not proceed beyond a warning note until the indicated conditions are fully understood and met. CAUTION Caution denotes a hazard. It calls attention to a procedure that, if not correctly performed or adhered to, could result in damage to or destruction of the instrument. Do not proceed beyond a caution sign until the indicated conditions are fully understood and met. NOTE Note calls out special information for the user’s attention. It provides operational information or additional instructions of which the user should be aware. WARNING This is a Safety Class 1 Product (provided with a protective earth ground incorporated in the power cord). The mains plug shall be inserted only in a socket outlet provided with a protected earth contact. Any interruption of the protective conductor inside or outside of the product is likely to make the product dangerous. Intentional interruption is prohibited. WARNING No operator serviceable parts inside. Refer servicing to qualified personnel. To prevent electrical shock do not remove covers. CAUTION Always use the three-prong AC power cord supplied with this product. Failure to ensure adequate grounding may cause product damage. 3 Where to Find the Latest Information Documentation is updated periodically. For the latest information about Agilent Technologies E4406 VSA Series Transmitter Tester, including firmware upgrades and application information, please visit the following Internet URL: http://www.agilent.com/find/vsa Microsoft® is a U.S. registered trademark of Microsoft Corporation. 4 Contents Table of Contents Table 1. Preparing for Use What’s in This Chapter?. 38 www.agilent.com/find/vsa . 38 Digital Communications Measurements Information . 38 Programming the Transmitter Tester . 40 Installing Optional Measurement Personalities . 44 Do You Have Enough Memory to Load All Your Personality Options? . 44 How to Predict Your Memory Requirements . 46 Loading an Optional Measurement Personality . 47 Obtaining and Installing a License Key . 48 Viewing a License Key . 48 Using the Uninstall Key on E4406A . 49 Ordering Optional Measurement Personalities . 50 Writing Your First Program. 51 Three Basic Steps in a Measurement . 51 Programming a Measurement . 51 File Naming Rules . 52 Cables for Connecting to RS-232 . 53 Connecting to a LAN Server . 60 Connecting to a GPIB Server. 61 2. Programming Fundamentals Measure . 65 Current Measurement Query (Remote Command Only) . 68 Test current results against all limits (Remote Command Only). 68 Data Query (Remote Command Only) . 69 Calculate/Compress Trace Data Query (Remote Command Only). 69 Calculate peaks of trace data (Remote Command Only) . 77 SCPI Language Basics . 79 Command Keywords and Syntax . 79 Creating Valid Commands . 79 Special Characters in Commands . 80 Parameters in Commands . 82 Putting Multiple Commands on the Same Line . 84 Improving Measurement Speed. 87 Turn off the display updates. 87 Use binary data format instead of ASCII . 87 Avoid unnecessary use of *RST . 88 Minimize DUT/instrument setup changes. 88 Consider using USB (Option 111) or LAN instead of GPIB . 89 Minimize the number of GPIB transactions . 89 Avoid automatic attenuator setting . 89 Optimize your GSM output RF spectrum switching measurement. 90 Avoid using RFBurst trigger for single burst signals . 90 When making power measurements on multiple bursts or slots, use CALCulate:DATA<n>:COMPress?. 91 Preventing Local or Remote Interference While Programming . 94 Using the Status Registers . 95 What Status Registers Are . 95 5 Contents Table of Contents Table How to Use the Status Registers. .97 Using a Status Register . .98 Using the Service Request (SRQ) Method . .99 Status Byte Register . .102 Standard Event Status Register . .105 Operation and Questionable Status Registers . .107 Using the LAN to Control the Instrument. .109 Using ftp for File Transfers . .109 Using Telnet to Send Commands . .112 Using Socket LAN to Send Commands. .116 Using SICL LAN to Control the Instrument . .117 Using HP/Agilent VEE Over Socket LAN. .123 Using a Java™ Applet Over Socket LAN . .125 Using a C Program Over Socket LAN. .125 General LAN Troubleshooting. .125 Programming in C Using the VTL . .133 Typical Example Program Contents . .133 Linking to VTL Libraries. .134 Compiling and Linking a VTL Program . ..