beautypg.com

Commfailure – Echelon OpenLNS User Manual

Page 768

background image

OpenLNS Programmer's Reference

731

CommFailure

Summary

Indicates whether

there has been a communication failure on

the

LonMarkObject

object, or whether the

LonMarkObject

could report such a failure

.

This description of this property depends on whether it was

accessed through the Status or ReportMask properties of a

LonMarkObject.

Status property. Indicates

whether a communication

failure on the

LonMarkObject

has occurred. If this

property is True, then there has been a communication

failure.

ReportMask property.

Indicates whether the

LonMarkObject

can report a communications failure

through the

ObjectStatus

object when it is accessed as a

status report. If this property is True, then it can report a

failure

.

Availability

Local, full, and lightweight clients.

Syntax

commFailFlag = statusObject.CommFailure

Element

Description

commFailFlag

A Boolean value indicating whether

a

communication failure on the

LonMarkObject

has occurred

, or

whether the LonMarkObject

can

report a communications failure

.

Status Property
TRUE
.

A communication failure on

the

LonMarkObject

has

occurred

.

FALSE.

A communication failure

has not occurred

.

ReportMask Property
TRUE
. The LonMarkObject

can

report a communications

failure

.

FALSE. The LonMarkObject

can not

report a communications

failure

.

statusObject

The ObjectStatus object to be acted

on.

Data Type

Boolean.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.