Echelon OpenLNS User Manual
Page 467
OpenLNS Programmer's Reference
430
-1 lcaResourceScopeUnknown
The scope of the resource file is not
known, or could not be found.
-2 lcaResourceScopeAutoDetermination
Select this value to have LNS determine
the value of the Mode property for the
LonMarkObject automatically. If you
select this value, OpenLNS will iterate
through all the available resource files
from most specific to most general (i.e.
highest scope to lowest scope) until it
finds the functional profile template
resource file containing the
LonMarkObject object’s definition.
It will then assign the proper value to
the Mode property. If OpenLNS is
unable to determine the proper scope
value, it will set the Mode property to
lcaResourceScopeUnknown (-1).
When importing a device interface from
an external interface file, previous
versions of LNS would set the Mode
property of all LonMarkObject objects
defined in the device interface to one of
two values.
•
It would set the Mode property to 0
if the LonMarkObject object’s
TypeIndex property was in the
range of standard Functional Profile
Template (FPT) indices.
•
It would set the Mode property to 3
if the TypeIndex property was in the
range of user-defined FPT indices.
LNS Release 3.20 features automatic
scope determination, which means
OpenLNS will now search the set of
installed and cataloged resource files to
find the most device-specific match for
the FPT, and set the Mode property
based on this determination when the
device interface is imported. If no match
is found, OpenLNS will set the Mode
property to
lcaResourceScopeUnknown (-1).
lmObject
Data Type
Integer.
Read/Write
Read/write.