BACnetBinaryValue.WritePresentValueWithPriority (METH)¶
METHOD WritePresentValueWithPriority : CmpBACnet.IEC_BACNET_STATUS
Set the Present_Value with the given priority taking client side restrictions into account (access, priorization, range checks). In contrast to SetPropertyInstance and PresentValue.Set all access, priorization and range checks are executed by this call and on return the occurred BACnet error code will be returned.
- InOut:
Scope
Name
Type
Initial
Comment
Return
WritePresentValueWithPriority
CmpBACnet.IEC_BACNET_STATUS
Input
value
CmpBACnet.IEC_BACNET_BINARY_PV
Value to write.
priority
DINT
The priority to use when writing to Present_Value.
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.