Tostring, Properties, S tostring – Echelon OpenLNS User Manual

Page 617

Advertising
background image

OpenLNS Programmer's Reference

580

variable, then the LCA, #119

lcaErrInterfaceNotModifyable exception will be thrown.

You can determine if a LonMarkObject

or network variable is

dynamic by reading the object’s IsDynamic property.
If you attempt to call this method on a network variable that

has been previously assigned to a network variable with the

AssignNetworkVariable method, then the operation will fail,

and the NS, #164 lcaErrNsNvmtInUse exception will be

thrown, unless the network variable object the network

variable has been assigned to is a member of the target

interface specified as the newInterface element.

Availability

Local, full, and lightweight clients.

Syntax

object.

MoveToInterface

newInterface

Element

Description

object

The network variable to be acted

upon.

newInterface

The

Interface

object to which the

object should be moved.

Added to API

LNS Release 3.20.

ToString

Summary

Creates a string description containing the identifying

characteristics for a

NetworkVariable

object

.

You can use this method on a model network variable to

create a string descriptor, which may be used to create a new

network variable using the AddNvFromString method.
Editing the string created from this method is not supported.

Availability

Local, full, and lightweight clients.

Syntax

descString = nvObject.ToString(options)

Element

Description

descString

A String containing the network

variable description.

nvObject

The

NetworkVariable

object to be

acted on.

options

This field is fixed at 0, and it is

reserved for future use.

Added to API

LNS Release 3.0.

Properties

The NetworkVariable object contains the following properties

:

Aliases

AppDevice

Advertising