Manuel d'utilisation / d'entretien du produit 6000 Series du fabricant Agilent Technologies
Aller à la 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 ..
Un point important après l'achat de l'appareil (ou même avant l'achat) est de lire le manuel d'utilisation. Nous devons le faire pour quelques raisons simples:
Si vous n'avez pas encore acheté Agilent Technologies 6000 Series c'est un bon moment pour vous familiariser avec les données de base sur le produit. Consulter d'abord les pages initiales du manuel d'utilisation, que vous trouverez ci-dessus. Vous devriez y trouver les données techniques les plus importants du Agilent Technologies 6000 Series - de cette manière, vous pouvez vérifier si l'équipement répond à vos besoins. Explorant les pages suivantes du manuel d'utilisation Agilent Technologies 6000 Series, vous apprendrez toutes les caractéristiques du produit et des informations sur son fonctionnement. Les informations sur le Agilent Technologies 6000 Series va certainement vous aider à prendre une décision concernant l'achat.
Dans une situation où vous avez déjà le Agilent Technologies 6000 Series, mais vous avez pas encore lu le manuel d'utilisation, vous devez le faire pour les raisons décrites ci-dessus,. Vous saurez alors si vous avez correctement utilisé les fonctions disponibles, et si vous avez commis des erreurs qui peuvent réduire la durée de vie du Agilent Technologies 6000 Series.
Cependant, l'un des rôles les plus importants pour l'utilisateur joués par les manuels d'utilisateur est d'aider à résoudre les problèmes concernant le Agilent Technologies 6000 Series. Presque toujours, vous y trouverez Troubleshooting, soit les pannes et les défaillances les plus fréquentes de l'apparei Agilent Technologies 6000 Series ainsi que les instructions sur la façon de les résoudre. Même si vous ne parvenez pas à résoudre le problème, le manuel d‘utilisation va vous montrer le chemin d'une nouvelle procédure – le contact avec le centre de service à la clientèle ou le service le plus proche.