Echelon LNS User Manual

Page 257

Advertising
background image

LNS Programmer's Guide

243

Table 9.5 FormatSpec Object Properties

Property Description

AltFormatName

This property contains an indexed list of

all formats that can be applied to the

type used by the network variable or
data point. For example, in a
FormatSpec object representing the

SNVT_temp_f#US format (i.e. degrees
Fahrenheit), this property would contain

“SNVT_temp_f#US”, "SNVT_temp_f#SI",

and "SNVT_temp_f#US_diff".

AltFormatNameCount

This property indicates how many

alternate formats are contained in the
AltFormatName property.

Precision

This represents the number of digits that

will be used when data is read and

displayed using the format specification
if the data being displayed is a floating-

point type. This property has a range of

0-17.

If the data type used by the configuration

property or format specification is a
single float type, this property defaults to
the value of the FloatPrecision
property of the FormatLocale your

application is using. If the data type used

by the configuration property or format
specification is a double float type, this

property defaults to the value of the
DoubleFloatPrecision property of the
FormatLocale your application is using.

Units

This property returns a string describing

the units of values using this format.

UnitsMultiplier

This property indicates the value by

which the scaled value of the data point

or monitor point should be multiplied

when it is unit-converted for display as a
formatted value (via the
FormattedValue property).

Advertising