Содержание Measurement Studio

Страница 1: ...Measurement Studio TM User Manual Measurement Studio User Manual Measurement Studio User Manual July 2004 Edition Part Number 323392B 01...

Страница 2: ...31 30 Greece 30 2 10 42 96 427 India 91 80 51190000 Israel 972 0 3 6393737 Italy 39 02 413091 Japan 81 3 5472 2970 Korea 82 02 3451 3400 Malaysia 603 9131 0918 Mexico 001 800 010 0793 Netherlands 31...

Страница 3: ...ublication may not be reproduced or transmitted in any form electronic or mechanical including photocopying recording storing in an information retrieval system or translating in whole or in part with...

Страница 4: ...pter 2 Measurement Studio NET Class Libraries Measurement Studio NET Class Libraries Overview 2 1 Analysis 2 2 Standard Analysis 2 2 Professional Analysis 2 2 Enterprise Analysis 2 3 Common 2 3 NI 488...

Страница 5: ...b Control 3 12 Numeric Edit Control 3 13 Slide Control 3 14 Utility 3 15 Chapter 4 Developing with Measurement Studio Measurement Studio Menu 4 1 Creating a New Measurement Studio Project 4 3 Creating...

Страница 6: ...for Visual Studio 6 0 CD The Measurement Studio User Manual is organized into four chapters Chapter 1 Introduction to Measurement Studio is an overview of Measurement Studio This chapter includes ins...

Страница 7: ...notes a note which alerts you to important information bold Bold text denotes items that you must select or click in the software such as menu items and dialog box options italic Italic text denotes v...

Страница 8: ...s data acquisition analysis and presentation functionalities Installation Requirements To install Measurement Studio your computer must have the following Microsoft Windows 2000 XP operating system Mi...

Страница 9: ...tudio 6 0 CD If you install Measurement Studio 7 1 on a machine that has Measurement Studio 7 0 installed the installer will replace Measurement Studio 7 0 functionality including class libraries The...

Страница 10: ...uct Information dialog box carefully review important information about the features you are installing Click Next 7 Review the license agreement and select I accept the License Agreement s Click Next...

Страница 11: ...istant Integration1 Data Acquisition Assistant Code Generation1 ActiveX Controls for Visual Basic 6 0 Visual C 6 0 Classes Professional Analysis3 NI Reports C Microsoft Office Interface Word and Excel...

Страница 12: ...urement Studio Documentation The help launches in a stand alone help viewer From Visual Studio NET select Help Contents to view the Visual Studio NET table of contents The NI Measurement Studio Help i...

Страница 13: ...ort and Professional Services for more information Measurement Studio Web site ni com mstudio Contains Measurement Studio news support downloads and evaluation software NI Developer Zone ni com devzon...

Страница 14: ...I 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 com...

Страница 15: ...urement Studio Standard Edition includes the sawtooth sine square triangle and basic function wave generators Professional Analysis The Professional Analysis class library which ships with Measurement...

Страница 16: ...ement Studio Analysis NET Library topic in the NI Measurement Studio Help Common The Measurement Studio Common NET class library is in the NationalInstruments namespace The Common class library provid...

Страница 17: ...refer to the Creating a Measurement Studio NI 488 2 or NI VISA Application section of Chapter 4 Developing with Measurement Studio For more information about GPIB visit ni com gpib NI DAQmx The Measu...

Страница 18: ...access the functionality available in NI VISA for communicating with message based and register based instruments using the following interfaces GPIB PXI Serial RS 232 and RS 485 TCP IP USB VXI Tip Fo...

Страница 19: ...ment Studio user interface controls Tip For more information about easily using the NET interface controls refer to the Using the Measurement Studio Windows Forms NET Controls section in the NI Measur...

Страница 20: ...eparate but related data on the same graph Configure a graph to include multiple axes or independent ranges so that plot data fits the graph plot area Draw lines or fills from a plot to an X value Y v...

Страница 21: ...ge in the plot area of the graph Copy the graph as a BMP GIF JPEG or PNG image and paste it to the clipboard or a file Tip For more information about using the waveform and scatter graph controls refe...

Страница 22: ...rface with them Use the Measurement Studio knob gauge and meter controls as shown in Figure 2 2 to represent a knob gauge and meter on your user interface Figure 2 2 Knob Gauge and Meter Controls With...

Страница 23: ...the following operations Configure the scale to be linear or logarithmic and toggle the visibility of the scale Bind the value to a NET data source using NET data binding Connect to the Measurement S...

Страница 24: ...perations Use up down buttons for easy incrementing and decrementing Perform range checking Set the range to infinite maximums and minimums Create custom formats or use built in numeric formats includ...

Страница 25: ...Figure 2 6 LED Control in Square 3D Style With the switch and LED controls and the classes that interface with the controls you can perform the following operations Receive notification before or afte...

Страница 26: ...Measurement Studio Help for detailed information about these libraries Measurement Studio Visual C Class Libraries Overview Measurement Studio provides libraries of MFC based classes that you can use...

Страница 27: ...ent Studio ActiveX controls simplify using ActiveX controls in Visual C interfaces and programs The features that simplify this process include overloaded functions the ability to call the control fro...

Страница 28: ...ic engineering scaling time and date Rotate pan and zoom interactively Tip For information about easily creating graphs with the 3D graph control library refer to the 3D Graph Visual C Class Library O...

Страница 29: ...te dot product and other various matrix methods Scaled and unscaled windowing classes Common statistical functions such as mean median mode and variance Exponential linear and polynomial curve fitting...

Страница 30: ...nt objects to a variety of other object types CNiException Extends the MFC CException class and serves as the base class for many Measurement Studio exceptions CNiRegKey Encapsulates the interface to...

Страница 31: ...class library Each specific driver provides an interface to a particular device such as the NI DMM modular instrument National Instruments provides Measurement Studio Visual C instrument driver class...

Страница 32: ...Studio Enterprise package Tip For more information about using the Measurement Studio Excel Visual C class library to create applications that present data in Microsoft Excel format refer to the Micro...

Страница 33: ...Assistant refer to the Creating a Measurement Studio NI 488 2 or NI VISA Application section of Chapter 4 Developing with Measurement Studio For more information about GPIB visit ni com gpib NI DAQmx...

Страница 34: ...asses that provide an object oriented interface to the NI VISA driver Use the NI VISA class library to quickly create bus independent and or bus specific instrument control applications The NI VISA cl...

Страница 35: ...ean information or initiate an action in a program The CNiButton class provides the Visual C interface to the ActiveX button control Figure 3 2 ActiveX Button Control With the button control and the c...

Страница 36: ...tain multiple plots to show separate but related data on the same graph Configure a graph to include multiple Y axes so that plot data fits the graph plot area Use cursors and annotations to identify...

Страница 37: ...e classes that interface with the control you can perform the following operations Use different display styles dials gauges and meters Use multiple control pointers each representing one scalar value...

Страница 38: ...to the ActiveX numeric edit control Figure 3 5 ActiveX Numeric Edit Control with Scientific Formatting With the numeric edit control and the classes that interface with the control you can perform the...

Страница 39: ...k and thermometer Use the CNiAxis class to interface to a single axis of a slide control This ability allows you to modify the appearance and behavior of the axis Use multiple control pointers each on...

Страница 40: ...CNiSound encapsulates an interface for generating synchronous and asynchronous tones at specific frequencies CNiSystem CNiSystem provides the following functionality Getting and setting system prefer...

Страница 41: ...e creation and manipulation CNiTimer CNiTimer objects use the Windows multimedia timer to generate high resolution asynchronous tick events Respond to tick events when you want to perform an action at...

Страница 42: ...Creating a Measurement Studio NI 488 2 or NI VISA Application Adding or Removing Measurement Studio Class Libraries Selecting a Measurement Studio Parameter Value Calling Instrument Drivers from NET L...

Страница 43: ...loper Exchange Use NI Developer Exchange at ni com devzone to participate in discussion forums and exchange code with measurement and automation developers around the world Instrument Driver Network U...

Страница 44: ...ources included in the Measurement Studio Menu refer to the Measurement Studio Menu topic in the NI Measurement Studio Help Creating a New Measurement Studio Project Measurement Studio includes class...

Страница 45: ...ng Measurement Studio Projects section in the NI Measurement Studio Help Creating a Measurement Studio DAQ Application To create a Measurement Studio DAQ application use the NI DAQ Assistant The DAQ A...

Страница 46: ...k class Generating a Visual Basic NET Visual C or Visual C NET class that includes the functionality you configure in the user interface Generating code that uses a DAQ task class Using a DAQ task cla...

Страница 47: ...x Task Class in a Project topic of the NI Measurement Studio Help Creating a Measurement Studio NI 488 2 or NI VISA Application To create a Measurement Studio NI 488 2 or NI VISA application use the I...

Страница 48: ...operations Creating an instrumentation task class Configuring an instrumentation task class to communicate with an instrument and parse data you receive from the instrument Tip For more information a...

Страница 49: ...e to select the Measurement Studio class libraries you want to add to or remove from a project When you exit the wizard the wizard adds or removes the appropriate references to or from the project thu...

Страница 50: ...and various Measurement Studio class libraries such as NI DAQmx NI 488 2 and NI VISA With the Parameter Assistant you can select the correct parameter value for a device or resource as shown in Figure...

Страница 51: ...ard as shown in Figure 4 6 generates a NET wrapper class for calling into IVI VXIplug play and legacy instrument drivers based on the instrument driver function panel header file and an optional sub f...

Страница 52: ...eloper Exchange at ni com exchange National Instruments Application Engineers make sure every question receives an answer Training and Certification Visit ni com training for self paced training eLear...

Страница 53: ...ic is an example of an ActiveX control container analog I O Reading or writing data in continuously variable physical quantities such as voltage or current annotate Adding text arrows or shapes to des...

Страница 54: ...n Traditional NI DAQ and earlier versions but is integral to every measurement you take in NI DAQmx In Traditional NI DAQ you configure virtual channels in MAX In NI DAQmx you can configure virtual ch...

Страница 55: ...coordinates that a cursor crosshair points to on a graph D DAQ Data acquisition Process of acquiring data typically from A D or digital input plug in boards DAQ Assistant A graphical interface for co...

Страница 56: ...o applications using DataSocket clients Data is passed through a DataSocket Server between the applications E Ethernet Standard connection type for networks where computers are connected by coaxial or...

Страница 57: ...analysis software that you can use to acquire images from National Instruments image acquisition IMAQ boards display them in your program perform interactive viewer operations and analyze the images t...

Страница 58: ...tion org K knob A control used to input or display numerical data L LabVIEW Laboratory Virtual Instrument Engineering Workbench Graphical development environment used for developing test and measureme...

Страница 59: ...anaging windows menus and dialog boxes performing basic input output storing collections of data objects and more N NI 488 2 Driver level software to control and communicate with National Instruments...

Страница 60: ...bus architecture commonly found in PCs PID Proportional Integral Derivative A three term control mechanism combining proportional integral and derivative control You might use a PID algorithm to contr...

Страница 61: ...n represent The number is a single value as opposed to an array scale Part of graph chart and some numeric controls and indicators that contains a series of marks or points at known intervals to denot...

Страница 62: ...olling and executing your automated prototype validation or manufacturing test systems thermometer A control used to input or display numerical data U UI User Interface V vector 1D array virtual instr...

Страница 63: ...6 IviScope 3 6 IviSwitch 3 6 Common NET class library 2 3 Visual C class library 3 5 conventions used in the manual viii creating Measurement Studio DAQ application 4 4 Measurement Studio NI 488 2 or...

Страница 64: ...el Interface Visual C class library 3 7 Microsoft Word Interface Visual C class library 3 7 N National Instruments support and services A 1 NET class libraries Analysis 2 2 Common 2 3 NI 488 2 2 4 NI...

Страница 65: ...support A 1 thermometer control 2 9 training and certification NI resources A 1 troubleshooting NI resources A 1 U User Interface NET class library 2 5 gauge 2 9 knob 2 9 LED 2 12 legend 2 8 meter 2...

Страница 66: ...rement 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 Forms user interface c...

Отзывы: