Addex, Addfromtypespec – Echelon OpenLNS User Manual
Page 480
OpenLNS Programmer's Reference
443
brackets ([ ]), periods (.) or commas
(,).
fbType
Enter a value between 0-25,000. You
can use this value to identify the
functional profile template associated
with the new LonMarkObject.
See the LonMark Application Layer
Interoperability Guidelines for more
information on the different types of
functional profile templates you can
associate with a LonMarkObject.
Added to API
Prior to LNS Release 3.0.
AddEx
Summary
Adds a dynamic LonMarkObject object to a custom interface
containing this collection.
Availability
Local, full, and lightweight clients.
Syntax
newLonmarkObject = lonMarkObjects.AddEx(lmoName,
lmoType, programId, scope
)
Element
Description
newLonMarkObjec
t
The new LonMarkObject object to be
created.
lonMarkObjects
The collection of LonMarkObjects
objects to be added to the custom
interface.
lmoName
A String containing the name of the
lmoType
The FPT key of the LonMarkObject
to be created.
programId
The program ID of the resource file
set in which the FPT is defined.
scope
The scope of the resource file set
containing the FPT definition. An
appropriate exception will be thrown
if the type is not found in the
resource file set specified
Added to API
OpenLNS.
AddFromTypeSpec
Summary
Creates a new LonMarkObject using an existing TypeSpec
object. Validation is performed on the TypeSpec object
through a call to the Lookup method of the TypeSpec object.
An appropriate exception will be thrown if the FPT is not
found, if the type of the TypeSpec object object is not set to