Gebruiksaanwijzing /service van het product 6000 Series van de fabrikant Agilent Technologies
Ga naar pagina 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 ..
Een belangrijk punt na aankoop van elk apparaat Agilent Technologies 6000 Series (of zelfs voordat je het koopt) is om de handleiding te lezen. Dit moeten wij doen vanwege een paar simpele redenen:
Als u nog geen Agilent Technologies 6000 Series heb gekocht dan nu is een goed moment om kennis te maken met de basisgegevens van het product. Eerst kijk dan naar de eerste pagina\'s van de handleiding, die je hierboven vindt. Je moet daar de belangrijkste technische gegevens Agilent Technologies 6000 Series vinden. Op dit manier kan je controleren of het apparaat aan jouw behoeften voldoet. Op de volgende pagina's van de handleiding Agilent Technologies 6000 Series leer je over alle kenmerken van het product en krijg je informatie over de werking. De informatie die je over Agilent Technologies 6000 Series krijgt, zal je zeker helpen om een besluit over de aankoop te nemen.
In een situatie waarin je al een beziter van Agilent Technologies 6000 Series bent, maar toch heb je de instructies niet gelezen, moet je het doen voor de hierboven beschreven redenen. Je zult dan weten of je goed de alle beschikbare functies heb gebruikt, en of je fouten heb gemaakt die het leven van de Agilent Technologies 6000 Series kunnen verkorten.
Maar de belangrijkste taak van de handleiding is om de gebruiker bij het oplossen van problemen te helpen met Agilent Technologies 6000 Series . Bijna altijd, zal je daar het vinden Troubleshooting met de meest voorkomende storingen en defecten #MANUAl# samen met de instructies over hun opplosinge. Zelfs als je zelf niet kan om het probleem op te lossen, zal de instructie je de weg wijzen naar verdere andere procedure, bijv. door contact met de klantenservice of het dichtstbijzijnde servicecentrum.