National InstrumentsメーカーMeasurement Studioの使用説明書/サービス説明書
ページ先へ移動 of 66
Measurement Studio TM User Manual Measurement Studio User Manual Measurement Studio User Manual July 2004 Edition Part Number 3233 92B-01.
Worldwide Technical Support and Product Info rmation ni.com National Instruments Corporate Headquarters 11500 North Mopac Expressway Aust in, Texas 78759-3504 USA Tel: 512 683 0100 Worldwide Offices A.
Important Information Warranty The media on which you receive Natio nal In struments software are warranted not t o fail to execute pr ogramming instructions, due to defects in materials and workmanship, for a period of 90 days from date of shipment, as eviden ced by receipt s or other documentation.
© National Instruments Corporatio n v Measurement Studio User Manual Contents About This Manual How to Use this Manual .... .............. ............ .............. ........... .............. ........... .............. .. vii Conventions ..........
Contents Measurement Studio User Manual vi ni.com Analysis ............. ............ .............. ........... .............. ........... ............ .............. ........... ....... .. 3-3 Standard Analysis ......... ........... .............. .
© National Instruments Corporation v ii Measurement Studio User Manual About This Manual The Measurement Studio User Manual introduces the concepts associated with the Measurement Studio class li braries and de velopment tools. This manual assumes that you hav e a general working knowledge of Microsoft V isual Studio .
About This Manual Measurement Studio User Manual viii ni.com Conventions The following con ventions appear in this manual: » The » symbol leads you through nested menu items and dial og box options to a final action.
© National Instruments Corporation 1 -1 Measurement Studio User Manual 1 Introduction to Measurement Studio Measurement Studio is an integrated su ite of native tools and class libraries that are designed fo r developers usi ng Visual Basic .NET, Visual C#, and Visual C++ .
Chapter 1 Introduction to M easurement Studio Measurement Studio User Manual 1-2 ni.com Distribution Requirements To distribute an application buil t with Measuremen t Studio .NET class libraries, the target computer must have a Windows 2000 /XP operating system and the .
Chapter 1 Introduction to Measurement Studio © National Instruments Corporation 1 -3 Measurement Studio User Manual 3. Enter the serial number . Y ou can find your serial number on the Certificate of Ownership card that you recei ved with Measurement Studio.
Chapter 1 Introduction to M easurement Studio Measurement Studio User Manual 1-4 ni.com Measurement Studio Package Comparison Chart Table 1-1 lists the features included in the Standard , Professional, and Enterprise Editions of Measurement Studio. Table 1-1.
Chapter 1 Introduction to Measurement Studio © National Instruments Corporation 1 -5 Measurement Studio User Manual Measurement Studio Resources As you work with Measurement Studio, you migh t need to consult other resources.
Chapter 1 Introduction to M easurement Studio Measurement Studio User Manual 1-6 ni.com If you hav e not pre viously installed Measurement Studio fo r W indo ws 2000/XP , V ersion 7.0, the example programs are installed to the following directory: – V isual Basic .
© National Instruments Corporation 2 -1 Measurement Studio User Manual 2 Measurement Studio .NET Class Libraries This chapter provides o vervie w inform ation about the .NET class libraries included with Measurement Studio. Refer to the Using the Measurement Studio .
Chapter 2 M easurement Studio .NET Class Libr aries Measurement Studio User Manual 2-2 ni.com Analysis The Measurement Studio Analysis .NET class library is in the NationalInstruments.
Chapter 2 Measurement Studio .NET Class Libraries © National Instruments Corporation 2 -3 Measurement Studio User Manual Enterprise Analysis The Enterprise Analysis class library, which ships with Me.
Chapter 2 M easurement Studio .NET Class Libr aries Measurement Studio User Manual 2-4 ni.com NI-488.2 The Measurement Studio NI-488.2 .NET class librar y is in the NationalInstruments.NI4882 namespace. This class libr ary is included on the Device Driver s CD.
Chapter 2 Measurement Studio .NET Class Libraries © National Instruments Corporation 2 -5 Measurement Studio User Manual NI-VISA The Measurement Studio NI-VISA .
Chapter 2 M easurement Studio .NET Class Libr aries Measurement Studio User Manual 2-6 ni.com • Thermometer •T a n k • Numeric edit • Switch •L E D Use this class library to add measur ement-specif ic user interface controls to your application.
Chapter 2 Measurement Studio .NET Class Libraries © National Instruments Corporation 2 -7 Measurement Studio User Manual Figure 2-1. Waveform Graph with Cursors and Scatter Graph with XY Point Annota.
Chapter 2 M easurement Studio .NET Class Libr aries Measurement Studio User Manual 2-8 ni.com • Use cursor labels to display X and Y data coordinates that the cursor crosshair points to, and customize the text font and colors of the label.
Chapter 2 Measurement Studio .NET Class Libraries © National Instruments Corporation 2 -9 Measurement Studio User Manual Numeric Controls Use the Measurement Studio numeric controls to display numerical information on a Windows Forms user interface with the look of scientific instruments.
Chapter 2 M easurement Studio .NET Class Libr aries Measurement Studio User Manual 2-10 ni.com Figure 2-3. Slide, T ank, and The rmometer Controls W ith the slide, tank, and thermometer controls and the cla sses that interface with them, you can perform the fo llo wing operations: • Fill the minimum or maxim um value of the scale.
Chapter 2 Measurement Studio .NET Class Libraries © National Instruments Corporation 2 -11 Measurement Studio User Manual Numeric Edit Control Use the Measurement Studio numeric edit control, as shown in Figure 2-4, to display numeric values an d to provide a way by w hich end users can edit numeric values.
Chapter 2 M easurement Studio .NET Class Libr aries Measurement Studio User Manual 2-12 ni.com Switch and LED Controls Use the Measurement Studio switch an d LED control s as Boolean controls on a Windows Forms user interface.
© National Instruments Corporation 3 -1 Measurement Studio User Manual 3 Measurement Studio Visual C++ Class Libraries This chapter provides ov ervie w info rmation about the V isual C++ class libraries that are av ailable with Measurement Studio.
Chapter 3 M easurement Studio Visual C++ Class Libraries Measurement Studio User Manual 3-2 ni.com ActiveX Controls in Visual C++ Activ eX controls are specialized COM serv ers that implement a specific set of interfaces. The Measurement Studio V isual C++ button, graph, knob, numeric edit, slide, and 3D Graph are Activ eX controls.
Chapter 3 M easurement Studio Visual C++ Class Libr aries © National Instruments Corporation 3 -3 Measurement Studio User Manual • Bind the control to a DataSock et Se rver to enable au tomatic read and write functionality .
Chapter 3 M easurement Studio Visual C++ Class Libraries Measurement Studio User Manual 3-4 ni.com Professional Analysis The Professional Analysis class libr ary, which ships with Measurement Studio P.
Chapter 3 M easurement Studio Visual C++ Class Libr aries © National Instruments Corporation 3 -5 Measurement Studio User Manual Common The Measurement Studio Common Visual C++ class library provides data types and classes that other Measurem ent Studio Visual C++ class libraries use.
Chapter 3 M easurement Studio Visual C++ Class Libraries Measurement Studio User Manual 3-6 ni.com IVI driv ers are di vided into two main categories— class driv ers and specif ic dri vers. Each class dri ver provides a co nsistent interface to a particular type of de vice.
Chapter 3 M easurement Studio Visual C++ Class Libr aries © National Instruments Corporation 3 -7 Measurement Studio User Manual Tip For more information on using the LabVIEW Real-T ime Module, refer to the LabVIEW Real-Time Interface Visual C ++ Class Library Overview topic in the NI Measurement Studio Help .
Chapter 3 M easurement Studio Visual C++ Class Libraries Measurement Studio User Manual 3-8 ni.com NI-488.2 Use the Measurement Studio NI-488.2 Visual C++ class library to communicate with and control in struments on a GPIB interface.
Chapter 3 M easurement Studio Visual C++ Class Libr aries © National Instruments Corporation 3 -9 Measurement Studio User Manual NI-Reports Use the Measurement Studio NI-Repor ts Visual C++ class library to generate printed reports from Measurement Studio Visual C++ applications.
Chapter 3 M easurement Studio Visual C++ Class Libraries Measurement Studio User Manual 3-10 ni.com User Interface Use the Measurement Studio User Inte rface Visual C++ class library to add user interface controls to your app lication.
Chapter 3 M easurement Studio Visual C++ Class Libr aries © National Instruments Corporation 3 -11 Measurement Studio User Manual Graph Control Use the Measurement Studio ActiveX graph control, as shown in Figure 3-3, to plot and chart two -dimensional data.
Chapter 3 M easurement Studio Visual C++ Class Libraries Measurement Studio User Manual 3-12 ni.com • Bind properties to a DataSocket source or target.
Chapter 3 M easurement Studio Visual C++ Class Libr aries © National Instruments Corporation 3 -13 Measurement Studio User Manual Numeric Edit Control Use the Measurement Studio ActiveX numeric edit cont rol, as shown in Figure 3-5, to display nu meric values and provide a way by which end users can edit numeric values.
Chapter 3 M easurement Studio Visual C++ Class Libraries Measurement Studio User Manual 3-14 ni.com Slide Control Use the Measurement Studio Active X slide control, as shown in Figure 3-6, to displ ay numerical dat a. CNiSlide is the class that provides the Visual C++ interface to the ActiveX slide control.
Chapter 3 M easurement Studio Visual C++ Class Libr aries © National Instruments Corporation 3 -15 Measurement Studio User Manual Utility Use the Measurement Stud io Utility Visual C++ class library to easily access Windows operating system function ality.
Chapter 3 M easurement Studio Visual C++ Class Libraries Measurement Studio User Manual 3-16 ni.com Tip For more information about using the Utility class library, refer to the Utility Visual C ++ Class Library Overview topic in the NI Measuremen t Studi o Help .
© National Instruments Corporation 4 -1 Measurement Studio User Manual 4 Developing with Measurement Studio When you use Measurement Studi o in the Visual Studio .NET environment, you have access to measurement an d automation tools and features for Visual Basi c .
Chapter 4 D eveloping with Measurement Studio Measurement Studio User Manual 4-2 ni.com • Add/Remove Class Libraries Wizard —U se the Measurement Studio Add/Remove Class Libraries wizard to add or remove Measurement Studio class libraries or assemblies in existing V isual Basic .
Chapter 4 Developing wi th Measurement S tudio © National Instruments Corporation 4 -3 Measurement Studio User Manual • Preferences —Use the Measurement Studio Preferences dialog box to configure Measurement Studio settings, such as con version options and add-in preferences.
Chapter 4 D eveloping with Measurement Studio Measurement Studio User Manual 4-4 ni.com Figure 4-1. New Project Dialog Box Tip For more information about using project templates to create a ne w Measurement Studio project, refer to the Creating a New Measurement Studio Project section in the NI Measurement Studio Help .
Chapter 4 Developing wi th Measurement S tudio © National Instruments Corporation 4 -5 Measurement Studio User Manual The D A Q Assistant interacti vely assi sts you in performing the following operations: • Creating a D A Q task class • Configuring a D A Q task class • Generating a Visual Basic .
Chapter 4 D eveloping with Measurement Studio Measurement Studio User Manual 4-6 ni.com Creating an NI-DAQ mx User Control Y ou can create an NI-DA Qmx .NET user control with Measurement Studio that provides a default graphical user interface to an NI-D A Qmx task.
Chapter 4 Developing wi th Measurement S tudio © National Instruments Corporation 4 -7 Measurement Studio User Manual Figure 4-3. Instrument I/O Assist ant The Instrument I/O Assistant aids you in pe.
Chapter 4 D eveloping with Measurement Studio Measurement Studio User Manual 4-8 ni.com Adding or Removing Measurement Studio Class Libraries To add or remove Measurement St udio class libraries from a pro ject, use the Measurement Studio Add/Remove Class Libraries wizard on the Measurement Studio menu.
Chapter 4 Developing wi th Measurement S tudio © National Instruments Corporation 4 -9 Measurement Studio User Manual Selecting a Measurement Studio Parameter V alue To access I/O devices or resources, y ou must specify string constants or scalar values for many method para meters and property values.
Chapter 4 D eveloping with Measurement Studio Measurement Studio User Manual 4-10 ni.com Calling Instrument Drivers from .NET Languages To use an IVI or VXI plug&play instrum ent driver with a C DLL in a Measurement Studio .NET application, use the Measurement Studio .
© National Instruments Corporation A -1 Measurement Studio User Manual A T echnical Support and Professional Ser vices Visit the following sections of the National Instruments Web site at ni.com for technical support an d professional services: • Support —Online technical support resources at ni.
© National Instruments Corporation G -1 Measurement Studio User Manual Glossar y A Acti veX Set of Microsoft technologies for reusable software compon ents. Formerly called OLE . Acti veX control Reusable software component that adds functionality t o any Acti veX control container through exposed properties, methods, and events.
Glossary Measurement Studio User Manual G-2 ni.com B button A control used to input or display bo olean information or to initiate an action in a program. C channel 1. Physical—a terminal or pin at which you can measure or generat e an analog or digital signal.
Glossary © National Instruments Corporation G -3 Measurement Studio User Manual context-sensiti ve help Help for dialog boxes, the controls in dialog boxes, and keywords in source code that you can access w ith the <F1> key or a Help button, or by clicking the link that appears in the Dynamic Help wi ndo w in V isual Studio .
Glossary Measurement Studio User Manual G-4 ni.com distribution Ability to install programs you dev elop with Measurement Studio to others working on dif ferent computers. DLL Dynamic Link Library . A library of functions that link to a program an d load at run time rather than bein g compiled into the program.
Glossary © National Instruments Corporation G -5 Measurement Studio User Manual G gauge A control used to input or display numerical data. GPIB General Purpose Interf ace Bus. The standard b us used for controlling electronic instruments with a computer .
Glossary Measurement Studio User Manual G-6 ni.com interface Connection between one or more of the following: hardware, software, and the user . For example, hardware interfaces connect tw o other pieces of hardware. IVI Interchangeable V irtual Instruments.
Glossary © National Instruments Corporation G -7 Measurement Studio User Manual Measurement & Automation Expl orer (MAX) National Instruments tool for con figuring your National Instrumen ts hard.
Glossary Measurement Studio User Manual G-8 ni.com numeric edit cont rol A control used t o display and edit numeric values. O OCX OLE Control eXtension. Another name for Activ eX controls, reflected by the .ocx file e xtension of Acti veX control files.
Glossary © National Instruments Corporation G -9 Measurement Studio User Manual property pages W indo w or dialog box that disp lay s current configuration information and allows users to modify the configuration. PXI PC I eXtensions for Instrumentation.
Glossary Measurement Studio User Manual G-10 ni.com T tank A control used to input or display numerical data. task NI-DA Qmx—a set of channels and the channel configurations, timing, and triggering, and other details that define a measurement or generation you want to perform.
© National Instruments Corporation I -1 Measurement Studio User Manual Index A ActiveX controls in Visual C++, 3-2 Add/Remove Class Libraries wizard, 4-8 adding or removing Measurement Studi o class libraries, 4-8 Analysis .
Index Measurement Studio User Manual I-2 ni.com I installation optional, 1-1 procedure, 1-2 requirements, 1-1 instrument driver wizard, .NET, 4-10 instrument drivers (NI resources), A-1 Instrument Dr ivers Visu al C++ class library, 3-5 Instrument I/O Assistant, 4-6 K knob .
Index © National Instruments Corporation I -3 Measurement Studio User Manual O overview Measurement Studio, 1-1 .NET class libraries, 2-1 Visual C++ class libraries, 3-1 P Parameter Assistant, 4-9 pr.
Index Measurement Studio User Manual I-4 ni.com NI-DAQmx, 3-8 NI-Reports, 3-9 NI-VISA, 3-9 overview, 3-1 User Interface, 3-10 Utility, 3-15 W waveform graph control, 2-6 Web resources, A-1 Windows For.
デバイスNational Instruments Measurement Studioの購入後に(又は購入する前であっても)重要なポイントは、説明書をよく読むことです。その単純な理由はいくつかあります:
National Instruments Measurement Studioをまだ購入していないなら、この製品の基本情報を理解する良い機会です。まずは上にある説明書の最初のページをご覧ください。そこにはNational Instruments Measurement Studioの技術情報の概要が記載されているはずです。デバイスがあなたのニーズを満たすかどうかは、ここで確認しましょう。National Instruments Measurement Studioの取扱説明書の次のページをよく読むことにより、製品の全機能やその取り扱いに関する情報を知ることができます。National Instruments Measurement Studioで得られた情報は、きっとあなたの購入の決断を手助けしてくれることでしょう。
National Instruments Measurement Studioを既にお持ちだが、まだ読んでいない場合は、上記の理由によりそれを行うべきです。そうすることにより機能を適切に使用しているか、又はNational Instruments Measurement Studioの不適切な取り扱いによりその寿命を短くする危険を犯していないかどうかを知ることができます。
ですが、ユーザガイドが果たす重要な役割の一つは、National Instruments Measurement Studioに関する問題の解決を支援することです。そこにはほとんどの場合、トラブルシューティング、すなわちNational Instruments Measurement Studioデバイスで最もよく起こりうる故障・不良とそれらの対処法についてのアドバイスを見つけることができるはずです。たとえ問題を解決できなかった場合でも、説明書にはカスタマー・サービスセンター又は最寄りのサービスセンターへの問い合わせ先等、次の対処法についての指示があるはずです。