Fallbackformat – Echelon OpenLNS User Manual

Page 373

Advertising
background image

OpenLNS Programmer's Reference

336

FallbackFormat

Summary

Specifies the default type that should be used to display a

data point’s formatted value if the data point’s actual type

cannot be determined.

This may be necessary if a data point’s type is unknown, or if

it cannot be found in the resource files. Typically, OpenLNS

will automatically assign each data point a type based on the

type of the network variable or configuration property

associated with the data point.
You can also manually set a data point’s type by writing to

the FormatType property of the data point’s FormatSpec

object.
This property only applies to data points accessed through

network variables.

Availability

Local, full, lightweight, and independent clients.

Syntax

formatLocale.FallbackFormat = type

Element

Description

formatLocale

The FormatLocale object being acted

upon.

type

The fallback type selected for the

FormatLocale

object.

The valid settings for this property,

which are contained in the

ConstFallbackFormatTypes

constant,

are as follows:

0 lcaFormatRaw
Use "RAW" as the fallback type. This

is a text string format, and is the

default format for user-defined

network variables (UNVTs).
Each byte of the network variable

value (in big-endian format) appears

as a text-formatted integer value from

"0" through "255".
Each value byte is separated by the

TAB character (0x09).
1 lcaFormatRawHex
Use "RAW_HEX" as the fallback type.

This is a text string format.
Each byte of the network variable

value (in big-endian format) appears

as a text-formatted hex integer value

from "0" through "ff".
Each value byte is separated by the

Advertising