Methods, Assignnetworkvariable – Echelon OpenLNS User Manual
Page 455
OpenLNS Programmer's Reference
418
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Status
•
•
Methods
The LonMarkObject
contains the following methods
.
•
•
•
AssignNetworkVariable
Summary
Assigns a dynamic network variable to a LonMarkObject
object.
You can assign a dynamic NetworkVariable to any dynamic
LonMarkObject on the same interface. A network variable or
LonMarkObject is considered dynamic if it was added to the
device interface, and is not part of the DeviceTemplate used
by that device. You can check if a LonMarkObject or network
variable is dynamic by reading the object’s IsDynamic
property.
If a LonMarkObject is static, you can still assign dynamic
network variables to it if the
SupportsDynamicNvsOnStaticLMOs property of the Interface
containing the LonMarkObject is set to True. If you attempt
to assign a network variable to a static LonMarkObject that
does not support dynamic network variables, the NS, #285
lcaErrNsLmobjNotDynamic exception will be thrown.