Setvaluetounknown, Properties – Echelon OpenLNS User Manual

Page 187

Advertising
background image

OpenLNS Programmer's Reference

150

just been read from the device (for example,

create a data point with the

lcaDataSourceOptionsFromDevice (1)

option set, then set the SourceOptions

property of the data point to this value and

call the

SetRawValuesEx

method).

Added to API

LNS Release 3.20.

SetValueToUnknown

Summary

Sets the value of the

ConfigProperty

object to an unknown

state.
You can use this method to clear the value of a

ConfigProperty

object from the OpenLNS database. When

you call this method, the value of the

ConfigProperty

will be

cleared from the OpenLNS database. In addition, all pending

updates to the

ConfigProperty

object will be cleared. You

should note that this affects how OpenLNS will manage the

configuration property in read and download operations. In

addition, you can use the

UploadConfigProperties

method to

read all unknown configuration property values into the

OpenLNS database, and you can use the

DownloadConfigProperties

method to set all unknown

configuration property values to their defaults.
You can read the current state of the value of a

ConfigProperty

object in the OpenLNS database with the

ValueStatus

property. If this property is set to

lcaConfigPropertyValueMgmtStatusUnknown (0), then

the value of the

ConfigProperty

object is already set to an

unknown state. In this case, use of the

SetValueToUnknown

method will have no effect on the

ConfigProperty

.

Availability

Local, full, and lightweight clients.

Syntax

cpObject.SetValueToUnknown

Element

Description

cpObject

The

ConfigProperty

object to be acted on.

Added to API

LNS Release 3.20.

Properties

The ComponentApps

object contains the following properties

:

AppliesTo

AppliesToType

ByteLength

ClassId

ConfigFileOffset

ConfigFileType

ConfigNv

ConfigNvIndex

Advertising