BACnetObjectBase.WritePropertyInstance (METH)¶
METHOD WritePropertyInstance : CmpBACnet.IEC_BACNET_STATUS
Shortcut to CmpBACnet.BACnetWritePropertyInstance for this object (using own device instance number and object identifier). For more details see documentation of CmpBACnet.BACnetWritePropertyInstance.
- InOut:
Scope
Name
Type
Initial
Comment
Return
WritePropertyInstance
CmpBACnet.IEC_BACNET_STATUS
Input
ePropertyID
CmpBACnet.IEC_BACNET_PROPERTY_ID
The property ID of the property to write its instance data for.
nIndex
CmpBACnet.IEC_BACNET_ARRAY_INDEX
Counting from 1. See documentation of CmpBACnet.BACnetRetrievePropertyInstance.
priority
DINT
The priority to use when writing to the specified property value.
propertyContents
CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS
Property-Contents to be written to the specified BACnet- Property.
pValueSrc
POINTER TO CmpBACnet.IEC_BACNET_AUDIT_VALUE_SOURCE
0
Optional: A pointer to a data structure which contains the value source information for generating an logged and/or reported audit notification for this initiated request. If generating an logged and/or reported audit notification for this request is not intended, pValueSrc can be set to 0.
Output
error
CmpBACnet.IEC_BACNET_ERROR
BACnet error code.