BACnetStorePropertyInstanceByHandle
(FUN)
FUNCTION BACnetStorePropertyInstanceByHandle : IEC_BACNET_STATUS
Same function as BACnetStorePropertyInstance but uses handle to object instead of an device instance number and object idenfier.
- InOut:
Scope
Name
Type
Comment
Return
BACnetStorePropertyInstanceByHandle
Input
handleToObject
A valid handle to the object retrieved by a call to BACnetGetObjectHandle.
ePropertyID
The Property identifier of the local property.
nIndex
The index of an array item. If the Property is not an array, the index value BACNET_VOID_INDEX (-1) should be used. If the Property is an array, the index value BACNET_ENTIRE_ARRAY (-1) can be used to write the entire array. If the Property is an array, the index value BACNET_ARRAY_COUNT (0) can be used to resize the array provided that this array can be variable size. The indices of BACnet arrays start counting at 1.
pVal
POINTER TO IEC_BACNET_PROPERTY_CONTENTS
Pointer to a Property Contents containing the value of the Property. The Property Contents tag attribute must indicate the data type of the Property.