Owner manual
OpenLNS Programmer's Reference 391
DynamicLonMarkObjectCapacity
Summary
Indicates the number of dynamic LonMarkObject objects
(functional blocks) that can be added to the device containing
this interface.
A functional block represents a collection of network
variables and configuration properties on a device that
perform a related function. For example, a digital input
device with four switches could contain one functional block
for each switch. In OpenLNS, functional blocks are
represented by LonMarkObject objects.
Some device interfaces support dynamic LonMarkObjects,
which means that you can add them to a device interface
manually with the Add method. In addition, you can add
network variables to a dynamic LonMarkObject after it has
been added to a device. This property returns the number of
dynamic LonMarkObject objects that can be added to the
device containing this interface. The valid range for this
property is 0–4096.
You can check how many total LonMarkObject objects
currently belong to an interface by reading the Count
property of the LonMarkObjects collection contained by the
interface. You can add dynamic LonMarkObjects to the
interface using the Add method of the interfaces
LonMarkObjects collection.
Availability
Local, full, and lightweight clients.
Syntax
objectCapacity = interface.DynamicLonMarkObjectCapacity
Element
Description
objectCapacity
The number of dynamic LonMark
objects (functional blocks) that can
be added to the device containing
this interface.
interface
The Interface object to be acted
upon.
Data Type
Long.
Read/Write
Read only.
Added to API
LNS Release 3.20.