BACnetRetrievePropertyInstance (FUN)ΒΆ

FUNCTION BACnetRetrievePropertyInstance : IEC_BACNET_STATUS

Reads a property value from the BACnet server database.

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

Return: IEC_BACNET_STATUS

InOut:

Scope

Name

Type

Comment

Return

BACnetRetrievePropertyInstance

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.