Echelon OpenLNS Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Oprogramowanie Echelon OpenLNS. Echelon OpenLNS User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 108
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów

Podsumowanie treści

Strona 1 - Programmer's Reference

OpenLNS Programmer's Reference 078-0437-01A

Strona 2 - Chips or LonPoint Modules

OpenLNS Programmer’s Reference x DataValue ... 253

Strona 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

Strona 4

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

Strona 5

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

Strona 6

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

Strona 7

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

Strona 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

Strona 9

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

Strona 10

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

Strona 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.

Strona 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

Strona 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

Strona 14

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

Strona 15

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

Strona 16

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

Strona 17

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

Strona 18

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

Strona 19

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

Strona 20

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

Strona 21

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

Strona 22

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

Strona 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

Strona 24

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

Strona 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

Strona 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

Strona 27

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

Strona 28

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

Strona 29

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

Strona 30

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

Strona 31 - Preface

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

Strona 32 - System Requirements

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

Strona 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

Strona 34 - OpenLNS Documentation

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

Strona 35

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

Strona 36 - Content

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

Strona 37

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

Strona 38 - OpenLNS Object Server

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

Strona 39 - Introduction

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

Strona 40

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

Strona 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

Strona 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

Strona 43

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

Strona 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

Strona 45 - Account

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

Strona 46 - ClassID

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

Strona 47 - Accounts

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

Strona 48

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

Strona 49

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

Strona 50

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

Strona 51 - ActivationLicense

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

Strona 52 - ActivatedVersion

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

Strona 53 - DeviceCapacityConsumed

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

Strona 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

Strona 55 - IsTrialLicense

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

Strona 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

Strona 57 - RunTimeRemaining

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

Strona 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

Strona 59

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

Strona 60 - Aliases

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

Strona 61

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

Strona 62

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

Strona 63

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

Strona 64

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

Strona 65

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

Strona 66

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

Strona 67

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

Strona 68

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

Strona 69 - CommussionEx

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

Strona 70 - Decommission

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

Strona 71

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

Strona 72

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

Strona 73

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

Strona 74

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

Strona 75 - GetMessagePoint

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

Strona 76

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

Strona 77

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

Strona 78

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

Strona 79

OpenLNS Programmer's Reference 1032

Strona 80

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

Strona 81

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

Strona 82

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

Strona 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

Strona 84 - ReleasePendingUpdates

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

Strona 85

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

Strona 86

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

Strona 87

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

Strona 88 - ResyncToTemplate

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

Strona 89

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

Strona 90

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

Strona 91

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

Strona 92

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

Strona 93

www.echelon.com

Strona 94 - ONWORKS Interfaces

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

Strona 95 - Upgrade

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

Strona 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

Strona 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

Strona 98

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

Strona 99

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

Strona 100 - Properties

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

Strona 101 - AliasCapacity

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

Strona 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

Strona 103 - AuthenticationEnabled

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

Strona 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

Strona 105 - Channel

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

Strona 106 - CommissionStatus

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

Strona 107

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

Strona 108 - ConfigurationState

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

Strona 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

Strona 110 - Description

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

Strona 111 - Extensions

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

Strona 112 - HasBeenCommissioned

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

Strona 113 - InitialAuthenticationKey

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

Strona 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

Strona 115 - LastUpgradeStatus

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

Strona 116 - LocationInNeuron

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

Strona 117 - MonitorSets

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

Strona 118 - NeuronId

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

Strona 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

Strona 120 - NsiHandle

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

Strona 121

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

Strona 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

Strona 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

Strona 124 - SelfDocumentation

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

Strona 125

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

Strona 126

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

Strona 127 - Subnets

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

Strona 128 - UpgradeRequirement

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

Strona 129 - AppDevices

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

Strona 130 - Methods

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

Strona 131

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

Strona 132 - AddReference

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

Strona 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

Strona 134

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

Strona 135

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

Strona 136 - _NewEnum

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

Strona 137 - Application

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

Strona 138 - MajorVersion

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

Strona 139

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

Strona 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

Strona 141 - BufferConfiguration

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

Strona 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,

Strona 143 - InputBufferSize

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

Strona 144 - OutputBufferSize

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

Strona 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

Strona 146

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

Strona 147

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

Strona 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

Strona 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

Strona 150

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

Strona 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

Strona 152 - MaxPriority

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

Strona 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

Strona 154 - TransceiverId

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

Strona 155

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

Strona 156 - Channels

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

Strona 157

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

Strona 158 - ItemByHandle

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

Strona 159

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

Strona 160 - FilterType

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

Strona 161

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

Strona 162 - RefChannel 1

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

Strona 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

Strona 164

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

Strona 165 - ComponentApp

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

Strona 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

Strona 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

Strona 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

Strona 169 - DefaultAppFlag

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

Strona 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

Strona 171

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

Strona 172 - ComponentApps

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

Strona 173

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

Strona 174

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

Strona 175

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

Strona 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

Strona 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

Strona 178

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

Strona 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

Strona 180

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

Strona 181 - ConfigProperty

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

Strona 182

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

Strona 183

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

Strona 184 - GetRawValuesEx

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

Strona 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

Strona 186 - SetRawValuesEx

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

Strona 187

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

Strona 188 - AppliesToType

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

Strona 189

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

Strona 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

Strona 191 - ConfigFileOffset

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

Strona 192 - ConfigFileType

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

Strona 193 - ConfigNv

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

Strona 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

Strona 195 - ConstantAttribute

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

Strona 196

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

Strona 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

Strona 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

Strona 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

Strona 200 - FormatName

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

Strona 201

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 206

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

Strona 207

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

Strona 208 - TypeInherits

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

Strona 209 - TypeIndex

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

Strona 210 - ValueStatus

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

Strona 211 - ConnectDescTemplate

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

Strona 212

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

Strona 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

Strona 214

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

Strona 215

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

Strona 216

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

Strona 217 - PropertyOptions

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

Strona 218

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

Strona 219 - ReceiveTimer

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

Strona 220 - RepeatCount

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

Strona 221 - RepeatTimer

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

Strona 222

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

Strona 223 - RetryCount

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

Strona 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

Strona 225 - TransmitTimer

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

Strona 226 - UseAuthenticationFlag

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

Strona 227 - UsePriorityFlag

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

Strona 228 - ConnectDescTemplates

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

Strona 229

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

Strona 230

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

Strona 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

Strona 232 - Connections

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

Strona 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

Strona 234 - NetworkVariables

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

Strona 235 - CreditInfo

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

Strona 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

Strona 237 - LicenseType (Deprecated)

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

Strona 238 - DatabaseValidationReport

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

Strona 239

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

Strona 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

Strona 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

Strona 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

Strona 243 - TotalObjectsValidated

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

Strona 244 - UnrepairedErrors

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

Strona 245

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

Strona 246 - ErrorType

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

Strona 247

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

Strona 248

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

Strona 249 - ObjectClassInvolved

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

Strona 250 - ObjectName

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

Strona 251

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

Strona 252 - ParentObjectClass

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

Strona 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

Strona 254 - Repairable

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

Strona 255

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

Strona 256 - Repaired

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

Strona 257

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

Strona 258

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

Strona 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

Strona 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

Strona 261

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

Strona 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

Strona 263

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

Strona 264

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

Strona 265

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

Strona 266 - NumberOfInstances

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

Strona 267 - ObjectDetailsAvailable

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

Strona 268

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

Strona 269 - DataPoint

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

Strona 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

Strona 271 - GetField

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

Strona 272

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

Strona 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

Strona 274 - AutoWrite

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

Strona 275 - FieldCount

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

Strona 276 - FieldName

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

Strona 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

Strona 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

Strona 279

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

Strona 280 - MaxValue

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

Strona 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’

Strona 282 - MinValue

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

Strona 283

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

Strona 284 - RawValue

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

Strona 285 - SourceIndex

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

Strona 286 - SourceOptions

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

Strona 287

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

Strona 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

Strona 289

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

Strona 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

Strona 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

Strona 292 - IntValue

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

Strona 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

Strona 294 - SourceNodeId

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

Strona 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

Strona 296

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

Strona 297 - LostMessages

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

Strona 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

Strona 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

Strona 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

Strona 301

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

Strona 302

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

Strona 303 - XmitErrors

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

Strona 304 - DeviceTemplate

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

Strona 305

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

Strona 306

OpenLNS Programmer’s Reference xxx

Strona 307

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

Strona 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

Strona 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

Strona 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

Strona 311

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

Strona 312

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

Strona 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

Strona 314

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

Strona 315 - HostSelect

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

Strona 316

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

Strona 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

Strona 318

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

Strona 319 - RegisteredComponent

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

Strona 320 - SelfDocConsistency

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

Strona 321

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

Strona 322 - UserTypeFileName

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

Strona 323 - DeviceTemplates

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

Strona 324

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

Strona 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

Strona 326

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

Strona 327

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

Strona 328

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

Strona 329

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

Strona 330 - Category

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

Strona 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

Strona 332 - ConnErrIndex2

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

Strona 333 - ConnErrIndexType1

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

Strona 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

Strona 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

Strona 336

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

Strona 337 - ErrObjHandle

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

Strona 338

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

Strona 339 - Extension

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

Strona 340 - CopyWithParent

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

Strona 341

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

Strona 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

Strona 343 - OwnerClassId

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

Strona 344

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

Strona 345

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

Strona 346

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

Strona 347

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

Strona 348

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

Strona 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

Strona 350

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

Strona 351 - FileTransfer

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

Strona 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

Strona 353 - ReadFile

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

Strona 354

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

Strona 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

Strona 356 - FileCount

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

Strona 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

Strona 358 - FileSize

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 363 - TxTimeOut

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

Strona 364 - FormatLocale

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

Strona 365

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

Strona 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

Strona 367

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

Strona 368 - DateFormatSeparatorSource

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

Strona 369

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

Strona 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

Strona 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

Strona 372 - DoubleFloatPrecision

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

Strona 373 - FallbackFormat

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

Strona 374 - FloatPrecision

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

Strona 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

Strona 376 - LanguageIdSource

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

Strona 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

Strona 378 - ListSeparatorCharacterSource

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

Strona 379

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

Strona 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

Strona 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

Strona 382

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

Strona 383 - ShortDateFormat

OpenLNS Programmer's Reference xxxvii

Strona 384 - ShortDateFormatSource

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

Strona 385 - ShortTimeFormat

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

Strona 386

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

Strona 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

Strona 388 - TimeFormatSeparator

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

Strona 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

Strona 390 - FormatLocales

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

Strona 391

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

Strona 392

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

Strona 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

Strona 394

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

Strona 395

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

Strona 396

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

Strona 397

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

Strona 398 - AltFormatNamesCount

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

Strona 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

Strona 400

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

Strona 401 - FormatType

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

Strona 402

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

Strona 403

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

Strona 404

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

Strona 405

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

Strona 406

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

Strona 407 - UnitsAdder

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

Strona 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

Strona 409

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

Strona 410

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

Strona 411 - AddCompatibleNvEx

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

Strona 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

Strona 413 - AddComplementaryNvEx

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

Strona 414

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

Strona 415 - CreateTypeSpec

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

Strona 416 - DownloadConfigProperties

OpenLNS Programmer’s Reference iv Alias ...

Strona 417

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

Strona 418

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

Strona 419

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

Strona 420

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

Strona 421

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

Strona 422 - UploadConfigProperties

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

Strona 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

Strona 424

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

Strona 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

Strona 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

Strona 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

Strona 428 - DynamicLonMarkObjectCapacity

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

Strona 429 - LonMarkObjects

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

Strona 430 - MaxNvSupported

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

Strona 431 - MessageTags

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

Strona 432

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

Strona 433 - StaticNvCount

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

Strona 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

Strona 435

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

Strona 436

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

Strona 437

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

Strona 438

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

Strona 439 - LdrfLanguage

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

Strona 440

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

Strona 441

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

Strona 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

Strona 443

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

Strona 444

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

Strona 445 - LdrfLanguages

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

Strona 446

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

Strona 447

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

Strona 448 - LonMarkAlarm

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

Strona 449

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

Strona 450 - IndexToSNVT

OpenLNS Programmer's Reference 6

Strona 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

Strona 452 - ObjectId

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

Strona 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

Strona 454

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

Strona 455

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

Strona 456 - MoveToInterface

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

Strona 457

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

Strona 458

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

Strona 459 - AlarmFormat

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

Strona 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

Strona 461

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

Strona 462

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

Strona 463 - FuncProfileIsDerived

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

Strona 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

Strona 465 - IsDynamic

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

Strona 466

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

Strona 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

Strona 468

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

Strona 469 - ParentInterface

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

Strona 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

Strona 471 - ReportMask

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

Strona 472 - Request

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

Strona 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

Strona 474 - SelfTestResults

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

Strona 475

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

Strona 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

Strona 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

Strona 478

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

Strona 479

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

Strona 480 - AddFromTypeSpec

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

Strona 481 - ItemByProgrammaticName

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

Strona 482 - RemoveByIndex

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

Strona 483

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

Strona 484

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

Strona 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

Strona 486 - MessageTag

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

Strona 487

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

Strona 488 - Connect

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

Strona 489

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

Strona 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

Strona 491

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

Strona 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.

Strona 493

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

Strona 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

Strona 495

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

Strona 496

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

Strona 497

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

Strona 498

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

Strona 499

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

Strona 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

Strona 501 - MonitorSet

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

Strona 502

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

Strona 503

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

Strona 504

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

Strona 505

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

Strona 506

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

Strona 507

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

Strona 508 - IsEnabled

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

Strona 509 - IsPollingEnabled

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

Strona 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

Strona 511

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

Strona 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

Strona 513

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

Strona 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

Strona 515

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

Strona 516

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

Strona 517

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

Strona 518

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

Strona 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

Strona 520 - MsgMonitorOptions

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

Strona 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

Strona 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

Strona 523 - FilterCode

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

Strona 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

Strona 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

Strona 526

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

Strona 527 - UseAsyncSend

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

Strona 528

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

Strona 529

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

Strona 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

Strona 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

Strona 532

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

Strona 533 - Unadvise

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

Strona 534

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

Strona 535 - DefaultOptions

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

Strona 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

Strona 537 - InputFormatSpec

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

Strona 538 - OutputFromatSpec

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

Strona 539 - RequestDataPoint

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

Strona 540

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

Strona 541

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

Strona 542 - Events

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

Strona 543

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

Strona 544

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

Strona 545

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

Strona 546

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

Strona 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

Strona 548

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

Strona 549

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

Strona 550

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

Strona 551 - Network

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

Strona 552

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

Strona 553 - CancelValidation

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

Strona 554

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

Strona 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

Strona 556 - OpenIndependent

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

Strona 557 - PreReplace

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

Strona 558 - Replace

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

Strona 559 - Validate

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

Strona 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

Strona 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

Strona 562

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

Strona 563

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

Strona 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

Strona 565 - DatabasePath

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

Strona 566 - EventInterval

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

Strona 567

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

Strona 568

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

Strona 569 - IsOpenIndependent

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

Strona 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

Strona 571 - NsiTimeout

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

Strona 572 - OriginalName

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

Strona 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

Strona 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

Strona 575 - Networks

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

Strona 576

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

Strona 577 - RemoveEx

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

Strona 578

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

Strona 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

Strona 580

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

Strona 581 - NetworkInterface

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

Strona 582

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

Strona 583

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

Strona 584 - NetworkInterfaces

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

Strona 585

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

Strona 586

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

Strona 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

Strona 588

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

Strona 589 - ExclusiveSelectorPoolSize

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

Strona 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

Strona 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

Strona 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

Strona 593

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

Strona 594

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

Strona 595

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

Strona 596

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

Strona 597 - DefaultApplication

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

Strona 598

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

Strona 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

Strona 600 - MipIsLayer2

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

Strona 601

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

Strona 602 - NodeHandle

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

Strona 603 - NsiNodeId

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

Strona 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

Strona 605

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

Strona 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

Strona 607

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

Strona 608

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

Strona 609

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

Strona 610

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

Strona 611

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

Strona 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

Strona 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

Strona 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,

Strona 615 - GetDataPoint

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

Strona 616

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

Strona 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

Strona 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

Strona 619 - AppDevice

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

Strona 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

Strona 621 - ChangeableTypeSupport

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

Strona 622

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

Strona 623

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

Strona 624 - ConfigClassFlag

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

Strona 625

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

Strona 626

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

Strona 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

Strona 628

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

Strona 629

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

Strona 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

Strona 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

Strona 632 - DsPollInterval

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

Strona 633

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

Strona 634 - EstimatedMaxRate

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

Strona 635 - EstimatedRate

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

Strona 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.

Strona 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

Strona 638 - IsConfigProperty

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

Strona 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,

Strona 640

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

Strona 641 - LonMarkMemberIndex

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

Strona 642 - LonMarkMemberNumber

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

Strona 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

Strona 644

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

Strona 645 - NvTargets

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

Strona 646 - OfflineFlag

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

Strona 647

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

Strona 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

Strona 649

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

Strona 650 - Selector

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

Strona 651

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

Strona 652 - ServiceTypeConfigFlag

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

Strona 653 - SnvtTypeIsModifiable

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

Strona 654 - SyncFlag

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

Strona 655

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

Strona 656

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

Strona 657

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

Strona 658

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

Strona 659

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

Strona 660

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

Strona 661

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

Strona 662

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

Strona 663

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

Strona 664

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

Strona 665 - NvMonitorOptions

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

Strona 666

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

Strona 667 - Authentication

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

Strona 668 - GenerateInitialFetch

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

Strona 669 - PollInterval

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

Strona 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

Strona 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

Strona 672 - ResetPollingIfUpdated

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

Strona 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

Strona 674

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

Strona 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

Strona 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

Strona 677 - ThrottleInterval

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

Strona 678

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

Strona 679

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

Strona 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

Strona 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

Strona 682

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

Strona 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

Strona 684

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

Strona 685

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

Strona 686

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

Strona 687

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

Strona 688

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

Strona 689

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

Strona 690

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

Strona 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

Strona 692

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

Strona 693

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

Strona 694

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

Strona 695

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

Strona 696

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

Strona 697

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

Strona 698

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

Strona 699 - ObjectServer

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

Strona 700

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

Strona 701

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

Strona 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

Strona 703 - BeginIncomingSessionEvents

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

Strona 704

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

Strona 705 - EndIncomingSessionEvents

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

Strona 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

Strona 707

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

Strona 708 - SetCustomerInfo

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

Strona 709

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

Strona 710

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

Strona 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

Strona 712 - CausesValidation

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

Strona 713 - CurrentFormatLocale

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 718

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

Strona 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

Strona 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

Strona 721

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

Strona 722

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

Strona 723 - RemoteFlag

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

Strona 724 - RemoteNetworks

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

Strona 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

Strona 726

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

Strona 727 - VNINetworks

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

Strona 728

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

Strona 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

Strona 730

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

Strona 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

Strona 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

Strona 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

Strona 734

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

Strona 735 - OnDbConversionEvent

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

Strona 736 - OnDbValidationEvent

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

Strona 737 - OnIncomingSessionEvent

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

Strona 738 - OnLonMarkObjectStatusChange

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

Strona 739 - OnMsgMonitorPointErrorEvent

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

Strona 740

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

Strona 741

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

Strona 742 - OnMsgMonitorPointEvent

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

Strona 743

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

Strona 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

Strona 745

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

Strona 746 - OnNetworkVariableUpdate

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

Strona 747 - OnNodeConnChangeEvent

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

Strona 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

Strona 749 - OnNodeIntfChangeEvent

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

Strona 750

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

Strona 751

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

Strona 752

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

Strona 753

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

Strona 754 - OnNvMonitorPointErrorEvent

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

Strona 755

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

Strona 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

Strona 757

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

Strona 758

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

Strona 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

Strona 760

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

Strona 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

Strona 762 - OnSystemNssIdle

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

Strona 763 - OnSystemServicePin

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

Strona 764 - ObjectStatus

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

Strona 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

Strona 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

Strona 767

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

Strona 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

Strona 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

Strona 770 - ElectricalFault

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

Strona 771 - FailSelfTest

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

Strona 772 - FeedbackFailure

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

Strona 773 - InAlarm

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

Strona 774 - InOverride

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

Strona 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

Strona 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

Strona 777 - ManualControl

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

Strona 778 - MechanicalFault

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

Strona 779 - OpenCircuit

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

Strona 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

Strona 781 - OutOfService

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

Strona 782 - OverRange

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

Strona 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

Strona 784 - ProgrammingMode

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

Strona 785

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

Strona 786 - ResetComplete

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

Strona 787 - SelfTestInProgress

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

Strona 788 - Summary

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

Strona 789 - UnableToMeasure

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

Strona 790 - UnderRange

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

Strona 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

Strona 792 - MobileClassPingInterval

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

Strona 793 - PermanentClassPingInterval

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

Strona 794 - TemporaryClassPingInterval

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

Strona 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

Strona 796

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

Strona 797 - ItemsInPhase

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

Strona 798 - PhaseType

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

Strona 799 - ProgressIndicator

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

Strona 800 - ProgressIndicatorType

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

Strona 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

Strona 802 - TotalNvMts

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

Strona 803 - TotalRouters

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

Strona 804

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

Strona 805 - CommissionEx

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

Strona 806

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

Strona 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.

Strona 808 - PreMove

OpenLNS Programmer's Reference 715 interface. The Name element will contain an empty string. The ObjectIndex element will contain the affecte

Strona 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

Strona 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

Strona 811

OpenLNS Programmer's Reference 718 7 lcaMonitorEventTypeMsError This value is not used. 8 lcaMonitorEventTypeNvCreate A network variable m

Strona 812

OpenLNS Programmer's Reference 719 19 lcaMonitorEventTypeMsgRequest A message monitor point has received a request message. 20 lcaMonitorEven

Strona 813

OpenLNS Programmer's Reference 720 This value is not used. 3 lcaMonitorEventTypeRemove This value is not used. 4 lcaMonitorEventTypeMsCreat

Strona 814

OpenLNS Programmer's Reference 721 This value is not used. 17 lcaMonitorEventTypeMsgError A message monitor point has returned an error. See t

Strona 815

OpenLNS Programmer's Reference 722 OnNvMonitorPointUpdateEvent Summary This event is generated whenever a network variable monitor point update

Strona 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.

Strona 817

OpenLNS Programmer's Reference 723 This event is also fired each time the state of your client’s NetworkServiceDevice changes from the online

Strona 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

Strona 819

OpenLNS Programmer's Reference 725 applied to both the OpenLNS database and the physical devices. 1 lcaMgmtModeDeferConfigUpdates Network co

Strona 820

OpenLNS Programmer's Reference 726 Syntax OnSystemNssIdle() Added to API Prior to LNS Release 3.0. OnSystemServicePin Summary Indicates that

Strona 821

OpenLNS Programmer's Reference 727 Validate Summary This is a standard ActiveX control event used for visual controls. This event is not appli

Strona 822

OpenLNS Programmer's Reference 728 • InAlarm • InOverride • InvalidId • InvalidRequest • LockedOut • ManualControl • MechanicalFault •

Strona 823 - FarSide

OpenLNS Programmer's Reference 729 • ResetComplete • SelfTestInProgress • Summary • UnableToMeasure • UnderRange AlarmNotifyDisabled Summa

Strona 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

Strona 825

OpenLNS Programmer's Reference 731 CommFailure Summary Indicates whether there has been a communication failure on the LonMarkObject object, or

Strona 826 - NearSide

OpenLNS Programmer's Reference 732 Disabled Summary Indicates whether the LonMarkObject is currently disabled, or whether the LonMarkObject can

Strona 827

OpenLNS Programmer's Reference 40 Load Summary Loads the application image specified by the AppImagePath property into a device. This method l

Strona 828

OpenLNS Programmer's Reference 733 ElectricalFault Summary Indicates whether an electrical fault has been detected in the LonMarkObject object,

Strona 829

OpenLNS Programmer's Reference 734 FailSelfTest Summary Indicates whether the LonMarkObject passed its most recent self-test, or whether the Lo

Strona 830 - Routers

OpenLNS Programmer's Reference 735 FeedbackFailure Summary Indicates whether the feedback signal of the LonMarkObject is being received, or whe

Strona 831

OpenLNS Programmer's Reference 736 InAlarm Summary Indicates whether the LonMarkObject is currently in an alarm condition, or whether the LonMa

Strona 832

OpenLNS Programmer's Reference 737 InOverride Summary Indicates whether the LonMarkObject is currently in an override state, or whether the Lon

Strona 833

OpenLNS Programmer's Reference 738 InvalidId Summary Indicates that the requested LonMarkObject does not exist. Availability Local, full, and l

Strona 834

OpenLNS Programmer's Reference 739 been made. statusObject The ObjectStatus object to be acted on. Data Type Boolean. Read/Write Read only. A

Strona 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

Strona 836

OpenLNS Programmer's Reference 741 MechanicalFault Summary Indicates whether a mechanical fault has been detected in the LonMarkObject object,

Strona 837

OpenLNS Programmer's Reference 742 ObjectId Summary Contains the ID of the LonMarkObject to which this ObjectStatus object applies. Objects ar

Strona 838

OpenLNS Programmer's Reference 41 application download. The system image used by the device must be compatible with the application image being

Strona 839 - RouterSide

OpenLNS Programmer's Reference 743 LonMarkObject object. FALSE. An open circuit has not been discovered. ReportMask Property TRUE. The LonMa

Strona 840

OpenLNS Programmer's Reference 744 TRUE. The LonMarkObject can report that it has exceeded its alarm limits. FALSE. The LonMarkObject can no

Strona 841

OpenLNS Programmer's Reference 745 report that it is inoperable. statusObject The ObjectStatus object to be acted on. Data Type Boolean. Read

Strona 842

OpenLNS Programmer's Reference 746 report that its value is over the acceptable range. statusObject The ObjectStatus object to be acted on. Da

Strona 843

OpenLNS Programmer's Reference 747 failure. Availability Local, full, and lightweight clients. Syntax progFailFlag= statusObject.ProgrammingFai

Strona 844 - PendingNeuronId

OpenLNS Programmer's Reference 748 Syntax progModeFlag= statusObject.ProgrammingMode Element Description progModeFlag A Boolean value indicatin

Strona 845

OpenLNS Programmer's Reference 749 can be accessed through the ReportMask property of the LonMarkObject FALSE. The ObjectStatus object represe

Strona 846

OpenLNS Programmer's Reference 750 LonMarkObject has been completed. FALSE. The reset has not been completed. ReportMask Property TRUE. The

Strona 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

Strona 848

OpenLNS Programmer's Reference 752 UnableToMeasure Summary Indicates whether an input/output line failure has been detected in the LonMarkObjec

Strona 849 - ServiceStatus

OpenLNS Programmer's Reference 42 LoadEx Summary Loads the application image specified by the AppImagePath property into a device. This method

Strona 850

OpenLNS Programmer's Reference 753 UnderRange Summary Indicates whether the value associated with the LonMarkObject is less than its acceptable

Strona 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

Strona 852

OpenLNS Programmer's Reference 755 following value is defined for the PingInterval object in the ConstClassIds constant: 69 lcaClassIdPingInt

Strona 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

Strona 854 - DomainId

OpenLNS Programmer's Reference 757 The minimum value is 900 seconds. 65535 (-1) means "do not change". piObject The PingIntervals ob

Strona 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

Strona 856

OpenLNS Programmer's Reference 759 Methods The RecoveryStatus object does not contain any methods. Properties The RecoveryStatus object contain

Strona 857

OpenLNS Programmer's Reference 760 CurrentPhaseNumber Summary An Integer indicating the current phase of the database recovery process. Availab

Strona 858

OpenLNS Programmer's Reference 761 NumbersPhases Summary The number of phases in the database recovery operation. This value can be used in con

Strona 859

OpenLNS Programmer's Reference 762 Element Description phaseTypeValue The current phase. The phase values, which are contained in the ConstReco

Strona 860

OpenLNS Programmer’s Reference viii BroadcastOptions ... 176 ClassId ...

Strona 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

Strona 862

OpenLNS Programmer's Reference 763 7 lcaClassIdAppDevice 9 lcaClassIdRouter 18 lcaClassIdConnections 22 lcaClassIdMessageTag 24 lcaClas

Strona 863

OpenLNS Programmer's Reference 764 Syntax progIndicTypeValue = rsObject.ProgressIndicatorType Element Description rsObject The RecoveryStatus o

Strona 864

OpenLNS Programmer's Reference 765 Syntax totalChannelsValue = rsObject.TotalChannels Element Description rsObject The RecoveryStatus object to

Strona 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

Strona 866 - Subsystem

OpenLNS Programmer's Reference 767 • CommissionStatus • Description • Extensions • FarSide • Handle • IconFilePath • InitialAuthenticat

Strona 867

OpenLNS Programmer's Reference 768 device has authentication enabled. If the InitialAuthenticationKey is set prior to commissioning the device

Strona 868

OpenLNS Programmer's Reference 769 (1). 1 lcaCommissionFlagPropagate Propagates the device’s network image in the OpenLNS database to the phy

Strona 869

OpenLNS Programmer's Reference 770 session before using the MoveEx method. This will allow your application to avoid some failure scenarios tha

Strona 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

Strona 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

Strona 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

Strona 873

OpenLNS Programmer's Reference 773 the same explicit transaction as the invocation of this method. Availability Local, full, and lightweight cl

Strona 874

OpenLNS Programmer's Reference 774 lcaMgmtModePropagateConfigUpdates (0). If the network management mode is set to lcaMgmtModePropagateConfigU

Strona 875

OpenLNS Programmer's Reference 775 normal, and can be expected while the management mode is lcaMgmtModeDeferConfigUpdates (1). These discrepanc

Strona 876

OpenLNS Programmer's Reference 776 subnet/node addressing, but could not communicate with the router using Neuron ID addressing. However, thro

Strona 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

Strona 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

Strona 879

OpenLNS Programmer's Reference 779 reconfigured by another network management tool, or the router may be faulty. It may be possible to restore

Strona 880

OpenLNS Programmer's Reference 780 object by calling the System.NetworkServiceRouter.Router.Commission method, and make sure that the State pro

Strona 881

OpenLNS Programmer's Reference 781 Syntax returnValue = object.Count Element Description attachmentStatus The attachment status of the router.

Strona 882 - BeginCommissionEvent

OpenLNS Programmer's Reference 782 Full client remains connected to the server. 3. Set the AuthenticationEnabled property to True the AppDevic

Strona 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

Strona 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 (*

Strona 885 - BeginSession

OpenLNS Programmer's Reference 784 lcaLearningRouter (1) value to this property, it will automatically be converted to lcaConfiguredRouter (0).

Strona 886

OpenLNS Programmer's Reference 785 Syntax commStatusValue = object.CommissionStatus Element Description object The router object to be acted on

Strona 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

Strona 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

Strona 889

OpenLNS Programmer's Reference 788 InitialAuthenticationKey Summary Contains the initial authentication key to be used when commissioning a rou

Strona 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

Strona 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

Strona 892

OpenLNS Programmer's Reference 791 property, OpenLNS will use the default lcaPingClassStationary (3) value. 1 lcaPingClassMobile Class for no

Strona 893 - DoEventSync

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

Strona 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

Strona 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

Strona 896

OpenLNS Programmer's Reference 794 Methods The Routers object contains the following methods. • Add • AddEx • AddReference • ItemByHandle •

Strona 897

OpenLNS Programmer's Reference 795 routerType An Integer value indicating the router type. The valid class values, which are contained in the C

Strona 898 - EndSystemMgmtModeChangeEvent

OpenLNS Programmer's Reference 796 nearChannel The Channel object for the router's near channel. farChannel The Channel object for the rou

Strona 899 - GetPermission

OpenLNS Programmer's Reference 797 network management mode is set to lcaMgmtModePropagateConfigUpdates (0). Added to API Prior to LNS Release

Strona 900 - GetProgramId

OpenLNS Programmer's Reference 798 Routers collection. coll The Routers collection object. handle A Long value specifying the handle of the Rou

Strona 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

Strona 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

Strona 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

Strona 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

Strona 905 - RetryUpdates

OpenLNS Programmer's Reference 47 lcaErrNsUpdatesDeferred exception will be thrown. In this case, the changes will not be propagated to the dev

Strona 906 - SetEventSyncMode

OpenLNS Programmer's Reference 803 Methods The RouterSide object contains the following method. • ClearStatus ClearStatus Summary Clears the s

Strona 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

Strona 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

Strona 909

OpenLNS Programmer's Reference 806 LastTestInfo Summary Contains the TestInfo object containing the results of the last time the Test method wa

Strona 910

OpenLNS Programmer's Reference 807 Element Description nodeIdValue The NodeId of the object. object The RouterSide object to be acted on. Dat

Strona 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

Strona 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

Strona 913

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

Strona 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

Strona 915 - CurrentAccount

OpenLNS Programmer's Reference 812 ServiceStatus A ServiceStatus object contains the status of the current service request for the System objec

Strona 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

Strona 917 - DiscoveryInterval

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

Strona 918 - DiscoveryLimitedFlag

OpenLNS Programmer's Reference 814 QueuePosition Summary Indicates the numbed of transactions that must be started and completed before this se

Strona 919

OpenLNS Programmer's Reference 815 indicates the number of unstarted transactions that must be completed before the service can execute. 1 l

Strona 920

OpenLNS Programmer's Reference 816 The service is unable to execute do to a communications failure. statusValue The status of this service. Da

Strona 921

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

Strona 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

Strona 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

Strona 924 - DsRetryCount

OpenLNS Programmer's Reference 820 Methods The Subnet object does not contain any methods. Properties The Subnet object contains the following

Strona 925 - DsTxTimer

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

Strona 926

OpenLNS Programmer's Reference 822 subnetObject The Subnet object. Data Type String. Read/Write Read only. Added to API Prior to LNS Release

Strona 927 - HostTimer

OpenLNS Programmer's Reference 49 replacements automatically in most cases. For information on when you might need to manually replace a Networ

Strona 928 - InstallOptions

OpenLNS Programmer's Reference 823 • Small (16x16) with 16 colors • Monochrome (32x32) • Large (48x48) with 256 colors Added to API Prior t

Strona 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

Strona 930 - LastError

OpenLNS Programmer's Reference 825 Methods The Subnets object contains the following methods. • Add • Remove Add Summary Defines a new Subnet

Strona 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

Strona 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

Strona 933 - MgmtMode

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

Strona 934

OpenLNS Programmer's Reference 829 Subsystem The Subsystem object represents a logical grouping of devices and routers. Subsystems may be hier

Strona 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

Strona 936 - NssDbVersion

OpenLNS Programmer's Reference 831 Syntax appDevicesCollection = object.AppDevices Element Description appDevicesCollection The AppDevices coll

Strona 937 - PermissionString

OpenLNS Programmer's Reference 832 Subsystem object in the ConstClassIds constant: 5 lcaClassIdSubsystem object The object to be acted on. D

Strona 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

Strona 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

Strona 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

Strona 941

OpenLNS Programmer's Reference 835 Path Summary Contains the full system and subsystem pathname for this subsystem. Pathnames may be used in p

Strona 942

OpenLNS Programmer's Reference 836 Element Description object The Subsystem object to be acted on. routersCollection The Routers collection ret

Strona 943

OpenLNS Programmer's Reference 837 The Subsystems collection accessed through the ALL subsystem contains all objects in the network database, i

Strona 944 - SecurityLevel

OpenLNS Programmer's Reference 838 Syntax subsystemObject = subsystemsColl.Add(subsystemName) Element Description subsystemObject The newly def

Strona 945

OpenLNS Programmer's Reference 839 Properties The Subsystems object contains the following properties: • ClassId • Count • Item • Parent •

Strona 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

Strona 947

OpenLNS Programmer's Reference 841 Element Description parentObject The object that is the parent of the specified object. object Any object fo

Strona 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

Strona 949 - TxTimer

OpenLNS Programmer's Reference 51 deconfigured, regardless if this option has been set. This flag should be ORed with lcaReplaceFlagCopy (1).

Strona 950 - UncommissionedDeviceCount

OpenLNS Programmer's Reference 843 • ClassId • ClientId • CommissionedDeviceCount • ComponentApps • Connections • CurrentAccount • Curre

Strona 951 - UninstalledDeviceCount

OpenLNS Programmer's Reference 844 • UninstalledDeviceCount • UpdateInterval Methods The System object contains the following methods: • Be

Strona 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

Strona 953 - Systems

OpenLNS Programmer's Reference 846 object type. Availability Local, full, and lightweight clients. Syntax systemObject.BeginCommissionEvent ob

Strona 954

OpenLNS Programmer's Reference 847 Syntax systemObject.BeginMissedEvent Element Description systemObject The System object to be acted on. Add

Strona 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

Strona 956

OpenLNS Programmer's Reference 849 validated until the session is ended. The only network operations you can perform within sessions are those

Strona 957

OpenLNS Programmer's Reference 850 CancelTransaction Summary Cancels an active transaction. When a transaction is canceled, either explicitly b

Strona 958

OpenLNS Programmer's Reference 851 engineered system mode). Closing the system does not turn off monitor set monitoring and control. Monitor se

Strona 959 - TestInfo

OpenLNS Programmer's Reference 852 discovery process (see the DiscoveryInterval property). Devices do not have to be installed by the OpenLNS

Strona 960 - ActualNeuronId

OpenLNS Programmer's Reference 52 Syntax appDevice.ResyncToTemplate options Element Description appDevice The AppDevice object to be re-synced

Strona 961 - ActualProgramId

OpenLNS Programmer's Reference 853 broadcast is used, all deconfigured devices will log a configuration checksum error (CNFG_CS_ERROR = 153) in

Strona 962 - AuxResultData

OpenLNS Programmer's Reference 854 255 lcaExcludedDevTypeAll None of the above devices will be deconfigured. You can logically OR these constan

Strona 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

Strona 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

Strona 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

Strona 966 - ExpectedSubnetId

OpenLNS Programmer's Reference 858 Added to API Prior to LNS Release 3.0. EndAttachmentEvent Summary Disables the OnAttachmentEvent for a syste

Strona 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

Strona 968

OpenLNS Programmer's Reference 860 Added to API Prior to LNS Release 3.0. EndNodeConnChangeEvent Summary Disables the OnNodeConnChangeEvent for

Strona 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

Strona 970

OpenLNS Programmer's Reference 862 ExtensionByHandle Summary Retrieves an Extension object by its handle property. Extension records are defin

Strona 971

OpenLNS Programmer’s Reference ix DatabaseValidationErrorInstance ... 207 Methods ...

Strona 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

Strona 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

Strona 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

Strona 975 - IsComplete

OpenLNS Programmer's Reference 865 object’s NetworkServiceDevice object to identify the network interface for the new network. 3. Call the Pre

Strona 976

OpenLNS Programmer's Reference 866 Layer 2 network interface, an exception will be thrown. FALSE. OpenLNS will read the domain signature from

Strona 977 - ObjectType

OpenLNS Programmer's Reference 867 MgmtMode property will be set to lcaMgmtModeDeferConfigUpdates (1). You will need to set the property to lca

Strona 978

OpenLNS Programmer's Reference 868 lcaRecoveryOptSmallNetwork Assume that the network is a small or medium sized network. This causes database

Strona 979

OpenLNS Programmer's Reference 869 This method cannot be part of an explicit transaction. For more information on explicit transactions, see t

Strona 980

OpenLNS Programmer's Reference 870 The possible values for this parameter, which is contained in the ConstEventSyncModes constant, are as follo

Strona 981 - UpgradeInfo

OpenLNS Programmer's Reference 871 requests. You only use this parameter if the mode parameter is set to lcaEventAutoSyncMode. Added to API

Strona 982

OpenLNS Programmer's Reference 872 transactions, see the Using Transactions and Sessions section in the OpenLNS Programmer’s Guide. You can use

Strona 983 - FromIndex

OpenLNS Programmer's Reference 54 2 lcaTestResultCommNeuronId The OpenLNS Server was unable to communicate with the device using Neuron ID ad

Strona 984 - FromOwnerIndex

OpenLNS Programmer's Reference 873 • Description • DiscoveryInterval • DiscoveryLimitedFlag • DomainId • DsPollInterval • DsPriority • D

Strona 985

OpenLNS Programmer's Reference 874 Availability Local, full, and lightweight clients. Syntax acctsCollection = sysObject.Accounts Element Descr

Strona 986

OpenLNS Programmer's Reference 875 Availability Local, full, and lightweight clients. Syntax returnValue = sysObject.ApplicationHandle Element

Strona 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

Strona 988

OpenLNS Programmer's Reference 877 added to the API. ClientId Summary Contains the ClientId associated with the System object by the Object Se

Strona 989

OpenLNS Programmer's Reference 878 Added to API Prior to LNS Release 3.0. ComponentApps Summary Contains the ComponentApps collection object a

Strona 990 - ToOwnerIndex

OpenLNS Programmer's Reference 879 Syntax acctObject = systemObject.CurrentAccount Element Description acctObject The current Account object. s

Strona 991 - UpgradeInfos

OpenLNS Programmer's Reference 880 Element Description systemObject The System object to be acted on. debugFlag A Boolean value that indicates

Strona 992

OpenLNS Programmer's Reference 881 (4) sets this property to 180 seconds. Availability Local, full, and lightweight clients. Syntax intervalVal

Strona 993

OpenLNS Programmer's Reference 882 FALSE. Device discovery has completed execution without being halted or the application has exited. systemO

Strona 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

Strona 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

Strona 996

OpenLNS Programmer's Reference 884 developing a remote application that uses shared access mode (meaning that the DsMode property is set to lca

Strona 997 - UprgradeInfos

OpenLNS Programmer's Reference 885 priorityFlag The priority flag value. TRUE. The Data Server uses priority messaging to update a network

Strona 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

Strona 999

OpenLNS Programmer's Reference 887 DsRetryCount Summary Sets the maximum number of times to retry messages sent using the request/response, una

Strona 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

Strona 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

Strona 1002 - UpdateEvent

OpenLNS Programmer's Reference 890 Syntax fileTransObject = systemObject.FileTransfer Element Description fileTransObject The FileTransfer obje

Strona 1003 - ILcaNvMonitorPointListener

OpenLNS Programmer's Reference 891 Syntax hostTimerValue = systemObject.HostTimer Element Description hostTimerValue The host timer value in s

Strona 1004

OpenLNS Programmer's Reference 892 Disable and PingIntervals properties to 0. Disable automatic service pin registration by setting the system’

Strona 1005 - ILcaProgressListener

OpenLNS Programmer's Reference 56 You can resolve this problem by physically removing the obsolete device. 9 lcaTestResultMismatchSnode The O

Strona 1006

OpenLNS Programmer's Reference 893 therefore, your application should set this property before calling the Open method of the System object for

Strona 1007

OpenLNS Programmer's Reference 894 invocations. Availability Local, full, and lightweight clients. Syntax lastErrorObject = systemObject.LastE

Strona 1008 - OpenLNS Errors

OpenLNS Programmer's Reference 895 Application available from the Echelon OpenLNS Utilities program folder. Data Type Boolean. Read/Write Read

Strona 1009 - Network Services Errors

OpenLNS Programmer's Reference 896 LdrfLanguages Summary Contains the LdrfLanguages collection representing the languages known by OpenLNS. You

Strona 1010

OpenLNS Programmer's Reference 897 modeType The Object Server management mode. The enumerated values for this parameter, which are contained in

Strona 1011

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

Strona 1012

OpenLNS Programmer's Reference 899 Data Type NetworkResources object. Read/Write Read only. Added to API LNS Release 3.20. NetworkServiceDevic

Strona 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

Strona 1014

OpenLNS Programmer's Reference 901 permission value given by the first matching spec. This feature may be used to implement sophisticated perm

Strona 1015

OpenLNS Programmer's Reference 902 specified System object. The RecoveryStatus object provides status information on how a database recovery is

Strona 1016

OpenLNS Programmer's Reference 57 Neuron ID addressing and subnet/node addressing. However, the device has network management authentication e

Strona 1017

OpenLNS Programmer's Reference 903 invoked. This property defaults to True if the InstallOptions property was set to lcaSharedMedia (2) before

Strona 1018

OpenLNS Programmer's Reference 904 RepeatTimer Summary Sets the repeat timer value that will be used on the system for network management messa

Strona 1019

OpenLNS Programmer's Reference 905 Syntax repeatTimerValue = object.RepeatTimer Element Description repeatTimerValue The encoded value of the

Strona 1020

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

Strona 1021

OpenLNS Programmer's Reference 907 RetryCount Summary Sets the retry count used by the Object Server (and connections that use the default Syst

Strona 1022

OpenLNS Programmer's Reference 908 TRUE is commissioned or replaced. 1 lcaSecurityLevelKeyDistribution Disabled Keys are never distributed ov

Strona 1023

OpenLNS Programmer's Reference 909 State Summary Describes the state of the system. Availability Local, full, and lightweight clients. Syntax

Strona 1024

OpenLNS Programmer's Reference 910 Application loaded but not running. The configuration is considered valid in this state; the network manage

Strona 1025

OpenLNS Programmer's Reference 911 Subsystems Summary Contains the Subsystems collection object associated with the specified System. A Subsys

Strona 1026

OpenLNS Programmer's Reference 912 systemObject The System object to be acted on. Data Type TemplateLibrary object. Read/Write Read only. Add

Strona 1027

OpenLNS Programmer's Reference 58 17 lcaTestResultInterfaceNotOnline The OpenLNS network interface that the OpenLNS Server is attempting to u

Strona 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

Strona 1029

OpenLNS Programmer's Reference 914 UninstalledDeviceCount Summary Returns the number of devices uninstalled by network recovery. At the comple

Strona 1030 - Network Interface Errors

OpenLNS Programmer's Reference 915 UpdateInterval Summary The rate (in seconds) at which the background database device image reconciliation pr

Strona 1031

OpenLNS Programmer's Reference 916 Systems The Systems object represents a collection of System objects. Each Systems collection contains a sin

Strona 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

Strona 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

Strona 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

Strona 1035

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

Strona 1036

OpenLNS Programmer's Reference 921 Availability Local, full, lightweight, and independent clients. Note that some collections are not available

Strona 1037

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

Strona 1038 - Object Server Errors

OpenLNS Programmer's Reference 59 The UpgradeStatus object returned by this method contains information indicating whether or not the upgrade

Strona 1039

OpenLNS Programmer's Reference 923 • ActualProgramId • ActualSubnetId • AuxResultData • ClassId • DetailInfo • ExpectedDomainId • Ex

Strona 1040

OpenLNS Programmer's Reference 924 Availability Local, full, and lightweight clients. Syntax neuronIdValue = toObject.ActualNeuronId Element D

Strona 1041

OpenLNS Programmer's Reference 925 Availability Local, full, and lightweight clients. Syntax progIdValue = toObject.ActualProgramId Element De

Strona 1042

OpenLNS Programmer's Reference 926 are as follows: 0 lcaNoAuxData There is no useful information in the Actual/Expected properties of the Las

Strona 1043 - ONWORKS

OpenLNS Programmer's Reference 927 constant: 71 lcaClassIdTestInfo object The object to be acted on. Data Type Integer. Read/Write Read onl

Strona 1044

OpenLNS Programmer's Reference 928 Availability Local, full, and lightweight clients. Syntax domainIdValue = toObject.AuxResultData Element D

Strona 1045

OpenLNS Programmer's Reference 929 Syntax nodeIdValue = toObject.ExpectedNodeId Element Description toObject The TestInfo object to be acted on

Strona 1046 - ONWORKS\Bin folder

OpenLNS Programmer's Reference 930 Syntax subnetIdValue = toObject.ExpectedSubnetId Element Description toObject The TestInfo object to be acte

Strona 1047

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

Strona 1048

OpenLNS Programmer's Reference 932 The OpenLNS Server was able to communicate with the device using subnet/node addressing, but could not commu

Strona 1049

OpenLNS Programmer's Reference 60 Echelon recommends that you upgrade the device before loading the application image. This will allow you to v

Strona 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

Strona 1051

OpenLNS Programmer's Reference 934 10 lcaTestResultNoNeuronId The device has not been assigned a Neuron ID. 11 lcaTestResultMismatchProgram

Strona 1052

OpenLNS Programmer's Reference 935 communicate with the device using both Neuron ID addressing and subnet/node addressing. However, the device

Strona 1053

OpenLNS Programmer's Reference 936 The OpenLNS network interface that the OpenLNS Server is attempting to use is not property configured. Recom

Strona 1054

OpenLNS Programmer's Reference 937 Methods • Lookup Properties • ClassId • Index • IsComplete • Length • ObjectType • Parent • Progr

Strona 1055

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

Strona 1056

OpenLNS Programmer's Reference 939 • TRUE. The TypeSpec object is complete. • FALSE. The TypeSpec object is incomplete. Several conditions

Strona 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

Strona 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

Strona 1059

OpenLNS Programmer's Reference 942 Scope Summary Each TypeSpec object references a type defined in a LonMark resource file. This property indic

Strona 1060

OpenLNS Programmer's Reference 61 UploadConfigProperties method can be invoked using either the AppDevice object or the Interface object. You

Strona 1061

OpenLNS Programmer's Reference 943 lcaResourceScopeAutoDetermination This value applies to the Mode property of LonMarkObject objects only. Se

Strona 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,

Strona 1063

OpenLNS Programmer's Reference 945 • Reason • Status • ToIndex • ToOwnerIndex Class Summary Indicates the type of external interface compo

Strona 1064

OpenLNS Programmer's Reference 946 9 lcaUgClsDynamicMessageTag A dynamic MessageTag. uiObject The UpgradeInfo object to be acted on. Data Ty

Strona 1065

OpenLNS Programmer's Reference 947 configuration property. If the configuration property is contained by a LonMarkObject or network variable,

Strona 1066

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

Strona 1067

OpenLNS Programmer's Reference 949 components can not be matched if their types differ. 2 lcaUgRsName The external interface component was pr

Strona 1068

OpenLNS Programmer's Reference 950 name used for these custom interfaces is "LcaUpgrade<n>", where <n> is a sequential nu

Strona 1069

OpenLNS Programmer's Reference 951 Status Summary Indicates whether the external interface component represented by the UpgradeInfo object was

Strona 1070 - Deprecated Items

OpenLNS Programmer's Reference 952 any configuration property values will be preserved. 4 lcaUgStsRelocated The external interface component

Strona 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

Strona 1072 - Deprecated Objects

OpenLNS Programmer's Reference 953 ToIndex Summary Returns the device index value assigned to the external interface component after the upgrad

Strona 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

Strona 1074

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

Strona 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

Strona 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 ..

Strona 1077

OpenLNS Programmer's Reference 958 • Sequence • UpgradInfos Methods The UpgradeStatus object does not contain any methods. Properties The Upg

Strona 1078

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

Strona 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

Strona 1080 - Deprecated Events

OpenLNS Programmer's Reference 961 Syntax ioColl = uiObject.UpgradeInfos Element Description uiColl The UpgradeInfos collection to be returned.

Strona 1081

OpenLNS Programmer's Reference 962

Komentarze do niniejszej Instrukcji

Brak uwag