Knob control, Figure 3-4. activex knob control, Knob control -12 – National Instruments Measurement Studio User Manual
Page 37

Chapter 3
Measurement Studio Visual C++ Class Libraries
Measurement Studio User Manual
3-12
ni.com
•
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 graph control, refer to the Using the
Measurement Studio Visual C++ Graph Control section in the NI Measurement
Studio Help.
Knob Control
Use the Measurement Studio ActiveX knob control, as shown in
Figure 3-4, to display numerical information. The
CNiKnob
class provides
the Visual C++ interface to the ActiveX knob control.
Figure 3-4. ActiveX Knob Control
With the knob control and the 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.
A control pointer indicates the current value of the knob.
•
Use the
CNiAxis
class to interface to a single axis of a knob control.
This feature allows you to modify the appearance and behavior of
the axis.
•
Automatically label axes with log or inverted numeric scales and
continuous or discrete values.
•
Customize the knob 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 knob control, refer to the Using the
Measurement Studio Visual C++ Knob Control section in the NI Measurement
Studio Help.