Jump to content

NamedNumeric class: Difference between revisions

From LabVIEW Wiki
m Removed VI Server Category from page
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{VIServerClass|name=NamedNumeric|id=19|scope=basic|class_0=Generic|class_1=GObject|class_2=Control|class_3=Numeric|class_4=NamedNumeric}}
{{VIServerClass|19}}


{{stub}}
{{stub}}
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 NamedNumeric Properties Table</span>
{{VIServerClassTables|19}}
<div class="mw-collapsible" id="mw-customcollapsible-propertiestable">
{{VIServerLegend|showrw=TRUE|showrte=TRUE}}
{| class="wikitable sortable"
|+ NamedNumeric Properties Table
! Property ID
! Short Name (English)
! Description
! R/W
! RTE
|- style="background-color:#FFFFCC;"
|633C806
| [[NamedNumeric class/DigDisp property|DigDisp]]
|Reference to a numeric text digital display.
 
You can use this reference with the Text properties.
|R
|X
|- style="background-color:#FFFFCC;"
|633C808
| [[NamedNumeric class/DisabledItems() property|DisabledItems()]]
|Accepts an array of indexes on a ring object  to disable. Indexes are 0 based. <b>Disabled Items []</b> enables every item in the ring upon execution. The property then disables items that correspond to indexes that appear in the array. If the array is empty or some values are out of range, LabVIEW ignores those items and does not return an error. All other items in the ring object are enabled.
|R/W
|X
|- style="background-color:#D1BB80;"
|633C814
| [[NamedNumeric class/HideLastVal property|HideLastVal]]
|
|R/W
|X
|- style="background-color:#FFFFCC;"
|633C813
| [[NamedNumeric class/IncDecVis property|IncDecVis]]
|Shows or hides the increment and decrement buttons on a numeric control.
|R/W
|X
|- style="background-color:#D1BB80;"
|633C80A
| [[NamedNumeric class/NmdNumFont property|NmdNumFont]]
|
|R/W
|X
|- style="background-color:#D1BB80;"
|633C80D
| [[NamedNumeric class/FontBold property|FontBold]]
|
|R/W
|X
|- style="background-color:#D1BB80;"
|633C811
| [[NamedNumeric class/FontColor property|FontColor]]
|
|R/W
|X
|- style="background-color:#D1BB80;"
|633C80E
| [[NamedNumeric class/FontItalic property|FontItalic]]
|
|R/W
|X
|- style="background-color:#D1BB80;"
|633C80B
| [[NamedNumeric class/FontName property|FontName]]
|
|R/W
|X
|- style="background-color:#D1BB80;"
|633C80C
| [[NamedNumeric class/FontSize property|FontSize]]
|
|R/W
|X
|- style="background-color:#D1BB80;"
|633C810
| [[NamedNumeric class/FontStrike property|FontStrike]]
|
|R/W
|X
|- style="background-color:#D1BB80;"
|633C80F
| [[NamedNumeric class/FontUnder property|FontUnder]]
|
|R/W
|X
|- style="background-color:#FFFFCC;"
|633C800
| [[NamedNumeric class/NmdNumSize property|NmdNumSize]]
|Size of the named numeric in terms of width and height in pixels.
|R/W
|X
|- style="background-color:#FFFFCC;"
|633C802
| [[NamedNumeric class/Height property|Height]]
|Height of the named numeric in pixels.
 
This property is an element of the Named Numeric Size property.
|R/W
|X
|- style="background-color:#FFFFCC;"
|633C801
| [[NamedNumeric class/Width property|Width]]
|Width of the named numeric in pixels.
 
This property is an element of the Named Numeric Size property.
|R/W
|X
|- style="background-color:#FFFFCC;"
|633C809
| [[NamedNumeric class/NumItems property|NumItems]]
|Number of items in the ring or enumerated type object. This property is useful for animation.
|R
|X
|- style="background-color:#FFFFCC;"
|633C812
| [[NamedNumeric class/RingText property|RingText]]
|Returns a reference to the text of the currently selected item in the ring or enumerated type object.
 
You can use this reference with the Text properties.
 
You cannot use this property on picture ring controls because the items in picture ring controls do not contain text.
|R
|X
|- style="background-color:#FFFFCC;"
|633C807
| [[NamedNumeric class/Strings() property|Strings()]]
|Array of the items from which you can select in the named numeric control. For enumerated type controls, the index of each item in the array is the same as the value in the enumerated type control. For ring controls, the order of the items in the array is the same as the order in which they are displayed in the ring control.
 
If the string is an enumerated type control, you cannot write this property when the VI is running. If the string is a ring control, you can write this property when the VI is running.
 
For ring controls, use the Strings And Values [] property to assign specific numeric values to each item.
 
You cannot use this property on picture ring controls because the items in picture ring controls do not contain text.
 
If you use this property with a ring control that does not have sequential numeric values, the number of values for the ring control determines the number of strings you can set using this property. For example, if the ring control has the values 1, 2, and 4, you can set only three strings using this property.
 
If the ring control has more numeric values than the number of strings you wire to this property, LabVIEW creates strings for any values that do not have corresponding strings. For example, if the ring control has the values 1, 2, and 4 and you wire the strings One Hour and Two Hours to this property, LabVIEW sets the last string to .
|R/W
|X
|}
</div>
 
==Methods==
''No Methods for this class.''
 
==Events==
<span class="mw-customtoggle-eventstable">Show/Hide NamedNumeric Events Table</span>
<div class="mw-collapsible" id="mw-customcollapsible-eventstable">
{{VIServerLegend}}
{| class="wikitable sortable"
|+ NamedNumeric Events Table
! Code
! Name
! Type
|- style="background-color:#D1BB80;"
|1073741890
|[[NamedNumeric class/Operate Menu Activation event|Operate Menu Activation]]
|Notify
|- style="background-color:#D1BB80;"
|1073741891
|[[NamedNumeric class/Operate Menu Dismissed event|Operate Menu Dismissed]]
|Notify
|}
</div>


== 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
Line 186: Line 24:
*[[VI Server]]
*[[VI Server]]


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

Latest revision as of 02:00, 8 May 2020

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


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

Properties

Show/Hide NamedNumeric Properties Table

Legend
R/WReadable/Writable Permissions
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
NamedNumeric Properties Table
Property ID Long Name (English) Description R/W RTE
633C800Named Numeric SizeSize of the named numeric in terms of width and height in pixels.Read/WriteYes
633C801Named Numeric Size:WidthWidth of the named numeric in pixels.Read/WriteYes
633C802Named Numeric Size:HeightHeight of the named numeric in pixels.Read/WriteYes
633C803Named Numeric ColorsRead/WriteYes
633C804Named Numeric Colors:Text ColorRead/WriteYes
633C805Named Numeric Colors:BG ColorRead/WriteYes
633C806Digital DisplayReference to a numeric text digital display.Read OnlyYes
633C807Strings []Array of the items from which you can select in the named numeric control. For enumerated type controls, the index of each item in the array is the same as the value in the enumerated type control. For ring controls, the order of the items in the array is the same as the order in which they are displayed in the ring control.Read/WriteYes
633C808Disabled Items []Accepts an array of indexes on a ring object to disable. Indexes are 0 based. Disabled Items () enables every item in the ring upon execution. The property then disables items that correspond to indexes that appear in the array. If the array is empty or some values are out of range, LabVIEW ignores those items and does not return an error. All other items in the ring object are enabled.Read/WriteYes
633C809Number of ItemsNumber of items in the ring or enumerated type object. This property is useful for animation.Read OnlyYes (Read Only)
633C80ANamed Numeric FontRead/WriteYes
633C80BNamed Numeric Font:NameRead/WriteYes
633C80CNamed Numeric Font:SizeRead/WriteYes
633C80DNamed Numeric Font:BoldRead/WriteYes
633C80ENamed Numeric Font:ItalicRead/WriteYes
633C80FNamed Numeric Font:UnderlineRead/WriteYes
633C810Named Numeric Font:StrikeoutRead/WriteYes
633C811Named Numeric Font:ColorRead/WriteYes
633C812Ring TextReturns a reference to the text of the currently selected item in the ring or enumerated type object.Read OnlyYes
633C813Increment/Decrement Visible?Shows or hides the increment and decrement buttons on a numeric control.Read/WriteYes
633C814Hide Last ValueRead/WriteYes

Methods

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

Events

Show/Hide NamedNumeric Events Table

Legend
Basic Development Environment
VI Scripting
Private
Deprecated
NamedNumeric Events Table
Code Name Description Type
1073741890Operate Menu Activation
1073741891Operate Menu Dismissed


History

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

See Also