Isopen, Lasterror – Echelon OpenLNS User Manual

Page 930

Advertising
background image

OpenLNS Programmer's Reference

893

therefore, your application should set

this property before calling the Open

method of the System

object

for the first

time.
If you open a system with this property

set to lcaPrivateMedia (4) and later

decide you want the system to use

shared media, you can accomplish this

by setting the DomainIdSystem

property of the System

object

to match

the NetworkServiceDevice.NeuronId

property of the OpenLNS Server

computer.

systemObject

The System object for which the options

apply.

Data Type

Integer.

Read/Write

Read/write for Local clients. Read-only for Remote and

Lightweight clients.

Added to API

Prior to LNS Release 3.0.

IsOpen

Summary

Indicates whether the specified

System

object is currently

open.

Availability

Local, full, lightweight, and independent clients.

Syntax

isOpenFlag = Object.IsOpe

Element

Description

isOpenFlag

Boolean value.

Object

A Boolean value indicating whether the

System

object is currently open.

TRUE. T

he

System

object is currently

open

.

FALSE. T

he

System

object is currently

closed

.

Data Type

Boolean.

Read/Write

Read only.

Added to API

LNS Release 3.0.

LastError

Summary

Returns the last error generated in an

Error

object

.

The LastError property is transient, meaning that the error

data is not stored in the OpenLNS database. When a

particular application is closed, the LastError information is

lost. Error information does not persist across program

Advertising