BACnetStorePropertyInstance (FUN)ΒΆ

FUNCTION BACnetStorePropertyInstance : IEC_BACNET_STATUS

Writes a property value to the BACnet server database.

An application can get write access to any property stored in the local servers object database. It will not initiate an WriteProperty request to remote devices.

Return: IEC_BACNET_STATUS

InOut:

Scope

Name

Type

Comment

Return

BACnetStorePropertyInstance

IEC_BACNET_STATUS

Input

instNumber

IEC_BACNET_INST_NUMBER

Instance number of a Device object.

pObjectID

POINTER TO IEC_BACNET_OBJECT_ID

A pointer to the object Identifier.

ePropertyID

IEC_BACNET_PROPERTY_ID

The Property identifier of the local property.

nIndex

IEC_BACNET_ARRAY_INDEX

The optional index information of an array item from a property if this property contains an array. BACnet array indexes start counting at 1.

pVal

POINTER TO IEC_BACNET_PROPERTY_CONTENTS

Pointer to a property pontents containing a buffer which contains the value.