Jump to content

NumericWithScale class: Difference between revisions

From LabVIEW Wiki
Started page
 
mNo edit summary
Line 1: Line 1:
{{VIServerClass|name=NumericWithScale|id=33|scope=basic|class_0=Generic|class_1=GObject|class_2=Control|class_3=Numeric|class_4=NumericWithScale}}
{{VIServerClass|33}}


{{stub}}
{{stub}}
Line 204: Line 204:


== History ==
== History ==
{{ambox|text=History information is needed.  What changes have occured over previous versions?}}
{{ambox|text=History information is needed.  What changes have occurred over previous versions?}}
{| class="wikitable"
{| class="wikitable"
! Version
! Version

Revision as of 22:19, 1 September 2019

VI Server Class Information
Return to VI Server Class Hierarchy
Class Name NumericWithScale class
Class ID 33
Scope Basic Development Environment
Class Inheritance
Class Children


The NumericWithScale class is a class in the VI Server Class Hierarchy, (see also VI Server).

Properties

Show/Hide NumericWithScale Properties Table

Legend
R/WReadable/Writable Permissions
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
NumericWithScale Properties Table
Property ID Short Name (English) Description R/W RTE
633F803 ActSlider Shows which slider/needle is active.

This property is similar to the Slider option on the Appearance page of the Properties dialog box.

R/W X
633F80B DigDisps() References to the digital displays. R X
633F80D HousingColors Foreground and background colors of the slide/knob housing.

You can set the color of the front panel object by wiring a hexadecimal number with the form RRGGBB or by wiring the color box constant to the property.

Elements:
Name Description
Foreground Color Foreground color of the slide/knob housing.
Background Color Background color of the slide/knob housing.
R/W X
633F80F BGColor Background color of the active slider/needle.

You can set the color of the front panel object by wiring a hexadecimal number with the form RRGGBB or by wiring the color box constant to the property.

This property is an element of the Slider Colors property.

R/W X
633F80E FGColor Foreground color of the active slider/needle.

You can set the color of the front panel object by wiring a hexadecimal number with the form RRGGBB or by wiring the color box constant to the property.

This property is an element of the Slider Colors property.

This property is similar to the Slider option on the Appearance page of the Slide Properties dialog box.

R/W X
633F800 HousingSize Size of the housing in terms of width and height in pixels.

This property is similar to resizing a front panel object interactively.

R/W X
633F802 Height Height of the housing area in pixels.

This property is an element of the Housing Size property.

R/W X
633F801 Width Width of the housing area in pixels.

This property is an element of the Housing Size property.

R/W X
633F808 NumSliders Gets or sets the number of sliders. R X
633F810 ShowValTip Displays the current value of a numeric control as you move the slider or needle.

If TRUE (default), LabVIEW displays the value of a numeric control in a tip strip as you move the slider or needle of a slide or rotary control. The tip strip uses the same format and precision as the digital display of the control. If the control has more than one digital display, the tip strip uses the format and precision of the digital display that corresponds to the currently active needle or slider.

This property is similar to the Show tip strips option on the Appearance page of the Properties dialog box.

Other products refer to tip strips as tooltips.

R/W X
633F804 SliderColors Colors of the active slider/needle expressed in terms of (Foreground Color, Background Color) pair.

You can set the color of the front panel object by wiring a hexadecimal number with the form RRGGBB or by wiring the color box constant to the property.

Elements:
Name Description
Foreground Color

Foreground color of the active slider/needle.

Background Color Background color of the active slider/needle.
R/W X
633F806 BGColor Background color of the active slider/needle.

You can set the color of the front panel object by wiring a hexadecimal number with the form RRGGBB or by wiring the color box constant to the property.

This property is an element of the Slider Colors property.

R/W X
633F805 FGColor Foreground color of the active slider/needle.

You can set the color of the front panel object by wiring a hexadecimal number with the form RRGGBB or by wiring the color box constant to the property.

This property is an element of the Slider Colors property.

This property is similar to the Slider option on the Appearance page of the Slide Properties dialog box.

R/W X
633F809 TextLblsVis Specifies whether text labels are visible for markers. R/W X
633F80A TextLbls() Array of names for the markers.

If you want to create non-sequential numeric values, use the Digital Displays[] property to get a reference to the text label display then cast the reference to the Ring class and use the Strings And Values [] property.

This property is similar to the Use text labels for scale markers option on the Text Labels page of the Properties dialog box.

R/W X

Methods

Show/Hide NumericWithScale Methods Table

Legend
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
NumericWithScale Methods Table
Method ID Short Name (English) Description RTE
633F400 Add Slider Adds a slider or a thumb.
633F401 Delete Slider Deletes a slider or a thumb.

Events

No Events for this class.

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also