BACnetServer.WritePropertyInstance (METH)

METHOD WritePropertyInstance : CmpBACnet.IEC_BACNET_STATUS

Shortcut to CmpBACnet.BACnetWritePropertyInstance (using own device instance number). For more details see documentation of CmpBACnet.BACnetWritePropertyInstance.

InOut:

Scope

Name

Type

Initial

Comment

Return

WritePropertyInstance

CmpBACnet.IEC_BACNET_STATUS

Input

devInstNumber

DWORD

The targeted device instance number having the targeted object.

objID

CmpBACnet.IEC_BACNET_OBJECT_ID

The object ID of the object having the targeted property.

propID

CmpBACnet.IEC_BACNET_PROPERTY_ID

The property ID of the targeted property.

nIndex

CmpBACnet.IEC_BACNET_ARRAY_INDEX

The index within the property to write to.

priority

DINT

The priority to use when writing to the specified property value.

value

CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS

The property value to write.

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.