Openindependent – Echelon OpenLNS User Manual

Page 556

Advertising
background image

OpenLNS Programmer's Reference

519

collection.
If this method is being invoked by a remote client, the

application program must set the remote NetworkInterface

for the ObjectServer (ObjectServer.ActiveRemoteNI) before

invoking this method. Additionally, the OpenLNS Server

must be running on the computer containing the OpenLNS

Network

Database.

A network obtained from the VNINetworks collection cannot

be opened with this method. It must instead be opened using

the OpenIndependent method. Opening a network in

server-independent allows the network to be monitored and

controlled using MonitorSet objects without communicating

with the OpenLNS Server.
If you will be opening any networks with an OpenLNS

application that is running as a Windows service, then the

first application to open the OpenLNS Object Server must

also be running as a Windows service. In addition, if a

network is to be opened by an OpenLNS application that is

running as Windows service, then that network and system

must be opened by an OpenLNS application that is running

as Windows service before it is opened with an OpenLNS

application running as a user process.
If you open the OpenLNS Object Server or a network with a

user process before opening it with a service, you must first

close the network and OpenLNS Object Server before

opening them with an OpenLNS application that is running

as Windows service.

To avoid these problems, Echelon recommends that if an

OpenLNS network is to be opened by a service, that service

should be started automatically, and should open the

network and systems that it will be accessing on startup,

thus ensuring that the network is opened by the service

before a user process

.

Availability

Local, full, and lightweight clients.

Syntax

network.

Open

Element

Description

network

The

Network

object to be opened.

Added to API

Prior to LNS Release 3.0.

OpenIndependent

Summary

Opens the OpenLNS network database in

server-independent

mode.

You may only call this method from networks fetched from

the VNINetworks collection. When a network is opened in

server-independent mode, you can monitor and control

monitor sets which have previously been defined on this

Advertising