Jump to content

Digital class

From LabVIEW Wiki
Revision as of 00:14, 31 August 2019 by Q (talk | contribs) (Started page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
VI Server Class Information
Return to VI Server Class Hierarchy
Class Name class
Class ID {{{1}}}
Scope
Class Inheritance

This class is a top-level class.

Class Children

This class has no children.


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

Properties

Show/Hide Digital Properties Table

Legend
R/WReadable/Writable Permissions
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
Digital Properties Table
Property ID Short Name (English) Description R/W RTE
633BC06 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 Display Format page of the Properties dialog box.

R/W X
633BC07 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 Format option on the Display Format page of the Properties dialog box.

R/W X
633BC08 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 Digits option on the Display Format page of the Properties dialog box.

R/W X
633BC05 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 Display Format page of the Properties dialog box.

R/W X
633BC09 HideText R/W X
633BC04 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 Visible Items»Increment/Decrement item of the shortcut menu of a numeric control and the Show increment/decrement buttons option on the Appearance page of the Properties dialog box.

R/W X
633BC03 NumText Reference to numeric text.

You can use this reference with the Text properties.

R X
633BC02 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 Visible Items»Radix item of the shortcut menu of a numeric control and the Show radix option on the Appearance page of the Properties dialog box.

R/W X
633BC01 TextWidth Width of the numeric text display in pixels. R/W X

Methods

No Methods for this class.

Events

No Events for this class.

History

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

See Also