Owner manual
OpenLNS Programmer's Reference 393
Added to API
Prior to LNS Release 3.0.
MaxNvInUse
Summary
Indicates the current maximum network variable index in
use on the device containing this Interface.
This figure applies to all Interfaces on the device, and that
this value reflects both static and dynamic network variables.
The value of the MaxNvInUse property will always be equal
to the value of the StaticNvCount property, minus 1, in
Neuron hosted applications because they do not support
dynamic network variables.
Availability
Local, full, and lightweight clients.
Syntax
maxIndex = interfaceObject.MaxNvInUse
Element
Description
interfaceObject
The Interface object to be acted on.
maxIndex
The maximum network variable
index in use.
• For Neuron hosted applications,
possible values are between 0 to
61.
• For host-based applications,
possible values are between 0 to
4095.
Data Type
Integer.
Read/Write
Read only.
Added to API
Prior to LNS Release 3.0.
MaxNvSupported
Summary
Indicates the maximum possible number of network
variables supported by the device containing this Interface.
This property specifies the maximum number of network
variables, whether static or dynamic, that the device
containing this Interface object may have. The number of
static network variables is fixed; therefore, this property
essentially puts a limit on the number of dynamic network
variables (which will be equal to MaxNvSupported minus
StaticNvCount).
MaxNvSupported will always be equal to StaticNvCount in
Neuron Chip-hosted applications, since they do not support
dynamic network variables.
The possible values are 0 to 62 for Neuron Chip-hosted
applications, and 0 to 4096 for host applications.
Availability
Local, full, and lightweight clients.