Language file, Functional profile template file – Echelon LNS DDE Server User Manual

Page 116

Advertising
background image

2. US = United States measurement system format. These formats will be

automatically selected if the operating system is configured to use United

States units.

3. LO = operating system (e.g. Microsoft Windows) locale-specific format. This

will cause the data type to be displayed as configured in the operating

system. For example, the operating system could display the date in
MM/DD/YYYY format or DD.MM.YYYY format.

The SI and US classes have a special relationship: Any type that has at least one

format defined with one of these classes must also have at least one format

defined with the other one of these classes. Any format definition that specifies

one of these classes cannot specify the other one—they are complimentary.

Membership in these classes, together with the Windows system default locale,
determines the runtime default format as described under Default Format.

Any format definition that contains the list-separator, date, or time locale-

specific specifier must be a member of the LO alternate format class. This aids

in ensuring backward compatibility and also make it obvious to the user that

locale-specific data transformations will occur when using this format.

See the LonMark Resource File Developers Guide available on the LonMark

website for more information.

Language File

The language file defines all language-dependent strings. The language the file

supports determines the extension of the language file. Two language string files

are included with the LNS DDE Server, STANDARD.ENU for English (US), and
STANDARD.ENG for English (UK). Each string reference from the type file is via

an index key into the language file. Each language file uses the same index for a

particular string, thus it is simple to switch from one supported language to

another. Additional language files will be placed on the L

ON

M

ARK

web site as

they are available.

Functional Profile Template File

The functional profile template file defines functional profile templates. A

functional profile template is a specification of a framework for a LONMARK

object. The functional profile template specifies the required and optional

network variable and configuration property components of a LONMARK object.

The actual implementation of a LONMARK object in a device may not contain

some of the optional components. It may also contain additional network

variable or configuration property components, these latter being referred to as

manufacturer specific. Device manufacturers should provide functional profile

template files for their user-defined functional profiles, and for their standard

functional profiles that use any manufacturer-specific network variables or

configuration property types.

The functional profile template file also defines default values, descriptive

strings, and validation information for the network variable and configuration

property components.

A-4

Resource

Files

Advertising