BACnetUpdateAccumulatorDataSourceValue (FUN)ΒΆ

FUNCTION BACnetUpdateAccumulatorDataSourceValue : IEC_BACNET_STATUS

Updates the count from specified accumulator object.

An application can use this function to give pulses into the accumulator object which is counting them and accumulates them for a new resulting accumulator log record.

Return: IEC_BACNET_STATUS

InOut:

Scope

Name

Type

Comment

Return

BACnetUpdateAccumulatorDataSourceValue

IEC_BACNET_STATUS

Input

instNumber

IEC_BACNET_INST_NUMBER

The instance number of the local device where the accumulator object exists.

pObjectID

POINTER TO IEC_BACNET_OBJECT_ID

A pointer to the object identifier which specifies the local accumulator object.

bPulseValue

IEC_BACNET_BOOLEAN

The pulse which is to count.