Lonmarkmembernumber – Echelon OpenLNS User Manual

Page 642

Advertising
background image

OpenLNS Programmer's Reference

605

Syntax

indexValue = nvObject.LonMarkMemberIndex

Element

Description

indexValue

The index value of the network variable

as a long.

On static interfaces, indexes are

numbered from 0 to n-1, where n equals

the number of network variables in the

object.
If dynamic network variables have been

assigned and subsequently removed

from a LonMarkObject, the member

indexes may not be contigious, and

some member indexes may be equal to

or greater than the number of network

variables in the object.
If the network variable does not belong

to a LonMarkObject, this property will

contain the value –1.

nvObject

The

NetworkVariable

object to be acted

on.

Data Type

Long.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

LonMarkMemberNumber

Summary

Contains the member number assigned to this

NetworkVariable

within a

LonMarkObject

.

Each network variable contained within a LonMarkObject is

assigned a member number which, when combined with the

LmNumberManufacturerAssigned property, is unique within

the object. Member numbers are assigned by the LonMark

Application Layer Interoperability Guidelines, a LonMark

approved functional profile, or by the user (in the case of a

network variable not specified in those guidelines.
If the network variable does not belong to a LonMarkObject,

this property will contain the value –1.
This property differs from the LonMarkMemberIndex

property, which contains the index number assigned to the

network variable within the LonMarkObject. This generally

ranges from 0 to n-1 (on a static interface, it always reanges

from 0..n-1), where n represents the number of network

variables assigned to the LonMarkObject.

Availability

Local, full, and lightweight clients.

Advertising