NumericText class/Format String property

From LabVIEW Wiki
Jump to: navigation, search
VI Server Property Information
Property ID 632E403
Scope Basic Development Environment
Data Name FormatString
Short Name* FormatString
Long Name* Format String
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 39
Owning Class Name NumericText Class
Data Type String data type


Property Node Format String
Available in Real-Time Operating SystemYes
Available in Run-Time EngineYes
Loads the block diagram into memoryNo
Loads the front panel into memoryNo
Need to authenticate before useNo
Remote access allowedYes
Settable when the VI is runningYes

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 %<>T.

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.



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

See Also

External Links