Format String Property

LabView Local Project Settings

Format String Property

Short Name: FormatString

Installed With: Base Package

Class: NumericText Properties

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.

Remarks

The following table lists the characteristics of this property.

Available in Run-Time Engine and Real-Time Operating SystemYes
PermissionsRead/Write
Settable when the VI is runningYes
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access disallowedNo
Must wait until user interface is idleNo
Available with control VIsNo
Available with global VIsNo
Available with strict type definitionsNo
Available with polymorphic VIsNo