Floatprecision – Echelon OpenLNS User Manual
Page 374
OpenLNS Programmer's Reference
337
TAB character (0x09).
2 lcaFormatRawHexPacked
Use "RAW_HEX_PACKED" as the
fallback type. This is a text string
format, just like the "RAW_HEX"
format.
Each byte of the network variable
value (in big-endian format) appears
as a text-formatted hex integer value
from "0" through "ff".
The value bytes are not separated by
the TAB character when this type is
used.
Data Type
Long.
Read/Write
Read/write.
Added to API
LNS Release 3.20.
FloatPrecision
Summary
Determines the precision that will be used when displaying
single-float values.
This property is implemented when the data stored in the
FormattedValue property is formatted as an ASCII
representation of a single precision floating-point value. It
specifies the default number of digits that will be used to
display the value.
Note: The FormatSpec object of each data point contains a
Precision property. This sets the precision that will be used to
display data stored in that data point. The FloatPrecision
property will only be used for a data point if its Precision
property is not set.
Availability
Local, full, lightweight, and independent clients.
Syntax
formatLocale. FloatPrecision = precision
Element
Description
formatLocale
The FormatLocale object being acted
upon.
precision
The single-float precision to use when
displaying data with this
The element has a range between 0–7.
This default value is 6.
You can write –1 to this property at
any time to return it to its default
value.