beautypg.com

Length – Echelon OpenLNS User Manual

Page 640

background image

OpenLNS Programmer's Reference

603

1 The network variable’s poll

attribute on. If the Direction

property is set to

lcaNvDirectionOutput, this

network variable will not send

network variable update messages

automatically; otherwise, this

network variable may poll other

network variables.

0 The network variable’s poll

attribute off. If the Direction

property is set to

lcaNvDirectionOutput, this

network variable sends update

messages automatically; otherwise,

this network variable does not poll

other network variables.

nvObject

The

NetworkVariable

object to be acted

on.

Data Type

Boolean.

Read/Write

Read only.

Added to API

LNS Release 3.0.

Length

Summary

Contains the length (in bytes) of the network variable.

Availability

Local, full, and lightweight clients.

Syntax

lengthValue = nvObject.Length

Element

Description

lengthValue

The length of the network variable in

bytes.
A value of 0 indicates that the length

cannot be determined by the Object

Server. If the network variable supports

changeable types, you can use its

TypeSpec

property to change its type. In

doing so, you can alter the length of the

network variable

nvObject

The

NetworkVariable

object to be acted

on.

Data Type

Integer.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.