Inhaltszusammenfassung zur Seite Nr. 1
TM
Measurement Studio
User Manual
Measurement Studio User Manual
Measurement Studio User Manual
July 2004 Edition
Part Number 323392B-01
Inhaltszusammenfassung zur Seite Nr. 2
Worldwide Technical Support and Product Information ni.com National Instruments Corporate Headquarters 11500 North Mopac Expressway Austin, Texas 78759-3504 USA Tel: 512 683 0100 Worldwide Offices Australia 1800 300 800, Austria 43 0 662 45 79 90 0, Belgium 32 0 2 757 00 20, Brazil 55 11 3262 3599, Canada (Calgary) 403 274 9391, Canada (Ottawa) 613 233 5949, Canada (Québec) 450 510 3055, Canada (Toronto) 905 785 0085, Canada (Vancouver) 514 685 7530, China 86 21 6555 7838, Czech Republic 420
Inhaltszusammenfassung zur Seite Nr. 3
Important Information Warranty The media on which you receive National Instruments software are warranted not to fail to execute programming instructions, due to defects in materials and workmanship, for a period of 90 days from date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace software media that do not execute programming instructions if National Instruments receives notice of such defects during the warranty per
Inhaltszusammenfassung zur Seite Nr. 4
Contents About This Manual How to Use this Manual ................................................................................................vii Conventions ...................................................................................................................viii Chapter 1 Introduction to Measurement Studio Installation Requirements ..............................................................................................1-1 Distribution Requirements........................
Inhaltszusammenfassung zur Seite Nr. 5
Contents Analysis ......................................................................................................................... 3-3 Standard Analysis ........................................................................................... 3-3 Professional Analysis...................................................................................... 3-4 Enterprise Analysis ......................................................................................... 3-4 Common .........
Inhaltszusammenfassung zur Seite Nr. 6
About This Manual The Measurement Studio User Manual introduces the concepts associated with the Measurement Studio class libraries and development tools. This manual assumes that you have a general working knowledge of Microsoft Visual Studio .NET, including Microsoft Visual Basic .NET, Microsoft Visual C#, or Microsoft Visual C++. How to Use this Manual Measurement Studio 7.1 includes two CDs—one with support for Visual Studio .NET 2003 and one with support for Visual Studio 6.0. This man
Inhaltszusammenfassung zur Seite Nr. 7
About This Manual Conventions The following conventions appear in this manual: » The » symbol leads you through nested menu items and dialog box options to a final action. The sequence File»Page Setup»Options directs you to pull down the File menu, select the Page Setup item, and select Options from the last dialog box. This icon denotes a tip, which alerts you to advisory information. This icon denotes a note, which alerts you to important information. bold Bold text denotes items that you m
Inhaltszusammenfassung zur Seite Nr. 8
1 Introduction to Measurement Studio Measurement Studio is an integrated suite of native tools and class libraries that are designed for developers using Visual Basic .NET, Visual C#, and Visual C++ .NET to develop measurement and automation applications. Measurement Studio dramatically reduces application development time through object-oriented measurement hardware interfaces, advanced analysis libraries, scientific user interface controls, measurement data networking, wizards, interact
Inhaltszusammenfassung zur Seite Nr. 9
Chapter 1 Introduction to Measurement Studio Distribution Requirements To distribute an application built with Measurement Studio .NET class libraries, the target computer must have a Windows 2000/XP operating system and the .NET Framework version 1.1. To distribute an application built with Measurement Studio Visual C++ class libraries, the target computer must have a Windows 2000/XP operating system. Installation Instructions Complete the following steps to install Measurement Studio. Th
Inhaltszusammenfassung zur Seite Nr. 10
Chapter 1 Introduction to Measurement Studio 3. Enter the serial number. You can find your serial number on the Certificate of Ownership card that you received with Measurement Studio. Click Next. 4. Click Next to install all NI software to the default installation directory, or click Browse to select a different installation directory. You must install Measurement Studio to a local drive. Click Next. Note The option to browse for an installation location is valid only if you have not alrea
Inhaltszusammenfassung zur Seite Nr. 11
Chapter 1 Introduction to Measurement Studio 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. Measurement Studio Package Comparison Chart Standard Professional Enterprise Feature Edition Edition Edition Project Templates ✓ ✓ ✓ User Interface Controls ✓ ✓ ✓ 1 GPIB Interfaces ✓ ✓ ✓ 1 VISA Interfaces ✓ ✓ ✓ 1 NI-DAQmx Interfaces ✓ ✓ ✓ C++ LabVIEW Real-Time Connectivity ✓ ✓ ✓ 2
Inhaltszusammenfassung zur Seite Nr. 12
Chapter 1 Introduction to Measurement Studio Measurement Studio Resources As you work with Measurement Studio, you might need to consult other resources. For detailed Measurement Studio help, including function reference and in-depth documentation on developing with Measurement Studio, refer to the NI Measurement Studio Help within the Visual Studio .NET environment. The NI Measurement Studio Help is fully integrated with the Visual Studio .NET help. You must have Visual Studio .NET instal
Inhaltszusammenfassung zur Seite Nr. 13
Chapter 1 Introduction to Measurement Studio If you have not previously installed Measurement Studio for Windows 2000/XP, Version 7.0, the example programs are installed to the following directory: – Visual Basic .NET or Visual C#—Program Files\National Instruments\MeasurementStudioVS2003\DotNET\ Examples – Visual C++ .NET—Program Files\National Instruments\MeasurementStudioVS2003\VCNET\ Examples NI Technical Support—Refer to Appendix A, Technical Support and Professional Services, for mo
Inhaltszusammenfassung zur Seite Nr. 14
2 Measurement Studio .NET Class Libraries This chapter provides overview information about the .NET class libraries included with Measurement Studio. Refer to the Using the Measurement Studio .NET Class Libraries section of the NI Measurement Studio Help for detailed information about these libraries. Measurement Studio .NET Class Libraries Overview Measurement Studio provides .NET class libraries that you can use to develop complete measurement and automation applications in Visual Basic
Inhaltszusammenfassung zur Seite Nr. 15
Chapter 2 Measurement Studio .NET Class Libraries Analysis The Measurement Studio Analysis .NET class library is in the NationalInstruments.Analysis namespace. The Analysis class library includes a set of classes that provides various digital signal processing, signal filtering, signal generation, peak detection, and other general mathematical functionality. Use this library to analyze acquired data or to generate data. The functionality included in the Analysis library varies based on the
Inhaltszusammenfassung zur Seite Nr. 16
Chapter 2 Measurement Studio .NET Class Libraries Enterprise Analysis The Enterprise Analysis class library, which ships with Measurement Studio Enterprise Edition, includes the Standard and Professional Analysis functionality as well as the following advanced functionality: EquiRipple filters Linear algebra functions such as forward and back substitution, LU factorization, and Cholesky factorization Probability and analysis of variance Sinc, impulse, pulse, ramp, and chirp patterns
Inhaltszusammenfassung zur Seite Nr. 17
Chapter 2 Measurement Studio .NET Class Libraries NI-488.2 The Measurement Studio NI-488.2 .NET class library is in the NationalInstruments.NI4882 namespace. This class library is included on the Device Drivers CD. The NI-488.2 class library includes a set of classes that communicates with GPIB instruments, controls GPIB boards, and acquires GPIB status information. Use this library to design code that communicates with and controls instruments on a GPIB interface. Use the classes in the N
Inhaltszusammenfassung zur Seite Nr. 18
Chapter 2 Measurement Studio .NET Class Libraries NI-VISA The Measurement Studio NI-VISA .NET class library is in the NationalInstruments.VisaNS namespace. The NI-VISA class library includes a set of classes that provides a rich, object-oriented interface to the NI-VISA driver. Use this library to quickly create bus-independent and/or bus-specific instrument control applications. The NI-VISA class library supports I/O operations, locking, event handling, and interface-specific extensions.
Inhaltszusammenfassung zur Seite Nr. 19
Chapter 2 Measurement Studio .NET Class Libraries Thermometer Tank Numeric edit Switch LED Use this class library to add measurement-specific user interface controls to your application. Configure the controls programmatically or through the Properties window in the Windows Forms Designer. The following sections describe each of the Measurement Studio user interface controls. Tip For more information about easily using the .NET interface controls, refer to the Using the Measurement S
Inhaltszusammenfassung zur Seite Nr. 20
Chapter 2 Measurement Studio .NET Class Libraries Figure 2-1. Waveform Graph with Cursors and Scatter Graph with XY Point Annotation; Both Graphs Have Corresponding Legends With the waveform graph and scatter graph controls and the classes that interface with the controls, you can perform the following operations: Plot and chart data. Configure a graph to contain multiple plots to show separate but related data on the same graph. Configure a graph to include multiple axes or independe