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
WritePropertyInstanceCmpBACnet.IEC_BACNET_STATUSInput
ePropertyIDCmpBACnet.IEC_BACNET_PROPERTY_IDThe property ID of the property to write its instance data for.
nIndexCmpBACnet.IEC_BACNET_ARRAY_INDEXCounting from 1. See documentation of CmpBACnet.BACnetRetrievePropertyInstance.
priorityDINTThe priority to use when writing to the specified property value.
propertyContentsCmpBACnet.IEC_BACNET_PROPERTY_CONTENTSProperty-Contents to be written to the specified BACnet- Property.
pValueSrcPOINTER 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
errorCmpBACnet.IEC_BACNET_ERRORBACnet error code.