Createtemporarymonitorset, Open, S open – Echelon OpenLNS User Manual
Page 555
OpenLNS Programmer's Reference
518
Syntax
network.CompactDb
Element
Description
network
Added to API
Prior to LNS Release 3.0.
CreateTemporaryMonitorSet
Summary
object
.
If you need monitor points that will only be used in a single
client session, you should use temporary MonitorSet objects.
Temporary monitor sets are opened automatically by
OpenLNS as they are created, and can only be accessed from
the client that created them.
When a client releases a temporary monitor set, or when the
client session in which a temporary monitor set was created
ends, the temporary monitor set and all its monitor points
are deleted.
If you need to create a group of monitor points that you can
use in multiple client sessions or that you intend to use
multiple times, you should use the permanent MonitorSet
objects described earlier in this section. However, if you do
not need to re-use a monitor set, you should use temporary
monitor sets because it takes less time and network resources
to create them.
This method is not available to Independent client
applications.
This method returns a MonitorSet object that is opened
automatically upon creation, and closed as soon as the client
session in which it was created ends. There are several other
differences between temporary and permanent MonitorSet
objects. For more information on these differences, see the
MonitorSet object.
Availability
Local, full, and lightweight clients.
Syntax
tempMonitorSet = network.
Element
Description
tempMonitorSet The newly defined temporary
object.
network
Added to API
LNS Release 3.20.
Open
Summary
Opens the OpenLNS network database. Before this method
can be used, the Network object must have been previously
added using the Add method of the ObjectServer’s Networks