Manuale d’uso / di manutenzione del prodotto 6000 Series del fabbricante Agilent Technologies
Vai alla 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 ..
Un punto importante, dopo l’acquisto del dispositivo (o anche prima di acquisto) è quello di leggere il manuale. Dobbiamo farlo per diversi motivi semplici:
Se non hai ancora comprato il Agilent Technologies 6000 Series è un buon momento per familiarizzare con i dati di base del prodotto. Prime consultare le pagine iniziali del manuale d’uso, che si trova al di sopra. Dovresti trovare lì i dati tecnici più importanti del Agilent Technologies 6000 Series - in questo modo è possibile verificare se l’apparecchio soddisfa le tue esigenze. Esplorando le pagine segenti del manuali d’uso Agilent Technologies 6000 Series imparerai tutte le caratteristiche del prodotto e le informazioni sul suo funzionamento. Le informazioni sul Agilent Technologies 6000 Series ti aiuteranno sicuramente a prendere una decisione relativa all’acquisto.
In una situazione in cui hai già il Agilent Technologies 6000 Series, ma non hai ancora letto il manuale d’uso, dovresti farlo per le ragioni sopra descritte. Saprai quindi se hai correttamente usato le funzioni disponibili, e se hai commesso errori che possono ridurre la durata di vita del Agilent Technologies 6000 Series.
Tuttavia, uno dei ruoli più importanti per l’utente svolti dal manuale d’uso è quello di aiutare a risolvere i problemi con il Agilent Technologies 6000 Series. Quasi sempre, ci troverai Troubleshooting, cioè i guasti più frequenti e malfunzionamenti del dispositivo Agilent Technologies 6000 Series insieme con le istruzioni su come risolverli. Anche se non si riesci a risolvere il problema, il manuale d’uso ti mostrerà il percorso di ulteriori procedimenti – il contatto con il centro servizio clienti o il servizio più vicino.