NumericText class: Difference between revisions
Started page |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{VIServerClass| | {{VIServerClass|39}} | ||
{{stub}} | {{stub}} | ||
| Line 74: | Line 74: | ||
== History == | == History == | ||
{{ambox|text=History information is needed. What changes have | {{ambox|text=History information is needed. What changes have occurred over previous versions?}} | ||
{| class="wikitable" | {| class="wikitable" | ||
! Version | ! Version | ||
Revision as of 22:30, 1 September 2019
| VI Server Class Information | |
|---|---|
| Return to VI Server Class Hierarchy | |
| Class Name | NumericText class |
| Class ID | 39 |
| Scope | Basic Development Environment |
| Class Inheritance |
|
| Class Children | This class has no children. |
| |
This article is a stub. You can help LabVIEW Wiki by expanding it. Please improve this article if you can. |
The NumericText class is a class in the VI Server Class Hierarchy, (see also VI Server).
Properties
Show/Hide NumericText Properties Table
| Legend | |
|---|---|
| R/W | Readable/Writable Permissions |
| RTE | Available in the Run-Time Engine |
| Basic Development Environment | |
| VI Scripting | |
| Private | |
| Deprecated | |
| Property ID | Short Name (English) | Description | R/W | RTE |
|---|---|---|---|---|
| 632E400 | DisplayFormat | Specifies the format and precision of the numeric text. Format can be 0-Decimal, 1-Scientific, 2-Engineering, 3-Binary, 4-Octal, 5-Hexadecimal, 6-Relative Time, 7-Time and Date, 8-SI, or 9-Custom (read-only). Precision is the number of digits after the decimal point.
This property is similar to the Display Format item on the shortcut menu of a numeric control or indicator. This property is similar to the options on the Display Format page of the Properties dialog box. |
R/W | X |
| 632E401 | Format | Specifies the format of the numeric text. This property accepts the following format values: 0-Decimal, 1-Scientific, 2-Engineering, 3-Binary, 4-Octal, 5-Hexadecimal, 6-Relative Time, 7-Time and Date, 8-SI, and 9-Custom (read-only). You cannot wire a value of 9 to this property because the value is read-only. This property returns a value of 9 if the object uses automatic formatting, the format string contains text, or the format string includes more than one format specifier.
If you select floating point representation for the numeric text, you cannot wire a value of 3, 4, or 5 to this property. Binary, Octal, and Hexadecimal formats are not valid for floating point numbers. If you wire one of these values, this property returns an error. This property is an element of the Display Format property. This property is similar to the Format option on the Display Format page of the Properties dialog box. |
R/W | X |
| 632E402 | Precision | Number of digits after the decimal point. If you wire a value of 9 to the Format property, this property returns an error.
This property is an element of the Display Format property. This property is similar to the Precision Type option on the Display Format page of the Properties dialog box. |
R/W | X |
| 632E403 | FormatString | Gets and sets the format of the numeric control.
Refer to the valid format specifiers for numeric data types table for information about which format specifiers you can set depending on the data type of the numeric control and the format specifiers syntax elements table for descriptions of the syntax elements. If you want to format a string to display time, enclose the string with %. You also can use the Display Format:Format property to get or set the format of the numeric control. Setting the format of the numeric control using the Format & Precision:Format property overwrites any formatting you set using the Format String property. This property is similar to the Format string option on the Display Format page of the Properties dialog box. Access the Format string option by selecting the Advanced editing mode option on the Display Format page of the Properties dialog box. |
R/W | X |
Methods
No Methods for this class.
Events
No Events for this class.
History
| |
History information is needed. What changes have occurred over previous versions? |
| Version | Change(s) |
|---|---|
| More info to come. |