Calc Scale Specs VI
- Updated2025-07-30
- 5 minute(s) read
Takes a specification for a Cartesian style scale and calculates the coordinates and labels to use for the scale.

Inputs/Outputs
[user-specified font]
—
[user-specified font] specifies the specific font characteristics for the text to draw. The VI ignores this input unless desired font is User-specified Font.
desired font(Application)
—
desired font specifies the text font.
scale definition
—
scale definition specifies the pixel coordinates and values for both ends of the scale, and the numeric format and precision for the scale numbers.
scale attributes
—
scale attributes describes the format for the scale.
scale specs
—
scale specs is an array of clusters containing the coordinates and labels you can use in the scale.
|
Wire the scale specs output of this VI to the scale specs input of the Draw Scale VI to draw a scale.
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Graphics and Sound\Picture Plots\Simple Scale.vi
[user-specified font]
—
Font Name:
—
Size
—
Strikeout?
—
desired font(Application)
—
value 1
—
fmt and prec
—
precision
—
line color
—
scale specs
—
coordinate
—
label
—