Lonmarkobjectnumber, Maxlength – Echelon OpenLNS User Manual
Page 643
OpenLNS Programmer's Reference
606
Syntax
memNumValue = nvObject.LonMarkMemberNumber
Element
Description
memNumValue The member number of the network
variable as a Long.
nvObject
object to be acted
on.
Data Type
Long.
Read/Write
Read only.
Added to API
Prior to LNS Release 3.0.
LonMarkObjectNumber
Summary
Contains the object number of the
this network variable is assigned.
Objects on a device are generally numbered from 0 to n-1,
where n is the number of objects on the device. This is always
the case on devices with static interfaces.
If a device supports dynamic function blocks, some
LonMarkObject objects may be assigned an object number
greater than or equal to the value n (the number of objects on
the device).
If the network variable does not belong to a LonMarkObject,
this property will return –1.
You can use the LonMarkObjects collection’s ItemByIndex
method to access the LonMarkObject containing the network
variable. You will need to reference the LonMarkObject by its
device index when you call the method.
Availability
Local, full, and lightweight clients.
Syntax
objNumValue = nvObject.LonMarkObjectNumber
Element
Description
objNumValue
The object number of the network
variable as a Long.
nvObject
object to be acted
on.
Data Type
Long.
Read/Write
Read only.
Added to API
Prior to LNS Release 3.0.
MaxLength
Summary
Contains the maximum length (in bytes) of the network
variable.
You can determine the actual length of a network variable by
reading the Length property. If the network variable does not