Echelon OpenLNS Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Logiciel Echelon OpenLNS. Echelon OpenLNS User Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 108
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs

Résumé du contenu

Page 1 - Programmer's Reference

OpenLNS Programmer's Reference 078-0437-01A

Page 2 - Chips or LonPoint Modules

OpenLNS Programmer’s Reference x DataValue ... 253

Page 3 - Table of Contents

OpenLNS Programmer's Reference 63 be ORed with lcaConfigPropOptExcludeDeviceSpecific (64). Added to API Prior to LNS Release 3.0. Wink Summary

Page 4

OpenLNS Programmer's Reference 963 3 Interfaces This chapter details each interface in the OpenLNS Object hierarchy.

Page 5

OpenLNS Programmer's Reference 964 ILcaMsgMonitorPointListener The ILcaMsgMonitorPointListener interface can be added to a COM object created

Page 6

OpenLNS Programmer's Reference 965 Syntax object.UpdateErrorEvent updateType Element Description object An object that implements the ILcaMsgMo

Page 7

OpenLNS Programmer's Reference 966 request/response message. The OutputDp parameter's AutoWrite property is set to True; therefore, it wi

Page 8

OpenLNS Programmer's Reference 967 instead of Windows messaging. You must call the Advise method from the event handler that is handling the u

Page 9

OpenLNS Programmer's Reference 968 be set to 0. inputDp The DataPoint object containing the network variable monitor point update. The InputDp

Page 10

OpenLNS Programmer's Reference 969 follow these steps: 1. Create an object that implements the ILcaProgressListener interface. 2. Define the

Page 11

OpenLNS Programmer's Reference 970 The step name will be returned as a string of up to 128 characters. Added to API LNS Release 3.20.

Page 12

OpenLNS Programmer's Reference 971 4 OpenLNS Errors This chapter lists and describes the errors that may be generated by the various OpenLNS c

Page 13

OpenLNS Programmer's Reference 972 Errors LNS errors may be produced by each of the LNS components. These are uniquely identified in the objec

Page 14

OpenLNS Programmer's Reference 64 • Handle • HasBeenCommissioned • IconFilePath • InitialAuthenticationKey • Interface • Interfaces •

Page 15

OpenLNS Programmer's Reference 973 The device was discovered to be applicationless, or not associated with a program. If you encounter this err

Page 16

OpenLNS Programmer's Reference 974 lcaErrNsNotImplemented 16 The specified service or option is not implemented by the specified server. Thi

Page 17

OpenLNS Programmer's Reference 975 lcaErrNsUnsupportedInfo 28 The requested information is not available from an application node. For examp

Page 18

OpenLNS Programmer's Reference 976 lcaErrNsObjectInUse 39 A requested operation can't complete because the object involved in the opera

Page 19

OpenLNS Programmer's Reference 977 lcaErrNsProgramDblimit 55 This is an internal error, and should be reported to customer support. lcaErrNs

Page 20

OpenLNS Programmer's Reference 978 lcaErrNsRouterNotFound 70 The specified router handle does not exist. lcaErrNsTimerRange 71 The timer

Page 21

OpenLNS Programmer's Reference 979 other channel by repeaters or permanent bridges. Also, this error will occur if the channel is not currently

Page 22

OpenLNS Programmer's Reference 980 lcaErrNsCpDbLimit 93 The configuration property database limit has been exceeded. lcaErrNsCpRangeNotFound

Page 23

OpenLNS Programmer's Reference 981 The requested LonMark object member was not found. You will encounter this error if you try to use the Unass

Page 24

OpenLNS Programmer's Reference 982 lcaErrNsNvNotLmobjMember 122 The network variable is not a member of a LonMark object. lcaErrNsHostResour

Page 25

OpenLNS Programmer's Reference 65 Read/Write Read only. Added to API LNS Release 3.20. AliasUseCount Summary Returns the number of network var

Page 26

OpenLNS Programmer's Reference 983 lcaErrNsNsiInuse 136 Returned when an attempt is made to remove an NSI that is being used by other proces

Page 27

OpenLNS Programmer's Reference 984 Note that you must stop the "CrypkeyLicense" service and "NetworkX" driver before deleti

Page 28

OpenLNS Programmer's Reference 985 lcaErrNsMaxDbOpened 158 Exceeded the maximum number of databases lcaErrNsEventsNotInitialized 159 E

Page 29

OpenLNS Programmer's Reference 986 An OpenLNS network interface uses an IP address not defined on this PC. lcaErrNsNsiNotConfigured 176 NSI

Page 30

OpenLNS Programmer's Reference 987 However, the device will remain applicationless. You should load a new application image into the device wi

Page 31 - Preface

OpenLNS Programmer's Reference 988 Resource count exceeds capacity limits in self-identification data. lcaErrNsLmsdObjectRange 267 Invalid o

Page 32 - System Requirements

OpenLNS Programmer's Reference 989 lcaErrNsCpsdTemplateVersion 279 The version of the CP template is unsupported. lcaErrNsGroupDblimit 28

Page 33 - ONWORKS/IP-852 Router

OpenLNS Programmer's Reference 990 The bound network variables must be disconnected before the LonMarkObject can be deleted. You can disconnect

Page 34 - OpenLNS Documentation

OpenLNS Programmer's Reference 991 the device template was imported from an external interface file, the configuration property template file c

Page 35

OpenLNS Programmer's Reference 992 persistent update failures on a device, you should re-commission the device with the Commission method. lcaE

Page 36 - Content

OpenLNS Programmer's Reference 66 DeviceTemplate object's XifPath property. If this application device was not created from a device temp

Page 37

OpenLNS Programmer's Reference 993 lcaErrNsUpdateCpFailure 4038 The database updates were successful, but the configuration properties on on

Page 38 - OpenLNS Object Server

OpenLNS Programmer's Reference 994 Could not communicate with the network interface. A message timed out. lcaErrNiUplinkCmd 9 An uplink

Page 39 - Introduction

OpenLNS Programmer's Reference 995 May not send implicit tags via NI layer. Must use a message monitor point. lcaErrNiUnimplemented 27 Th

Page 40

OpenLNS Programmer's Reference 996 Connection Errors Connection errors are errors returned when attempting to make network variable or message

Page 41 - OpenLNS Object Hierarchy

OpenLNS Programmer's Reference 997 If the connection members are not SNVTs, then all members must have the same length. lcaErrConnDirectionOrP

Page 42 - Object Naming Convention

OpenLNS Programmer's Reference 998 shared by connections that intersect each other. This error will be generated when an attempt is made to for

Page 43

OpenLNS Programmer's Reference 999 A network can use up to 12288 selector values. Unrelated connections will normally require unique selector v

Page 44 - Objects

OpenLNS Programmer's Reference 1000 network variable may be received by connections and devices that it is not intended to. LNS attempts to avo

Page 45 - Account

OpenLNS Programmer's Reference 1001 identical. If a polling input network variable is a member of multiple connections, the timer settings for

Page 46 - ClassID

OpenLNS Programmer's Reference 1002 lcaErrUninitializedDb 5 Contact technical support. lcaErrObjectNotFound 6 An object has been requeste

Page 47 - Accounts

OpenLNS Programmer's Reference 67 object’s AuthenticationKey property. 2. Set the AuthenticationEnabled property of the AppDevice object that

Page 48

OpenLNS Programmer's Reference 1003 Alternatively, the XFB file might be re-build from the XIF file, using the XIF32BIN.EXE utility. lcaErrInva

Page 49

OpenLNS Programmer's Reference 1004 lcaErrDatabase 25 An unexpected database error occurred. Please take a note of the full error message, a

Page 50

OpenLNS Programmer's Reference 1005 Contact customer support. lcaErrCompiler 41 Generic compiler error. See the LNS Field Compiler documenta

Page 51 - ActivationLicense

OpenLNS Programmer's Reference 1006 lcaErrCantCopyNssDirectory 54 Internal error. Contact customer support. lcaErrCantRecoverNotNewDb 55

Page 52 - ActivatedVersion

OpenLNS Programmer's Reference 1007 lcaErrAnotherNetworkAlreadyOpen 66 An attempt to open a network database failed because another network

Page 53 - DeviceCapacityConsumed

OpenLNS Programmer's Reference 1008 lcaErrCantLaunchLcaServer 79 The OpenLNS Server cannot be launched. lcaErrNoMemory 80 No more system

Page 54 - LicenseId

OpenLNS Programmer's Reference 1009 removing items at runtime. It should be noted that this exception may also occur with collections which are

Page 55 - IsTrialLicense

OpenLNS Programmer's Reference 1010 lcaNeuronIdInUse 102 The NEURON ID assigned is already in use for another device in the network. lcaDbC

Page 56 - RequiredVersion

OpenLNS Programmer's Reference 1011 A service which is only available local to the server or on a Full client has been requested from a Lightwe

Page 57 - RunTimeRemaining

OpenLNS Programmer's Reference 1012 A network variable name is required for this service. LcaInternalErrBadExceptionCode 133 Internal error.

Page 58

OpenLNS Programmer's Reference 68 be installed in the device or router side by some external means. Setting this property to False results in r

Page 59

OpenLNS Programmer's Reference 1013 The extension record is too large to be accessed remotely. Data Server Errors These are errors returned by

Page 60 - Aliases

OpenLNS Programmer's Reference 1014 The operation specified was canceled interactively at the user interface. lcaErrDsVersionIncompatibility

Page 61

OpenLNS Programmer's Reference 1015 A Network Services call to get type information for this network variable has failed. lcaErrDsStartNvObject

Page 62

OpenLNS Programmer's Reference 1016 lcaErrDsObjectIsAlreadyStarted 49 Cannot start this object, as it is already started. lcaErrDsSetInvalid

Page 63

OpenLNS Programmer's Reference 1017 lcaErrDsFmttypeHasNoFields 67 The format type specified does not contain information about fields. lca

Page 64

OpenLNS Programmer's Reference 1018 lcaErrLnsDsNotImpl 368 Not implemented. lcaErrLnsDsPointer 369 Invalid pointer. lcaErrLnsDsIn

Page 65

OpenLNS Programmer's Reference 1019 Object not found. lcaErrLnsDsClientNotFound 385 Client not found. lcaErrLnsDsNetworkNotFound 386 Ne

Page 66

OpenLNS Programmer's Reference 1020 lcaErrLnsDsVniCloseFailed 402 There was an error closing the VNI. lcaErrLnsDsThreadCreateFailed 403

Page 67

OpenLNS Programmer's Reference 1021 lcaErrLnsDsInvalidClientContext 420 Invalid or no client context was supplied. lcaErrLnsDsImplicitAddres

Page 68

OpenLNS Programmer's Reference 1022 lcaErrFormatInvalidTypFile 5 Invalid type file. lcaErrFormatReferenceEnumScopeNotFound 6

Page 69 - CommussionEx

OpenLNS Programmer's Reference 69 AppDevices collection. Availability Local, full, and lightweight clients. Syntax channelObject = object.Chan

Page 70 - Decommission

OpenLNS Programmer's Reference 1023 lcaErrFormatNotBuiltInSpec 23 Not built in spec. lcaErrFormatInvalidPropSet

Page 71

OpenLNS Programmer's Reference 1024 Duplicate string provided. This exception will be thrown if you write to the CategoryPreferenceList proper

Page 72

OpenLNS Programmer's Reference 1025 LDRF error: full. lcaErrFormatLdrfErrDuplicate 216 LDRF error: duplicate. lcaErrFormatLdrfErrN

Page 73

OpenLNS Programmer's Reference 1026 Remote object does not exist. lcaErrRmoNoIpcMsgAvail 5 No Windows Inter Process Communication (

Page 74

OpenLNS Programmer's Reference 1027 LonTalk Adapter name too long. lcaErrLtaInvalidState 309 LonTalk Adapter invalid state. lca

Page 75 - GetMessagePoint

OpenLNS Programmer's Reference 1028 LonTalk Adapter error log mask. lcaErrLtaNvLengthMismatch 430 LonTalk Adapter network variable le

Page 76

OpenLNS Programmer's Reference 1029 Out of memory (registry subsystem). lcaErrVniRegCantFindObject 604 Cannot find object (reg

Page 77

OpenLNS Programmer's Reference 1030 Message monitor point not found. lcaErrVniMustSpecifyMsgTag 622 Must specify message tag.

Page 78

OpenLNS Programmer's Reference 1031 Configuration file could not be found. lcaErrVniRegCannotUpdateConfigFile 640 Configuration file c

Page 79

OpenLNS Programmer's Reference 1032

Page 80

OpenLNS Programmer's Reference 70 commissioning, and lcaCommissionUpdatesCurrent (0) after a successful commission. This property will be set t

Page 81

OpenLNS Programmer's Reference 1033 Appendix A Deprecated Items This appendix lists methods, properties, and objects that should no longer be u

Page 82

OpenLNS Programmer's Reference 1034 Deprecated Items In OpenLNS and LNS Turbo Editions, some methods, objects, properties and events have been

Page 83 - PropagateDeviceConfigUpdates

LNS FX Programmer's Reference 1035 Deprecated Objects The following objects have been deprecated in OpenLNS and LNS Turno Editions (3.2). This

Page 84 - ReleasePendingUpdates

OpenLNS Programmer's Reference 1036 Deprecated Methods The following methods have been deprecated in OpenLNS and LNS Turbo Editions (3.2). This

Page 85

OpenLNS Programmer's Reference 1037 Method Applicable Parent Object Version Reason Substitute Feature OpenComponent AppDevice 3.2 U Pur

Page 86

OpenLNS Programmer's Reference 1038 Deprecated Properties The following propeties have been deprecated in OpenLNS and LNS Turbo Editions (3.2).

Page 87

OpenLNS Programmer's Reference 1039 Property Applicable Parent Object Version Reason Substitute Feature DataServerObjectHandle System 3.

Page 88 - ResyncToTemplate

OpenLNS Programmer's Reference 1040 Property Applicable Parent Object Version Reason Substitute Feature when displaying network variable va

Page 89

OpenLNS Programmer's Reference 1041 Property Applicable Parent Object Version Reason Substitute Feature DsService NetworkVariable Networ

Page 90

OpenLNS Programmer's Reference 1042 Property Applicable Parent Object Version Reason Substitute Feature MaxDefecitCredits CreditInfo 4.0 NL

Page 91

OpenLNS Programmer's Reference 71 changes. 2 lcaCommissionUpdatesFailed Commission updates are currently pending or in progress, and the most

Page 92

OpenLNS Programmer's Reference 1043 Property Applicable Parent Object Version Reason Substitute Feature ValueFromDevice ConfigProperty

Page 93

www.echelon.com

Page 94 - ONWORKS Interfaces

OpenLNS Programmer's Reference 72 ConnectionUpdateType Summary Specifies in which state the AppDevice is placed while performing a connection u

Page 95 - Upgrade

OpenLNS Programmer’s Reference xi RegisteredComponent ... 282 SelfDocConsistency ...

Page 96

OpenLNS Programmer's Reference 73 Read/Write Read/write. Added to API Prior to LNS Release 3.0. Delay Summary Represents the average number of

Page 97 - section in

OpenLNS Programmer's Reference 74 Added to API This depends on the object used to access the property. Generally, this property exists for the

Page 98

OpenLNS Programmer's Reference 75 identifier set by the manufacturer Availability Local, full, lightweight, and independent clients. Syntax ext

Page 99

OpenLNS Programmer's Reference 76 whether all database changes have been propagated to the physical device. Availability Local, full, and light

Page 100 - Properties

OpenLNS Programmer's Reference 77 its authentication key because the device has authentication enabled. If the InitialAuthenticationKey is set

Page 101 - AliasCapacity

OpenLNS Programmer's Reference 78 and custom interfaces associated with the device. The Interfaces collection allows virtual and custom interfa

Page 102 - AppImagePath

OpenLNS Programmer's Reference 79 monitor set, and monitor point) during the upgrade. If you have not called the Upgrade method on a device and

Page 103 - AuthenticationEnabled

OpenLNS Programmer's Reference 80 appDevObject.LocationinNeuron = locationValue Element Description locationValue The location as read from th

Page 104

OpenLNS Programmer's Reference 81 Added to API LNS Release 3.0. Name Summary Specifies the name of an object as a character string. This proper

Page 105 - Channel

OpenLNS Programmer's Reference 82 Availability Local, full, and lightweight clients. Syntax neuronIdValue = object.NeuronId Element Descripti

Page 106 - CommissionStatus

OpenLNS Programmer’s Reference xii Item ... 312 Parent

Page 107

OpenLNS Programmer's Reference 83 NonGroupRcvTimerNonGroupRcvTimer_Property Summary The value of the device's non-group receive timer. Th

Page 108 - ConfigurationState

OpenLNS Programmer's Reference 84 Syntax handleValue = nsdObject.NsiHandle Element Description handleValue The NSI’s handle. nsdObject The Netw

Page 109 - ConnectionUpdateType

OpenLNS Programmer's Reference 85 object Any object for which the parent is desired. Data Type Object. Read/Write Read only. Added to API Dep

Page 110 - Description

OpenLNS Programmer's Reference 86 System object's PingIntervals property. Data Type Integer. Read/Write Read/write. Added to API Prior t

Page 111 - Extensions

OpenLNS Programmer's Reference 87 127 lcaLNSNodePriorityMax Represents the maximum number of priority slots on any LonTalk channel. Do not se

Page 112 - HasBeenCommissioned

OpenLNS Programmer's Reference 88 Availability Local, full, and lightweight clients. Syntax descriptionString = object.SelfDocumentation Eleme

Page 113 - InitialAuthenticationKey

OpenLNS Programmer's Reference 89 properties are read-only. 2 lcaStateUncnfg The application is loaded but the configuration is either not l

Page 114 - Interface

OpenLNS Programmer's Reference 90 mode). The device's service LED is off in this state. object The device to be acted on. Data Type Inte

Page 115 - LastUpgradeStatus

OpenLNS Programmer's Reference 91 Subsystems Summary Contains the Subsystem collection object associated with the specified AppDevice. A Subsy

Page 116 - LocationInNeuron

OpenLNS Programmer's Reference 92 Syntax upgradeReqValue = adObject.UpgradeRequirement Element Description upgradeReqValue An enumerated value

Page 117 - MonitorSets

OpenLNS Programmer’s Reference xiii ClassId ... 357 Count .

Page 118 - NeuronId

OpenLNS Programmer's Reference 93 Methods The AppDevices object contains the following methods. • Add • AddReference • ItemByHandle • ItemB

Page 119 - NodeId

OpenLNS Programmer's Reference 94 • The device’s network variables and message tags are unbound; • The device’s priority slot is set to zero

Page 120 - NsiHandle

OpenLNS Programmer's Reference 95 commissioned. You should specify the channel whenever possible. channelObject The Channel object of the chann

Page 121

OpenLNS Programmer's Reference 96 Element Description collection The AppDevices collection to gain the reference. object The AppDevice object t

Page 122 - PingClass

OpenLNS Programmer's Reference 97 If the application device in not a member of any other subsystem, then the application device is completely r

Page 123 - Priority

OpenLNS Programmer's Reference 98 object The object to be acted on. Data Type Integer. Read/Write Read only. Added to API Depends on the obje

Page 124 - SelfDocumentation

OpenLNS Programmer's Reference 99 stringExpression A string type specifying the name of the object to retrieve. Data Type Object. Read/Write

Page 125

OpenLNS Programmer's Reference 100 Availability Local, full, and lightweight clients. Syntax retrievedObject = collObject._NewEnum Element Desc

Page 126

OpenLNS Programmer's Reference 101 ClassId Summary Identifies the object class of this object. Availability Local, full, lightweight, and inde

Page 127 - Subnets

OpenLNS Programmer's Reference 102 Syntax majVersion = appObject.MajorVersion Element Description majVersion The major version number of this a

Page 128 - UpgradeRequirement

OpenLNS Programmer’s Reference xiv Item ... 400 Parent

Page 129 - AppDevices

OpenLNS Programmer's Reference 103 Availability Local, full, lightweight, and independent clients. Note that some objects that contain this pro

Page 130 - Methods

OpenLNS Programmer's Reference 104 ConstApplicationState constant, are as follows: 0 LcaApplOnline The application is currently executing. 1

Page 131

OpenLNS Programmer's Reference 105 Default Property None. Methods None. Properties • ClassId • InputBufferCount • InputBufferSize • Outp

Page 132 - AddReference

OpenLNS Programmer's Reference 106 InputBufferCount Summary Contains the value of the input buffer count used for router configuration. Change

Page 133

OpenLNS Programmer's Reference 107 Data Type Long. Read/Write Read/write. Added to API Prior to LNS Release 3.0. OutputBufferCount Summary Co

Page 134

OpenLNS Programmer's Reference 108 Element Description bufSize The output buffer size. bcObject The BufferConfiguration object to be acted on.

Page 135

OpenLNS Programmer's Reference 109 for more information. Availability Local, full, and lightweight clients. Syntax bufSize = bcObject.PriorityB

Page 136 - _NewEnum

OpenLNS Programmer's Reference 110 Properties The Channel object contains the following properties: • AltPathType • AppDevices • BitmapFile

Page 137 - Application

OpenLNS Programmer's Reference 111 1 lcaChannelAltPathNotRequired This channel does not require use of the alternate path. This value should

Page 138 - MajorVersion

OpenLNS Programmer's Reference 112 Syntax bmpFilePath = object.BitmapFilePath Element Description bmpFilePath The bitmap path and file name. o

Page 139

OpenLNS Programmer’s Reference xv ParentInterface ... 432 PrincipalNv ..

Page 140

OpenLNS Programmer's Reference 113 size and channel transceiver type. When you write to this property, you should note that the delays for tran

Page 141 - BufferConfiguration

OpenLNS Programmer's Reference 114 manufacturers. Each object is identified with a unique identifier set by the manufacturer Availability Loca

Page 142

OpenLNS Programmer's Reference 115 object The object to be acted on. Data Type String. Read/Write Read/write. If you write to this property,

Page 143 - InputBufferSize

OpenLNS Programmer's Reference 116 Availability Local, full, lightweight, and independent clients. Note that some objects that contain this pro

Page 144 - OutputBufferSize

OpenLNS Programmer's Reference 117 routersCollection The Routers collection returned. Data Type Routers collection object. Read/Write Read onl

Page 145 - PriorityBufferSize

OpenLNS Programmer's Reference 118 transceiver. 11 lcaXcvrTP_RS485_1250 TP/RS485-1250 LonWork transceiver. 12 lcaXcvrTP_RS485_78 TP/RS-485-78

Page 146

OpenLNS Programmer's Reference 119 29 lcaXcvrDC_1250 DC-1250 LONWORKS transceiver. channelObject Channel object to be acted upon. Data Type L

Page 147

OpenLNS Programmer's Reference 120 Element Description channelObject The newly defined channel object. channelsObject The Channels collection o

Page 148

OpenLNS Programmer's Reference 121 CENELEC A-band. 16 lcaXcvrPL_20C PLT-20, PLT-21, and PLT-22 LONWORKS transceivers using CENELEC C-band. 17

Page 149

OpenLNS Programmer's Reference 122 Remove Summary Removes a channel from the network. A channel may only be removed if there are no devices or

Page 150

OpenLNS Programmer’s Reference xvi Enable... 467 Open ...

Page 151

OpenLNS Programmer's Reference 123 added to the API. Comments This property allows the object type to be determined when it is unknown (for ex

Page 152 - MaxPriority

OpenLNS Programmer's Reference 124 Syntax filterValue = channelsCollection.FilterType Element Description filterValue The active filter type. T

Page 153 - RouterDevices

OpenLNS Programmer's Reference 125 collObject The Channels collection object to be acted on. index A Long type specifying the ordinal index of

Page 154 - TransceiverId

OpenLNS Programmer's Reference 126 • If the FilterType property is set to lcaChannelFilterPath, the Channels collection object will access all

Page 155

OpenLNS Programmer's Reference 127 set to lcaChannelFilterTransceiver. When this is the case, the Channels collection object will access the C

Page 156 - Channels

OpenLNS Programmer's Reference 128 ComponentApp This object describes a LONWORKS plug-in command. ComponentApps collection objects are contain

Page 157

OpenLNS Programmer's Reference 129 ClassId Summary Identifies the object class of this object. Availability Local, full, lightweight, and inde

Page 158 - ItemByHandle

OpenLNS Programmer's Reference 130 1 lcaCommandIdNew 2 lcaCommandIdEditSource 10 lcaCommandIdBuildImage 11 lcaCommandIdCommission 12 lca

Page 159

OpenLNS Programmer's Reference 131 6 lcaClassIdSubsystems 7 lcaClassIdAppDevice 8 lcaClassIdAppDevices 9 lcaClassIdRouter 10 lcaClassI

Page 160 - FilterType

OpenLNS Programmer's Reference 132 59 lcaClassIdAliases 69 lcaClassIdPingIntervals 70 lcaClassIdApplication 71 lcaClassIdTestInfo 72 lcaCl

Page 161

OpenLNS Programmer’s Reference xvii UpdateErrorEvent ... 505 UpdateEvent ...

Page 162 - RefChannel 1

OpenLNS Programmer's Reference 133 implements the default action compAppObject The ComponentApp object to be acted on. Data Type Boolean. Rea

Page 163 - RefTransceiverType

OpenLNS Programmer's Reference 134 Name Summary Specifies the name of a ComponentApp object as a character string. This property is case sensit

Page 164

OpenLNS Programmer's Reference 135 RegisteredServer Summary Contains the plug-in name that is stored in the Windows registry for this component

Page 165 - ComponentApp

OpenLNS Programmer's Reference 136 Note that the Interface property of all AppDevice objects contain a ComponentApps collection; however, the b

Page 166 - CommandID

OpenLNS Programmer's Reference 137 the ComponentApp object for the possible values. Added to API Prior to LNS Release 3.0. Remove Summary Rem

Page 167 - ComponentClassID

OpenLNS Programmer's Reference 138 Added to API Depends on the object used to access the property. Generally, this property exists for an objec

Page 168

OpenLNS Programmer's Reference 139 Data Type Object. Read/Write Read only. Added to API Depends on the object used to access the property. Gen

Page 169 - DefaultAppFlag

OpenLNS Programmer's Reference 140 Syntax retrievedObject = collObject._NewEnum Element Description retrievedObject An expression that evaluate

Page 170 - ManufacturerID

OpenLNS Programmer's Reference 141 handle A Long value specifying the handle of the ConfigProperty object to be retrieved. Added to API LNS R

Page 171

OpenLNS Programmer's Reference 142 Syntax returnValue = object.Count Element Description returnValue The number of objects in the collection as

Page 172 - ComponentApps

OpenLNS Programmer’s Reference xviii Parent ... 543 _NewEn

Page 173

OpenLNS Programmer's Reference 143 Parent Summary Returns the object that spawned the current child object. Availability Local, full, lightwei

Page 174

OpenLNS Programmer's Reference 144 Data Type Object. Read/Write Read only. Added to API OpenLNS. ConfigProperty A ConfigProperty object repres

Page 175

OpenLNS Programmer's Reference 145 Methods The ConfigProperties object contains the following methods: • GetDataPoint • GetRawValuesEx •

Page 176

OpenLNS Programmer's Reference 146 The value of the ConfigProperty will be updated in the OpenLNS database and in the physical device each time

Page 177 - ConfigProperties

OpenLNS Programmer's Reference 147 value is recommended only when updating the database with a value that has just been read from the device. F

Page 178

OpenLNS Programmer's Reference 148 retrieved. If you specify an invalid index, an LCA, #90 lcaValueOutOfRange exception is thrown. count Spec

Page 179

OpenLNS Programmer's Reference 149 Added to API LNS Release 3.20. SetRawValuesEx Summary Sets the raw value for a range of elements in an array

Page 180

OpenLNS Programmer's Reference 150 just been read from the device (for example, create a data point with the lcaDataSourceOptionsFromDevice (1

Page 181 - ConfigProperty

OpenLNS Programmer's Reference 151 • ConstantAttribute • Description • DeviceSpecificAttribute • Dimension • FlagsByte • FormatN

Page 182

OpenLNS Programmer's Reference 152 AppDevice or DeviceTemplate as a whole, a collection of LonMarkObjects, or a collection of NetworkVariable o

Page 183

OpenLNS Programmer’s Reference xix Properties ... 570 Cla

Page 184 - GetRawValuesEx

OpenLNS Programmer's Reference 153 ByteLength Summary Returns the length (in bytes) of a single configuration property element. Multiplying th

Page 185

OpenLNS Programmer's Reference 154 added to the API. Comments This property allows the object type to be determined when it is unknown (for ex

Page 186 - SetRawValuesEx

OpenLNS Programmer's Reference 155 Read/Write Read only. Added to API OpenLNS. ConfigFileType Summary Specifies the type of configuration value

Page 187

OpenLNS Programmer's Reference 156 Syntax fileType = cpObject.ConfigFileType Element Description fileType The type of the configuration value f

Page 188 - AppliesToType

OpenLNS Programmer's Reference 157 implemented by an array of network variables, array elements will be implemented by consecutive network vari

Page 189

OpenLNS Programmer's Reference 158 by an array of network variables, the array elements will be implemented by consecutive network variables.

Page 190 - ByteLength

OpenLNS Programmer's Reference 159 organization at the time. As a result, LNS 3.20 allows applications such as device plug-ins to modify the c

Page 191 - ConfigFileOffset

OpenLNS Programmer's Reference 160 Description Summary Stores description information about the ConfigProperty object. Availability Local, f

Page 192 - ConfigFileType

OpenLNS Programmer's Reference 161 installation. Therefore, you can modify the device-specific attribute by writing to this property. Set this

Page 193 - ConfigNv

OpenLNS Programmer's Reference 162 Dimension Summary Returns the length (in bytes) of a single configuration property element. Multiplying thi

Page 194 - ConfigNvIndex

ii Echelon, LON, LonWorks, Neuron, 3120, 3150, i.LON, LNS, LonMaker, LONMARK, LonTalk, NodeBuilder, and the Echelon logo are trademarks of Echelon Co

Page 195 - ConstantAttribute

OpenLNS Programmer’s Reference xx Priority ... 610 Priorit

Page 196

OpenLNS Programmer's Reference 163 The configuration property is offline. 4 lcaCpFlagsConstant The configuration property has the constant at

Page 197 - DeviceSpecificAttribute

OpenLNS Programmer's Reference 164 a SNVT_xxx type, it will be formatted as specified by the format file. 2. If the ConfigProperty object’s ty

Page 198

OpenLNS Programmer's Reference 165 that has the same name as the underlying type. This is called the root format for the type, and may be diffe

Page 199 - FlagsByte

OpenLNS Programmer's Reference 166 Data Type String. Read/Write Read/write. Added to API Prior to LNS Release 3.0. FuncProfileDescription Sum

Page 200 - FormatName

OpenLNS Programmer's Reference 167 Read/Write Read-only. Added to API Prior to LNS Release 3.0. FuncProfileProgrammaticName Summary Returns th

Page 201

OpenLNS Programmer's Reference 168 Once the implementation type is known, a client can retrieve the appropriate addressing information for the

Page 202 - ONMARK resource files

OpenLNS Programmer's Reference 169 Added to API OpenLNS. Mode Summary Returns the scope of the LonMark resource file containing the definition

Page 203 - FuncProfileName

OpenLNS Programmer's Reference 170 subclass and model. -1 lcaResourceScopeUnknown The scope of the resource file is not known, or could not b

Page 204 - ImplementationType

OpenLNS Programmer's Reference 171 Data Type Object. Read/Write Read only. Added to API Depends on the object used to access the property. Gene

Page 205 - properties of the

OpenLNS Programmer's Reference 172 account for changes to the configuration property’s type. Only configuration properties that apply to networ

Page 206

OpenLNS Programmer’s Reference xxi Events ... 653 Up

Page 207

OpenLNS Programmer's Reference 173 ValueStatus Summary Determines the current state of the value stored in the OpenLNS database for the ConfigP

Page 208 - TypeInherits

OpenLNS Programmer's Reference 174 OpenLNS database by calling the UploadConfigProperties method, and specifying lcaConfigPropOptLoadUnknown (4

Page 209 - TypeIndex

OpenLNS Programmer's Reference 175 Description A generic connection description template that can be applied to multiple network variable conne

Page 210 - ValueStatus

OpenLNS Programmer's Reference 176 • UsePriorityFlag AliasOptions Summary Specifies how network variable aliases should be used in the connect

Page 211 - ConnectDescTemplate

OpenLNS Programmer's Reference 177 the ConstConnBroadcastOptions constant, are as follows: 0 lcaBroadcastNever No broadcast addressing will b

Page 212

OpenLNS Programmer's Reference 178 is unknown (for example, when the object was accessed using the Parent property of another object). Descript

Page 213 - BroadcastOptions

OpenLNS Programmer's Reference 179 the list of hubs; therefore, you should update the cached copy of the complete hub list when you add or dele

Page 214

OpenLNS Programmer's Reference 180 Syntax nvColl = cdtObject.NVHubs Element Description cdtObject The ConnectDescTemplate object to be acted o

Page 215

OpenLNS Programmer's Reference 181 Syntax propOptionsValue = cdtObject.PropertyOptions Element Description cdtObject The ConnectDescTemplate

Page 216

OpenLNS Programmer's Reference 182 RepeatCount property of the ConnectDescTemplate object. 32 lcaConnPropsRepeatTimer Select this value to act

Page 217 - PropertyOptions

OpenLNS Programmer’s Reference xxii Object ... 685 Parent

Page 218

OpenLNS Programmer's Reference 183 default receive timer is calculated based on the network topology, channel delays, and other connections tha

Page 219 - ReceiveTimer

OpenLNS Programmer's Reference 184 Syntax repeatCountValue= cdtObject.RepeatCount Element Description cdtObject The ConnectDescTemplate object

Page 220 - RepeatCount

OpenLNS Programmer's Reference 185 repeatTimerValue The encoded value of the repeat timer. The default value for this property is determined

Page 221 - RepeatTimer

OpenLNS Programmer's Reference 186 RetryCount Summary Sets the maximum number of times to resend messages sent with the request/response, unack

Page 222

OpenLNS Programmer's Reference 187 ServiceType Summary Stores the messaging service to be used for the connection. Note: This property will on

Page 223 - RetryCount

OpenLNS Programmer's Reference 188 acknowledgment messages. Do not use this service type on channels that support altnerate frequencies becaus

Page 224 - ServiceType

OpenLNS Programmer's Reference 189 1 0.024 2 0.032 3 0.048 4 0.064 5 0.096 6 0.128 7 0.192 8 0.256 9 0.384 10 0.512 11 0.768 12 1.024 13 1.536

Page 225 - TransmitTimer

OpenLNS Programmer's Reference 190 AuthenticationFlag. This property is used for network variable connections only. Data Type Boolean. Read/Wr

Page 226 - UseAuthenticationFlag

OpenLNS Programmer's Reference 191 ConnectDescTemplates A ConnectDescTemplates object is a collection of ConnectDescTemplate objects. The inst

Page 227 - UsePriorityFlag

OpenLNS Programmer's Reference 192 ItemByHandle Summary Retrieves a ConnectDescTemplate object, specified by its handle, from a ConnectDescTemp

Page 228 - ConnectDescTemplates

OpenLNS Programmer’s Reference xxiii InOverride ... 737 InvalidI

Page 229

OpenLNS Programmer's Reference 193 Independent clients. Syntax classIdValue = object.ClassId Element Description classIdValue The object class

Page 230

OpenLNS Programmer's Reference 194 passing the object’s name as a string expression Availability Local, full, lightweight, and independent clie

Page 231

OpenLNS Programmer's Reference 195 For Each ... Next statements. • If you are developing your OpenLNS app in Visual C++, you can browse a coll

Page 232 - Connections

OpenLNS Programmer's Reference 196 Methods The Connections object does not contain any methods. Properties The Connections object contains the

Page 233

OpenLNS Programmer's Reference 197 Data Type MessageTags collection object. Read/Write Read only. Added to API Prior to LNS Release 3.0. Netw

Page 234 - NetworkVariables

OpenLNS Programmer's Reference 198 CreditInfo OpenLNS applications can determine a system’s current licensing status by reading the properties

Page 235 - CreditInfo

OpenLNS Programmer's Reference 199 Syntax classIdValue = object.ClassId Element Description classIdValue The object class of the object. The f

Page 236 - DeficitCredits (Deprecated)

OpenLNS Programmer's Reference 200 always 0. creditObject The CreditInfo object to be acted on. Data Type Long. Read/Write Read only. Added t

Page 237 - LicenseType (Deprecated)

OpenLNS Programmer's Reference 201 MaxDeficitCredits (Deprecated) Summary Returns 0. Note: In previous LNS releases, this property indicted th

Page 238 - DatabaseValidationReport

OpenLNS Programmer's Reference 202 All the other properties contain information describing the errors that were discovered in the database duri

Page 239

OpenLNS Programmer’s Reference xxiv ReplaceEx ... 773 Reset ...

Page 240

OpenLNS Programmer's Reference 203 filename to where the file is to be exported. This must be a valid system path overwriteExisting This elemen

Page 241 - ErrorSummaries

OpenLNS Programmer's Reference 204 Data Type Integer. Read/Write Read only. Added to API Depends on the object used to access the property. Ge

Page 242 - RepairedErrors

OpenLNS Programmer's Reference 205 Read/Write Read only. Added to API Depends on the object used to access the property. Generally, this proper

Page 243 - TotalObjectsValidated

OpenLNS Programmer's Reference 206 Syntax repairedCount = validationReport.RepairedErrors Element Description repairedCount The number of err

Page 244 - UnrepairedErrors

OpenLNS Programmer's Reference 207 UnrepairedErrors Summary Contains the number of errors discovered during the database validation that were n

Page 245

OpenLNS Programmer's Reference 208 Description Indicates whether OpenLNS was able to repair a specific error during a database validation. Adde

Page 246 - ErrorType

OpenLNS Programmer's Reference 209 Syntax classIdValue = object.ClassId Element Description classIdValue The object class of the object. The f

Page 247

OpenLNS Programmer's Reference 210 A duplicate dynamic network variable was found on a device’s interface. 3 lcaDbValidationError MissingNV A

Page 248

OpenLNS Programmer's Reference 211 discovered. This is an internal error. 13 lcaDbValidationErrorDuplicateDynamicLMO Duplicate LonMark object d

Page 249 - ObjectClassInvolved

OpenLNS Programmer's Reference 212 Integrity This is an internal error. 132 lcaDbValidationErrorNssLink Integrity This is an internal error.

Page 250 - ObjectName

OpenLNS Programmer’s Reference xxv Methods ... 812 Prop

Page 251

OpenLNS Programmer's Reference 213 ObjectInternalId Summary Indicates the internal ID of the object that caused the error, which is referenced

Page 252 - ParentObjectClass

OpenLNS Programmer's Reference 214 Parent Summary Returns the object that spawned the current child object. The parent object is determined by

Page 253 - ParentObjectInternalId

OpenLNS Programmer's Reference 215 ParentObjectClass Summary Indicates the class ID of the parent of the object that caused the error, which is

Page 254 - Repairable

OpenLNS Programmer's Reference 216 ParentObjectInternalId Summary Indicates the internal ID of the parent of the object that caused the error,

Page 255

OpenLNS Programmer's Reference 217 ParentObjectName Summary Indicates the name of the parent of the object that caused the error, which is refe

Page 256 - Repaired

OpenLNS Programmer's Reference 218 Syntax isRepairable = validationObject.Repairable Element Description validationObject The DatabaseValidat

Page 257

OpenLNS Programmer's Reference 219 RepairAttempted Summary Indicates whether OpenLNS attempted to repair errors of this type during the validat

Page 258

OpenLNS Programmer's Reference 220 Syntax repaired = errorReport.Repairable Element Description errorReport The DatabaseValidationErrorInstan

Page 259

OpenLNS Programmer's Reference 221 index number. The index number will be in the range of 1 to x, where x represents the value stored in the Co

Page 260

OpenLNS Programmer's Reference 222 Data Type Integer. Read/Write Read only. Added to API Depends on the object used to access the property. Ge

Page 261

OpenLNS Programmer’s Reference xxvi Remove ... 838 Properties

Page 262

OpenLNS Programmer's Reference 223 Read/Write Read only. Added to API Depends on the object used to access the property. Generally, this proper

Page 263

OpenLNS Programmer's Reference 224 Syntax retrievedObject = collObject._NewEnum Element Description retrievedObject An expression that evaluate

Page 264

OpenLNS Programmer's Reference 225 ObjectDetailsAvailable property. If you specify an invalid number as the index element when invoking this me

Page 265

OpenLNS Programmer's Reference 226 Element Description classIdValue The object class of the object. The following value is defined for the Dat

Page 266 - NumberOfInstances

OpenLNS Programmer's Reference 227 2 lcaDbValidationError DuplicateDynamicNV A duplicate dynamic network variable was found on a device’s int

Page 267 - ObjectDetailsAvailable

OpenLNS Programmer's Reference 228 12 lcaDbValidationErrorDuplicateDynamicMT Duplicate dynamic message tag data was discovered. This is an in

Page 268

OpenLNS Programmer's Reference 229 This is an internal error. 129 lcaDbValidationError NssUniqueKeyIntegrity This is an internal error. 130 lca

Page 269 - DataPoint

OpenLNS Programmer's Reference 230 ObjectDetailsAvailable Summary Indicates whether you can retrieve specific information about each instance o

Page 270

OpenLNS Programmer's Reference 231 Data Type Object. Read/Write Read only. Added to API Depends on the object used to access the property. Gene

Page 271 - GetField

OpenLNS Programmer's Reference 232 RepairAttempted Summary Indicates whether OpenLNS attempted to repair errors of this type during the validat

Page 272

OpenLNS Programmer’s Reference xxvii ClientId... 877 Commis

Page 273 - AutoRead

OpenLNS Programmer's Reference 233 the network device containing the source object) by default. You can change this behavior by setting the Aut

Page 274 - AutoWrite

OpenLNS Programmer's Reference 234 • Write GetField Summary Gets a DataPoint object containing one field if the DataPoint object contains a st

Page 275 - FieldCount

OpenLNS Programmer's Reference 235 Syntax dpObject.Read Element Description dpObject The DataPoint object being acted upon. Added to API LNS

Page 276 - FieldName

OpenLNS Programmer's Reference 236 • AutoWrite • ClassId • FieldCount • FieldName • FormatSpec • FormattedValue • MaxValue • Mess

Page 277 - FormatSpec

OpenLNS Programmer's Reference 237 method). Data Type Boolean. Read/Write Read/write. Added to API LNS Release 3.0. AutoWrite Summary Determ

Page 278 - FormattedValue

OpenLNS Programmer's Reference 238 ClassId Summary Identifies the object class of this object. This property allows the object type to be dete

Page 279

OpenLNS Programmer's Reference 239 FieldName Summary Indicates the name of the field if the DataPoint object contains multiple fields. If a D

Page 280 - MaxValue

OpenLNS Programmer's Reference 240 FormatSpec Summary Contains the format specification information for data read from the FormattedValue prope

Page 281 - MessageCode

OpenLNS Programmer's Reference 241 FormattedValue Summary Contains the value of the data point as a Variant. To read the value of a data point’

Page 282 - MinValue

OpenLNS Programmer's Reference 242 Formatter#16 lcaErrFormatIllegalDataOnUnformat exception will be thrown. You should note that OpenLNS only p

Page 283

OpenLNS Programmer’s Reference xxviii ClassId ... 916 Count

Page 284 - RawValue

OpenLNS Programmer's Reference 243 MaxValue Summary Contains the maximum value that can be applied to the FormattedValue property of the DataPo

Page 285 - SourceIndex

OpenLNS Programmer's Reference 244 Availability Local, full, lightweight, and independent clients. Note that some collection objects are not av

Page 286 - SourceOptions

OpenLNS Programmer's Reference 245 MinValue Summary Contains the minimum value that can be applied to the FormattedValue property of the DataPo

Page 287

OpenLNS Programmer's Reference 246 Availability Local, full, lightweight, and independent clients. Note that some collection objects are not av

Page 288 - TypeName

OpenLNS Programmer's Reference 247 RawValue Summary Contains the value of the DataPoint as a raw byte array. To read the value of the data poi

Page 289

OpenLNS Programmer's Reference 248 to avoid passing invalid data to data point. Availability Local, full, lightweight, and independent clients.

Page 290 - DataValue

OpenLNS Programmer's Reference 249 Data Type Integer. Read/Write Read/write. Added to API LNS Release 3.20. SourceOptions Summary You can use

Page 291

OpenLNS Programmer's Reference 250 device-specific, the value will be read from the database, as long as it is stored there. If its value does

Page 292 - IntValue

OpenLNS Programmer's Reference 251 thrown. 3 lcaDataSourceOptionsTypeDefaultValue The data point value is set to the default value of configu

Page 293 - NetworkVariable

OpenLNS Programmer's Reference 252 To read the value of the data point’s source object (the value of the source object in the OpenLNS database

Page 294 - SourceNodeId

OpenLNS Programmer’s Reference xxix ToOwnerIndex ... 953 UpgradeInfos .

Page 295

OpenLNS Programmer's Reference 253 turn off this attribute using OpenLNS. You can use the MinValue and MaxValue properties to set the minimum a

Page 296

OpenLNS Programmer's Reference 254 Properties The DataValue object contains the following properties: • AppDevice • ClassId • Data • Dat

Page 297 - LostMessages

OpenLNS Programmer's Reference 255 Syntax classIdValue = object.ClassId Element Description classIdValue The object class of the object. The f

Page 298 - ModelNumber

OpenLNS Programmer's Reference 256 Length Summary INTERNAL USE ONLY Data Type Integer. Read/Write Read only. Added to API Prior to LNS Release

Page 299 - ReceiveTxFull

OpenLNS Programmer's Reference 257 SourceNodeId Summary Indicates the node ID of the device making a network variable update to a host network

Page 300 - ResetCause

OpenLNS Programmer's Reference 258 SourceSubnetId Summary Indicates the subnet ID of the device making a network variable update to a host net

Page 301

OpenLNS Programmer's Reference 259 Accessed Through AppDevice object RouterSide object Default Property None. Methods None. Properties • Class

Page 302

OpenLNS Programmer's Reference 260 classIdValue The object class of the object. The following value is defined for the DataPoint object in the

Page 303 - XmitErrors

OpenLNS Programmer's Reference 261 Element Description numMessages The number of lost messages. detailInfoObject The DetailInfo object from whi

Page 304 - DeviceTemplate

OpenLNS Programmer's Reference 262 13 lcaNeuronModel3120E5 14 lcaNeuronModel3120E4 15 lcaNeuronModelPL3120E4 16 lcaNeuronModelCY7C5312

Page 305

OpenLNS Programmer’s Reference iii Table of Contents Preface ...

Page 306

OpenLNS Programmer’s Reference xxx

Page 307

OpenLNS Programmer's Reference 263 object The DetailInfo object from which to get the information. Data Type Long. Read/Write Read only. Adde

Page 308

OpenLNS Programmer's Reference 264 State Summary Describes the state of a device, router side, router, or system. This data is available for ap

Page 309

OpenLNS Programmer's Reference 265 function go_unconfigured(). The device's service LED flashes at a one second rate in this state. 3 l

Page 310 - DeviceValidation

OpenLNS Programmer's Reference 266 Read/Write Read only. Added to API Prior to LNS Release 3.0. TransactionTimeouts Summary Contains the number

Page 311

OpenLNS Programmer's Reference 267 Syntax errorCount = detailInfoObject.XmitErrors Element Description errorCount The number of errors. deta

Page 312

OpenLNS Programmer's Reference 268 • RegisteredComponent • SelfDocConsistency • SelfDocumentation • UserTypeFileName • XifPath Method

Page 313 - DynamicNvSupported

OpenLNS Programmer's Reference 269 have been updated or modified since the device’s XIF was imported. This method allows you to update the Devi

Page 314

OpenLNS Programmer's Reference 270 resynchronization. Added to API LNS Release 3.20. Properties The DeviceTemplate object contains the followi

Page 315 - HostSelect

OpenLNS Programmer's Reference 271 BitmapFilePath Summary Specify the path and file name of a bitmap (*.BMP file) representation of the object

Page 316

OpenLNS Programmer's Reference 272 added to the API. ComponentApps Summary Contains the ComponentApps collection object associated with the sp

Page 317

OpenLNS Programmer's Reference xxxi Preface This document provides an overview of how to use the OpenLNS Object Server Active X control, and it

Page 318

OpenLNS Programmer's Reference 273 DeviceClass Summary Stores the device class for a device template. Availability Local, full, and lightweight

Page 319 - RegisteredComponent

OpenLNS Programmer's Reference 274 that specified by the application, and the program interface in the device matches the previously defined pr

Page 320 - SelfDocConsistency

OpenLNS Programmer's Reference 275 database, the commission will fail, and the NS, #72 lcaErrNsWrongChannel exception will be thrown. 1 lcaDe

Page 321

OpenLNS Programmer's Reference 276 option is set. Note that the lcaDeviceValidationNoChannelValidation (1) and lcaDeviceValidationNoProgramId

Page 322 - UserTypeFileName

OpenLNS Programmer's Reference 277 Availability Local, full, and lightweight clients. Syntax dynamicNvSupValue = dtObject.DynamicNvSupported El

Page 323 - DeviceTemplates

OpenLNS Programmer's Reference 278 values: 0 Development program ID. 8 LonMark approved program ID. 9 LonMark prototype program ID. d

Page 324

OpenLNS Programmer's Reference 279 device. FALSE. Device is a Neuron hosted device. dtObject The DeviceTemplate object to be acted on. Data

Page 325

OpenLNS Programmer's Reference 280 object The AppDevice object to be acted on. Data Type Interface object. Read/Write Read only. Added to API

Page 326

OpenLNS Programmer's Reference 281 may not contain the forward slash (/), back slash (\), period (.), and colon (:) characters. Availability L

Page 327

OpenLNS Programmer's Reference 282 Availability Local, full, and lightweight clients. Syntax programIdValue = object.ProgramId Element Descrip

Page 328

OpenLNS Programmer's Reference xxxii Purpose This document provides reference information for writing OpenLNS applications. Audience This guid

Page 329

OpenLNS Programmer's Reference 283 Each DeviceTemplate object in an OpenLNS database may have a single device control registered for it. A nul

Page 330 - Category

OpenLNS Programmer's Reference 284 template. The valid values for this property, which are contained in the ConstSelfDocConsistency constant,

Page 331 - ConnErrAppDeviceHandle2

OpenLNS Programmer's Reference 285 value that conflicts with the configurations of the devices using a template. If you set this property to a

Page 332 - ConnErrIndex2

OpenLNS Programmer's Reference 286 base name of the formatting file (.fmt) instead of the default. devTemplateObject The DeviceTemplate object

Page 333 - ConnErrIndexType1

OpenLNS Programmer's Reference 287 • Parent • _NewEnum Methods The DeviceTemplates object contains the following methods. • Add • ItemByHan

Page 334 - ConnErrIndexType2

OpenLNS Programmer's Reference 288 This value is not supported. Added to API Prior to LNS Release 3.0. ItemByHandle Summary Retrieves a Device

Page 335 - ErrObjClassId

OpenLNS Programmer's Reference 289 name A Long value specifying the collection index of the object to remove, or a String value specifying the

Page 336

OpenLNS Programmer's Reference 290 Element Description returnValue The number of objects in the collection as a long integer. object The collec

Page 337 - ErrObjHandle

OpenLNS Programmer's Reference 291 Availability Local, full, lightweight, and independent clients. Note that some collection objects are not av

Page 338

OpenLNS Programmer's Reference 292 Error An Error object represents the information for a single Object Server error. Errors are handled by LC

Page 339 - Extension

OpenLNS Programmer's Reference xxxiii OpenLNS Server Computer (Smaller Network) System requirements for computers running the OpenLNS Server on

Page 340 - CopyWithParent

OpenLNS Programmer's Reference 293 Category Summary Contains the error category represented by the Error object. Availability Local, full, an

Page 341

OpenLNS Programmer's Reference 294 Syntax classIdValue = object.ClassId Element Description classIdValue The object class of the object. The f

Page 342

OpenLNS Programmer's Reference 295 errObject The Error object to be acted on. Data Type Long. Read/Write Read only. Added to API Prior to LN

Page 343 - OwnerClassId

OpenLNS Programmer's Reference 296 You can use the AppDevices collection object's ItemByHandle method to get the AppDevice corresponding t

Page 344

OpenLNS Programmer's Reference 297 ConnErrIndex1 property is a message tag index. 2 lcaLNSIndexTypeDynamicMessageTag The index in the corresp

Page 345

OpenLNS Programmer's Reference 298 The index in the corresponding ConnErrIndex2 property is a message tag index. 2 lcaLNSIndexTypeDynamicMess

Page 346

OpenLNS Programmer's Reference 299 contained in the ConstClassIds constant, are as follows: 0 lcaClassIdObjectServer 1 lcaClassIdNetwork 2

Page 347

OpenLNS Programmer's Reference 300 51 lcaClassIdExtensions 52 lcaClassIdRecoveryStatus 53 lcaClassIdCreditInfo 54 lcaClassIdAccount 55 lca

Page 348

OpenLNS Programmer's Reference 301 Syntax errorId = errorObject.ErrorObjHandle Element Description errorObject The Error object to be acted on.

Page 349

OpenLNS Programmer's Reference 302 Data Type Object. Read/Write Read only. Added to API Depends on the object used to access the property. Gene

Page 350

OpenLNS Programmer's Reference xxxiv • Microsoft Visual Studio 2010 or Microsoft Visual Studio 2008 (.NET Framework 3.5) for development of Vi

Page 351 - FileTransfer

OpenLNS Programmer's Reference 303 • Value2 • Value3 ClassId Summary Identifies the object class of this object. This property allows the o

Page 352

OpenLNS Programmer's Reference 304 extension The Extension object to be acted upon. Data Type Boolean. Read/Write Read/write. Added to API LN

Page 353 - ReadFile

OpenLNS Programmer's Reference 305 Handle Summary Contains the handle associated with the Extension object. This property enables the Extension

Page 354

OpenLNS Programmer's Reference 306 Extensions collection containing this Extension. To determine the object type before using this method, use

Page 355 - AuthenticationFlag

OpenLNS Programmer's Reference 307 specified object. object Any object for which the parent is desired. Data Type Object. Read/Write Read only

Page 356 - FileCount

OpenLNS Programmer's Reference 308 Value2 Summary Stores user-specified object data. Availability Local, full, and lightweight clients. Syntax

Page 357 - FileIndex

OpenLNS Programmer's Reference 309 Variant type in binary large objects (BLOBs) of up to 65,000 bytes. Values are tagged with a unique key to e

Page 358 - FileSize

OpenLNS Programmer's Reference 310 ObjectServer object Router object Subnet object Subsystem object System object Default Property Item proper

Page 359 - HostTimeout

OpenLNS Programmer's Reference 311 handle The handle of the Extension to be retrieved. Added to API OpenLNS. Remove Summary Removes an object

Page 360 - PriorityFlag

OpenLNS Programmer's Reference 312 Read/Write Read only. Added to API Depends on the object used to access the property. Generally, this proper

Page 361 - ReadBufferLength

OpenLNS Programmer's Reference xxxv If you have technical questions that are not answered by this document, the online help files provided with

Page 362 - StartPosition

OpenLNS Programmer's Reference 313 Data Type Object. Read/Write Read only. Added to API Depends on the object used to access the property. Gen

Page 363 - TxTimeOut

OpenLNS Programmer's Reference 314 Syntax retrievedObject = collObject._NewEnum Element Description retrievedObject An expression that evaluate

Page 364 - FormatLocale

OpenLNS Programmer's Reference 315 • TxTimeOut Methods The FileTransfer object contains the following methods: • AddTarget • ClearTargets •

Page 365

OpenLNS Programmer's Reference 316 Availability Local, full, and lightweight clients. Syntax ftObject.ClearTargets Element Description ftObject

Page 366 - CategoryPreferenceList

OpenLNS Programmer's Reference 317 WriteFile Summary Writes a file to an AppDevice in the file transfer target list. You must first add the sel

Page 367

OpenLNS Programmer's Reference 318 • FileSize • FileType • HostTimeOut • Parent • PriorityFlag • ReadBufferLength • RetryCount •

Page 368 - DateFormatSeparatorSource

OpenLNS Programmer's Reference 319 classIdValue The object class of the object. The following value is defined for the FileTransfer object in

Page 369

OpenLNS Programmer's Reference 320 FileIndex Summary Specifies the file index to be used during operations on the FileTransfer object. Note: O

Page 370 - DecimalPointCharacterSource

OpenLNS Programmer's Reference 321 FileInfo Summary Returns a 16-byte string describing any of the files on the app devices that have been adde

Page 371

OpenLNS Programmer's Reference 322 files. This property will return the file size of the file that is using the value assigned to the FileIndex

Page 372 - DoubleFloatPrecision

OpenLNS Programmer's Reference xxxvi Content This guide includes the following content: • OpenLNS Object Server. Introduces the OpenLNS Object

Page 373 - FallbackFormat

OpenLNS Programmer's Reference 323 Syntax timeoutValue = fileTransObject.HostTimeOut Element Description timeoutValue The timeout value. Th

Page 374 - FloatPrecision

OpenLNS Programmer's Reference 324 Syntax priorityFlag = fileTransObject.PriorityFlag Element Description priorityFlag The returned priority

Page 375 - LanguageId

OpenLNS Programmer's Reference 325 A value of 0 indicates that the number of retries will be calculated based on the network topology. The def

Page 376 - LanguageIdSource

OpenLNS Programmer's Reference 326 This method requires network communication; however, you can invoke it while the network management mode (Mg

Page 377

OpenLNS Programmer's Reference 327 less than or equal to the receive timeout value. The default value is 0,which means that OpenLNS calculate

Page 378 - ListSeparatorCharacterSource

OpenLNS Programmer's Reference 328 • DateFormatSeparator • DateFormatSeparatorSource • DecimalPointCharacter • DecimalPointCharacterSource

Page 379

OpenLNS Programmer's Reference 329 CategoryPreferenceList Summary Establishes the format to be used when displaying the formatted value of a da

Page 380 - MeasurementUnits

OpenLNS Programmer's Reference 330 search for matches for each alternate format specified starting with the first entry in the list. If you spe

Page 381 - MeasurementUnitsSource

OpenLNS Programmer's Reference 331 Data Type Integer. Read/Write Read only. Added to API Depends on the object used to access the property. Ge

Page 382

OpenLNS Programmer's Reference 332 formatLocale The FormatLocale object being acted upon. source The value of the DateFormatSeparatorSource pro

Page 383 - ShortDateFormat

OpenLNS Programmer's Reference xxxvii

Page 384 - ShortDateFormatSource

OpenLNS Programmer's Reference 333 DecimalPointCharacter Summary Determines which will be used to indicate decimal places when a formatted valu

Page 385 - ShortTimeFormat

OpenLNS Programmer's Reference 334 UserDefaultRegionalSetting Select this value to have OpenLNS set the associated property automatically, base

Page 386

OpenLNS Programmer's Reference 335 DoubleFloatPrecision Summary Determines the precision that will be used when displaying double-float values.

Page 387 - ShortTimeFormatSource

OpenLNS Programmer's Reference 336 FallbackFormat Summary Specifies the default type that should be used to display a data point’s formatted va

Page 388 - TimeFormatSeparator

OpenLNS Programmer's Reference 337 TAB character (0x09). 2 lcaFormatRawHexPacked Use "RAW_HEX_PACKED" as the fallback type. This is

Page 389 - TimeFormatSeparatorSource

OpenLNS Programmer's Reference 338 Data Type Long. Read/Write Read/write. Added to API LNS Release 3.20. LanguageId Summary Determines the lang

Page 390 - FormatLocales

OpenLNS Programmer's Reference 339 code A 3-letter identifier for the language specified for the FormatLocale object. The available language co

Page 391

OpenLNS Programmer's Reference 340 formatLocale The FormatLocale object being acted upon. source The value of the LanguageIdSource property. Th

Page 392

OpenLNS Programmer's Reference 341 ListSeparatorCharacter Summary Determines which symbol is used to separate items in the formatted value that

Page 393

OpenLNS Programmer's Reference 342 based on the Windows regional settings set by the user on the computer running your application. A user can

Page 394

OpenLNS Programmer's Reference 1 1 OpenLNS Object Server This chapter introduces the OpenLNS Object Server, describes the OpenLNS Object model

Page 395

OpenLNS Programmer's Reference 343 MeasurementUnits Summary Determines the measurement units (Systeme Internationale [SI metric] or U.S.) that

Page 396

OpenLNS Programmer's Reference 344 0 lcaMeasurementUnitsSI Displays the formatted values using the metric measurement system. 1 lcaMeasurem

Page 397

OpenLNS Programmer's Reference 345 running your application. The default settings may vary depending on which operating system is installed on

Page 398 - AltFormatNamesCount

OpenLNS Programmer's Reference 346 clients. Syntax parentObject = object.Parent Element Description parentObject The object that is the parent

Page 399

OpenLNS Programmer's Reference 347 Here are some example strings you could use for this property, with examples of how the short date would app

Page 400

OpenLNS Programmer's Reference 348 source The value of the ShortDateFormatSource property. The possible values for this element, which are con

Page 401 - FormatType

OpenLNS Programmer's Reference 349 restrictions to how each part of the time can be displayed. This applies to format specifications containing

Page 402

OpenLNS Programmer's Reference 350 automatically update it with the new separator character for you. You can use the ShortTimeFormatSource prop

Page 403

OpenLNS Programmer's Reference 351 control panel Regional Options applet. This is the default. 1 lcaFormatLocaleSource SystemDefaultRegional

Page 404

OpenLNS Programmer's Reference 352 Syntax formatLocale.ShortTimeFormat = timeFormat Element Description formatLocale The FormatLocale object

Page 405

OpenLNS Programmer's Reference 2 Introduction The OpenLNS Object Server ActiveX Control provides high-level services for installing, diagnosing

Page 406

OpenLNS Programmer's Reference 353 based on the system default Windows regional settings of the computer running your application. The default

Page 407 - UnitsAdder

OpenLNS Programmer's Reference 354 not available. In this case, Systeme Internationale measurement units, and U.S. options for everything else,

Page 408

OpenLNS Programmer's Reference 355 such as the format used to display dates and times, and the unit of measurement associated with the formatte

Page 409

OpenLNS Programmer's Reference 356 FormatLocales collection. You can determine the name of a FormatLocale object by reading its Name property.

Page 410

OpenLNS Programmer's Reference 357 ClassId Summary Identifies the object class of this object. This property allows the object type to be dete

Page 411 - AddCompatibleNvEx

OpenLNS Programmer's Reference 358 FormatLocales collection by passing its index (ordinal position) within that collection as the argument for

Page 412 - AddComplementaryNv

OpenLNS Programmer's Reference 359 Added to API Depends on the object used to access the property. Generally, this property exists for an objec

Page 413 - AddComplementaryNvEx

OpenLNS Programmer's Reference 360 Set fsObject = dpObject.FormatSpec fsObject.FormatName = "SNVT_temp_f#SI" Set dpObject.FormatSpec

Page 414

OpenLNS Programmer's Reference 361 • ClassId • FormatName • FormatType • Index • Parent • Precision • ProgramId • Scope • Units • U

Page 415 - CreateTypeSpec

OpenLNS Programmer's Reference 362 Syntax altNameCount = fsObject.AltFormatNamesCount Element Description altNameCount The number of alternat

Page 416 - DownloadConfigProperties

OpenLNS Programmer’s Reference iv Alias ...

Page 417

OpenLNS Programmer's Reference 3 The remainder of the OpenLNS Objects originate from the three Networks collections. A network is represented

Page 418

OpenLNS Programmer's Reference 363 FormatType property is set to lcaFormatTypeNamed (0). In that case, the Scope and ProgramId properties are u

Page 419

OpenLNS Programmer's Reference 364 Element Description fsObject The FormatSpec object to be acted on. formNameValue The FormatName as a string.

Page 420

OpenLNS Programmer's Reference 365 The lcaFormatTypeNamed(0) value is the default value for user-defined network variables. 1 lcaFormatTypeNv

Page 421

OpenLNS Programmer's Reference 366 Syntax indexValue = fsObject.Index Element Description fsObject The FormatSpec object to be acted on. indexV

Page 422 - UploadConfigProperties

OpenLNS Programmer's Reference 367 points in permanent monitor sets. Syntax precisionValue = object.Precision Element Description precisionValu

Page 423

OpenLNS Programmer's Reference 368 will be set to match the program ID of the device containing the monitor point or data point. • If the For

Page 424

OpenLNS Programmer's Reference 369 2 lcaResourceScopeSubclass This scope applies to all devices of a specified device class and device subcla

Page 425

OpenLNS Programmer's Reference 370 Read/Write Read/write. Added to API LNS Release 3.0. Units Summary Indicates the name of the units that appl

Page 426 - ConfigPropertiesAvailable

OpenLNS Programmer's Reference 371 Data Type Single. Read/Write Read only. Added to API LNS Release 3.0. UnitsMultiplier Summary Determines how

Page 427 - CpByHandle

OpenLNS Programmer's Reference 372 interfaces that cannot be modified. The custom interfaces that have been added to a device can be accessed t

Page 428 - DynamicLonMarkObjectCapacity

OpenLNS Programmer's Reference 4 a Subsystem. Different Subsystems can contain devices with the same name, however. For example, a building m

Page 429 - LonMarkObjects

OpenLNS Programmer's Reference 373 • Version Methods The Interface object contains the following methods: • AddCompatibleNv • AddCompatible

Page 430 - MaxNvSupported

OpenLNS Programmer's Reference 374 the ProgrammaticName property. sourceNvObj The NetworkVariable object which the new network variable is base

Page 431 - MessageTags

OpenLNS Programmer's Reference 375 ConstLNSInterfaceCompNvEx constant, are as follows: 0 lcaLNS_PollPassthrough The created network variable

Page 432

OpenLNS Programmer's Reference 376 as the source network variable. This method is used to construct an interface object for a host application

Page 433 - StaticNvCount

OpenLNS Programmer's Reference 377 Element Description nvObject The compatible network variable to be returned. A compatible network variable i

Page 434 - Version

OpenLNS Programmer's Reference 378 The created network variable will have polling enable. Added to API Prior to LNS Release 3.0. AddNvFromStri

Page 435

OpenLNS Programmer's Reference 379 Syntax newTypeSpec = interface.CreateTypeSpec(objectType) Element Description newTypeSpec newTypeSpec is t

Page 436

OpenLNS Programmer's Reference 380 lcaConfigPropOptSetDefaults option), this method requires that the configuration property values be uploaded

Page 437

OpenLNS Programmer's Reference 381 lcaConfigPropOptSetDefaults Sets the configuration property values in the AppDevice object to the default co

Page 438

OpenLNS Programmer's Reference 382 default values may cause the download operation to fail. To exclude those configuration properties from a do

Page 439 - LdrfLanguage

OpenLNS Programmer's Reference 5 Object Naming Convention While the documentation currently references most objects by their base names, it is

Page 440

OpenLNS Programmer's Reference 383 ORed with lcaConfigPropOptLoadUnknown (4) and lcaConfigPropOptLoadValues (1), LNS would set all configuratio

Page 441

OpenLNS Programmer's Reference 384 However, updates to the device initiated by the other flags will be cancelled. For example, when combining t

Page 442 - LanguageCode

OpenLNS Programmer's Reference 385 Added to API Prior to LNS Release 3.0. RemoveNv Summary Removes a network variable from the Interface object

Page 443

OpenLNS Programmer's Reference 386 0 lcaConfigPropOptLoadDefinitions Reads the template file and loads the configuration property definitions

Page 444

OpenLNS Programmer's Reference 387 upload all unknown values in the OpenLNS database from the physical device on the network. Alternatively, yo

Page 445 - LdrfLanguages

OpenLNS Programmer's Reference 388 • MaxNvSupported • MessageTags • Name • NetworkVariables • Parent • StaticNvCount • SupportsDyna

Page 446

OpenLNS Programmer's Reference 389 Added to API Prior to LNS Release 3.0. ConfigPropertiesAvailable Summary Indicates whether configuration pro

Page 447

OpenLNS Programmer's Reference 390 CpByHandle Summary Retrieves the ConfigProperty object contained in the Interface property of an AppDevice o

Page 448 - LonMarkAlarm

OpenLNS Programmer's Reference 391 DynamicLonMarkObjectCapacity Summary Indicates the number of dynamic LonMarkObject objects (functional block

Page 449

OpenLNS Programmer's Reference 392 DynamicMessageTags Summary Returns the collection of dynamic MessageTag objects contained by this interface.

Page 450 - IndexToSNVT

OpenLNS Programmer's Reference 6

Page 451 - LimitValue

OpenLNS Programmer's Reference 393 Added to API Prior to LNS Release 3.0. MaxNvInUse Summary Indicates the current maximum network variable ind

Page 452 - ObjectId

OpenLNS Programmer's Reference 394 Syntax maxNvValue = interfaceObject.MaxNvSupported Element Description interfaceObject The Interface objec

Page 453 - TimeStamp

OpenLNS Programmer's Reference 395 Data Type String. Read/Write Read/write. Added to API Depends on the object used to access the property. Ge

Page 454

OpenLNS Programmer's Reference 396 StaticNvCount Summary Indicates the number of network variables that are statically defined on the device th

Page 455

OpenLNS Programmer's Reference 397 You can determine if a LonMarkObject is static or dynamic by reading its IsDynamic property. FALSE. The st

Page 456 - MoveToInterface

OpenLNS Programmer's Reference 398 Interfaces The Interfaces object is a collection of Interface objects. This collection contains the set of

Page 457

OpenLNS Programmer's Reference 399 lcaErrDuplicateKey exception will be thrown. sourceInterfaceObj The existing Interface object used to create

Page 458

OpenLNS Programmer's Reference 400 some objects containing this property are not available to Independent clients. Syntax classIdValue = object

Page 459 - AlarmFormat

OpenLNS Programmer's Reference 401 Independent clients. Syntax retrievedObject = collObject.Item(index) retrievedObject = collObject.Item(strin

Page 460

OpenLNS Programmer's Reference 402 you can browse a collection to find a particular item by using the _NewEnum property. See the IEnumVARIANT i

Page 461

OpenLNS Programmer's Reference 7 2 Objects This chapter describes the objects in the OpenLNS Object hierarchy, and details their properties,

Page 462

OpenLNS Programmer's Reference 403 Properties The LdrfLanguage object contains the following properties: • ClassId • Extension • LanguageCod

Page 463 - FuncProfileIsDerived

OpenLNS Programmer's Reference 404 property types, functional profiles, and enumeration types can all reference text information used to descri

Page 464

OpenLNS Programmer's Reference 405 Data Type String. Read/Write Read only. Added to API LNS Release 3.0. LanguageCode Summary Contains the 3-l

Page 465 - IsDynamic

OpenLNS Programmer's Reference 406 ldrfCode A 3-letter identifier for the language that the LdrfLanguage object applies to. The available langu

Page 466

OpenLNS Programmer's Reference 407 ldrfId The 32-bit ID representing this language. This value is not normally used by OpenLNS clients unless

Page 467

OpenLNS Programmer's Reference 408 object Any object for which the parent is desired. Data Type Object. Read/Write Read only. Added to API Dep

Page 468

OpenLNS Programmer's Reference 409 Independent clients. Syntax classIdValue = object.ClassId Element Description classIdValue The object class

Page 469 - ParentInterface

OpenLNS Programmer's Reference 410 Independent clients. Syntax retrievedObject = collObject.Item(index) retrievedObject = collObject.Item(strin

Page 470 - ProgrammaticName

OpenLNS Programmer's Reference 411 you can browse a collection to find a particular item by using the _NewEnum property. See the IEnumVARIANT i

Page 471 - ReportMask

OpenLNS Programmer's Reference 412 Methods The LonMarkAlarm object does not contain any methods. Properties The LonMarkObject object contains t

Page 472 - Request

OpenLNS Programmer's Reference 8 Account Description Represents an OpenLNS licensing account. Reserved for future use. Added to API Prior to L

Page 473

OpenLNS Programmer's Reference 413 255 lcaAlarmTypeNull Data Type Integer. Read/Write Read only. Added to API Prior to LNS Release 3.0. Clas

Page 474 - SelfTestResults

OpenLNS Programmer's Reference 414 LonMarkObject that caused the current alarm condition. LonMarkAlarm The LonMarkAlarm object being acted upon

Page 475

OpenLNS Programmer's Reference 415 ObjectId Summary Returns the ID of the LonMarkObject to which this LonMarkAlarm applies. On static interface

Page 476

OpenLNS Programmer's Reference 416 this property exists for an object as soon as the object is added to the API. PriorityLevel Summary Returns

Page 477 - TypeSpec

OpenLNS Programmer's Reference 417 For example, the millisecond before the end of this millennium would be: 2999/12/31 23:59:59:999. Data Typ

Page 478

OpenLNS Programmer's Reference 418 • ClassId • ComponentApps • ConfigProperties • Description • Extensions • FuncProfileDescription • Fu

Page 479

OpenLNS Programmer's Reference 419 The network variable and LonMarkObject must belong to the same device interface for this method to succeed.

Page 480 - AddFromTypeSpec

OpenLNS Programmer's Reference 420 network variables and LonMarkObjects that reflect the device’s functionality on the network. You can use the

Page 481 - ItemByProgrammaticName

OpenLNS Programmer's Reference 421 Syntax object.MoveToInterface newInterface Element Description object The LonMarkObject to be acted upon. n

Page 482 - RemoveByIndex

OpenLNS Programmer's Reference 422 • Index • IsDynamic • LonMarkAlarm • Mode • Name • NetworkVariables • Parent • ParentInterface • Pr

Page 483

OpenLNS Programmer's Reference 9 example, when the object was accessed using the Parent property of another object). Availability Local, full,

Page 484

OpenLNS Programmer's Reference 423 4 lcaAlarmFormatUShortStr 1-byte unsigned decimal string. 5 lcaAlarmFormatLong 2-byte integer. 6 lcaAl

Page 485

OpenLNS Programmer's Reference 424 object The object to be acted on. Data Type Integer. Read/Write Read only. Added to API Depends on the obj

Page 486 - MessageTag

OpenLNS Programmer's Reference 425 Description Summary Stores description information about the LonMarkObject object. Availability Local, full,

Page 487

OpenLNS Programmer's Reference 426 FuncProfileDescription Summary Provides a desciptive comment of the functional profile associated with the L

Page 488 - Connect

OpenLNS Programmer's Reference 427 FuncProfileName Summary Returns the functional profile name associated with the LonMarkObject. This property

Page 489

OpenLNS Programmer's Reference 428 Availability Local, full, and lightweight clients. Syntax indexValue = lmObject.Index Element Description lm

Page 490 - AddressTableIndex

OpenLNS Programmer's Reference 429 Read/Write Read only. Added to API Prior to LNS Release 3.0. Mode Summary Returns the scope of the function

Page 491

OpenLNS Programmer's Reference 430 -1 lcaResourceScopeUnknown The scope of the resource file is not known, or could not be found. -2 lcaRes

Page 492 - Direction

OpenLNS Programmer's Reference 431 Added to API Prior to LNS Release 3.0. Name Summary Specifies the name of an object as a character string.

Page 493

OpenLNS Programmer's Reference 432 Syntax parentObject = object.Parent Element Description parentObject The object that is the parent of the sp

Page 494 - MtTargets

OpenLNS Programmer's Reference 10 stringValue A string description of the object. object The object to be acted on. Data Type Long. Read/Writ

Page 495

OpenLNS Programmer's Reference 433 Added to API LNS Release 3.20. PrincipalNv Summary Returns the principal NetworkVariable object associated

Page 496

OpenLNS Programmer's Reference 434 Element Description progName The programmatic name of the object. Object The LonMarkObject to be acted on.

Page 497

OpenLNS Programmer's Reference 435 Syntax statusObject = lmObject.ReportMask Element Description statusObject The ObjectStatus object returned.

Page 498

OpenLNS Programmer's Reference 436 3 lcaLonMarkObjectRequestSelfTest Performs a self-test on the object. The SelfTestResults property of the

Page 499

OpenLNS Programmer's Reference 437 in the LonMarkAlarm property of the LonMarkObject will be cleared until the next alarm condition occurs. 11

Page 500

OpenLNS Programmer's Reference 438 To run a self-test on an object where the result may take more than 20 seconds to complete, follow these ste

Page 501 - MonitorSet

OpenLNS Programmer's Reference 439 Status Summary Stores an ObjectStatus object which contains information reflecting the current status of the

Page 502

OpenLNS Programmer's Reference 440 TypeIndex Summary Returns the type index of the LonMark object. Each LonMarkObject object uses a type define

Page 503

OpenLNS Programmer's Reference 441 Data Type TypeSpec object. Read/Write Read only. Added to API OpenLNS. LonMarkObjects A LonMarkObjects objec

Page 504

OpenLNS Programmer's Reference 442 switch. In OpenLNS, function blocks are represented by LonMarkObject objects. Some custom device interfaces

Page 505

OpenLNS Programmer's Reference 11 • Add • Remove Add Summary Adds an object to the specified collection. Availability Local, full, lightweig

Page 506

OpenLNS Programmer's Reference 443 brackets ([ ]), periods (.) or commas (,). fbType Enter a value between 0-25,000. You can use this value to

Page 507

OpenLNS Programmer's Reference 444 lcaTypeSpecLmo, or it is invalid in any other way. Availability Local, full, and lightweight clients. Synt

Page 508 - IsEnabled

OpenLNS Programmer's Reference 445 Syntax retrievedObject = collection.ItemByProgrammaticName progName Element Description retrievedObject The

Page 509 - IsPollingEnabled

OpenLNS Programmer's Reference 446 acted upon. deviceIndex A Long value indicating the device index number of the LonMarkObject to be deleted.

Page 510 - MsgOptions

OpenLNS Programmer's Reference 447 ClassId Summary Identifies the object class of this object. This property allows the object type to be dete

Page 511

OpenLNS Programmer's Reference 448 LonMarkObjects collection by passing its index (ordinal position) within that collection as the argument for

Page 512 - NvOptions

OpenLNS Programmer's Reference 449 Comments The parent object is determined by the means in which a child object is accessed, not by the OpenLN

Page 513

OpenLNS Programmer's Reference 450 • AppDeviceName • ClassId • ConnectDescTemplate • Direction • Index • IsDynamic • MtHubs • MtTar

Page 514

OpenLNS Programmer's Reference 451 • A static or dynamic message tag may only appear in one connection (it may be a hub or target, but not bot

Page 515

OpenLNS Programmer's Reference 452 You can use the OnNodeConnChangeEvent to track when connections are created or modified with this method. Av

Page 516

OpenLNS Programmer's Reference 12 Syntax classIdValue = object.ClassId Element Description classIdValue The object class of the object. The fo

Page 517

OpenLNS Programmer's Reference 453 • Index • IsDynamic • MtHubs • MtTargets • Name • Parent AddressTableIndex Summary Contains the ad

Page 518

OpenLNS Programmer's Reference 454 AppDevice Summary Identifies the AppDevice object containing this message tag. Availability Local, full, an

Page 519

OpenLNS Programmer's Reference 455 Read/Write Read only. Added to API Depends on the object used to access the property. Generally, this proper

Page 520 - MsgMonitorOptions

OpenLNS Programmer's Reference 456 constant, are as follows: 0 lcaMtDirectionInput The message tag is an input message tag. 2 lcaMtDirectio

Page 521

OpenLNS Programmer's Reference 457 object The MessageTag object to be acted on. Data Type Boolean. Read/Write Read only. Added to API LNS Rel

Page 522 - FilterByCode

OpenLNS Programmer's Reference 458 Name Summary Specifies the name of an object as a character string. This property is case sensitive. Search

Page 523 - FilterCode

OpenLNS Programmer's Reference 459 MessageTags A MessageTags object is a collection of MessageTag objects. Note that the Interface object cont

Page 524

OpenLNS Programmer's Reference 460 devices is described in the OpenLNS Programmer’s Guide. The name of the new message tag (as specified with t

Page 525 - Retries

OpenLNS Programmer's Reference 461 name A Long value specifying the collection index of the object to remove, or a String value specifying the

Page 526

OpenLNS Programmer's Reference 462 Element Description returnValue The number of objects in the collection as a long integer. object The collec

Page 527 - UseAsyncSend

OpenLNS Programmer’s Reference v DetailInfo ... 74 Device Tem

Page 528

OpenLNS Programmer's Reference 13 Element Description retrievedObject The object retrieved from the collection. collObject The collection objec

Page 529

OpenLNS Programmer's Reference 463 Parent Summary Returns the object that spawned the current child object. The parent object is determined by

Page 530 - MsgMonitorPoint

OpenLNS Programmer's Reference 464 Data Type Object. Read/Write Read only. Added to API OpenLNS. MonitorSet A MonitorSet object represents a s

Page 531 - Disable

OpenLNS Programmer's Reference 465 use in multiple client sessions or that you intend to use multiple times, you should use the permanent Monit

Page 532

OpenLNS Programmer's Reference 466 • Parent • Tag Methods The object contains the following methods. • Close • Disable • Enable • Open

Page 533 - Unadvise

OpenLNS Programmer's Reference 467 network variable monitor point. If you explicitly disable monitoring of a single monitor point, you can only

Page 534

OpenLNS Programmer's Reference 468 are not available on Independent clients. Syntax object.Enable doPoll Element Description object The Monitor

Page 535 - DefaultOptions

OpenLNS Programmer's Reference 469 clients. Syntax monSetObject.Open doEnable, doPoll Element Description monSetObject The MonitorSet object t

Page 536

OpenLNS Programmer's Reference 470 monitor the monitor points in the monitor set. Added to API LNS Release 3.0. Properties The MonitorSet obje

Page 537 - InputFormatSpec

OpenLNS Programmer's Reference 471 IsEnabled Summary Indicates whether the monitor set is enabled. A monitor point must be enabled before poll

Page 538 - OutputFromatSpec

OpenLNS Programmer's Reference 472 IsOpen Summary Indicates whether the specified object is currently open. You can open the MonitorSet object

Page 539 - RequestDataPoint

OpenLNS Programmer's Reference 14 ActivationLicense An ActivationLicense object represents a snapshot of the current activation license and rel

Page 540

OpenLNS Programmer's Reference 473 Element Description isPollingEnabledFlag A Boolean value indicating whether polled monitoring is enabled. TR

Page 541

OpenLNS Programmer's Reference 474 The MsgMonitorOptions object contained within this property is not passed by reference. If you acquire a Msg

Page 542 - Events

OpenLNS Programmer's Reference 475 (.), and colon (:) characters. Availability Local, full, lightweight, and independent clients. Note that so

Page 543

OpenLNS Programmer's Reference 476 The NvMonitorOptions object contained within this property is not passed by reference. If you acquire a NvMo

Page 544

OpenLNS Programmer's Reference 477 clients. Syntax parentObject = object.Parent Element Description parentObject The object that is the parent

Page 545

OpenLNS Programmer's Reference 478 Independent clients. Syntax tagValue = Object.Tag Element Description Object The monitor point or monitor se

Page 546

OpenLNS Programmer's Reference 479 lcaMgmtModeDeferConfigUpdates (1), you must change the management mode to lcaMgmtModePropagateConfigUpdates

Page 547

OpenLNS Programmer's Reference 480 index of the MonitorSet object to be removed, or a String value specifying the name of the MonitorSet object

Page 548

OpenLNS Programmer's Reference 481 Element Description returnValue The number of objects in the collection as a long integer. object The collec

Page 549

OpenLNS Programmer's Reference 482 Parent Summary Returns the object that spawned the current child object. The parent object is determined by

Page 550

OpenLNS Programmer's Reference 15 • DeviceCapacity • DeviceCapacityConsumed • ExpirationDate • LicesnseId • LicenseStatus • IsTrialLicens

Page 551 - Network

OpenLNS Programmer's Reference 483 Data Type Object. Read/Write Read only. Added to API OpenLNS. MsgMonitorOptions The MsgMonitorOptions objec

Page 552

OpenLNS Programmer's Reference 484 • UseAsyncSend Methods The MsgMonitorOptions object does not contain any methods. Properties The MsgMonitor

Page 553 - CancelValidation

OpenLNS Programmer's Reference 485 Independent clients. Syntax classIdValue = object.ClassId Element Description classIdValue The object class

Page 554

OpenLNS Programmer's Reference 486 FilterBySource Summary Indicates whether message tag values will be filtered by the source device. This prop

Page 555 - CreateTemporaryMonitorSet

OpenLNS Programmer's Reference 487 codes in the range 80–126 and 128–255 cannot be received by an OpenLNS application. This is because these c

Page 556 - OpenIndependent

OpenLNS Programmer's Reference 488 priorityValue A Boolean value. TRUE. Priority is used when polling or explicitly updating a message monit

Page 557 - PreReplace

OpenLNS Programmer's Reference 489 1–15. This property applies to network management messages only. monOptsObject The MsgMonitorOptions object

Page 558 - Replace

OpenLNS Programmer's Reference 490 service. The device does not send acknowledgment messages; however, repeat messages are sent to the device

Page 559 - Validate

OpenLNS Programmer's Reference 491 been successfully sent, as described earlier. However, you can also use the OnMsgMonitorPointErrorEvent and

Page 560

OpenLNS Programmer's Reference 492 with the Write method because it reduces the time required to update the values on the network. FALSE. Ope

Page 561

OpenLNS Programmer's Reference 16 Comments This property allows the object type to be determined when it is unknown (for example, when the obje

Page 562

OpenLNS Programmer's Reference 493 MsgMonitorPoint A MsgMonitorPoint represents a single monitored or controlled message tag. You can use messa

Page 563

OpenLNS Programmer's Reference 494 Advise Summary Enables update and error events for an object that implements the ILcaMsgMonitorPointListener

Page 564 - CurrentMonitorSets

OpenLNS Programmer's Reference 495 For example, if you call the Disable method on a MsgMonitorPoint object named Point A, and then call the Dis

Page 565 - DatabasePath

OpenLNS Programmer's Reference 496 Syntax object.Ensable Element Description object The MsgMonitorPoint object to be enabled. Added to API LNS

Page 566 - EventInterval

OpenLNS Programmer's Reference 497 Syntax mpObject.Unadvise tag Element Description tag An Integer type. This tag parameter should use the tag

Page 567

OpenLNS Programmer's Reference 498 CurrentOptions Summary Contains the current monitoring options for this message monitor point. Once the moni

Page 568

OpenLNS Programmer's Reference 499 message monitor point is opened. These options are read when the monitor set containing the monitor point is

Page 569 - IsOpenIndependent

OpenLNS Programmer's Reference 500 InputFormatSpec Summary Contains the FormatSpec object used to determine the format for incoming messages fo

Page 570

OpenLNS Programmer's Reference 501 Data Type String. Read/Write Read/write. Added to API Depends on the object used to access the property. Ge

Page 571 - NsiTimeout

OpenLNS Programmer's Reference 502 msgMonitorPointObject.OutputFormatSpec fsObject.AltFormatName = "SNVT_temp_f#SI" Set msgMonitorPoi

Page 572 - OriginalName

OpenLNS Programmer's Reference 17 database, excluding NSDs and routers. A device that has been added without specifying both a device template

Page 573 - RemoteNetworkName

OpenLNS Programmer's Reference 503 open in order for you to access this property. When the AppDevice object's GetMessagePoint method is ca

Page 574 - ServerIdentifier

OpenLNS Programmer's Reference 504 Tag Summary Stores any extra data associated with the monitor point or monitor set. The data stored in this

Page 575 - Networks

OpenLNS Programmer's Reference 505 Events The MsgMonitorPoint object contains the following events: • UpdateErrorEvent • UpdateEvent Update

Page 576

OpenLNS Programmer's Reference 506 Element Description UpdateType This element always returns the value 0. The possible values for this param

Page 577 - RemoveEx

OpenLNS Programmer's Reference 507 13 lcaMonitorEventTypeNvComplete A completion code has returned for the monitor point. 14 lcaMonitorEventT

Page 578

OpenLNS Programmer's Reference 508 Added to API LNS Release 3.0. MsgMonitorPoints The MsgMonitorPoints object contains a collection of MsgMoni

Page 579

OpenLNS Programmer's Reference 509 able to use the MsgMonitorPoint to send messages to all the devices that the MessageTag object is bound to a

Page 580

OpenLNS Programmer's Reference 510 are not available on Independent clients. Syntax msgMpObject = msgMpColl.Add msgMpName targetDevice connDesc

Page 581 - NetworkInterface

OpenLNS Programmer's Reference 511 indexName A Long value specifying the collection index of the MsgMonitorPoint object to remove, or a String

Page 582

OpenLNS Programmer's Reference 512 Syntax returnValue = object.Count Element Description returnValue The number of objects in the collection as

Page 583

OpenLNS Programmer's Reference 18 Data Type String. Read/Write Read only. Added to API OpenLNS. LicenseStatus Summary Indicates whether the

Page 584 - NetworkInterfaces

OpenLNS Programmer's Reference 513 Parent Summary Returns the object that spawned the current child object. The parent object is determined by

Page 585

OpenLNS Programmer's Reference 514 Data Type Object. Read/Write Read only. Added to API OpenLNS. Network The Network object represents a singl

Page 586

OpenLNS Programmer's Reference 515 • ServerIdentifier • System Methods The Network object contains the following methods. • Backup • Canc

Page 587 - NetworkResources

OpenLNS Programmer's Reference 516 network The Network object to be acted upon. systemPath The directory to which the backup is to be copied. T

Page 588

OpenLNS Programmer's Reference 517 Syntax network.CancelValidation Element Description network The Network object to be acted upon. Added to A

Page 589 - ExclusiveSelectorPoolSize

OpenLNS Programmer's Reference 518 Syntax network.CompactDb Element Description network The Network object to be acted on. Added to API Prior

Page 590 - ExclusiveSelectorsAvailable

OpenLNS Programmer's Reference 519 collection. If this method is being invoked by a remote client, the application program must set the remote

Page 591 - GroupIdsAllocated

OpenLNS Programmer's Reference 520 computer without the OpenLNS Server running on the host. You may not access the network database. The same

Page 592 - SharableSelectorPoolSize

OpenLNS Programmer's Reference 521 if you install a new network interface on the computer). In all other scenarios (e.g. when operating as a Lo

Page 593

OpenLNS Programmer's Reference 522 to use the NSD information which was previously associated with a remote client running on another computer

Page 594

OpenLNS Programmer's Reference 19 whether the activation license is a trial license. TRUE. The activation license is a trial license. FALSE.

Page 595

OpenLNS Programmer's Reference 523 it is not open, the LCA, #67 lcaErrSystemNotOpen exception will be thrown. You should consider using the Val

Page 596

OpenLNS Programmer's Reference 524 validation without attempting to repair any of the errors it discovers. In this case, the Validate method re

Page 597 - DefaultApplication

OpenLNS Programmer's Reference 525 • Channels • ClassId • CurrentMonitorSets • DatabasePath • Description • EventInterval • Extension

Page 598

OpenLNS Programmer's Reference 526 order to successfully open this remote network. TRUE. OpenLNS changes the network management mode when ne

Page 599

OpenLNS Programmer's Reference 527 C:\MyBMPs\Object.BMP). Added to API Prior to LNS Release 3.0. Channels Summary Contains the Channels collec

Page 600 - MipIsLayer2

OpenLNS Programmer's Reference 528 commissioned into your client’s NSD for a given network. The CurrentMonitorSets property returns a MonitorS

Page 601

OpenLNS Programmer's Reference 529 Syntax dbPath = object.DatabasePath Element Description dbPath The full path of the global OpenLNS database

Page 602 - NodeHandle

OpenLNS Programmer's Reference 530 EventInterval property expires, OpenLNS will not call the GetNextEvent service right away. Instead, it will

Page 603 - NsiNodeId

OpenLNS Programmer's Reference 531 Element Description extensionsColl The Extensions collection object. object The object whose Extensions coll

Page 604 - NssFlag

OpenLNS Programmer's Reference 532 • Large (48x48) with 256 colors Added to API Prior to LNS Release 3.0. IsOpen Summary Indicates whether the

Page 605

OpenLNS Programmer's Reference 20 Data Type String. Read/Write Read only. Added to API OpenLNS. RunTimeLimit Summary The maximum number of

Page 606

OpenLNS Programmer's Reference 533 Read/Write Read only. Added to API LNS Release 3.0. MyVNI Summary Contains the AppDevice object which is us

Page 607

OpenLNS Programmer's Reference 534 they are added to the API. NetworkServiceDevices Summary Contains the NetworkServiceDevices collection objec

Page 608

OpenLNS Programmer's Reference 535 OriginalName Summary Contains the network's original name as defined on the OpenLNS Server. The proper

Page 609

OpenLNS Programmer's Reference 536 RemoteNetworkName Summary Allows the name of the network as seen in the RemoteNetworks and VNINetworks to be

Page 610

OpenLNS Programmer's Reference 537 ServerIdentifier Summary Provides an identification string for the OpenLNS Server that has opened this netwo

Page 611

OpenLNS Programmer's Reference 538 Systems Summary Returns the Systems collection containing the System object. Only one System is allowed for

Page 612 - AddTarget

OpenLNS Programmer's Reference 539 Add Summary Defines a new Network object. You can create a new network, or import an existing network. Ava

Page 613

OpenLNS Programmer's Reference 540 can be no more than 230 characters long, including any characters OpenLNS adds to create an absolute path. O

Page 614 - DsRestoreOptions

OpenLNS Programmer's Reference 541 identify the network to be deleted by its name, which is stored in the Name property of the Network object,

Page 615 - GetDataPoint

OpenLNS Programmer's Reference 542 • Count • Item • Parent • _NewEnum ClassId Summary Identifies the object class of this object. This pro

Page 616

OpenLNS Programmer's Reference 21 Alias The following table summarizes the Alias object. Description Represents an alias in-use for a network

Page 617

OpenLNS Programmer's Reference 543 added to the API. Item Summary Returns a Network object from a Networks collection. You can retrieve a Netwo

Page 618

OpenLNS Programmer's Reference 544 object Any object for which the parent is desired. Data Type Object. Read/Write Read only. Added to API Dep

Page 619 - AppDevice

OpenLNS Programmer's Reference 545 Added to API Prior to LNS Release 3.0. Accessed Through NetworkInterfaces collection object. NetworkService

Page 620 - AuthenticationConfigFlag

OpenLNS Programmer's Reference 546 Name Summary Specifies the name of an object as a character string. This property is case sensitive. Search

Page 621 - ChangeableTypeSupport

OpenLNS Programmer's Reference 547 NetworkInterfaces A NetworkInterfaces object represents a collection of NetworkInterface objects. This coll

Page 622

OpenLNS Programmer's Reference 548 • Count • Item • _NewEnum ClassId Summary Identifies the object class of this object. This property allo

Page 623

OpenLNS Programmer's Reference 549 Item Summary Returns a NetworkInterface object from a NetworkInterfaces collection. You can retrieve a Netwo

Page 624 - ConfigClassFlag

OpenLNS Programmer's Reference 550 foreach statements. Availability Local, full, and lightweight clients. Syntax retrievedObject = collObject._

Page 625

OpenLNS Programmer's Reference 551 Properties The NetworkResources object contains the following properties: • AppDeviceCount • ClassId • E

Page 626

OpenLNS Programmer's Reference 552 classIdValue The object class of the object. The following value is defined for the NetworkResources object

Page 627 - DsFormatType

OpenLNS Programmer's Reference 22 Comments This property allows the object type to be determined when it is unknown (for example, when the obje

Page 628

OpenLNS Programmer's Reference 553 Added to API LNS Release 3.20. ExclusiveSelectorsAvailable Summary Indicates the total number of exclusive

Page 629

OpenLNS Programmer's Reference 554 GroupIdsAllocated Summary Indicates the number of LonTalk group IDs that have been allocated on the system.

Page 630

OpenLNS Programmer's Reference 555 object Any object for which the parent is desired. Data Type Object. Read/Write Read only. Added to API Dep

Page 631 - DsIsDefaultFormat

OpenLNS Programmer's Reference 556 count The number of selectors that can be used by more than one connection in the system. networkResources T

Page 632 - DsPollInterval

OpenLNS Programmer's Reference 557 Added to API Prior to LNS Release 3.0. Accessed Through AppDevice object. NetworkServiceDevices object. Sys

Page 633

OpenLNS Programmer's Reference 558 EndResetEvent Summary Disables the OnNetworkServiceDeviceResetNew event. Availability Local, full, and light

Page 634 - EstimatedMaxRate

OpenLNS Programmer's Reference 559 Element Description appDevObject The AppDevice object to be returned. nsdObject The NetworkServiceDevice ob

Page 635 - EstimatedRate

OpenLNS Programmer's Reference 560 ConstClassIds constant: 40 lcaClassIdNetworkServiceDevice object The object to be acted on. Data Type In

Page 636

OpenLNS Programmer's Reference 561 soon as they are added to the API. See the applicable object to determine what release it was introduced in.

Page 637 - ImplementsCp

OpenLNS Programmer's Reference 562 Added to API Prior to LNS Release 3.0. IconFilePath Summary Specifies the path and file name of an icon (*.I

Page 638 - IsConfigProperty

OpenLNS Programmer’s Reference vi State ... 103 BufferCo

Page 639 - IsPolled

OpenLNS Programmer's Reference 23 added to the API. Comments The parent object is determined by the means in which a child object is accessed,

Page 640

OpenLNS Programmer's Reference 563 LcaNsdType Summary Specifies the type of network service device, which determines whether its NSI is removed

Page 641 - LonMarkMemberIndex

OpenLNS Programmer's Reference 564 not using an OpenLNS high-performace network interface. nsdObject The NetworkServiceDevice object from whic

Page 642 - LonMarkMemberNumber

OpenLNS Programmer's Reference 565 Read/Write Read/write. Added to API Prior to LNS Release 3.0. NetworkInterfaceFlag Summary Specifies whether

Page 643 - MaxLength

OpenLNS Programmer's Reference 566 Added to API Prior to LNS Release 3.0. NsiHandle Summary Returns the unique identifier assigned to an NSI by

Page 644

OpenLNS Programmer's Reference 567 NsiSubnetId Summary Contains the subnet ID associated with the network services interface (NSI). The NsiNod

Page 645 - NvTargets

OpenLNS Programmer's Reference 568 Parent Summary Returns the object that spawned the current child object. The parent object is determined by

Page 646 - OfflineFlag

OpenLNS Programmer's Reference 569 Class for nodes which move frequently. 2 lcaPingClassTemporary Class for temporary nodes. 3 lcaPingCla

Page 647

OpenLNS Programmer's Reference 570 Remove Summary Removes an object from the specified collection. Availability Local, full, lightweight, and

Page 648 - PriorityConfigFlag

OpenLNS Programmer's Reference 571 added to the API. Count Summary Returns the number of objects in a collection. You can use this property to

Page 649

OpenLNS Programmer's Reference 572 stringExpression A string type specifying the name of the NetworkServiceDevice object to be retrieved. Data

Page 650 - Selector

OpenLNS Programmer's Reference 24 • Parent • _NewEnum Methods The Aliases object contains the following methods. • ItemByIndex • Refresh I

Page 651

OpenLNS Programmer's Reference 573 Availability Local, full, and lightweight clients. Syntax retrievedObject = collObject._NewEnum Element Desc

Page 652 - ServiceTypeConfigFlag

OpenLNS Programmer's Reference 574 • AuthenticationFlag • ChangeableTypeSupport • ClassId • ConfigClassFlag • ConfigProperties • ConnectD

Page 653 - SnvtTypeIsModifiable

OpenLNS Programmer's Reference 575 • Disconnect • DsRestoreOptions • DsSaveOption • GetDataPoint • MoveToInterface • ToString AddTarget

Page 654 - SyncFlag

OpenLNS Programmer's Reference 576 variable connections on a LonWorks network (subject to the constraints of the LonTalk protocol). This is ac

Page 655

OpenLNS Programmer's Reference 577 connections are created or modified with this method. Availability Local, full, and lightweight clients. Syn

Page 656

OpenLNS Programmer's Reference 578 options. Availability Local, full, and lightweight clients. Syntax object.DsRestoreOptions Element Descripti

Page 657

OpenLNS Programmer's Reference 579 Syntax dpObject=networkVariable.DataPoint options Element Description dpObject The DataPoint object returned

Page 658

OpenLNS Programmer's Reference 580 variable, then the LCA, #119 lcaErrInterfaceNotModifyable exception will be thrown. You can determine if a L

Page 659

OpenLNS Programmer's Reference 581 • AppDeviceName • AuthenticationConfigFlag • AuthenticationFlag • ChangeableTypeSupport • ClassId • Co

Page 660

OpenLNS Programmer's Reference 582 Aliases Summary Contains the Aliases collection object associated with the specified NetworkVariable object

Page 661

OpenLNS Programmer's Reference 25 ClassId Summary Identifies the object class of this object. This property allows the object type to be determ

Page 662

OpenLNS Programmer's Reference 583 AppDeviceName Summary Returns the name of an application device that contains the network variable. Availabi

Page 663

OpenLNS Programmer's Reference 584 AuthenticationFlag Summary Returns the network variable’s default authentication setting, which is specified

Page 664

OpenLNS Programmer's Reference 585 constant, are as follows: 0 lcaNvChangeableTypeNone The network variable’s type cannot be changed. 1 lca

Page 665 - NvMonitorOptions

OpenLNS Programmer's Reference 586 cleared, • The configuration property has been set to an invalid value explicitly by your application, or

Page 666

OpenLNS Programmer's Reference 587 ConfigClassFlag Summary Indicates whether the network variable is a configuration network variable (CPNV).

Page 667 - Authentication

OpenLNS Programmer's Reference 588 ConfigProperties Summary Contains the ConfigProperties collection object associated with the specified Netwo

Page 668 - GenerateInitialFetch

OpenLNS Programmer's Reference 589 Added to API Prior to LNS Release 3.0. Description Summary Stores description information about the NetworkV

Page 669 - PollInterval

OpenLNS Programmer's Reference 590 DsFormatType Summary Specifies the type the OpenLNS Server will use in interpreting the value of the network

Page 670

OpenLNS Programmer's Reference 591 OpenLNS uses the value of the Measurement System field (either U.S. or metric) on this tab to determine the

Page 671 - ReportByException

OpenLNS Programmer's Reference 592 of the program ID, and may be one of the following: 0 - Standard 1 - Device Class 2 - Device Class and Usag

Page 672 - ResetPollingIfUpdated

OpenLNS Programmer's Reference 26 property. Index values start at 1. Availability Local, full, lightweight, and independent clients. Note that

Page 673

OpenLNS Programmer's Reference 593 correct path to the LonMark Device Resource File catalog. After you write to this property, you need to invo

Page 674

OpenLNS Programmer's Reference 594 was used for pre-LonMark resource files. nvObject The NetworkVariable object to be acted on. Data Type Stri

Page 675

OpenLNS Programmer's Reference 595 variable’s type, or it is set to the default format for the network variable given the locale settings curre

Page 676 - SuppressPollingIfBound

OpenLNS Programmer's Reference 596 object’s DsPollInterval property. An exception will be raised if you attempt to do so. The System object&apo

Page 677 - ThrottleInterval

OpenLNS Programmer's Reference 597 DsPriority Summary Specifies whether the Data Server polls or updates a network variable using priority mess

Page 678

OpenLNS Programmer's Reference 598 EstimatedRate Summary The estimated sustained message rate (in tenths of messages per second) declared for t

Page 679

OpenLNS Programmer's Reference 599 object The NetworkVariable object to be acted on. description The returned functional profile description st

Page 680 - UseBoundUpdates

OpenLNS Programmer's Reference 600 on. Data Type String. Read/Write Read-only. Added to API Prior to LNS Release 3.0. ImplementsCp Summary I

Page 681 - NvMonitorPoint

OpenLNS Programmer's Reference 601 Syntax index = object.Index Element Description object The object to be acted on. index Index of the netwo

Page 682

OpenLNS Programmer's Reference 602 implements a configuration property conforming to LonMark interoperability guidelines. FALSE. The network va

Page 683

OpenLNS Programmer's Reference 27 you can browse a collection to find a particular item by using the _NewEnum property. See the IEnumVARIANT in

Page 684

OpenLNS Programmer's Reference 603 1 The network variable’s poll attribute on. If the Direction property is set to lcaNvDirectionOutput, th

Page 685

OpenLNS Programmer's Reference 604 LmNumberManufacturerAssigned Summary Indicates whether the member number within a LonMark object was assigne

Page 686

OpenLNS Programmer's Reference 605 Syntax indexValue = nvObject.LonMarkMemberIndex Element Description indexValue The index value of the networ

Page 687

OpenLNS Programmer's Reference 606 Syntax memNumValue = nvObject.LonMarkMemberNumber Element Description memNumValue The member number of the n

Page 688

OpenLNS Programmer's Reference 607 support changeable types, then the value of the MaxLength property will always match the value of the Length

Page 689

OpenLNS Programmer's Reference 608 Element Description stringValue The name of the object. object The object to be acted on. Data Type String

Page 690

OpenLNS Programmer's Reference 609 nvObject The specified NetworkVariable object. Data Type NetworkVariables collection object. Read/Write R

Page 691 - UpdateErrorEvent

OpenLNS Programmer's Reference 610 desired. Data Type Object. Read/Write Read only. Added to API Depends on the object used to access the prop

Page 692

OpenLNS Programmer's Reference 611 ConnectDescTemplate object. Availability Local, full, and lightweight clients. Syntax priorityValue = objec

Page 693

OpenLNS Programmer's Reference 612 ProgrammaticName Summary Returns the programmatic name of the network variable. This property contains the o

Page 694

OpenLNS Programmer's Reference 28 • ReleasePendingUpdates • Replace • ReplaceEx • ReplaceEx • Reset • ResyncToTemplate • Test • U

Page 695

OpenLNS Programmer's Reference 613 Selector Summary The network variable selector value assigned to this network variable alias. When a device

Page 696

OpenLNS Programmer's Reference 614 ServiceType Summary Stores the messaging service to be used for the connection. Note: This property will on

Page 697

OpenLNS Programmer's Reference 615 acknowledgment messages. Do not use this service type on channels that support altnerate frequencies becaus

Page 698

OpenLNS Programmer's Reference 616 SnvtId Summary Contains the ID of the standard network variable type (SNVT) used by the network variable. If

Page 699 - ObjectServer

OpenLNS Programmer's Reference 617 device associated with the network variable). Availability Local, full, and lightweight clients. Syntax snvt

Page 700

OpenLNS Programmer's Reference 618 TypeSpec Summary Contains an object that defines the type used by the network variable. This includes the na

Page 701

OpenLNS Programmer's Reference 619 Accessed Through Connections object. Interface object. LonMarkObject object. Default Property Item Methods

Page 702 - AcceptIncomingSession

OpenLNS Programmer's Reference 620 unique user names. If you use this method to add a network variable to a collection on a static LonMarkObjec

Page 703 - BeginIncomingSessionEvents

OpenLNS Programmer's Reference 621 used for updates to the network variable, as well as the network variable’s default polling, synchronization

Page 704

OpenLNS Programmer's Reference 622 4 lcaNvOptionsPolled Select this option to enable the network variable’s polling attribute. 8 lcaNvOptio

Page 705 - EndIncomingSessionEvents

OpenLNS Programmer's Reference 29 • Subnets • Subsystems • Upgrade Requirement Methods The AppDevice object contains the following methods.

Page 706 - ExtensionByHandle

OpenLNS Programmer's Reference 623 acted upon was obtained from a LonMarkObject; otherwise, it is ignored. Added to API LNS Release 3.20. Item

Page 707

OpenLNS Programmer's Reference 624 Syntax retrievedObject = collection.ItemByProgrammaticName progName Element Description retrievedObject The

Page 708 - SetCustomerInfo

OpenLNS Programmer's Reference 625 networkVariables The NetworkVariables collection to be acted upon. indexName A Long value specifying the col

Page 709

OpenLNS Programmer's Reference 626 ClassId Summary Identifies the object class of this object. This property allows the object type to be dete

Page 710

OpenLNS Programmer's Reference 627 NetworkVariables collection by passing its index (ordinal position) within that collection as the argument f

Page 711 - ActiveRemoteNI

OpenLNS Programmer's Reference 628 Read/Write Read only. Added to API Depends on the object used to access the property. Generally, this proper

Page 712 - CausesValidation

OpenLNS Programmer's Reference 629 CurrentOptions properties of network variable monitor points in temporary monitor sets are not accessible, a

Page 713 - CurrentFormatLocale

OpenLNS Programmer's Reference 630 • ResetPollingIfUpdated • Retries • ServiceType • SuppressPollingIfBound • ThrottleInterval • UseAs

Page 714 - DragMode

OpenLNS Programmer's Reference 631 Data Type Integer. Read/Write Read only. Added to API Depends on the object used to access the property. Ge

Page 715

OpenLNS Programmer's Reference 632 Read/Write Read/write. Added to API LNS Release 3.0. Parent Summary Returns the object that spawned the cur

Page 716

OpenLNS Programmer's Reference 30 image. Adding an application device to the system is a two-step operation. First, you should define the devi

Page 717

OpenLNS Programmer's Reference 633 NvOptions property of the MonitorSet object. This may be useful if you want the poll interval for the monit

Page 718

OpenLNS Programmer's Reference 634 You can set this property through the CurrentOptions property of a permanent or temporary network variable m

Page 719

OpenLNS Programmer's Reference 635 This is the default. -1 The value is set to the value currently stored in the NvOptions property of the Mo

Page 720 - LdrfCatalogPath

OpenLNS Programmer's Reference 636 connection, or via a read operation. 0 The polling of the monitor point will continue at the prescribed i

Page 721

OpenLNS Programmer's Reference 637 DefaultOptions properties of all temporary monitor points are not accessible. However, you can set this prop

Page 722

OpenLNS Programmer's Reference 638 retryValue The valid values for this property, which are enumerated in the ConstServiceTypes constant, are

Page 723 - RemoteFlag

OpenLNS Programmer's Reference 639 monOptsObject The NvMonitorOptions object to be acted on. Data Type Long. Read/Write Read/write. Added to

Page 724 - RemoteNetworks

OpenLNS Programmer's Reference 640 Read/Write Read/write. Note: OpenLNS sets this property automatically for message monitor points. For exampl

Page 725 - ResourceLanguageId

OpenLNS Programmer's Reference 641 Added to API LNS Release 3.0. UseAsyncSend Summary Determines whether OpenLNS will wait for a completion cod

Page 726

OpenLNS Programmer's Reference 642 events to confirm that the values of your monitor points have been successfully sent. This approach may be

Page 727 - VNINetworks

OpenLNS Programmer's Reference 31 lcaConfigPropOptLoadValues and lcaConfigPropOptLoadUnknown download options when you call DownloadConfigPrope

Page 728

OpenLNS Programmer's Reference 643 Read/Write Read/write. Note: OpenLNS sets this property automatically for message monitor points. For exampl

Page 729 - OnAttachmentEvent

OpenLNS Programmer's Reference 644 this set of options should use bound updates. FALSE. The monitor points using this set of options should no

Page 730

OpenLNS Programmer's Reference 645 • Name • Parent • Tag Events • UpdateErrorEvent • UpdateEvent Methods The NvMonitorPoint contains the f

Page 731 - OnChangeEvent

OpenLNS Programmer's Reference 646 tag An Integer type mpObject The NvMonitorPoint object to be acted on. object An object that implements the

Page 732

OpenLNS Programmer's Reference 647 doEnable element to True when you open the monitor set. If the doEnable element is set to False, you can als

Page 733 - OnCommission

OpenLNS Programmer's Reference 648 ClassId Summary Identifies the object class of this object. This property allows the object type to be dete

Page 734

OpenLNS Programmer's Reference 649 demonstrates this procedure: Set curOptions = monPoint.CurrentOptions curOptions.Authentication = True curOp

Page 735 - OnDbConversionEvent

OpenLNS Programmer's Reference 650 DefaultOptions Summary Contains the default monitoring options that are applied each time the monitor set co

Page 736 - OnDbValidationEvent

OpenLNS Programmer's Reference 651 Added to API LNS Release 3.0. FormatSpec Summary Contains the format specification information for data rea

Page 737 - OnIncomingSessionEvent

OpenLNS Programmer's Reference 652 (.), and colon (:) characters. Availability Local, full, lightweight, and independent clients. Note that so

Page 738 - OnLonMarkObjectStatusChange

OpenLNS Programmer's Reference 32 knowing its authentication key, since the device has authentication enabled. If the InitialAuthenticationKey

Page 739 - OnMsgMonitorPointErrorEvent

OpenLNS Programmer's Reference 653 application device that a monitor set belongs to. The Tag properties for all NvMonitorPoint objects in perma

Page 740

OpenLNS Programmer's Reference 654 UpdateErrorEvent Summary Indicates that a write failure or a poll failure has occurred on the network variab

Page 741

OpenLNS Programmer's Reference 655 which are contained in the ConstMonitorEventType constant, are as follows: 0 lcaMonitorEventTypeNull This

Page 742 - OnMsgMonitorPointEvent

OpenLNS Programmer's Reference 656 14 lcaMonitorEventTypeMsgCreate A message monitor point has been created. 15 lcaMonitorEventTypeMsgDelete

Page 743

OpenLNS Programmer's Reference 657 NvMonitorPoints The NvMonitorPoints object contains a collection of NvMonitorPoint objects. This collection

Page 744 - OnMsgMonitorPointUpdateEvent

OpenLNS Programmer's Reference 658 automatically removed when the application shuts down. If a monitor point is not going to be used again, rem

Page 745

OpenLNS Programmer's Reference 659 Remove Summary Removes an NvMonitorPoint object from the collection. This method can only be called when co

Page 746 - OnNetworkVariableUpdate

OpenLNS Programmer's Reference 660 NvMonitorPoints object in the ConstClassIds constant: 81 lcaClassIdNvMonitorPoints object The object to be

Page 747 - OnNodeConnChangeEvent

OpenLNS Programmer's Reference 661 retrievedObject The object retrieved from the collection. collObject The collection object to be acted on. i

Page 748

OpenLNS Programmer's Reference 662 Each ... Next statements. • If you are developing your OpenLNS app in C#, you do not need to use the _NewEn

Page 749 - OnNodeIntfChangeEvent

OpenLNS Programmer’s Reference vii ComponentApps ... 135 Meth

Page 750

OpenLNS Programmer's Reference 33 lcaMgmtModeDeferConfigUpdates (1). 1 lcaCommissionFlagPropagate Propagates the device’s network image in th

Page 751

OpenLNS Programmer's Reference 663 • CausesValidation • ClassId • ComponentApps • Container • CurrentFormatLocale • DatabasePath • DragI

Page 752

OpenLNS Programmer's Reference 664 • OnNetworkVariableStringUpdate • OnNetworkVariableUpdate • OnNodeConnChangeEvent • OnNodeIntfChangeEven

Page 753

OpenLNS Programmer's Reference 665 AcceptIncomingSession Summary Accepts or rejects an incoming uplink session request after you have registere

Page 754 - OnNvMonitorPointErrorEvent

OpenLNS Programmer's Reference 666 being opened. TRUE. Suspends all monitor point update events while the uplink session is being opened. In

Page 755

OpenLNS Programmer's Reference 667 Syntax objServer.AcceptIncomingSession tag, acceptUplink, postponeUpdates Element Description objServer The

Page 756 - OnNvMonitorPointEvent

OpenLNS Programmer's Reference 668 CompactDb Summary Defragments and re-indexes OpenLNS global database. You may not call this method on an Ope

Page 757

OpenLNS Programmer's Reference 669 ExtensionByHandle Summary Retrieves an Extension object by its Handle property. This method can be used to r

Page 758

OpenLNS Programmer's Reference 670 connection update state, remote application transfer state and the Data Server remote-IP mode used by the LN

Page 759 - OnSessionChangeEvent

OpenLNS Programmer's Reference 671 RebuildLdrfCatalog Summary The LonMark Device Resource Files catalog is used to keep track of all sets of Lo

Page 760

OpenLNS Programmer's Reference 672 method before opening the Object Server if you plan on running your application in the standard licensing mo

Page 761 - OnSystemMgmtModeChangeEvent

OpenLNS Programmer's Reference 34 value that is based on the amount of time it will take for a request message to be sent on the channel, and f

Page 762 - OnSystemNssIdle

OpenLNS Programmer's Reference 673 Properties The ObjectServer object contains the following properties. • ActiveNetwork • ActiveRemoteNI •

Page 763 - OnSystemServicePin

OpenLNS Programmer's Reference 674 Element Description networkObject The Network object designated as active. objServerObject The ObjectServer

Page 764 - ObjectStatus

OpenLNS Programmer's Reference 675 CausesValidation Summary This is a standard ActiveX control event used for visual controls. This event is n

Page 765

OpenLNS Programmer's Reference 676 Read/Write Read only. Added to API Prior to LNS Release 3.0. Container Summary This is a standard ActiveX c

Page 766 - AlarmNotifyDisabled

OpenLNS Programmer's Reference 677 Data Type String. Read/Write Read/write. Added to API LNS Release 3.20. DatabasePath Summary Contains the

Page 767

OpenLNS Programmer's Reference 678 extensionsColl The Extensions collection object. object The object whose Extensions collection is being retu

Page 768 - CommFailure

OpenLNS Programmer's Reference 679 connections are updated. You should not set this value to True because your application may then process or

Page 769 - Disabled

OpenLNS Programmer's Reference 680 Service Device will be automatically upgraded whenever an upgrade is required. If this flag is not set, Open

Page 770 - ElectricalFault

OpenLNS Programmer's Reference 681 pre-defined FormatLocale objects, and you can create custom FormatLocale objects with the Add method. For mo

Page 771 - FailSelfTest

OpenLNS Programmer's Reference 682 Element Description isOpenFlag Boolean value. Object A Boolean value indicating whether the ObjectServer ob

Page 772 - FeedbackFailure

OpenLNS Programmer's Reference 35 download Options An Integer value specifying the download options. These values can be ORed together; howev

Page 773 - InAlarm

OpenLNS Programmer's Reference 683 LdrfCatalogPath Summary Obtains the full path for the location of the LonMark device resource file catalog (

Page 774 - InOverride

OpenLNS Programmer's Reference 684 Availability Local, full, lightweight, and independent clients. Note that some objects that contain this pro

Page 775 - InvalidRequest

OpenLNS Programmer's Reference 685 Data Type Networks collection object. Read/Write Read only. Added to API Prior to LNS Release 3.0. Object S

Page 776 - LockedOut

OpenLNS Programmer's Reference 686 Added to API Depends on the object used to access the property. Generally, this property exists for an objec

Page 777 - ManualControl

OpenLNS Programmer's Reference 687 RemoteNetworks Summary Contains a collection of all remote full client networks that have been opened by an

Page 778 - MechanicalFault

OpenLNS Programmer's Reference 688 ResourceLanguageId Summary Controls which language should be used when displaying descriptive type informati

Page 779 - OpenCircuit

OpenLNS Programmer's Reference 689 TabIndex Summary A standard ActiveX control property used for visual controls. This property is not applica

Page 780 - OutOfLimits

OpenLNS Programmer's Reference 690 "4.00"). The version number is the same value as that returned in the About Box osObject The Obje

Page 781 - OutOfService

OpenLNS Programmer's Reference 691 WhatsThisHelpID Summary This property returns or sets an associated context number for an object. You can us

Page 782 - OverRange

OpenLNS Programmer's Reference 692 DragDrop Summary A standard ActiveX control event used for visual controls. This event is not applicable fo

Page 783 - ProgrammingFail

OpenLNS Programmer's Reference 36 to fail. To exclude those configuration properties from a download, you should OR this value with the lcaConf

Page 784 - ProgrammingMode

OpenLNS Programmer's Reference 693 Syntax OnAttachment(networkHandle As Long, systemHandle As Long, objectType as Integer, isAttached As Boolea

Page 785

OpenLNS Programmer's Reference 694 and NodeId properties. If the state is lcaStateUncnfg or lcaStateCnfgOffline, you can resolve this by recomi

Page 786 - ResetComplete

OpenLNS Programmer's Reference 695 constant, are as follows: 0 lcaChangeEventAppDevices 1 lcaChangeEventChannels 2 lcaChangeEventRouters

Page 787 - SelfTestInProgress

OpenLNS Programmer's Reference 696 OnCommission Summary Indicates that a device’s commission status has changed. You can register your applica

Page 788 - Summary

OpenLNS Programmer's Reference 697 changes. The enumerated values for this element, which are contained in the ConstCommissionStatus constant,

Page 789 - UnableToMeasure

OpenLNS Programmer's Reference 698 OnDbConversionEvent Summary Provides a client application the progress of an OpenLNS database conversion. Wh

Page 790 - UnderRange

OpenLNS Programmer's Reference 699 OnDbValidationEvent Summary Provides a client application the progress of database validation. A database va

Page 791 - PingIntervals

OpenLNS Programmer's Reference 700 database validation that is currently being performed. The phase name will be returned as a string of up to

Page 792 - MobileClassPingInterval

OpenLNS Programmer's Reference 701 Syntax OnIncomingSessionEvent(xDriverProfileName, netName, intfName, tag) Element Description xDriverProfile

Page 793 - PermanentClassPingInterval

OpenLNS Programmer's Reference 702 Syntax OnLonMarkObjectStatusChangeEvent(networkHandle, systemHandle, deviceHandle, LonMarkObjectIndex) Eleme

Page 794 - TemporaryClassPingInterval

OpenLNS Programmer's Reference 37 the network. 32 lcaConfigPropOptSetMfgOnlyUnknown Sets all manufacturing only configuration properties to un

Page 795 - RecoveryStatus

OpenLNS Programmer's Reference 703 multi-threading (such as Visual C++), you can receive update events on a separate thread by creating an obje

Page 796

OpenLNS Programmer's Reference 704 has returned an error. See the OnNvMonitorPointErrorEvent event. 12 lcaMonitorEventTypeNvUpdate A network v

Page 797 - ItemsInPhase

OpenLNS Programmer's Reference 705 OnMsgMonitorPointEvent Summary An event that is generated whenever a message monitor point is created or rem

Page 798 - PhaseType

OpenLNS Programmer's Reference 706 8 lcaMonitorEventTypeNvCreate A network variable monitor point has been created. 9 lcaMonitorEventTypeNv

Page 799 - ProgressIndicator

OpenLNS Programmer's Reference 707 received a request message. 20 lcaMonitorEventTypeMsgResponse A message monitor point has received a repons

Page 800 - ProgressIndicatorType

OpenLNS Programmer's Reference 708 Added to API LNS Release 3.0. OnNetworkServiceDeviceResetNew Summary Indicates that the local network inter

Page 801 - TotalChannels

OpenLNS Programmer's Reference 709 your application's main thread. Instead, a separate thread will be used for this event. When using th

Page 802 - TotalNvMts

OpenLNS Programmer's Reference 710 Syntax OnNetworkVariableUpdate (monitorTag As Long, value as Variant, dataUpdateInfo As Object) Element De

Page 803 - TotalRouters

OpenLNS Programmer's Reference 711 TargetDeviceHandle The Handle of the AppDevice object whose connection changed. Version The version of the d

Page 804

OpenLNS Programmer's Reference 712 or MessageTag. HubNvMtIndex The Index of the connection’s hub NetworkVariable or MessageTag. Added to API L

Page 805 - CommissionEx

OpenLNS Programmer's Reference 38 operations initiated by other flags passed to the DownloadConfigProperties method. However, updates to the de

Page 806

OpenLNS Programmer's Reference 713 You can also determine the version of an Interface object by reading the Version property. ObjectChangeType

Page 807

OpenLNS Programmer's Reference 714 affected network variable’s new user name. The user name is stored in the network variable’s Name property.

Page 808 - PreMove

OpenLNS Programmer's Reference 715 interface. The Name element will contain an empty string. The ObjectIndex element will contain the affecte

Page 809

OpenLNS Programmer's Reference 716 moved A message tag was removed from the interface. The Name element will contain an empty string. The Obj

Page 810 - ReplaceEx

OpenLNS Programmer's Reference 717 Name The name of the object that was modified. This may be the user name or the programmatic name of the obj

Page 811

OpenLNS Programmer's Reference 718 7 lcaMonitorEventTypeMsError This value is not used. 8 lcaMonitorEventTypeNvCreate A network variable m

Page 812

OpenLNS Programmer's Reference 719 19 lcaMonitorEventTypeMsgRequest A message monitor point has received a request message. 20 lcaMonitorEven

Page 813

OpenLNS Programmer's Reference 720 This value is not used. 3 lcaMonitorEventTypeRemove This value is not used. 4 lcaMonitorEventTypeMsCreat

Page 814

OpenLNS Programmer's Reference 721 This value is not used. 17 lcaMonitorEventTypeMsgError A message monitor point has returned an error. See t

Page 815

OpenLNS Programmer's Reference 722 OnNvMonitorPointUpdateEvent Summary This event is generated whenever a network variable monitor point update

Page 816

OpenLNS Programmer's Reference 39 send a value on the created monitor point. The device does not need to be commissioned to call this method.

Page 817

OpenLNS Programmer's Reference 723 This event is also fired each time the state of your client’s NetworkServiceDevice changes from the online

Page 818

OpenLNS Programmer's Reference 724 been lost, and recovery is either disabled, or it has timed out. Your application will no longer be able to

Page 819

OpenLNS Programmer's Reference 725 applied to both the OpenLNS database and the physical devices. 1 lcaMgmtModeDeferConfigUpdates Network co

Page 820

OpenLNS Programmer's Reference 726 Syntax OnSystemNssIdle() Added to API Prior to LNS Release 3.0. OnSystemServicePin Summary Indicates that

Page 821

OpenLNS Programmer's Reference 727 Validate Summary This is a standard ActiveX control event used for visual controls. This event is not appli

Page 822

OpenLNS Programmer's Reference 728 • InAlarm • InOverride • InvalidId • InvalidRequest • LockedOut • ManualControl • MechanicalFault •

Page 823 - FarSide

OpenLNS Programmer's Reference 729 • ResetComplete • SelfTestInProgress • Summary • UnableToMeasure • UnderRange AlarmNotifyDisabled Summa

Page 824

OpenLNS Programmer's Reference 730 on. Data Type Boolean. Read/Write Read only. Added to API Prior to LNS Release 3.0. ClassId Summary Ident

Page 825

OpenLNS Programmer's Reference 731 CommFailure Summary Indicates whether there has been a communication failure on the LonMarkObject object, or

Page 826 - NearSide

OpenLNS Programmer's Reference 732 Disabled Summary Indicates whether the LonMarkObject is currently disabled, or whether the LonMarkObject can

Page 827

OpenLNS Programmer's Reference 40 Load Summary Loads the application image specified by the AppImagePath property into a device. This method l

Page 828

OpenLNS Programmer's Reference 733 ElectricalFault Summary Indicates whether an electrical fault has been detected in the LonMarkObject object,

Page 829

OpenLNS Programmer's Reference 734 FailSelfTest Summary Indicates whether the LonMarkObject passed its most recent self-test, or whether the Lo

Page 830 - Routers

OpenLNS Programmer's Reference 735 FeedbackFailure Summary Indicates whether the feedback signal of the LonMarkObject is being received, or whe

Page 831

OpenLNS Programmer's Reference 736 InAlarm Summary Indicates whether the LonMarkObject is currently in an alarm condition, or whether the LonMa

Page 832

OpenLNS Programmer's Reference 737 InOverride Summary Indicates whether the LonMarkObject is currently in an override state, or whether the Lon

Page 833

OpenLNS Programmer's Reference 738 InvalidId Summary Indicates that the requested LonMarkObject does not exist. Availability Local, full, and l

Page 834

OpenLNS Programmer's Reference 739 been made. statusObject The ObjectStatus object to be acted on. Data Type Boolean. Read/Write Read only. A

Page 835 - ItemByNeuronID

OpenLNS Programmer's Reference 740 Data Type Boolean. Read/Write Read only. Added to API Prior to LNS Release 3.0. ManualControl Summary Indi

Page 836

OpenLNS Programmer's Reference 741 MechanicalFault Summary Indicates whether a mechanical fault has been detected in the LonMarkObject object,

Page 837

OpenLNS Programmer's Reference 742 ObjectId Summary Contains the ID of the LonMarkObject to which this ObjectStatus object applies. Objects ar

Page 838

OpenLNS Programmer's Reference 41 application download. The system image used by the device must be compatible with the application image being

Page 839 - RouterSide

OpenLNS Programmer's Reference 743 LonMarkObject object. FALSE. An open circuit has not been discovered. ReportMask Property TRUE. The LonMa

Page 840

OpenLNS Programmer's Reference 744 TRUE. The LonMarkObject can report that it has exceeded its alarm limits. FALSE. The LonMarkObject can no

Page 841

OpenLNS Programmer's Reference 745 report that it is inoperable. statusObject The ObjectStatus object to be acted on. Data Type Boolean. Read

Page 842

OpenLNS Programmer's Reference 746 report that its value is over the acceptable range. statusObject The ObjectStatus object to be acted on. Da

Page 843

OpenLNS Programmer's Reference 747 failure. Availability Local, full, and lightweight clients. Syntax progFailFlag= statusObject.ProgrammingFai

Page 844 - PendingNeuronId

OpenLNS Programmer's Reference 748 Syntax progModeFlag= statusObject.ProgrammingMode Element Description progModeFlag A Boolean value indicatin

Page 845

OpenLNS Programmer's Reference 749 can be accessed through the ReportMask property of the LonMarkObject FALSE. The ObjectStatus object represe

Page 846

OpenLNS Programmer's Reference 750 LonMarkObject has been completed. FALSE. The reset has not been completed. ReportMask Property TRUE. The

Page 847

OpenLNS Programmer's Reference 751 TRUE. The most recent self-test of the LonMarkObject is still in progress. FALSE. The self-test has been

Page 848

OpenLNS Programmer's Reference 752 UnableToMeasure Summary Indicates whether an input/output line failure has been detected in the LonMarkObjec

Page 849 - ServiceStatus

OpenLNS Programmer's Reference 42 LoadEx Summary Loads the application image specified by the AppImagePath property into a device. This method

Page 850

OpenLNS Programmer's Reference 753 UnderRange Summary Indicates whether the value associated with the LonMarkObject is less than its acceptable

Page 851 - ResourceType

OpenLNS Programmer's Reference 754 Added to API Prior to LNS Release 3.0. PingIntervals The PingIntervals object defines the duration of the p

Page 852

OpenLNS Programmer's Reference 755 following value is defined for the PingInterval object in the ConstClassIds constant: 69 lcaClassIdPingInt

Page 853 - SourceAddress

OpenLNS Programmer's Reference 756 The default value is 60 seconds for private media, and 0 seconds for shared media. piObject The PingInterval

Page 854 - DomainId

OpenLNS Programmer's Reference 757 The minimum value is 900 seconds. 65535 (-1) means "do not change". piObject The PingIntervals ob

Page 855

OpenLNS Programmer's Reference 758 tempPing The ping interval (in seconds) for the temporary ping class. Set this property to 0 seconds to disa

Page 856

OpenLNS Programmer's Reference 759 Methods The RecoveryStatus object does not contain any methods. Properties The RecoveryStatus object contain

Page 857

OpenLNS Programmer's Reference 760 CurrentPhaseNumber Summary An Integer indicating the current phase of the database recovery process. Availab

Page 858

OpenLNS Programmer's Reference 761 NumbersPhases Summary The number of phases in the database recovery operation. This value can be used in con

Page 859

OpenLNS Programmer's Reference 762 Element Description phaseTypeValue The current phase. The phase values, which are contained in the ConstReco

Page 860

OpenLNS Programmer’s Reference viii BroadcastOptions ... 176 ClassId ...

Page 861

OpenLNS Programmer's Reference 43 variants. Requires the system image to be stored in flash and to have at least 32K bytes of contiguous flash

Page 862

OpenLNS Programmer's Reference 763 7 lcaClassIdAppDevice 9 lcaClassIdRouter 18 lcaClassIdConnections 22 lcaClassIdMessageTag 24 lcaClas

Page 863

OpenLNS Programmer's Reference 764 Syntax progIndicTypeValue = rsObject.ProgressIndicatorType Element Description rsObject The RecoveryStatus o

Page 864

OpenLNS Programmer's Reference 765 Syntax totalChannelsValue = rsObject.TotalChannels Element Description rsObject The RecoveryStatus object to

Page 865

OpenLNS Programmer's Reference 766 Data Type Long. Read/Write Read only. Added to API Prior to LNS Release 3.0. TotalRouters Summary The tota

Page 866 - Subsystem

OpenLNS Programmer's Reference 767 • CommissionStatus • Description • Extensions • FarSide • Handle • IconFilePath • InitialAuthenticat

Page 867

OpenLNS Programmer's Reference 768 device has authentication enabled. If the InitialAuthenticationKey is set prior to commissioning the device

Page 868

OpenLNS Programmer's Reference 769 (1). 1 lcaCommissionFlagPropagate Propagates the device’s network image in the OpenLNS database to the phy

Page 869

OpenLNS Programmer's Reference 770 session before using the MoveEx method. This will allow your application to avoid some failure scenarios tha

Page 870

OpenLNS Programmer's Reference 771 move, this information is lost, and the router will be put online. Added to API Prior to LNS Release 3.0. P

Page 871

OpenLNS Programmer's Reference 772 PostMove method to move a router while in engineered mode. See the PostMove method for more information on t

Page 872

OpenLNS Programmer's Reference 44 You first need to invoke it with the lcaMovePrePhysical flag (analogous to the PreMove call), and then once t

Page 873

OpenLNS Programmer's Reference 773 the same explicit transaction as the invocation of this method. Availability Local, full, and lightweight cl

Page 874

OpenLNS Programmer's Reference 774 lcaMgmtModePropagateConfigUpdates (0). If the network management mode is set to lcaMgmtModePropagateConfigU

Page 875

OpenLNS Programmer's Reference 775 normal, and can be expected while the management mode is lcaMgmtModeDeferConfigUpdates (1). These discrepanc

Page 876

OpenLNS Programmer's Reference 776 subnet/node addressing, but could not communicate with the router using Neuron ID addressing. However, thro

Page 877

OpenLNS Programmer's Reference 777 could be caused by attaching a new router to the network which was previously configured as part of another

Page 878

OpenLNS Programmer's Reference 778 match the database. This result will be returned if the router’s domain address has not been configured. 10

Page 879

OpenLNS Programmer's Reference 779 reconfigured by another network management tool, or the router may be faulty. It may be possible to restore

Page 880

OpenLNS Programmer's Reference 780 object by calling the System.NetworkServiceRouter.Router.Commission method, and make sure that the State pro

Page 881

OpenLNS Programmer's Reference 781 Syntax returnValue = object.Count Element Description attachmentStatus The attachment status of the router.

Page 882 - BeginCommissionEvent

OpenLNS Programmer's Reference 782 Full client remains connected to the server. 3. Set the AuthenticationEnabled property to True the AppDevic

Page 883 - BeginMissedEvent

OpenLNS Programmer's Reference 45 PostMove Summary Completes the move of an application device from one channel (or subnet) to another. As part

Page 884

OpenLNS Programmer's Reference 783 Added to API Prior to LNS Release 3.0. BitmapFilePath Summary Specify the path and file name of a bitmap (*

Page 885 - BeginSession

OpenLNS Programmer's Reference 784 lcaLearningRouter (1) value to this property, it will automatically be converted to lcaConfiguredRouter (0).

Page 886

OpenLNS Programmer's Reference 785 Syntax commStatusValue = object.CommissionStatus Element Description object The router object to be acted on

Page 887 - CancelTransaction

OpenLNS Programmer's Reference 786 Data Type String. Read/Write Read/write. Added to API This depends on the object used to access the propert

Page 888 - DeconfigNetwork

OpenLNS Programmer's Reference 787 Read/Write Read-only. Added to API Prior to LNS Release 3.0. Handle Summary Contains the handle associated w

Page 889

OpenLNS Programmer's Reference 788 InitialAuthenticationKey Summary Contains the initial authentication key to be used when commissioning a rou

Page 890

OpenLNS Programmer's Reference 789 Data Type String (6 bytes). Read/Write Read only. Added to API Prior to LNS Release 3.0. Name Summary Speci

Page 891 - DiscoverDevices

OpenLNS Programmer's Reference 790 Read/Write Read-only. Added to API Prior to LNS Release 3.0. Parent Summary Returns the object that spawned

Page 892

OpenLNS Programmer's Reference 791 property, OpenLNS will use the default lcaPingClassStationary (3) value. 1 lcaPingClassMobile Class for no

Page 893 - DoEventSync

OpenLNS Programmer's Reference 792 properties are read-only. 2 lcaStateUncnfg The application is loaded but the configuration is either not

Page 894 - DoRestoreOptions

OpenLNS Programmer's Reference 46 element, and the new subnet as the newSubnetObject element. If this method is called while not attached to th

Page 895 - EndChangeEvent

OpenLNS Programmer's Reference 793 Data Type Integer. Read/Write Read /write. Added to API Prior to LNS Release 3.0. Subsystems Summary Contai

Page 896

OpenLNS Programmer's Reference 794 Methods The Routers object contains the following methods. • Add • AddEx • AddReference • ItemByHandle •

Page 897

OpenLNS Programmer's Reference 795 routerType An Integer value indicating the router type. The valid class values, which are contained in the C

Page 898 - EndSystemMgmtModeChangeEvent

OpenLNS Programmer's Reference 796 nearChannel The Channel object for the router's near channel. farChannel The Channel object for the rou

Page 899 - GetPermission

OpenLNS Programmer's Reference 797 network management mode is set to lcaMgmtModePropagateConfigUpdates (0). Added to API Prior to LNS Release

Page 900 - GetProgramId

OpenLNS Programmer's Reference 798 Routers collection. coll The Routers collection object. handle A Long value specifying the handle of the Rou

Page 901 - PrepareToRecoverFromNetwork

OpenLNS Programmer's Reference 799 the router to be removed. indexName A Long value specifying the collection index of the Router object to rem

Page 902

OpenLNS Programmer's Reference 800 s (0). Added to API Prior to LNS Release 3.0. Properties The Routers object contains the following properti

Page 903 - RecoverFromNetwork

OpenLNS Programmer's Reference 801 object The collection object to be acted on. Data Type Long. Read/Write Read only. Added to API Depends on

Page 904

OpenLNS Programmer's Reference 802 you do not need to use the _NewEnum property because it is automatically used in the implementation of For E

Page 905 - RetryUpdates

OpenLNS Programmer's Reference 47 lcaErrNsUpdatesDeferred exception will be thrown. In this case, the changes will not be propagated to the dev

Page 906 - SetEventSyncMode

OpenLNS Programmer's Reference 803 Methods The RouterSide object contains the following method. • ClearStatus ClearStatus Summary Clears the s

Page 907

OpenLNS Programmer's Reference 804 The maximum buffer size for a router side is determined when the router's external interface file is im

Page 908 - StartTransaction

OpenLNS Programmer's Reference 805 ClassId Summary Identifies the object class of this object. This property allows the object type to be dete

Page 909

OpenLNS Programmer's Reference 806 LastTestInfo Summary Contains the TestInfo object containing the results of the last time the Test method wa

Page 910

OpenLNS Programmer's Reference 807 Element Description nodeIdValue The NodeId of the object. object The RouterSide object to be acted on. Dat

Page 911 - ApplicationHandle

OpenLNS Programmer's Reference 808 Data Type String. Read/Write Read only. Added to API LNS Release 3.0. Priority Summary Determines the route

Page 912 - AuthenticationKey

OpenLNS Programmer's Reference 809 the following format: FM:MM:MM:CC:CC:UU:TT:NN Note: You may not use colons when writing the program ID. For

Page 913

OpenLNS Programmer's Reference 810 properties are read-only. 2 lcaStateUncnfg The application is loaded but the configuration is either not

Page 914 - CommissionedDeviceCount

OpenLNS Programmer's Reference 811 mode). The device's service LED is off in this state. object The RouterSide object to be acted on. Da

Page 915 - CurrentAccount

OpenLNS Programmer's Reference 812 ServiceStatus A ServiceStatus object contains the status of the current service request for the System objec

Page 916

OpenLNS Programmer's Reference 48 If you accept an xDriver session with the doPostponeUpdates field set to True, you should open the network in

Page 917 - DiscoveryInterval

OpenLNS Programmer's Reference 813 classIdValue The object class of the object. The following value is defined for the ServiceStatus object in

Page 918 - DiscoveryLimitedFlag

OpenLNS Programmer's Reference 814 QueuePosition Summary Indicates the numbed of transactions that must be started and completed before this se

Page 919

OpenLNS Programmer's Reference 815 indicates the number of unstarted transactions that must be completed before the service can execute. 1 l

Page 920

OpenLNS Programmer's Reference 816 The service is unable to execute do to a communications failure. statusValue The status of this service. Da

Page 921

OpenLNS Programmer's Reference 817 ClassId Summary Identifies the object class of this object. This property allows the object type to be dete

Page 922 - DsRepeatTimer

OpenLNS Programmer's Reference 818 Added to API LNS Release 3.0. NodeId Summary Contains the node ID of the device that generated the network v

Page 923 - DsRetries

OpenLNS Programmer's Reference 819 Summary Contains the subnet ID of the device that generated the network variable or message monitor point up

Page 924 - DsRetryCount

OpenLNS Programmer's Reference 820 Methods The Subnet object does not contain any methods. Properties The Subnet object contains the following

Page 925 - DsTxTimer

OpenLNS Programmer's Reference 821 Independent clients. Syntax classIdValue = object.ClassId Element Description classIdValue The object class

Page 926

OpenLNS Programmer's Reference 822 subnetObject The Subnet object. Data Type String. Read/Write Read only. Added to API Prior to LNS Release

Page 927 - HostTimer

OpenLNS Programmer's Reference 49 replacements automatically in most cases. For information on when you might need to manually replace a Networ

Page 928 - InstallOptions

OpenLNS Programmer's Reference 823 • Small (16x16) with 16 colors • Monochrome (32x32) • Large (48x48) with 256 colors Added to API Prior t

Page 929

OpenLNS Programmer's Reference 824 Added to API Depends on the object used to access the property. Generally, this property exists for an objec

Page 930 - LastError

OpenLNS Programmer's Reference 825 Methods The Subnets object contains the following methods. • Add • Remove Add Summary Defines a new Subnet

Page 931 - LaunchLcaServerFlag

OpenLNS Programmer's Reference 826 Added to API Prior to LNS Release 3.0. Properties The Subnets object contains the following properties: • C

Page 932

OpenLNS Programmer's Reference 827 object The collection object to be acted on. Data Type Long. Read/Write Read only. Added to API Depends on

Page 933 - MgmtMode

OpenLNS Programmer's Reference 828 clients. Syntax parentObject = object.Parent Element Description parentObject The object that is the parent

Page 934

OpenLNS Programmer's Reference 829 Subsystem The Subsystem object represents a logical grouping of devices and routers. Subsystems may be hier

Page 935

OpenLNS Programmer's Reference 830 Note: The name of a top-level Subsystem can not be the same as the System object's name. See the Path

Page 936 - NssDbVersion

OpenLNS Programmer's Reference 831 Syntax appDevicesCollection = object.AppDevices Element Description appDevicesCollection The AppDevices coll

Page 937 - PermissionString

OpenLNS Programmer's Reference 832 Subsystem object in the ConstClassIds constant: 5 lcaClassIdSubsystem object The object to be acted on. D

Page 938

OpenLNS Programmer's Reference 50 Enter this value if do not want to use any options. 1 lcaReplaceFlagCopy Copies the values of all config

Page 939 - RegisterServicePin

OpenLNS Programmer's Reference 833 Read/Write Read only. Added to API Prior to LNS Release 3.0. Handle Summary Contains the handle associated w

Page 940 - RemoteChannel

OpenLNS Programmer's Reference 834 Name Summary Specifies the name of an object as a character string. This property is case sensitive. Search

Page 941

OpenLNS Programmer's Reference 835 Path Summary Contains the full system and subsystem pathname for this subsystem. Pathnames may be used in p

Page 942

OpenLNS Programmer's Reference 836 Element Description object The Subsystem object to be acted on. routersCollection The Routers collection ret

Page 943

OpenLNS Programmer's Reference 837 The Subsystems collection accessed through the ALL subsystem contains all objects in the network database, i

Page 944 - SecurityLevel

OpenLNS Programmer's Reference 838 Syntax subsystemObject = subsystemsColl.Add(subsystemName) Element Description subsystemObject The newly def

Page 945

OpenLNS Programmer's Reference 839 Properties The Subsystems object contains the following properties: • ClassId • Count • Item • Parent •

Page 946

OpenLNS Programmer's Reference 840 Data Type Long. Read/Write Read only. Added to API Depends on the object used to access the property. Gener

Page 947

OpenLNS Programmer's Reference 841 Element Description parentObject The object that is the parent of the specified object. object Any object fo

Page 948 - TemplateLibrary

OpenLNS Programmer's Reference 842 Added to API Prior to LNS Release 3.0. Accessed Through Systems collection object. Default Property Name. Me

Page 949 - TxTimer

OpenLNS Programmer's Reference 51 deconfigured, regardless if this option has been set. This flag should be ORed with lcaReplaceFlagCopy (1).

Page 950 - UncommissionedDeviceCount

OpenLNS Programmer's Reference 843 • ClassId • ClientId • CommissionedDeviceCount • ComponentApps • Connections • CurrentAccount • Curre

Page 951 - UninstalledDeviceCount

OpenLNS Programmer's Reference 844 • UninstalledDeviceCount • UpdateInterval Methods The System object contains the following methods: • Be

Page 952 - UpdateInterval

OpenLNS Programmer's Reference 845 object type. To begin events for device and router attachments, you must call this method twice: once with t

Page 953 - Systems

OpenLNS Programmer's Reference 846 object type. Availability Local, full, and lightweight clients. Syntax systemObject.BeginCommissionEvent ob

Page 954

OpenLNS Programmer's Reference 847 Syntax systemObject.BeginMissedEvent Element Description systemObject The System object to be acted on. Add

Page 955

OpenLNS Programmer's Reference 848 this element is 0–65,535. Added to API Prior to LNS Release 3.0. BeginServicePinEvent Summary Enables the O

Page 956

OpenLNS Programmer's Reference 849 validated until the session is ended. The only network operations you can perform within sessions are those

Page 957

OpenLNS Programmer's Reference 850 CancelTransaction Summary Cancels an active transaction. When a transaction is canceled, either explicitly b

Page 958

OpenLNS Programmer's Reference 851 engineered system mode). Closing the system does not turn off monitor set monitoring and control. Monitor se

Page 959 - TestInfo

OpenLNS Programmer's Reference 852 discovery process (see the DiscoveryInterval property). Devices do not have to be installed by the OpenLNS

Page 960 - ActualNeuronId

OpenLNS Programmer's Reference 52 Syntax appDevice.ResyncToTemplate options Element Description appDevice The AppDevice object to be re-synced

Page 961 - ActualProgramId

OpenLNS Programmer's Reference 853 broadcast is used, all deconfigured devices will log a configuration checksum error (CNFG_CS_ERROR = 153) in

Page 962 - AuxResultData

OpenLNS Programmer's Reference 854 255 lcaExcludedDevTypeAll None of the above devices will be deconfigured. You can logically OR these constan

Page 963

OpenLNS Programmer's Reference 855 If a host-based device whose application is not running is installed on the network, OpenLNS may or may not

Page 964 - ExpectedDomainId

OpenLNS Programmer's Reference 856 registration is used, an error will cause all device registrations to fail. If registration is done in the

Page 965 - ExpectedNodeId

OpenLNS Programmer's Reference 857 This method resynchronizes the network. It should be called every 3 to 5 seconds. This method must be used

Page 966 - ExpectedSubnetId

OpenLNS Programmer's Reference 858 Added to API Prior to LNS Release 3.0. EndAttachmentEvent Summary Disables the OnAttachmentEvent for a syste

Page 967 - IsDetailInfoValid

OpenLNS Programmer's Reference 859 Added to API Prior to LNS Release 3.0. EndCommissionEvent Summary Disables the OnCommission event for a syst

Page 968

OpenLNS Programmer's Reference 860 Added to API Prior to LNS Release 3.0. EndNodeConnChangeEvent Summary Disables the OnNodeConnChangeEvent for

Page 969

OpenLNS Programmer's Reference 861 This event tag must be the one returned by the BeginServicePinEvent method. Added to API Prior to LNS Relea

Page 970

OpenLNS Programmer's Reference 862 ExtensionByHandle Summary Retrieves an Extension object by its handle property. Extension records are defin

Page 971

OpenLNS Programmer’s Reference ix DatabaseValidationErrorInstance ... 207 Methods ...

Page 972

OpenLNS Programmer's Reference 53 exist on the network, and respond to queries. If the device is installed, it must contain the expected domain

Page 973

OpenLNS Programmer's Reference 863 of the local client ( for example "192.168.0.3"). Added to API Prior to LNS Release 3.0. GetProgr

Page 974

OpenLNS Programmer's Reference 864 of the network interface is created. The value of the DomainId property cannot be changed if any devices ha

Page 975 - IsComplete

OpenLNS Programmer's Reference 865 object’s NetworkServiceDevice object to identify the network interface for the new network. 3. Call the Pre

Page 976

OpenLNS Programmer's Reference 866 Layer 2 network interface, an exception will be thrown. FALSE. OpenLNS will read the domain signature from

Page 977 - ObjectType

OpenLNS Programmer's Reference 867 MgmtMode property will be set to lcaMgmtModeDeferConfigUpdates (1). You will need to set the property to lca

Page 978

OpenLNS Programmer's Reference 868 lcaRecoveryOptSmallNetwork Assume that the network is a small or medium sized network. This causes database

Page 979

OpenLNS Programmer's Reference 869 This method cannot be part of an explicit transaction. For more information on explicit transactions, see t

Page 980

OpenLNS Programmer's Reference 870 The possible values for this parameter, which is contained in the ConstEventSyncModes constant, are as follo

Page 981 - UpgradeInfo

OpenLNS Programmer's Reference 871 requests. You only use this parameter if the mode parameter is set to lcaEventAutoSyncMode. Added to API

Page 982

OpenLNS Programmer's Reference 872 transactions, see the Using Transactions and Sessions section in the OpenLNS Programmer’s Guide. You can use

Page 983 - FromIndex

OpenLNS Programmer's Reference 54 2 lcaTestResultCommNeuronId The OpenLNS Server was unable to communicate with the device using Neuron ID ad

Page 984 - FromOwnerIndex

OpenLNS Programmer's Reference 873 • Description • DiscoveryInterval • DiscoveryLimitedFlag • DomainId • DsPollInterval • DsPriority • D

Page 985

OpenLNS Programmer's Reference 874 Availability Local, full, and lightweight clients. Syntax acctsCollection = sysObject.Accounts Element Descr

Page 986

OpenLNS Programmer's Reference 875 Availability Local, full, and lightweight clients. Syntax returnValue = sysObject.ApplicationHandle Element

Page 987

OpenLNS Programmer's Reference 876 hexadecimal digit of the key. A key of ffff ffff ffff or ffff ffff ffff ffff ffff ffff indicates that authen

Page 988

OpenLNS Programmer's Reference 877 added to the API. ClientId Summary Contains the ClientId associated with the System object by the Object Se

Page 989

OpenLNS Programmer's Reference 878 Added to API Prior to LNS Release 3.0. ComponentApps Summary Contains the ComponentApps collection object a

Page 990 - ToOwnerIndex

OpenLNS Programmer's Reference 879 Syntax acctObject = systemObject.CurrentAccount Element Description acctObject The current Account object. s

Page 991 - UpgradeInfos

OpenLNS Programmer's Reference 880 Element Description systemObject The System object to be acted on. debugFlag A Boolean value that indicates

Page 992

OpenLNS Programmer's Reference 881 (4) sets this property to 180 seconds. Availability Local, full, and lightweight clients. Syntax intervalVal

Page 993

OpenLNS Programmer's Reference 882 FALSE. Device discovery has completed execution without being halted or the application has exited. systemO

Page 994 - UpgradeStatus

OpenLNS Programmer's Reference 55 to be recomissioned or it may be in the middle of a two-phase move. It also might be caused by intermittent

Page 995

OpenLNS Programmer's Reference 883 5. Use service pin, find, or other manual means of obtaining the actual Neuron ID of each device. 6. Itera

Page 996

OpenLNS Programmer's Reference 884 developing a remote application that uses shared access mode (meaning that the DsMode property is set to lca

Page 997 - UprgradeInfos

OpenLNS Programmer's Reference 885 priorityFlag The priority flag value. TRUE. The Data Server uses priority messaging to update a network

Page 998

OpenLNS Programmer's Reference 886 8 0.256 9 0.384 10 0.512 11 0.768 12 1.024 13 1.536 14 2.048 15 3.072 You can write the value 254 to the pro

Page 999

OpenLNS Programmer's Reference 887 DsRetryCount Summary Sets the maximum number of times to retry messages sent using the request/response, una

Page 1000 - Interfaces

OpenLNS Programmer's Reference 888 Read/Write Read/write. Added to API LNS Release 3.20. DsTxTimer Summary Sets the interval between retries f

Page 1001 - ILcaMsgMonitorPointListener

OpenLNS Programmer's Reference 889 15 3.072 You can write the value 254 to the property at any time to restore it to the default. To set the

Page 1002 - UpdateEvent

OpenLNS Programmer's Reference 890 Syntax fileTransObject = systemObject.FileTransfer Element Description fileTransObject The FileTransfer obje

Page 1003 - ILcaNvMonitorPointListener

OpenLNS Programmer's Reference 891 Syntax hostTimerValue = systemObject.HostTimer Element Description hostTimerValue The host timer value in s

Page 1004

OpenLNS Programmer's Reference 892 Disable and PingIntervals properties to 0. Disable automatic service pin registration by setting the system’

Page 1005 - ILcaProgressListener

OpenLNS Programmer's Reference 56 You can resolve this problem by physically removing the obsolete device. 9 lcaTestResultMismatchSnode The O

Page 1006

OpenLNS Programmer's Reference 893 therefore, your application should set this property before calling the Open method of the System object for

Page 1007

OpenLNS Programmer's Reference 894 invocations. Availability Local, full, and lightweight clients. Syntax lastErrorObject = systemObject.LastE

Page 1008 - OpenLNS Errors

OpenLNS Programmer's Reference 895 Application available from the Echelon OpenLNS Utilities program folder. Data Type Boolean. Read/Write Read

Page 1009 - Network Services Errors

OpenLNS Programmer's Reference 896 LdrfLanguages Summary Contains the LdrfLanguages collection representing the languages known by OpenLNS. You

Page 1010

OpenLNS Programmer's Reference 897 modeType The Object Server management mode. The enumerated values for this parameter, which are contained in

Page 1011

OpenLNS Programmer's Reference 898 Name Summary Specifies the name of an object as a character string. This property is case sensitive. Search

Page 1012

OpenLNS Programmer's Reference 899 Data Type NetworkResources object. Read/Write Read only. Added to API LNS Release 3.20. NetworkServiceDevic

Page 1013

OpenLNS Programmer's Reference 900 Added to API Prior to LNS Release 3.0. Parent Summary Returns the object that spawned the current child obje

Page 1014

OpenLNS Programmer's Reference 901 permission value given by the first matching spec. This feature may be used to implement sophisticated perm

Page 1015

OpenLNS Programmer's Reference 902 specified System object. The RecoveryStatus object provides status information on how a database recovery is

Page 1016

OpenLNS Programmer's Reference 57 Neuron ID addressing and subnet/node addressing. However, the device has network management authentication e

Page 1017

OpenLNS Programmer's Reference 903 invoked. This property defaults to True if the InstallOptions property was set to lcaSharedMedia (2) before

Page 1018

OpenLNS Programmer's Reference 904 RepeatTimer Summary Sets the repeat timer value that will be used on the system for network management messa

Page 1019

OpenLNS Programmer's Reference 905 Syntax repeatTimerValue = object.RepeatTimer Element Description repeatTimerValue The encoded value of the

Page 1020

OpenLNS Programmer's Reference 906 ResourceLanguageId Summary Controls which language should be used when displaying descriptive type informati

Page 1021

OpenLNS Programmer's Reference 907 RetryCount Summary Sets the retry count used by the Object Server (and connections that use the default Syst

Page 1022

OpenLNS Programmer's Reference 908 TRUE is commissioned or replaced. 1 lcaSecurityLevelKeyDistribution Disabled Keys are never distributed ov

Page 1023

OpenLNS Programmer's Reference 909 State Summary Describes the state of the system. Availability Local, full, and lightweight clients. Syntax

Page 1024

OpenLNS Programmer's Reference 910 Application loaded but not running. The configuration is considered valid in this state; the network manage

Page 1025

OpenLNS Programmer's Reference 911 Subsystems Summary Contains the Subsystems collection object associated with the specified System. A Subsys

Page 1026

OpenLNS Programmer's Reference 912 systemObject The System object to be acted on. Data Type TemplateLibrary object. Read/Write Read only. Add

Page 1027

OpenLNS Programmer's Reference 58 17 lcaTestResultInterfaceNotOnline The OpenLNS network interface that the OpenLNS Server is attempting to u

Page 1028

OpenLNS Programmer's Reference 913 5 0.096 6 0.128 7 0.192 8 0.256 9 0.384 10 0.512 11 0.768 12 1.024 13 1.536 14 2.048 15 3.072 You can also w

Page 1029

OpenLNS Programmer's Reference 914 UninstalledDeviceCount Summary Returns the number of devices uninstalled by network recovery. At the comple

Page 1030 - Network Interface Errors

OpenLNS Programmer's Reference 915 UpdateInterval Summary The rate (in seconds) at which the background database device image reconciliation pr

Page 1031

OpenLNS Programmer's Reference 916 Systems The Systems object represents a collection of System objects. Each Systems collection contains a sin

Page 1032

OpenLNS Programmer's Reference 917 3 lcaClassIdSystem object The object to be acted on. Data Type Integer. Read/Write Read only. Added to A

Page 1033 - Connection Errors

OpenLNS Programmer's Reference 918 on. index A Long type specifying the ordinal index of the System object to be retrieved. stringExpression A

Page 1034

OpenLNS Programmer's Reference 919 • If you are developing your OpenLNS app in C#, you do not need to use the _NewEnum property explicitly bec

Page 1035

OpenLNS Programmer's Reference 920 ClassId Summary Identifies the object class of this object. This property allows the object type to be dete

Page 1036

OpenLNS Programmer's Reference 921 Availability Local, full, lightweight, and independent clients. Note that some collections are not available

Page 1037

OpenLNS Programmer's Reference 922 specified object. object Any object for which the parent is desired. Data Type Object. Read/Write Read only

Page 1038 - Object Server Errors

OpenLNS Programmer's Reference 59 The UpgradeStatus object returned by this method contains information indicating whether or not the upgrade

Page 1039

OpenLNS Programmer's Reference 923 • ActualProgramId • ActualSubnetId • AuxResultData • ClassId • DetailInfo • ExpectedDomainId • Ex

Page 1040

OpenLNS Programmer's Reference 924 Availability Local, full, and lightweight clients. Syntax neuronIdValue = toObject.ActualNeuronId Element D

Page 1041

OpenLNS Programmer's Reference 925 Availability Local, full, and lightweight clients. Syntax progIdValue = toObject.ActualProgramId Element De

Page 1042

OpenLNS Programmer's Reference 926 are as follows: 0 lcaNoAuxData There is no useful information in the Actual/Expected properties of the Las

Page 1043 - ONWORKS

OpenLNS Programmer's Reference 927 constant: 71 lcaClassIdTestInfo object The object to be acted on. Data Type Integer. Read/Write Read onl

Page 1044

OpenLNS Programmer's Reference 928 Availability Local, full, and lightweight clients. Syntax domainIdValue = toObject.AuxResultData Element D

Page 1045

OpenLNS Programmer's Reference 929 Syntax nodeIdValue = toObject.ExpectedNodeId Element Description toObject The TestInfo object to be acted on

Page 1046 - ONWORKS\Bin folder

OpenLNS Programmer's Reference 930 Syntax subnetIdValue = toObject.ExpectedSubnetId Element Description toObject The TestInfo object to be acte

Page 1047

OpenLNS Programmer's Reference 931 specified object. object Any object for which the parent is desired. Data Type Object. Read/Write Read only

Page 1048

OpenLNS Programmer's Reference 932 The OpenLNS Server was able to communicate with the device using subnet/node addressing, but could not commu

Page 1049

OpenLNS Programmer's Reference 60 Echelon recommends that you upgrade the device before loading the application image. This will allow you to v

Page 1050 - Data Server Errors

OpenLNS Programmer's Reference 933 caused by attaching a new device to the network which was previously configured as part of another network o

Page 1051

OpenLNS Programmer's Reference 934 10 lcaTestResultNoNeuronId The device has not been assigned a Neuron ID. 11 lcaTestResultMismatchProgram

Page 1052

OpenLNS Programmer's Reference 935 communicate with the device using both Neuron ID addressing and subnet/node addressing. However, the device

Page 1053

OpenLNS Programmer's Reference 936 The OpenLNS network interface that the OpenLNS Server is attempting to use is not property configured. Recom

Page 1054

OpenLNS Programmer's Reference 937 Methods • Lookup Properties • ClassId • Index • IsComplete • Length • ObjectType • Parent • Progr

Page 1055

OpenLNS Programmer's Reference 938 Element Description classIdValue The object class of the object. The following value is defined for the Typ

Page 1056

OpenLNS Programmer's Reference 939 • TRUE. The TypeSpec object is complete. • FALSE. The TypeSpec object is incomplete. Several conditions

Page 1057

OpenLNS Programmer's Reference 940 ObjectType Summary Indicates the type of objects to which the type should be applied. When new values are wr

Page 1058 - Formatter Errors

OpenLNS Programmer's Reference 941 parentObject The object that is the parent of the specified object. object Any object for which the parent i

Page 1059

OpenLNS Programmer's Reference 942 Scope Summary Each TypeSpec object references a type defined in a LonMark resource file. This property indic

Page 1060

OpenLNS Programmer's Reference 61 UploadConfigProperties method can be invoked using either the AppDevice object or the Interface object. You

Page 1061

OpenLNS Programmer's Reference 943 lcaResourceScopeAutoDetermination This value applies to the Mode property of LonMarkObject objects only. Se

Page 1062 - VNI Errors

OpenLNS Programmer's Reference 944 UpgradeInfo Each time you call the Upgrade method to upgrade an AppDevice object’s external interface file,

Page 1063

OpenLNS Programmer's Reference 945 • Reason • Status • ToIndex • ToOwnerIndex Class Summary Indicates the type of external interface compo

Page 1064

OpenLNS Programmer's Reference 946 9 lcaUgClsDynamicMessageTag A dynamic MessageTag. uiObject The UpgradeInfo object to be acted on. Data Ty

Page 1065

OpenLNS Programmer's Reference 947 configuration property. If the configuration property is contained by a LonMarkObject or network variable,

Page 1066

OpenLNS Programmer's Reference 948 Parent Summary Returns the object that spawned the current child object. The parent object is determined by

Page 1067

OpenLNS Programmer's Reference 949 components can not be matched if their types differ. 2 lcaUgRsName The external interface component was pr

Page 1068

OpenLNS Programmer's Reference 950 name used for these custom interfaces is "LcaUpgrade<n>", where <n> is a sequential nu

Page 1069

OpenLNS Programmer's Reference 951 Status Summary Indicates whether the external interface component represented by the UpgradeInfo object was

Page 1070 - Deprecated Items

OpenLNS Programmer's Reference 952 any configuration property values will be preserved. 4 lcaUgStsRelocated The external interface component

Page 1071

OpenLNS Programmer's Reference 62 this case, only values that are unknown in the OpenLNS database will be uploaded from the physical device. Fo

Page 1072 - Deprecated Objects

OpenLNS Programmer's Reference 953 ToIndex Summary Returns the device index value assigned to the external interface component after the upgrad

Page 1073 - Deprecated Methods

OpenLNS Programmer's Reference 954 property that is contained within a LonMarkObject or network variable, but the Status property is set to lca

Page 1074

OpenLNS Programmer's Reference 955 ClassId Summary Identifies the object class of this object. This property allows the object type to be dete

Page 1075 - Deprecated Properties

OpenLNS Programmer's Reference 956 collection by passing its index (ordinal position) within that collection as the argument for the Item prope

Page 1076

OpenLNS Programmer's Reference 957 added to the API. _NewEnum Summary Enables you to iterate over the objects in a collection using For Each ..

Page 1077

OpenLNS Programmer's Reference 958 • Sequence • UpgradInfos Methods The UpgradeStatus object does not contain any methods. Properties The Upg

Page 1078

OpenLNS Programmer's Reference 959 clients. Syntax parentObject = object.Parent Element Description parentObject The object that is the parent

Page 1079

OpenLNS Programmer's Reference 960 usObject The UpgradeStatus object to be acted on. Data Type Integer. Read/Write Read/write. Added to API LN

Page 1080 - Deprecated Events

OpenLNS Programmer's Reference 961 Syntax ioColl = uiObject.UpgradeInfos Element Description uiColl The UpgradeInfos collection to be returned.

Page 1081

OpenLNS Programmer's Reference 962

Commentaires sur ces manuels

Pas de commentaire