Agilent Technologies E6640A EXM Скачать руководство пользователя страница 1

Agilent Technologies

Programmer’s Guide

Agilent E6640A EXM 

Wireless Test Set 

(and X-Series 

Instruments)

Содержание E6640A EXM

Страница 1: ...Agilent Technologies Programmer s Guide Agilent E6640A EXM Wireless Test Set and X Series Instruments...

Страница 2: ...nt or of any information contained herein Should Agilent and the user have a separate written agreement with warranty terms covering the material in this document that conflict with these terms the wa...

Страница 3: ...ing charges duties and taxes Where to Find the Latest Information Documentation is updated periodically For the latest information about these products including instrument software upgrades applicati...

Страница 4: ...4...

Страница 5: ...ne 21 SCPI Termination and Separator Syntax Examples 22 Where to find X Series SCPI Command Definitions 23 Help System Features for SCPI Programmers 23 Help System Contents Pane 23 Help Topic Content...

Страница 6: ...les Libraries 39 Programming with Microsoft NET and VISA 40 Location of Header Files 40 Requirements for Deploying a VISA Project 41 Multiple VISA DLL Versions 41 4 Program Samples Where to find Sampl...

Страница 7: ...Contents 7 Agilent Developer Network ADN 51 Technical Support 51...

Страница 8: ...8 Contents...

Страница 9: ...ogramming Documentation Roadmap on page 14 The second chapter SCPI Programming Fundamentals on page 15 provides an introduction to Standard Commands for Programmable Instruments SCPI which is the most...

Страница 10: ...iption VISA Drivers Features As shown in Figure 1 1 VISA is a driver technology that operates at a lower level of abstraction than instrument drivers As such it offers greater flexibility at the expen...

Страница 11: ...ware connection is unlikely to have any significant effect on the optimal choice of programming tool language or ADE VISA Driver Options Agilent I O Libraries Suite is a collection of libraries Applic...

Страница 12: ...asic NET respectively For more information see the VISA Documentation Help in the Agilent I O Libraries Suite 2 VISA for the Common Object Model VISA COM 1 The VISA COM I O API is a programming interf...

Страница 13: ...minimal custom programming You can select and edit objects from pull down menus or toolbars and connect them to each other by virtual wires to specify the program s data flow mimicking the order of t...

Страница 14: ...eference The content of this manual is duplicated in the instrument s Help file That is the context sensitive help content for a key is identical to that in User s and Programmer s Reference manual fo...

Страница 15: ...on programming X Series instruments using Standard Commands for Programmable Instruments SCPI Sections include SCPI Language Basics on page 16 Where to find X Series SCPI Command Definitions on page 2...

Страница 16: ...ower case letters In the documentation upper case letters indicate the short form of the keyword whereas lower case letters indicate the long form of the keyword Either form may be used in the command...

Страница 17: ...dwidth RES 1 7e3Hz MEASure SPECtrum n MEAS SPEC Meas spec meas spec3 The number 3 in the last meas example causes it to return different results than the commands above it See the command description...

Страница 18: ...even if they are omitted Command SENSe BANDwidth RESolution AUT O The following commands are all valid and have identical effects Ex1 bandwidth auto Ex2 band resolution auto Ex3 sense bandwidth auto A...

Страница 19: ...ent Units can follow the numerical value with or without a space Variable A variable can be entered in exponential format as well as standard numeric format The appropriate range of the variable and i...

Страница 20: ...B percent A rational number between 0 and 100 You can either use no units or use PCT angle degrees A rational number followed by optional units The default units are degrees Acceptable units include D...

Страница 21: ...mation about available data formats A SCPI command often refers to a block of current trace data with a variable name such as Trace1 Trace2 or trace3 depending on which trace is being accessed arbitra...

Страница 22: ...STAR 30MHz MIX RANG 20dBm FREQ STAR 30MHz POW MIX RANG 20dBm The MIX RANG command is in the same SENSE subsystem as FREQ but executing the FREQ command puts you back at the SENSE level You must specif...

Страница 23: ...n the Users Programmers References SCPI command descriptions are organized by front panel functionality but you can also find a specific command by looking for it in the common or measurement specific...

Страница 24: ...Pane 1 Help Topic Content on page 24 2 List of SCPI Commands on page 25 Help Topic Content A typical Help topic is shown in Figure 2 2 Each Help topic includes A description of the current active func...

Страница 25: ...opic Scale Div Topic List of SCPI Commands The List of SCPI Commands is an alphabetically sorted list of all commands in the current measurement application Each item shown is a hyperlink to the speci...

Страница 26: ...mand Definitions Figure 2 3 Example List of Commands NOTE You can query the instrument for all supported SCPI commands in the current mode by sending the SYST HELP HEAD query For details on how to que...

Страница 27: ...tions The connection strings for TRX1 are listed below TRX2 Connections The connection strings for TRX2 are listed below Connection Type Connection String Usage VXI 11 SICL TCPIP0 hostname inst0 INSTR...

Страница 28: ...d for the hostname Examples TCPIP0 myE6640A soco agilent com 5225 SOCKET TCPIP0 148 5 96 172 5225 SOCKET HiSLIP TCPIP0 hostname hislip2 INSTR Connection Type Connection String Usage VXI 11 SICL TCPIP0...

Страница 29: ...you can open a Telnet connection with the instrument using an internet connection to the instrument s Embedded Web Server This procedure is described in the Agilent X Series Signal Analyzer Getting S...

Страница 30: ...e DOS command ping a single space and the IP address of the instrument and press Enter The results should resemble those shown in Figure 2 4 If the LAN connection is working you will see statistics fo...

Страница 31: ...he Windows Taskbar click Start Run 3 In the Window Run Dialog shown in Figure 2 5 type cmd then click OK or press Enter to open a DOS command window Figure 2 5 Windows Run Dialog 4 At the DOS command...

Страница 32: ...efault To enable the Telnet client do the following Step Actions 1 Open Windows Control Panel From the Windows Start menu select Control Panel 2 Select Programs 3 Display Windows Features dialog In th...

Страница 33: ...eb interface needed for that use IDN Query instead Figure 2 7 below shows part of the Agilent Connection Expert main screen with four E6640A TRXs connected via LAN they are TRX1 TRX2 TRX3 and TRX4 of...

Страница 34: ...9 below which allows you to send SCPI commands to the instrument and read the responses In the example illustrated the query SYST MOD NAME is sent to confirm that the selected instrument is the fourth...

Страница 35: ...ier for humans to read and is required by SCPI for RST However data input output is faster using the binary formats FORMat DATA REAL 64 selects the 64 bit binary data format for all numerical data que...

Страница 36: ...he innermost loop is the fastest Also check whether the loops could be nested in a different order to reduce the number of parameter changes as you step through the test If you must switch between mea...

Страница 37: ...ss The Calculate Compress Trace Data Query is the fastest way to measure power data for multiple bursts slots For details of the command see the Programming the Analyzer chapter of any X Series Help f...

Страница 38: ...surement speed using X Series instruments see Agilent Application Note 1583 5 WAV DEC 4 DEC STAT ON Select a decimation of 4 and turn on decimation This reduces the amount of data that must be transfe...

Страница 39: ...ew of the relationship between VISA and other programming tools and drivers see X Series Programming Options on page 10 Programming in Visual Basic 6 with VISA See the VISA online Help section Using t...

Страница 40: ...ader files visa32 cs for C and visa32 vb for Visual Basic NET to allow programmatic access to the VISA C API from the two most popular NET languages To use the VISA C API in a NET project include the...

Страница 41: ...untime must also be installed Multiple VISA DLL Versions Because each VISA vendor installs its version of the VISA DLL the VISA DLL on your deployed system may differ from the one with which you devel...

Страница 42: ...42 Developing and Deploying VISA Projects Requirements for Deploying a VISA Project...

Страница 43: ...Where to find Sample Programs Relevant samples are found on the following Agilent Technologies Inc web site in the table of programming examples under X Series PXA MXA EXA Signal Analyzers Not all sa...

Страница 44: ...le Functionality and Programming Language In the table below availability of program samples for each function language is indicated by page number references If no page number reference is provided t...

Страница 45: ...moving the txt portion of the extension The sample uses the VISA driver Transfer Screen Images Function Transfer Screen Images from the instrument Description This example demonstrates how to 1 Store...

Страница 46: ...monstrates how to 1 Modify the timeout value 2 Initiate a sweep 3 Poll the instrument to determine when the operation is complete 4 Query and report the sweep result Language C File name mxa_sweep c F...

Страница 47: ...ified name 2 Retrieve the screen image data from the instrument as a Program Data Block 3 Analyze the header of the Program Data Block and extract the PNG bitmap from the block 4 Store the extracted b...

Страница 48: ...age on the computer in a user specified directory as capture gif 4 Delete the instrument memory file D mxascr PNG Language Agilent VEE Pro File name mxa_screencapture vee Function Transfer Screen Imag...

Страница 49: ...ent Foundation http www ivifoundation org default aspx 3 Agilent X Series Document Library Follow the hyperlink http www agilent com find E6640A_manuals 4 Agilent X Series Signal Analyzer Getting Star...

Страница 50: ...on from the popup menus Alternatively you can find the CHM at the following disk location C Program Files Agilent IO Libraries Suite Visa chm 7 Agilent IVI Instrument Drivers Installation packages for...

Страница 51: ...ument Drivers Example Programs Product Downloads Evaluations Demos and resources for contacting Agilent regarding development issues http www agilent com find adn Technical Support Navigate to the web...

Отзывы: