National Instruments none 用户手册

下载
页码 179
Chapter 
3
© National Instruments Corporation
3-21
Axis Operations
Use  the 
CNiAxis
 class to interface to a single axis of a graph control. 
This feature allows you to modify the appearance and behavior of the 
axis.
Automatically label axes with log or inverted numeric scales.
Configure the axis modes for manual scaling or autoscaling.
Additional Operations
Configure cursor snap modes to be fixed, floating, nearest point, and 
to plot.
Pan and zoom interactively.
Configure the graph for fixed, strip, or scope charting.
Customize the graph 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 graph control, refer to the Using the 
Measurement Studio Graph Visual C++ 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 Knob, Dial, and Meter Styles