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.

Short Name FormatString
Data type cstr.png
Permissions Read/Write
Available in Run-Time Engine Yes
Available in Real-Time Operating System Yes
Settable when the VI is running Yes
Loads the front panel into memory No
Need to authenticate before use No
Loads the block diagram into memory No
Remote access allowed Yes