Echelon OpenLNS User Manual
Page 622
OpenLNS Programmer's Reference
585
constant, are as follows:
0 lcaNvChangeableTypeNone
The network variable’s type cannot be
changed.
1 lcaNvChangeableTypeSdOnly
You can change the network variable’s
type by writing to its TypeSpec or
SnvtId property. When you write to
this property, OpenLNS will change
the type by modifying the
self-documentation information of the
device associated with the network
variable. This is the value that will be
returned by all dynamic network
variables. You can determine if a
network variable is dynamic by
reading its IsDynamic property.
2 lcaNvChangeableTypeSCPT
You can change the network variable’s
type by writing to its TypeSpec or
SnvtId property. When you write to
this property, OpenLNS will change
the type by modifying the
SCPTnvType configuration property
stored on the device associated with
the network variable. The device’s
self-documentation information will
remain unchanged.
Note: If the value of the
SCPTnvType configuration property
used to modify the network variable
type is unknown, or if the value of the
configuration property is invalid (i.e.
the type category is set to
NVT_CAT_NUL [-1]), OpenLNS will
set the self-documentation information
of the device associated with the
network variable to match the network
variable’s SnvtId stored in the
OpenLNS database.
You can set the TypeSpec property to
the appropriate value to fix the
following problems with the value of
the SCPTnvType configuration
property:
•
The configuration property’s value
is unknown because it was never
set, or because its status was