Unassignnetworkvariable, Properties – Echelon OpenLNS User Manual

Page 458

Advertising
background image

OpenLNS Programmer's Reference

421

Syntax

object.

MoveToInterface

newInterface

Element

Description

object

The

LonMarkObject

to be acted

upon.

newInterface

The

Interface

object to which the

object should be moved.

Added to API

LNS Release 3.20.

UnassignNetworkVariable

Summary

Removes a dynamic network variable from a LonMarkObject

object.

The network variable to be removed must have first

been added to the

LonMarkObject

with the

AssignNetworkVariable

method.

If you attempt to remove a network variable that has not

previously been added to the

LonMarkObject

, the NS, #108

lcaErrNsLmobjMemNotFound exception will be thrown.
If you attempt to remove a static network variable from a

LonMarkObject

, the NS, #286

lcaErrNsLmobjNvNotDynamic

exception will be thrown.

You can check if a

LonMarkObject

or network variable is

dynamic by reading the object’s

IsDynamic

property.

Availability

Local, full, and lightweight clients.

Syntax

LonMarkObject

.

UnassignNetworkVariable

networkVariable

Element

Description

LonMarkObject

The

LonMarkObject

to be acted

upon.

networkVariable

The

NetworkVariable

object being

assigned to the

LonMarkObject

object.

Added to API

LNS Release 3.20.

Properties

The LonMarkObject

contains the following properties

:

AlarmFormat

ClassId

ComponentApps

ConfigProperties

Description

Extensions

FuncProfileDescription

FuncProfileIsDerived

FuncProfileName

FuncProfileProgrammaticName

Advertising