Jump to content

NumericWithScale class: Difference between revisions

From LabVIEW Wiki
mNo edit summary
m Removed VI Server Category from page
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
{{TOCright}}
{{TOCright}}


==Properties==
<!--Edit Properties, Methods, or Events in the appropriate table in one on the VI Server Templates-->
<span class="mw-customtoggle-propertiestable">Show/Hide NumericWithScale Properties Table</span>
{{VIServerClassTables|33}}
<div class="mw-collapsible" id="mw-customcollapsible-propertiestable">
{{VIServerLegend|showrw=TRUE|showrte=TRUE}}
{| class="wikitable sortable"
|+ NumericWithScale Properties Table
! Property ID
! Short Name (English)
! Description
! R/W
! RTE
|- style="background-color:#FFFFCC;"
|633F803
| [[NumericWithScale class/ActSlider property|ActSlider]]
|Shows which slider/needle is active.
 
This property is similar to the <b>Slider</b> option on the <b>Appearance</b> page of the Properties dialog box.
|R/W
|X
|- style="background-color:#FFFFCC;"
|633F80B
| [[NumericWithScale class/DigDisps() property|DigDisps()]]
|References to the digital displays.
|R
|X
|- style="background-color:#FFFFCC;"
|633F80D
| [[NumericWithScale class/HousingColors property|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.
 
{| class="wikitable"
|+ scope="col" style="text-align:left;"|Elements:
! scope="col" style="text-align:left;"| Name
! scope="col" style="text-align:left;"| Description
|- style="vertical-align:top;"
! scope="row" style="text-align:left;"|Foreground Color
|Foreground color of the slide/knob housing.
|- style="vertical-align:top;"
! scope="row" style="text-align:left;"|Background Color
|Background color of the slide/knob housing.
|}
|R/W
|X
|- style="background-color:#FFFFCC;"
|633F80F
| [[NumericWithScale class/BGColor property|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
|- style="background-color:#FFFFCC;"
|633F80E
| [[NumericWithScale class/FGColor property|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 <b>Slider</b> option on the <b>Appearance</b> page of the Slide Properties dialog box.
|R/W
|X
|- style="background-color:#FFFFCC;"
|633F800
| [[NumericWithScale class/HousingSize property|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
|- style="background-color:#FFFFCC;"
|633F802
| [[NumericWithScale class/Height property|Height]]
|Height of the housing area in pixels.
 
This property is an element of the Housing Size property.
|R/W
|X
|- style="background-color:#FFFFCC;"
|633F801
| [[NumericWithScale class/Width property|Width]]
|Width of the housing area in pixels.
 
This property is an element of the Housing Size property.
|R/W
|X
|- style="background-color:#CCFFFF;"
|633F808
| [[NumericWithScale class/NumSliders property|NumSliders]]
|Gets or sets the number of sliders.
|R
|X
|- style="background-color:#FFFFCC;"
|633F810
| [[NumericWithScale class/ShowValTip property|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 <b>Show tip strips</b> option on the <b>Appearance</b> page of the Properties dialog box.
 
Other products refer to tip strips as tooltips.
|R/W
|X
|- style="background-color:#FFFFCC;"
|633F804
| [[NumericWithScale class/SliderColors property|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.
 
{| class="wikitable"
|+ scope="col" style="text-align:left;"|Elements:
! scope="col" style="text-align:left;"| Name
! scope="col" style="text-align:left;"| Description
|- style="vertical-align:top;"
! scope="row" style="text-align:left;"|Foreground Color
Foreground color of the active slider/needle.
|- style="vertical-align:top;"
! scope="row" style="text-align:left;"|Background Color
|Background color of the active slider/needle.
|}
|R/W
|X
|- style="background-color:#FFFFCC;"
|633F806
| [[NumericWithScale class/BGColor property|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
|- style="background-color:#FFFFCC;"
|633F805
| [[NumericWithScale class/FGColor property|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 <b>Slider</b> option on the <b>Appearance</b> page of the Slide Properties dialog box.
|R/W
|X
|- style="background-color:#CCFFFF;"
|633F809
| [[NumericWithScale class/TextLblsVis property|TextLblsVis]]
|Specifies whether text labels are visible for markers.
|R/W
|X
|- style="background-color:#FFFFCC;"
|633F80A
| [[NumericWithScale class/TextLbls() property|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 <b>Use text labels for scale markers</b> option on the Text Labels page of the Properties dialog box.
|R/W
|X
|}
</div>
 
==Methods==
<span class="mw-customtoggle-methodstable">Show/Hide NumericWithScale Methods Table</span>
<div class="mw-collapsible" id="mw-customcollapsible-methodstable">
{{VIServerLegend|showrte=TRUE}}
{| class="wikitable sortable"
|+ NumericWithScale Methods Table
! Method ID
! Short Name (English)
! Description
! RTE
|- style="background-color:#CCFFFF;"
|633F400
| [[NumericWithScale class/Add Slider method|Add Slider]]
|Adds a slider or a thumb.
|
|- style="background-color:#CCFFFF;"
|633F401
| [[NumericWithScale class/Delete Slider method|Delete Slider]]
|Deletes a slider or a thumb.
|
|}
</div>
 
==Events==
''No Events for this class.''


== History ==
== History ==
Line 218: Line 25:
*[[VI Scripting]]
*[[VI Scripting]]


[[Category:VI Server]]
 
[[Category:VI Server Class]]
[[Category:VI Server Class]]
[[Category:VI Scripting]]

Latest revision as of 02:00, 8 May 2020

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 Long Name (English) Description R/W RTE
633F800Housing SizeSize of the housing in terms of width and height in pixels.Read/WriteYes
633F801Housing Size:WidthWidth of the housing area in pixels.Read/WriteYes
633F802Housing Size:HeightHeight of the housing area in pixels.Read/WriteYes
633F803Active SliderShows which slider/needle is active.Read/WriteYes
633F804Slider ColorsColors of the active slider/needle expressed in terms of (Foreground Color, Background Color) pair.Read/WriteYes
633F805Slider Colors:FG ColorForeground color of the active slider/needle.Read/WriteYes
633F806Slider Colors:BG ColorBackground color of the active slider/needle.Read/WriteYes
633F808Num Of SlidersGets or sets the number of sliders.Read OnlyYes (Read Only)
633F809Text Labels Visible?Specifies whether text labels are visible for markers.Read/WriteYes (Read Only)
633F80AText Labels[]Array of names for the markers.Read/WriteYes
633F80BDigital Displays[]References to the digital displays.Read OnlyYes (Read Only)
633F80CScale InfoRead/WriteYes
633F80DHousing ColorsForeground and background colors of the slide/knob housing.Read/WriteYes
633F80EHousing Colors:FG ColorForeground color of the active slider/needle.Read/WriteYes
633F80FHousing Colors:BG ColorBackground color of the active slider/needle.Read/WriteYes
633F810Show Value Tip StripDisplays the current value of a numeric control as you move the slider or needle.Read/WriteYes

Methods

Show/Hide NumericWithScale Properties Table

Legend
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
NumericWithScale Methods Table
Method ID Long Name (English) Description RTE
633F400Add SliderAdds a slider or a thumb.No
633F401Delete SliderDeletes a slider or a thumb.No

Events

This class has no events or it inherits events from its parent: Numeric Class.


History

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

See Also