Authenticationflag, Changeabletypesupport – Echelon OpenLNS User Manual

Page 621

Advertising
background image

OpenLNS Programmer's Reference

584

AuthenticationFlag

Summary

Returns the network variable’s default authentication

setting

, which is specified by the device developer. If this

property is set to True, the network variable uses

authentication by default.
You can override the default setting by writing to the

UseAuthenticationFlag of the ConnectDescTemplate object

used by the connections involving the network variable.
Note: If you set the UseAuthenticationFlag property to True,

then all devices participating in the authenticated connection

must also have authentication enabled. This means that the

AuthenticationEnabled property of each AppDevice involved

in the connection must be set to True.

Availability

Local, full, and lightweight clients.

Syntax

authFlag = nvObject.AuthenticationFlag

Element

Description

authFlag

A Boolean value indicating whether

the network variable uses

authentication by default.

TRUE. The

network variable uses

authentication by default

.

FALSE. The network variable does

not use authentication by

default.

nvObject

The

NetworkVariable

object being

queried.

Data Type

Boolean

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

ChangeableTypeSupport

Summary

Indicates whether you can change the type that this network

variable uses

.

Availability

Local, full, and lightweight clients.

Syntax

changeable = networkVariable.ChangeableTypeSupport

Element

Description

changeable

A Long value indicating whether the

network variable’s type can be

changed.
The possible values for this element,

which are stored in the

ConstNvChangeableTypeSupport

Advertising