Methods, Assignnetworkvariable – Echelon OpenLNS User Manual

Page 455

Advertising
background image

OpenLNS Programmer's Reference

418

ClassId

ComponentApps

ConfigProperties

Description

Extensions

FuncProfileDescription

FuncProfileIsDerived

FuncProfileName

FuncProfileProgrammaticName

Index

IsDynamic

LonMarkAlarm

Mode

Name

NetworkVariables

Parent

ParentInterface

PrincipalNv

ProgrammaticName

ReportMask

Request

SelfTestResults

Status

TypeIndex

TypeSpec

Methods

The LonMarkObject

contains the following methods

.

AssignNetworkVariable

MoveToInterface

UnassignNetworkVariable

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.

Advertising