Page 3 - Important Information; Warranty; Patents; WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS
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. Nati...
Page 5 - Contents; About This Manual; Measurement Studio Support for Visual Studio .NET 2003
© National Instruments Corporation v Measurement Studio for MCC User Manual Contents About This Manual How To Use this Manual ............................................................................................... ixConventions ...................................................................
Page 6 - Walkthrough: Creating a Measurement Studio Measurement
Contents Measurement Studio for MCC User Manual vi ni.com Numeric Edit Control ...................................................................................... 2-17Switch and LED Controls ............................................................................... 2-18Property Editor Contro...
Page 7 - Glossary
Contents © National Instruments Corporation vii Measurement Studio for MCC User Manual Appendix AContacting Measurement Computing Corp. Glossary Index
Page 8 - How To Use this Manual; Measurement Studio Measurement Computing Edition User Manual
© National Instruments Corporation ix Measurement Studio for MCC User Manual About This Manual The Measurement Studio Measurement Computing Edition User Manual introduces the concepts associated with the Measurement Studio class libraries and development tools. This manual assumes that you have a ge...
Page 9 - Conventions; File»Page Setup»Options; italic
About This Manual Measurement Studio for MCC User Manual x ni.com Conventions The following conventions appear in this manual: <> Text enclosed in angle brackets represents directory names and parts of paths that may vary on different computers, such as < Windows\System >. » The » symbol...
Page 10 - Installation Requirements
© National Instruments Corporation 1-1 Measurement Studio for MCC User Manual 1 Introduction to Measurement Studio Measurement Computing Edition Measurement Studio Measurement Computing Edition is an integrated suite of tools and class libraries that are designed for developers using .NET Windows an...
Page 11 - Optional Installation; Deployment Requirements; Note
Chapter 1 Introduction to Measurement Studio Measurement Computing Edition Measurement Studio for MCC User Manual 1-2 ni.com integrated tools) or Visual C#, Visual Basic, or Visual C++ Express Editions of Microsoft Visual Studio 2005 Measurement Studio integration tools are not supported in the Visu...
Page 13 - Measurement Studio Features; Start»All Programs»; NI Measurement Studio Help; Measurement Studio»NI Measurement; Tip
Chapter 1 Introduction to Measurement Studio Measurement Computing Edition Measurement Studio for MCC User Manual 1-4 ni.com Measurement Studio Features The following list contains features included in Measurement Studio. Refer to mccdaq.com/mstudio for more information about the features and functi...
Page 14 - Measurement Computing Technical Support—Refer to Appendix A,
Chapter 1 Introduction to Measurement Studio Measurement Computing Edition © National Instruments Corporation 1-5 Measurement Studio for MCC User Manual The following resources also are available to provide you with information about Measurement Studio. • Examples—Measurement Studio installs example...
Page 15 - Using the Measurement Studio .NET Class Libraries
© National Instruments Corporation 2-1 Measurement Studio for MCC User Manual 2 Measurement Studio Measurement Computing Edition .NET Class Libraries This chapter provides overview information about the .NET class libraries included with Measurement Studio Measurement Computing Edition support for V...
Page 16 - Analysis; Measurements
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries Measurement Studio for MCC User Manual 2-2 ni.com Analysis The Measurement Studio Analysis .NET class library is in the NationalInstruments.Analysis namespace. The Analysis class library includes a set of classes that pr...
Page 17 - Windowing
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries © National Instruments Corporation 2-3 Measurement Studio for MCC User Manual • Sine Wave • Square Wave • Triangle Wave • Uniform White Noise Windowing • Blackman Window • Blackman-Harris Window • Blackman-Nuttall Window...
Page 18 - Signal Processing
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries Measurement Studio for MCC User Manual 2-4 ni.com • IIR Cascade • Inverse Chebyshev • Kaiser Signal Processing • Autocorrelation • Convolution • Cross Power • Cross Correlation • Decimate • Deconvolution • Derivative x(t...
Page 19 - Array and Numeric Operations
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries © National Instruments Corporation 2-5 Measurement Studio for MCC User Manual • Determinant • Dot Product • Inverse Matrix • Matrix Condition Number • Matrix Multiplication • Matrix Norm • Matrix Rank • Outer Product • P...
Page 20 - Statistics; Analysis in Measurement; Common
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries Measurement Studio for MCC User Manual 2-6 ni.com Statistics • Histogram • Mean • Median and Mode • Moment about Mean Tip For more information about analyzing or generating data with the Analysis class library, refer to ...
Page 21 - Universal Library; MccDaq Scan Components
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries © National Instruments Corporation 2-7 Measurement Studio for MCC User Manual MCC-488.2 The Measurement Studio MCC-488.2 .NET class library is in the MccDaq.Mcc4882 namespace. This class library is included when you inst...
Page 22 - User Interface
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries Measurement Studio for MCC User Manual 2-8 ni.com User Interface The Measurement Studio user interface controls are in the Windows Forms and Web Forms .NET class libraries. Refer to Table 2-1 for the UI controls provided...
Page 23 - Windows Forms Controls
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries © National Instruments Corporation 2-9 Measurement Studio for MCC User Manual Windows Forms Controls The Measurement Studio user interface controls are in the Windows Forms .NET class library. The Windows Forms .NET clas...
Page 24 - Waveform Graph and Scatter Graph Controls; Plot Operations; Draw lines or fills from a plot to an X value, Y value, or another plot.
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries Measurement Studio for MCC User Manual 2-10 ni.com Waveform Graph and Scatter Graph Controls Use the Measurement Studio waveform graph and scatter graph controls, as shown in Figure 2-1, to display two-dimensional data o...
Page 25 - Axis Operations
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries © National Instruments Corporation 2-11 Measurement Studio for MCC User Manual • Specify plots in the scatter graph control as X and Y data. Specify plots in the waveform graph control as X or Y data and optionally with ...
Page 26 - Digital Waveform Graph Control; data on a Windows Forms user
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries Measurement Studio for MCC User Manual 2-12 ni.com • Copy the graph as a BMP, GIF, JPEG, or PNG image to the clipboard or a file. Tip For more information about using the waveform and scatter graph controls, refer to the...
Page 27 - Waveform Sample and Signal State Operations; Complex Graph Control
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries © National Instruments Corporation 2-13 Measurement Studio for MCC User Manual • Specify anti-aliased digital plots. • Expand and collapse signal plots interactively. Waveform Sample and Signal State Operations • Simulta...
Page 28 - Plot and chart
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries Measurement Studio for MCC User Manual 2-14 ni.com Figure 2-3. Windows Forms Complex Graph Control With the complex graph control and the classes that interface with the control, you can perform the following operations:...
Page 29 - Additional Operations; Pan and zoom interactively.; Legend Control; Numeric Controls
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries © National Instruments Corporation 2-15 Measurement Studio for MCC User Manual Additional Operations • Pan and zoom interactively. • Configure major, minor, and custom divisions and origin lines. • Copy the graph as a BM...
Page 30 - Configure the format of value labels to engineering or date/time.
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries Measurement Studio for MCC User Manual 2-16 ni.com • Customize the appearance of the control using 3D lab styles or classic 2D styles and change the color and length of ticks and labels. • Configure the format of value l...
Page 31 - Fill to the minimum or maximum value of the scale.; Numeric Edit Control; Use up/down buttons for easy incrementing and decrementing.
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries © National Instruments Corporation 2-17 Measurement Studio for MCC User Manual With the slide, tank, and thermometer controls and the classes that interface with them, you can perform the following operations: • Fill to ...
Page 32 - Switch and LED Controls; Configure the appearance of the control.
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries Measurement Studio for MCC User Manual 2-18 ni.com Tip For more information about using the Windows Forms numeric edit control, refer to the NumericEdit Class section in the NI Measurement Studio Help . Switch and LED Co...
Page 33 - Property Editor Control; Create custom editors and type converters for properties.
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries © National Instruments Corporation 2-19 Measurement Studio for MCC User Manual Property Editor Control Use the Measurement Studio property editor control, as shown in Figure 2-9, to configure properties for Windows Forms...
Page 34 - Windows Forms Array Controls
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries Measurement Studio for MCC User Manual 2-20 ni.com Tip For more information about using the property editor control, refer to the Using the Measurement Studio Windows Forms Property Editor Control topic in the NI Measure...
Page 35 - Switch and LED Array Controls; Set values by passing an array of data.
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries © National Instruments Corporation 2-21 Measurement Studio for MCC User Manual Switch and LED Array Controls Use the Measurement Studio switch and LED array controls as an array of Boolean controls on a Windows Forms use...
Page 36 - Numeric Edit Array Control
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries Measurement Studio for MCC User Manual 2-22 ni.com Numeric Edit Array Control Use the Measurement Studio numeric edit array control, as shown in Figure 2-11, to control and visualize values of an array of double values. ...
Page 37 - ASP.NET Web Forms Controls
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries © National Instruments Corporation 2-23 Measurement Studio for MCC User Manual ASP.NET Web Forms Controls The Measurement Studio ASP.NET user interface controls are in the Web Forms .NET class library. The Web Forms .NET...
Page 40 - data in an ASP.NET Web
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries Measurement Studio for MCC User Manual 2-26 ni.com Tip For more information about using the waveform and scatter graph controls, refer to the Using the Measurement Studio Web Forms Scatter and Waveform Graph .NET Control...
Page 43 - Configure major, minor, and custom divisions and origin lines.
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries © National Instruments Corporation 2-29 Measurement Studio for MCC User Manual Axis Operations • Configure a graph to include multiple axes or independent ranges so that plot data fits the graph plot area. • Configure th...
Page 46 - Perform range checking.
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries Measurement Studio for MCC User Manual 2-32 ni.com Numeric Edit Control Use the Measurement Studio numeric edit control, as shown in Figure 2-17, to display numeric values and to provide a way by which end users can edit...
Page 47 - AutoRefresh Control
Chapter 2 Measurement Studio Measurement Computing Edition .NET Class Libraries © National Instruments Corporation 2-33 Measurement Studio for MCC User Manual Switch and LED Controls Use the Measurement Studio switch and LED controls as Boolean controls in an ASP.NET Web application. You typically u...
Page 48 - Measurement Studio Menu; Insta
© National Instruments Corporation 3-1 Measurement Studio for MCC User Manual 3 Measurement Studio Integrated Tools and Features When you use Measurement Studio in the Visual Studio environment, you have access to measurement and automation tools and features for.NET Windows and ASP.NET. These integ...
Page 49 - NI Measurement Studio; Creating a Measurement Studio Project; Getting Started with
Chapter 3 Measurement Studio Integrated Tools and Features Measurement Studio for MCC User Manual 3-2 ni.com • Instrument Driver Network —Use the NI Instrument Driver Network at ni.com/idnet as a central resource for downloading, developing, and submitting instrument drivers. Select Measurement Stud...
Page 52 - Developing with Measurement Studio
© National Instruments Corporation 4-1 Measurement Studio for MCC User Manual 4 Getting Started with Measurement Studio The following sections include overview information and step-by-step instructions on developing applications with Measurement Studio tools and features. Refer to the Developing wit...
Page 56 - OK
Chapter 4 Getting Started with Measurement Studio © National Instruments Corporation 4-5 Measurement Studio for MCC User Manual 9. Type Plot for the Name. Click OK . 10. Before you add the legend and gauge controls, you need to resize the form to accommodate them. Select the form and use the double-...
Page 57 - The following screenshot shows; Generating, plotting, and analyzing the data; Double-click the button control to display the
Chapter 4 Getting Started with Measurement Studio Measurement Studio for MCC User Manual 4-6 ni.com The following screenshot shows Form1 with the user controls. Generating, plotting, and analyzing the data 1. Double-click the button control to display the Form1 code, with the cursor inside the click...
Page 60 - Debug»Start Without Debugging
Chapter 4 Getting Started with Measurement Studio © National Instruments Corporation 4-9 Measurement Studio for MCC User Manual 12. Select the Format Mode property and in the Numeric Edit Format Mode Editor dialog box, change the Precision to 4 . 13. Select File»Save Form1.cs to save your applicatio...
Page 63 - Meter; Generating and displaying the data
Chapter 4 Getting Started with Measurement Studio Measurement Studio for MCC User Manual 4-12 ni.com 7. Select the Meter control and drag and drop it onto the form. 8. Right-click the meter and select Properties to display the Properties window. 9. Set the CoercionIntervalBase property for the meter...
Page 65 - Setting up the project
Chapter 4 Getting Started with Measurement Studio Measurement Studio for MCC User Manual 4-14 ni.com The following screenshot shows Form1 with the meter displaying the acquired value. Walkthrough: Creating a Measurement Studio MCCDaq Scan Components Application in Visual Studio .NET 2003 Measurement...
Page 74 - control to display the
Chapter 4 Getting Started with Measurement Studio © National Instruments Corporation 4-23 Measurement Studio for MCC User Manual Generating and displaying the data 1. Double-click the button control to display the Form1 code, with the cursor inside the click event handler of the button control. 2. A...
Page 79 - Measurement Studio»View .NET Class Library; Click; Finish; to display
Chapter 4 Getting Started with Measurement Studio Measurement Studio for MCC User Manual 4-28 ni.com Tip IIf you are working with an existing project, you can access the Add/Remove Class Libraries dialog box by selecting Measurement Studio»View .NET Class Library Wizard . 7. Click Finish to display ...
Page 81 - Select the; WaveformGraph; control and drag and drop it onto the; waveform graph; and select; Edit Plots; to display the
Chapter 4 Getting Started with Measurement Studio Measurement Studio for MCC User Manual 4-30 ni.com 7. Select the WaveformGraph control and drag and drop it onto the form. 8. Right-click the waveform graph and select Edit Plots to display the WaveformPlot Collection Editor dialog box. You use the W...
Page 91 - Measurement Studio; graph; Legend
Chapter 4 Getting Started with Measurement Studio Measurement Studio for MCC User Manual 4-40 ni.com 8. Scroll to the Text property in the Properties window. Type Start for the button text. 9. Select the Measurement Studio tab on the Toolbox. 10. Select the WaveformGraph control and drag and drop it...
Page 92 - Name
Chapter 4 Getting Started with Measurement Studio © National Instruments Corporation 4-41 Measurement Studio for MCC User Manual 14. On the numeric edit smart tag, type numericedit for the Name of the numeric edit ID. 15. Select the Gauge control and drag and drop it into a table cell. 16. On the ga...
Page 94 - Customizing your user interface; Edit Items; to display the LegendItem
Chapter 4 Getting Started with Measurement Studio © National Instruments Corporation 4-43 Measurement Studio for MCC User Manual [C#] // Declare and initialize an instance of WhiteNoiseSignal. WhiteNoiseSignal whiteNoise = new WhiteNoiseSignal(); // Store the generated data in a double array named d...
Page 97 - The following screenshot shows the Web page with customization.
Chapter 4 Getting Started with Measurement Studio Measurement Studio for MCC User Manual 4-46 ni.com The following screenshot shows the Web page with customization.
Page 98 - Visit our Web site at
© National Instruments Corporation A-1 Measurement Studio for MCC User Manual A Contacting Measurement Computing Corp. You can reach Measurement Computing Corp. through the following ways: Mail Measurement Computing Corp.16 Commerce Blvd.Middleboro, MA 02346 Telephone 508-946-5100 FAX 508-946-9500 T...
Page 101 - See also
Glossary © National Instruments Corporation G-3 Measurement Studio for MCC User Manual distribution Ability to install programs you develop with Measurement Studio to others working on different computers. DLL Dynamic Link Library. A library of functions that link to a program and load at run time r...
Page 105 - See
Glossary © National Instruments Corporation G-7 Measurement Studio for MCC User Manual scatter graph A control that displays two-dimensional data on a Windows Forms or Web Forms user interface; displays a graph of X and Y data pairs. scope See oscilloscope . serial Standard serial bus on a computer ...
Page 106 - vector
Glossary Measurement Studio for MCC User Manual G-8 ni.com V vector 1D array. VXI VME eXtension for Instrumentation. Instrumentation architecture and bus based on the VME standard. Used in high-end test applications. W waveform graph A control that displays two-dimensional data on a Windows Forms or...
Page 107 - Index; ix
© National Instruments Corporation I-1 Measurement Studio for MCC User Manual Index A Add/Remove Class Libraries wizard, 3-3adding or removing Measurement Studio class libraries, 3-3 Analysis .NET class library Array and Numeric Operations (list), 2-5 Curve Fitting (list), 2-5Filters (list), 2-3Line...
Page 108 - knob
Index Measurement Studio for MCC User Manual I-2 ni.com I InstaCal, 3-1installation optional, 1-2requirements, 1-1 K knob .NET control, 2-16.NET Web Forms control, 2-30 L LED array control, 2-21LED control, 2-18, 2-33legend control, 2-15, 2-29 M MCC-488.2 .NET class library, 2-7 Measurement Studio d...