National Instruments ICDM Network Card User Manual


 
Appendix A Using an Xmath GUI Tool
Xmath Interactive Control Design Module A-6 ni.com
A slider might also appear like a bar graph. Its tip represents the value,
but it will be read-only, that is, the user cannot change its value by
dragging the handle.
Often a value is displayed with a slider and a variable edit box (refer to
for example, the
leadlag demo). This allows the value to be changed
either by dragging the slider or entering a new value from the
keyboard.
GUI windows might contain plots, which can accept graphical input
from the user. The left mouse button is used for graphical input, the
middle for plot zooming, and the right for plot data value viewing:
The function of the left mouse button depends upon the particular
tool and plot. Often a tool will allow a curve to be grabbed and
dragged by depressing the left mouse button with the cursor near
the curve, dragging the mouse with the button down, and then
releasing at a new position.
Clicking the middle mouse button anywhere in the plot creates a
box containing a magnification of a small area of the plot centered
at the cursor. The middle mouse button can be held down and
dragged, which creates an effect similar to dragging a magnifying
glass across the plot. The center of the zoomed window
corresponds to the tip of the cursor.
Pressing <Ctrl> along with the middle mouse button increases the
size of the magnified box. Pressing <Shift> along with the middle
mouse button increases the zoom factor. Pressing <Shift-Ctrl>
along with middle mouse
button yields a large zoom box with a
large magnification factor.
By pointing at or near a curve or object in a plot and pressing the
right mouse button, a small window will appear that identifies the
curve or object and gives the coordinates and index of the nearest
data value.
If you press and drag the right mouse button, the selected curve
will be tracked, even if another curve comes close.
Pressing <Shift> along with the right mouse button allows the user
to get values on the piecewise line curve that interpolates the data
values. In this case
index 45.7 means that the selected plot point
is between the 45th and 46th curve index entries.