beautypg.com

Echelon LNS User Manual

Page 260

background image

LNS Programmer's Guide

246

Table 9.6 lists the various properties of the

FormatLocale

object, and describes how

they affect the display of data stored in the

FormattedValue

property. For more

detailed information on each property, consult the LNS Object Server Reference help file.

Table 9.6 FormatLocale Objects

Property Description

CategoryPreferenceList

You can use the

CategoryPreferenceList

property to establish the format to use when

displaying the formatted value of a data point

whose base type (as specified by its

FormatSpec

object) contains several alternate formats.

DateFormatSeparator
DateFormatSeparatorSource

The

DateFormatSeparator

property determines

what symbol will be used to separate the digits

that represent months, days and years when the
formatted value is displayed as a date. This

applies to format specifications containing the
date() macro in their text format specification,

such as SNVT_date_cal#LO:

text(date(year, month, day))

DecimalPointCharacter
DecimalPointCharacterSource

The

DecimalPointCharacter

property

determines what symbol will be used to indicate
decimal places when a formatted value is

displayed as a scalar number. This applies to
format specifications that use the %f symbol in

their text format specification, such as

SNVT_temp#US:

text("%f", *1.8+32(0:855))

DoubleFloatPrecision

The

DoubleFloatPrecision

property

determines the default precision that will be used
when displaying double-float values.

FallbackFormat

The

FallbackFormat

property specifies the

default type that should be used to display a

network variable data point’s formatted value if
the data point’s actual type cannot be determined.

FloatPrecision

The

FloatPrecision

property determines the

default precision that will be used when
displaying single-float values.

LanguageId

The

LanguageId

property determines the

language that will be used to display Windows

localized settings.