Instruction/ maintenance manual of the product 6000 Series Agilent Technologies
Go to page of 32
Agilent T echnologies Agilent 6000 Series Oscilloscopes Programmer’ s Quick Start Guide.
2 Agilent 6000 Series Oscilloscopes Programmer’s Quick Start Guide Notices © Agilent T echnologies, Inc. 2005-2007 N o p a rt o f t h i s m a n u a l m a y be r e p r o d u c e d i n any form or by.
Agilent 6000 Series Oscilloscopes Programmer’s Quick Start Guide 3 Programming the Osc illoscope—At a Glance Y ou can automat e 6000 Series oscilloscop e setup and data capture by running programs on a controller PC.
4 Agilent 6000 Series Oscilloscopes Programmer’s Quick Start Guide In This Book This Progr ammer’s Quick Start Guide is your introduction to programming the oscillo scope using an instr ument controller PC.
Agilent 6000 Series Oscilloscopes Programmer’s Quick Start Guide 5 Contents 1S e t t i n g U p Step 1. Install Agilent IO Libraries Suite software 8 Step 2. Connect and set up the oscilloscope 8 Using the USB (Device) Interface 9 Using the LAN Interface 9 Using the GPIB Interface 10 Step 3.
6 Agilent 6000 Series Oscilloscopes Programmer’s Quick Start Guide Reading Definite-Length Block Query Response Data 26 Sending Multiple Queries and Reading Results 27 Checking Instrument Status 27 .
7 Agilent 6000 Series Oscilloscopes Programmer’s Qu ick Start Guide Agilent T echnologies 1 Setting Up Step 1. Install Agil ent IO Libraries Suite software 8 Step 2. Connect and set up the oscilloscope 8 Step 3. V erify the oscilloscope connect ion 11 Step 4.
8 Agilent 6000 Series Oscilloscopes Programmer’s Quick Start Guide 1 Setting Up Step 1. Install Agilent IO Libraries Suite software Inser t th e Aut om at io n-R ea dy CD that was shipped wit h y our oscilloscope into t he controller PC’s CD-ROM driv e, and follo w its inst allation instr uctions.
Setting U p 1 Agilent 6000 Series Oscilloscopes Programmer’s Quick Start Guide 9 Using the USB (Device) Interface 1 Connect a USB cable from the con troller PC’s USB port t o the “USB DEVICE” port on the back of t he oscilloscope. This is a USB 2.
10 Agilent 6000 Series Oscilloscopes Programmer’s Quick Start Guide 1 Setting Up Using the GPIB Interface 1 Con nec t a GP IB c able fro m the cont rol ler PC’s GPIB inte r fa ce to th e “G PIB” port on t he back of t he oscilloscope. 2 On the osci lloscope, verify that t he controller inter face is enabled: a Press the Utility butt on.
Setting U p 1 Agilent 6000 Series Oscilloscopes Programmer’s Quick S tart Guide 11 Step 3. V erify the oscilloscope connection 1 On the controller PC, click on th e Agilent IO Control icon in the t askbar and choose A gilent Connection Expert from the popup menu.
12 Agilent 6000 Series Oscilloscopes Programmer’s Quick Start Guide 1 Setting Up Y ou must manually add instru ments on LAN int er faces: a Right-click on the L AN inter face, choose Add In s tr u m en t from t he popup menu, and click OK in the resulti ng dialog (because the desired inter face is already selected).
Setting U p 1 Agilent 6000 Series Oscilloscopes Programmer’s Quick S tart Guide 13 b In th e Agil ent Inter acti ve IO a ppli cati on, enter comm ands in th e Command fi eld and press Send Command , Read Response , or Send & Read . c Choose Connect>Exit fr om th e men u to e xit th e Agil ent I nter acti ve IO application.
14 Agilent 6000 Series Oscilloscopes Programmer’s Quick Start Guide 1 Setting Up Step 4. Access the Programmer’ s Reference The Pr og ram m er ’s Re fere nc e is supplied on CD as a help f ile readable with the Microsoft Windo ws help view er .
15 Agilent 6000 Series Oscilloscopes Programmer’s Qu ick Start Guide Agilent T echnologies 2 Getting Started Basic Oscilloscope Program Structure 16 Programming the Oscilloscope 18 This chapter gives y ou an ov erview of programming the 6000 Series oscilloscopes.
16 Agilent 6000 Series Oscilloscopes Programmer’s Quick Start Guide 2 Getting Started Basic Oscilloscope Program Structure The f ollowing figure shows the basic stru cture of ev er y program you will write for the oscilloscope.
Getting Started 2 Agilent 6000 Series Oscilloscopes Programmer’s Quick S tart Guide 17 Capturing Data Once yo u initialize the oscilloscope, you can be gin capturing data for anal ysis. Remember t hat while the osc illoscope is responding t o commands from the controller , it is not per forming acqu isitions.
18 Agilent 6000 Series Oscilloscopes Programmer’s Quick Start Guide 2 Getting Started Programming the Oscilloscope Referencing the IO Library No matter which instr ument programming libr ar y you use (SICL, VISA, or VISA COM), you mu st refe rence the librar y fr om your pr ogram.
Getting Started 2 Agilent 6000 Series Oscilloscopes Programmer’s Quick S tart Guide 19 Opening the Oscilloscope Conne ction via the IO Library PC controllers communicate with t he oscilloscope by sending and receiving messages o ver a remote inter face.
20 Agilent 6000 Series Oscilloscopes Programmer’s Quick Start Guide 2 Getting Started Initializing the Interface and the Oscill oscope T o make sure the bus and all appropriate interfaces are in a known state, begin ev er y program wit h an initialization statement.
Getting Started 2 Agilent 6000 Series Oscilloscopes Programmer’s Quick S tart Guide 21 Using Other Oscillosc ope Setup Commands A typical oscilloscope setup would set the vertical range and of fset voltage, the horizontal ra nge, dela y ti me, delay ref erence, trigge r mode, trigger lev el, and slope.
22 Agilent 6000 Series Oscilloscopes Programmer’s Quick Start Guide 2 Getting Started Capturing Data with the :DIGitize Command The :DIGitize comm and captures dat a that meets t he specif ications set up by the :A CQuire subsystem. When the digitize process is com plete, the acquisition is stopped.
Getting Started 2 Agilent 6000 Series Oscilloscopes Programmer’s Quick S tart Guide 23 The f ollowing pr og ram exampl e shows a typical setup: myScope.WriteString ":ACQUIRE:TYPE AVERAGE" myScope.WriteString ":ACQUIRE:COMPLETE 100" myScope.
24 Agilent 6000 Series Oscilloscopes Programmer’s Quick Start Guide 2 Getting Started Reading Query Responses from the Oscilloscope Aft er receiving a que r y (command header follo w ed by a question mark), the in strume nt in terr ogate s the r eque sted func tion and plac es the answ er in i ts output queue.
Getting Started 2 Agilent 6000 Series Oscilloscopes Programmer’s Quick S tart Guide 25 Reading Query Results in to String V ariab les The output of th e instrument may be nu meric or charact er dat a depending on what is queried.
26 Agilent 6000 Series Oscilloscopes Programmer’s Quick Start Guide 2 Getting Started Reading Definite-Length Bl ock Query Response Data Definite-lengt h block query response dat a allo ws any type .
Getting Started 2 Agilent 6000 Series Oscilloscopes Programmer’s Quick S tart Guide 27 Sending Multiple Queries and Reading Results Y ou can send multiple queries to t h e instrument wit hin a single command string, but you must also read them back as a single quer y result.
28 Agilent 6000 Series Oscilloscopes Programmer’s Quick Start Guide 2 Getting Started Other W ays of Sending Commands Standard Commands for Programmable Instrument ation (SCPI) can be sent via a T elnet socket or through the Bro wser W eb Control.
Agilent 6000 Series Oscilloscopes Programmer’s Quick S tart Guide 29 Index Numerics 82350A GPIB inte rface , 4 A ACQuire subsystem , 22 Addresses softkey , 9 Agilent Connecti on Expert , 11 Agilent .
30 Agilent 6000 Series Oscilloscopes Programmer’s Quick Start Guide Index ReadString method , 19 , 24 resource session object , 20 ResourceManager object , 19 S sample programs , 14 SCPI commands , .
Agilent 6000 Series Oscilloscopes Programmer’s Quick S tart Guide 31 Index.
32 Agilent 6000 Series Oscilloscopes Programmer’s Quick Start Guide Index ..
An important point after buying a device Agilent Technologies 6000 Series (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought Agilent Technologies 6000 Series yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data Agilent Technologies 6000 Series - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Agilent Technologies 6000 Series you will learn all the available features of the product, as well as information on its operation. The information that you get Agilent Technologies 6000 Series will certainly help you make a decision on the purchase.
If you already are a holder of Agilent Technologies 6000 Series, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime Agilent Technologies 6000 Series.
However, one of the most important roles played by the user manual is to help in solving problems with Agilent Technologies 6000 Series. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Agilent Technologies 6000 Series along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center