Saturday, September 25, 2010

Measurement Studio Components

Summary: This section introduces the three main components of Measurement Studio—ActiveX controls, C++ class libraries, and .NET class libraries.
Measurement Studio consists of three main types of components—ActiveX controls, C++ class libraries, and .NET class libraries.
The ActiveX controls provide language-native APIs for Visual Basic 6 as well as provide UI components for Measurement Studio C++ applications. Additionally, APIs exist for NI driver software, such as Traditional DAQ, NI-VISA, GPIB, IMAQ, IVI class drivers, and Motion.
The C++ class libraries provide language-native APIs for Visual C++ MFC applications. The C++ class libraries provide an object-oriented C++ interface and a consistent set of data types, data type transformations, and integration into the MFC framework for driver software including NI-DAQmx, NI-VISA, GPIB, IVI class drivers, IVI specific drivers, NI modular instrument drivers, such as NI-Scope, NI-DMM, and FieldPoint. The C++ class libraries provide the same sort of interface to the Measurement Studio ActiveX controls, automatically converting VARIANT and SAFEARRAY types to C++ MFC types and automatically handling ActiveX threading issues.
The .NET class libraries provide language-native APIs for .NET languages. Measurement Studio specifically supports C# and Visual Basic .NET through code generation, example programs, and customer support, but the .NET class libraries are built to be Common Language Specification (CLS)-compliant, so they should work with any CLS-compliant .NET language.
The DAQ ActiveX control is complimentary and is installed with the Traditional DAQ driver. All the other ActiveX controls require Measurement Studio.
Measurement Studio provides the following ActiveX controls:
  • User Interface controls, such as CWGraph, CWButton,CWKnob
  • NI VISA
  • NI 488.2 (CWInstr)
  • Analysis (CWDSP, CWArray, CWStat, CWMatrix, CWComplex)
  • DataSocket
  • IVI
  • Traditional DAQ (Complimentary with Traditional DAQ Driver)
  • 3D Graph

Measurement Studio C++ Class Libraries

Measurement Studio provides the following C++MFC libraries:
  • 3D Graph
  • Analysis
  • DataSocket
  • NI-DAQmx
  • NI-488.2
  • NI-VISA
  • IVI
  • LabVIEW RT
  • Microsoft Excel Interface
  • Microsoft Word Interface
  • NI-Reports
  • User Interface (Graph, Button, Knob)
  • Utility (File, Sound, System, Timer)

Measurement Studio .NET Libraries

The Measurement Studio class libraries are designed specifically for engineers and scientists who build virtual instrumentation systems with Visual Basic .NET or Visual C# in Visual Studio. With integrated libraries for acquiring, analyzing, and displaying data, Measurement Studio includes everything you need for building advanced measurement and automation applications.
Measurement Studio provides the following .NET libraries:
  • Analysis .NET class library
  • Common .NET class library
  • DataSocket .NET class library
  • Network Variable .NET class library
  • User Interface .NET class library
  • Windows Forms .NET class library
  • ASP.NET Web Forms class library

User Interface Controls – Windows Forms

Visual Studio provides a wide variety of general-purpose controls, including calendar controls, text boxes, buttons, and data grids. With Measurement Studio, you can use the standard Visual Studio controls, in addition to test and control specific controls such as, graphs, gauges, and tanks to create complete applications running on your Windows desktop.
Out of the box, Measurement Studio contains managed .NET controls, such as graphs, dials, gauges, LEDs, sliders, tanks, numeric edits (double data type), and knobs. All of these controls can be configured to create robust and professional user interfaces that integrate seamlessly with your .NET application. Attributes, such as color, font size, and graph type can be instantly reconfigured, and you can even rotate, zoom, and pan your graphs at runtime.
All Measurement Studio controls are designed to be extensible, thus you can use them as a base class and apply your own customization to create entirely new controls.
Figure 1
Figure 1 (graphics1.jpg)

User Interface Controls—Web Forms

In addition to providing Windows Forms user interface controls, Measurement Studio also provides user interface controls for web forms. These controls include graphs, gauges, knobs, switches, tanks, slides, and so on.
Drag and drop the appropriate controls onto the Visual Studio designer. Run your application, it automatically launches a Web browser and displays your controls. You can even interact with these Web controls.
These controls are based upon Microsoft ASP.NET, providing you a powerful platform to create Web pages. Web clients do not require any runtime engine to display and interact with ASP.NET web pages. As a result, any browser, Operating system, or Web device can view your Measurement Studio ASP.NET.
Figure 2
Figure 2 (graphics2.jpg)

Additional User Interface Controls

Some of the newest Measurement Studio controls include the Digital Waveform Graph, Complex Graph, Property Editor, Instrument Control Strip Control, and several array user interface controls.
Digital Waveform Graph—With the digital waveform graph, you can plot digital waveform data.
Figure 3
Figure 3 (graphics3.jpg)
Complex Graph—With the complex graph, you can plot and chart complex double data consisting of both real and imaginary components.
Figure 4
Figure 4 (graphics4.jpg)
Instrument Control Strip Control—This control is a container for ToolStripPropertyEditor and other items derived from ToolStripItem. The control displays a set of Property Editor controls.
Figure 5
Figure 5 (graphics5.jpg)
Property Editor—With the property editor control, you create applications that enable your end users to configure properties for Windows Forms controls at run time. You can edit properties of any .NET type at run time, including collections, and you can edit expandable properties that represent nested properties of another object, such as major divisions of an axis.
Figure 6
Figure 6 (graphics6.jpg)

Content actions

GIVE FEEDBACK:

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

Popular Projects

My Blog List

Give support

Give support
Encourage Me through Comments & Followers

Followers