Snvtid, Snvttypeismodifiable – Echelon OpenLNS User Manual
Page 653
OpenLNS Programmer's Reference
616
SnvtId
Summary
Contains the ID of the standard network variable type
(SNVT) used by the network variable. If the network variable
is using a user-defined type (UNVT), this property returns
the value 0
.
For more information on SNVTs and their IDs, go to the
L
ON
M
ARK
Web site at
If the device supports modifiable types, this property may be
modified. This is useful for devices that support flexible
hardware options, and must have their network variable
types modified to match the attached hardware. You can
determine if the network variable supports modifiable types
by reading the ChangeableTypeSupport or
SnvtTypeIsModifiable properties.
Note: Use the TypeSpec property to change the type and
format used by a network variable.
Availability
Local, full, and lightweight clients.
Syntax
snvtType = nvObject.
Element
Description
snvtType
The SNVT ID of the network variable,
or 0 if the network variable is a UNVT
nvObject
object to be
acted upon.
Data Type
Integer.
Read/Write
Read/write.
Added to API
Prior to LNS Release 3.0.
SnvtTypeIsModifiable
Summary
Indicates whether the Standard Network Variable Type
(SNVT) ID of the network variable can be changed
.
Changing a network variables’s type is useful for devices that
support flexible hardware options, and must have their
network variable types modified to match the attached
hardware.
You can use the network variable’s TypeSpec property to
change the type and format used by a network variable. Note
that if a network variable is not using a SNVT type, you can
determine if its type can be modified by reading the
ChangeableTypeSupport property.
The ChangeableTypeSupport property also returns
information indicating whether or not you can change and
network variable’s type, and how OpenLNS would change the
type (by modifying the self-documentation information of the
device associated with the network variable, or by modifying
the SCPTnvType configuration property stored on the