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
BACnetStorePropertyInstanceByHandleInput
handleToObjectA valid handle to the object retrieved by a call to BACnetGetObjectHandle.
ePropertyIDThe Property identifier of the local property.
nIndexThe 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.
pValPOINTER 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.