Dorestoreoptions, Dssaveoptions, Dsrestoreoptions – Echelon OpenLNS User Manual

Page 894

Advertising
background image

OpenLNS Programmer's Reference

857

This method resynchronizes the network. It should be called

every 3 to 5 seconds. This method must be used for event

synchronization and missed events to work. If the

SetEventSyncMode method has been used to turn off event

synchronization and missed events are not being used, this

method need not be called.

Availability

Local, full, and lightweight clients.

Syntax

object.DoEventSync

Element

Description

systemObject

The

System

object which is to be

synchronized.

Added to API

Prior to LNS Release 3.0.

DoRestoreOptions

Summary

Restores the current data server options from the persistent

database. This method uses the DsSaveOptions method to

overwrite any values which had been set during the current

session. Any options that you modified with this method will

not be implemented until you pause and restart the data

server.

This method will restore all

NetworkVariable

data server

options except DsMonitorTag, which is not persistent

Availability

Local, full, and lightweight clients.

Syntax

object.DsRestoreOptions

Element

Description

systemObject

The

System

object to be acted on.

Added to API

Prior to LNS Release 3.0.

DsSaveOptions

Summary

Saves the current set of data server options to the persistent

database

.

Data server options are not persistent for System objects.

For

new option values to persist across LNS sessions

, you must

invoke the DsSaveOptions method.
This method saves the values which were most recently set,

not the values currently in use. This distinction arises

because you must pause and restart the data server using the

before modified options can be implemented.

Availability

Local, full, and lightweight clients.

Syntax

object.

DsSaveOptions

Element

Description

object

The

System

object to be acted on.

Advertising