Chapter 3
Measurement Studio User Manual 3-2 ni.com
Refer to the following sections for information about each Measurement
Studio Visual C++ class library.
ActiveX Controls in Visual C++
ActiveX controls are specialized COM servers that implement a specific set
of interfaces. The Measurement Studio Visual C++ button, graph, knob,
numeric edit, slide, and 3D graph are ActiveX controls. Measurement
Studio includes classes that provide native C++ interfaces to the ActiveX
controls. For example, the CNiGraph class provides an interface to the
CWGraph ActiveX graph control.
The Measurement Studio classes that provide interfaces to the
Measurement 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 from any thread,
and automatic data type translations.
3D Graph Control
Use the Measurement Studio ActiveX 3D graph control, as shown in
Figure 3-1, to plot three-dimensional data. The 3D graph is included only
in the Measurement Studio Enterprise and Professional packages.
Figure 3-1. ActiveX 3D Graph Control
With the Measurement Studio ActiveX 3D graph control and the classes
that interface with the control, you can perform the following operations: