Download LabWindows/CVI User Interface Reference Manual

Transcript
User Interface Library Reference
Chapter 4
Parameter Discussion
itemLabel must be large enough to hold the label string, including the terminating NUL byte.
You can use GetAxisItemLabelLength to determine the length of the label string.
You may pass NULL for either of the output parameters.
See Also
InsertAxisItem, GetNumAxisItems, GetAxisItem.
GetAxisRange
int status = GetAxisRange (int panelHandle, int controlID, int *xAxisScalingMode,
double *xmin, double *xmax, int *yAxisScalingMode,
double *ymin, double *ymax);
Purpose
Obtains the scaling mode and the range of the X and Y axes for a graph or strip chart control.
Parameters
Input
panelHandle
integer
controlID
integer
The specifier for a particular panel that is currently
in memory. This handle will have been returned
by the LoadPanel, NewPanel, or
DuplicatePanel function.
The defined constant (located in the .uir header
file) which was assigned to the control by the User
Interface Editor, or the ID returned by the
NewCtrl or DuplicateCtrl function.
(continues)
LabWindows/CVI User Interface Reference
4-84
© National Instruments Corporation