Owner manual

OpenLNS Programmer's Reference 396
StaticNvCount
Summary
Indicates the number of network variables that are statically
defined on the device that contains this Interface.
Statically defined network variables have indexes ranging
from 0 through n-1, where n is equal to the StaticNvCount
property. These network variables cannot be removed from
the device.
Availability
Local, full, and lightweight clients.
Syntax
staticNvCountValue = interfaceObject.StaticNvCount
Element
Description
interfaceObject
The Interface object to be acted on.
staticNvCountValue
The number of static network
variables as an integer.
Data Type
Integer.
Read/Write
Read only.
Added to API
Prior to LNS Release 3.0.
SupportsDynamicNvsOnStaticLMOs
Summary
Indicates whether static LonMarkObject objects (functional
blocks) on the device containing this interface support the
addition of dynamic network variables.
Availability
Local, full, and lightweight clients.
Syntax
dynamicNVsFlag =
Interface.SupportsDynamicNvsOnStaticLMOs
Element
Description
dynamicNVsFlag
A Boolean value.
TRUE. Static LonMarkObject
objects (functional blocks)
on the device containing
this interface support the
addition of dynamic
network variables.
This means that you can
use the
AssignNetworkVariable
method to add network
variables to static
LonMarkObject objects on
this interface.
You can always add
network variables to
dynamic LonMarkObject
objects.