Display Format:Format Property

FlexRIO Help

Edition Date: November 2015

Part Number: 372614J-01

»View Product Info

»Download the Help in ZIP Format

Short Name: Format

Requires: Base Development System

Class: Digital Properties

To Use: Create a property.

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.

Remarks

The following table lists the characteristics of this property.

Data type
PermissionsRead/Write
Available in Run-Time EngineYes
Available in Real-Time Operating SystemYes
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 allowedYes

WAS THIS ARTICLE HELPFUL?

Not Helpful