Chapter
3
©
National Instruments Corporation
3-23
Measurement Studio User Manual
Tip
For more information about easily using the numeric edit control, refer to the
Using
the Measurement Studio Numeric Edit Visual C++ Control
section in the
NI Measurement
Studio Help
.
Slide Control
Use the Measurement Studio ActiveX slide control, as shown in
Figure 3-6, to display numerical data.
CNiSlide
is the class that
provides the Visual C++ interface to the ActiveX slide control.
Figure 3-6.
ActiveX Slide Control
With the slide control and the classes that interface with the control, you
can perform the following operations:
•
Use different display styles—vertical, horizontal, tank, 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 one representing one scalar value.
•
Automatically label axes with log or inverted numeric scales and
continuous or discrete values.
•
Customize the slide by using ticks, labels, and value pairs.
•
Bind properties to a DataSocket source or target. You use binding to
read property values from a source and write property values to a
target.
Tip
For more information about easily using the slide control, refer to the
Using the
Measurement Studio Slide Visual C++ Control
section in the
NI Measurement Studio Help
.