Agilent Technologiesメーカー6000 Seriesの使用説明書/サービス説明書
ページ先へ移動 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 ..
デバイスAgilent Technologies 6000 Seriesの購入後に(又は購入する前であっても)重要なポイントは、説明書をよく読むことです。その単純な理由はいくつかあります:
Agilent Technologies 6000 Seriesをまだ購入していないなら、この製品の基本情報を理解する良い機会です。まずは上にある説明書の最初のページをご覧ください。そこにはAgilent Technologies 6000 Seriesの技術情報の概要が記載されているはずです。デバイスがあなたのニーズを満たすかどうかは、ここで確認しましょう。Agilent Technologies 6000 Seriesの取扱説明書の次のページをよく読むことにより、製品の全機能やその取り扱いに関する情報を知ることができます。Agilent Technologies 6000 Seriesで得られた情報は、きっとあなたの購入の決断を手助けしてくれることでしょう。
Agilent Technologies 6000 Seriesを既にお持ちだが、まだ読んでいない場合は、上記の理由によりそれを行うべきです。そうすることにより機能を適切に使用しているか、又はAgilent Technologies 6000 Seriesの不適切な取り扱いによりその寿命を短くする危険を犯していないかどうかを知ることができます。
ですが、ユーザガイドが果たす重要な役割の一つは、Agilent Technologies 6000 Seriesに関する問題の解決を支援することです。そこにはほとんどの場合、トラブルシューティング、すなわちAgilent Technologies 6000 Seriesデバイスで最もよく起こりうる故障・不良とそれらの対処法についてのアドバイスを見つけることができるはずです。たとえ問題を解決できなかった場合でも、説明書にはカスタマー・サービスセンター又は最寄りのサービスセンターへの問い合わせ先等、次の対処法についての指示があるはずです。