Result – Echelon OpenLNS User Manual

Page 996

Advertising
background image

OpenLNS Programmer's Reference

959

clients.

Syntax

parentObject = object.Parent

Element

Description

parentObject

The object that is the parent of the

specified object.

object

Any object for which the parent is

desired.

Data Type

Object.

Read/Write

Read only.

Added to API

Depends on the object used to access the property. Generally,

this property exists for an object as soon as the object is

added to the API.

Result

Summary

Indicates if the upgrade was successful, failed as a result of a

connection error, failed as a result of the node not being

commissioned, or was not necessary.
The

Upgrade

method is used to upgrade a device’s external

interface. The method returns an

UpgradeStatus

object,

which contains information indicating whether the upgrade

was successful, as well as information describing the changes

made to each external interface component during the

upgrade (for example, functional block, network variable,

message tag, configuration property, monitor set, and

monitor point).

Availability

Local, full, and lightweight clients.

Syntax

resultValue = usObject.Result

Element

Description

resultValue

The enumerated values for this

element, which are contained in

the

ConstUpgrade Result

constant, are as follows:

0 lcaUgResSuccess

The external

interface upgrade was

successful. The UpgradeStatus object's

UpgradeInfos property contains the

results of the upgrade on the individual

external interface components.

1 lcaUgResNotRequired

The external interface upgrade failed

because the new external interface

specified has the same program ID and

interface components as the old

external interface.

Advertising