|
|
| (2 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| {{VIServerClass|name=Digital|id=18|scope=basic|class_0=Generic|class_1=GObject|class_2=Control|class_3=Numeric|class_4=Digital}} | | {{VIServerClass|18}} |
|
| |
|
| {{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 Digital Properties Table</span> | | {{VIServerClassTables|18}} |
| <div class="mw-collapsible" id="mw-customcollapsible-propertiestable">
| |
| {{VIServerLegend|showrw=TRUE|showrte=TRUE}}
| |
| {| class="wikitable sortable"
| |
| |+ Digital Properties Table
| |
| ! Property ID | |
| ! Short Name (English)
| |
| ! Description
| |
| ! R/W
| |
| ! RTE
| |
| |- style="background-color:#FFFFCC;"
| |
| |633BC06
| |
| | [[Digital class/DisplayFormat property|DisplayFormat]]
| |
| |Specifies the format and precision of the digital numeric value. 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 in the shortcut menu of a numeric control or indicator and the <b>Display Format</b> page of the Properties dialog box.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |633BC07
| |
| | [[Digital class/Format property|Format]]
| |
| |Specifies the format of the digital numeric value. This property accepts the following format values: 0-Decimal, 1-Scientific, 2-Engineering, 3-Binary, 4-Octal, 5-Hexadecimal, 6-Relative Time, 7-Date and Time, 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 digital numeric value, 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 Display Format item in the shortcut menu of a numeric control or indicator and the <b>Format</b> option on the <b>Display Format</b> page of the Properties dialog box.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |633BC08
| |
| | [[Digital class/Precision property|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 Display Format item in the shortcut menu of a numeric control or indicator and the <b>Digits</b> option on the <b>Display Format</b> page of the Properties dialog box.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |633BC05
| |
| | [[Digital class/FormatString property|FormatString]]
| |
| |Gets and sets the format of the digital 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 %.
| |
| | |
| This property is similar to the Format string option on the <b>Display Format</b> page of the Properties dialog box.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#D1BB80;"
| |
| |633BC09
| |
| | [[Digital class/HideText property|HideText]]
| |
| |
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |633BC04
| |
| | [[Digital class/IncDecVis property|IncDecVis]]
| |
| |If TRUE, shows the increment and decrement buttons on a numeric control. If FALSE, this property hides the buttons.
| |
| | |
| Only numeric controls can have increment and decrement buttons. If you attempt to write this property for a numeric indicator, LabVIEW returns an error.
| |
| | |
| This property is similar to the <b>Visible Items»</b>Increment/Decrement item of the shortcut menu of a numeric control and the <b>Show increment/decrement buttons</b> option on the <b>Appearance</b> page of the Properties dialog box.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |633BC03
| |
| | [[Digital class/NumText property|NumText]]
| |
| |Reference to numeric text.
| |
| | |
| You can use this reference with the Text properties.
| |
| |R
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |633BC02
| |
| | [[Digital class/RadixVis property|RadixVis]]
| |
| |Shows or hides the radix, which you can use to change the data to decimal, hexadecimal, octal, or binary format, or SI notation.
| |
| | |
| This property is similar to the <b>Visible Items»</b>Radix item of the shortcut menu of a numeric control and the <b>Show radix</b> option on the <b>Appearance</b> page of the Properties dialog box.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |633BC01
| |
| | [[Digital class/TextWidth property|TextWidth]]
| |
| |Width of the numeric text display in pixels.
| |
| |R/W
| |
| |X
| |
| |} | |
| </div>
| |
| | |
| ==Methods==
| |
| ''No Methods for this class.''
| |
| | |
| ==Events==
| |
| ''No Events for this class.''
| |
|
| |
|
| == 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 121: |
Line 24: |
| *[[VI Server]] | | *[[VI Server]] |
|
| |
|
| [[Category:VI Server]]
| | |
| [[Category:VI Server Class]] | | [[Category:VI Server Class]] |
The Digital class is a class in the VI Server Class Hierarchy, (see also VI Server).
Properties
Show/Hide Digital Properties Table
Digital Properties Table
| Property ID
|
Long Name (English)
|
Description
|
R/W
|
RTE
|
| 633BC01 | Text Width | Width of the numeric text display in pixels. | Read/Write | Yes |
| 633BC02 | Radix Visible? | Shows or hides the radix, which you can use to change the data to decimal, hexadecimal, octal, or binary format, or SI notation. | Read/Write | Yes (Read Only) |
| 633BC03 | Numeric Text | Reference to numeric text. | Read Only | Yes |
| 633BC04 | Increment/Decrement Visible? | If TRUE, shows the increment and decrement buttons on a numeric control. If FALSE, this property hides the buttons. | Read/Write | Yes |
| 633BC05 | Format String | Gets and sets the format of the digital numeric control. | Read/Write | Yes |
| 633BC06 | Display Format | Specifies the format and precision of the digital numeric value. 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. | Read/Write | Yes |
| 633BC07 | Display Format:Format | Specifies the format of the digital numeric value. This property accepts the following format values: 0-Decimal, 1-Scientific, 2-Engineering, 3-Binary, 4-Octal, 5-Hexadecimal, 6-Relative Time, 7-Date and Time, 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. | Read/Write | Yes |
| 633BC08 | Display Format:Precision | Number of digits after the decimal point. If you wire a value of 9 to the Format property, this property returns an error. | Read/Write | Yes |
| 633BC09 | Hide Text | | Read/Write | Yes |
Methods
This class has no methods or it inherits methods from its parent: Numeric Class.
Events
This class has no events or it inherits events from its parent: Numeric Class.
History
| Version
|
Change(s)
|
|
More info to come.
|
See Also