Owner manual

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
attempt to read this property, a LCA, #6 ObjectNotFound
exception is thrown.
Availability
Local, full, and lightweight clients.
Syntax
upgradeStatusObject = adObject.LastUpgradeStatus
Element
Description
upgradeStatusObject
The UpgradeStatus object returned
the last time the external interface
of the device was upgraded.
adObject
The AppDevice object to be acted
on.
Data Type
UpgradeStatus object.
Read/Write
Read only.
Added to API
LNS Release 3.20.
Location
Summary
Contains the value of the specified AppDevice ’s six byte
location as a hex string. This property must contain a 12
digit hex string that is a valid hexadecimal value. The only
valid characters are 0-9 and A-F. For example,
"0000AC43F1B6" is a valid value.
The Location property allows you to read the AppDevice ’s
location from the OpenLNS database.
Availability
Local, full, and lightweight clients.
Syntax
locationValue = object.Location
object.Location = locationValue
Element
Description
locationValue
The location as read from the device
as a hex string.
object
The AppDevice object to be acted
on.
Data Type
String (6 bytes).
Read/Write
Read only.
Added to API
Prior to LNS Release 3.0.
LocationInNeuron
Summary
Reads the value of the specified AppDevice ’s six-byte
location as a hex string from the physical device’s EEPROM.
Availability
Local, full, and lightweight clients.
Syntax
locationValue = appDevObject.LocationInNeuron