beautypg.com

Removenv, Uploadconfigproperties, E uploadconfigproperties – Echelon OpenLNS User Manual

Page 422

background image

OpenLNS Programmer's Reference

385

Added to API

Prior to LNS Release 3.0.

RemoveNv

Summary

Removes a network variable from the

Interface

object

.

When this method is called, the network variable is removed

from all connections containing it. If any affected connection

then has only one remaining member, the connection is

removed. You can only call this method on custom

Interface

objects (

Interface

objects accessed through the

Interfaces

property of an

AppDevice

or

DeviceTemplate

object)

Availability

Local, full, and lightweight clients.

Syntax

interfaceObject.RemoveNv nameIndex

Element

Description

interfaceObject

The

Interface

object to be acted on.

indexName

A Long value specifying the collection

index of the

NetworkVariable

object to

remove, or a String value specifying

the name of the

NetworkVariable

object to remove.

Added to API

Prior to LNS Release 3.0.

UploadConfigProperties

Summary

Uploads all configuration property values from a physical

device on the network into the associated

AppDevice

object in

the OpenLNS database.

A configuration property's value is stored in a DataPoint

object. The ConfigProperties collection containing all the

configuration properties on a device is accessed through the

AppDevice

object

's Interface property (AppDevice.Interface).

The UploadConfigProperties method can be invoked using

either the AppDevice object or the Interface object.
You cannot call the UploadConfigProperties method on a

device until you commission it with the Commission method.

Availability

Local, full, and lightweight clients.

Syntax

object.

UploadConfigProperties

options

Element

Description

object

The

AppDevice

object in the OpenLNS

database to which configuration properties are

to be uploaded.

options

An Integer value specifying the desired upload

options. The values for this element, which are

stored in the

ConstConfigPropOptions

constant, are as follows: