Owner manual
OpenLNS Programmer's Reference 610
desired.
Data Type
Object.
Read/Write
Read only.
Added to API
Depends on the object used to access the property. Generally,
this property exists for an object as soon as the object is
added to the API.
ParentInterface
Summary
Returns the Interface object to which the NetworkVariable
Object belongs.
Each AppDevice on a network contains an Interface property
containing the device’s main interface, and an Interfaces
collection containing the custom interfaces that have been
added to the device dynamically. The interfaces each contain
network variables and LonMarkObjects that reflect the
device’s functionality on the network.
The ParentInterface property returns the Interface object to
which the NetworkVariable Object belongs. In the case of
static LonMarkObjects and network variables, this property
returns the main device interface or device template the
object is associated with. In the case of a dynamic
LonMarkObject and network variables, it returns the custom
interface to which the object belongs.
The ParentInterface property is read-only. However, you can
move a dynamic network variable or LonMarkObject from
one custom interface to another with the method.
Availability
Local, full, and lightweight clients.
Syntax
interface = object.ParentInterface
Element
Description
interface
The Interface object returned by the
property.
object
The NetworkVariable object to be acted
upon.
Data Type
Interface object.
Read/Write
Read only.
Priority
Summary
Contains the default priority setting for the network
variable, as specified by the device developer.
If the network variable is a connected output network
variable, or a polling input network variable, then this flag
will be used to determine whether messages sent by the
network variable use priority. This value may be overridden
by the UsePriorityFlag property of the network variable’s