« Back to Product

Documentation

VZ_WriteNewCounterValue

Require: IP-Symcon >= 6.0

 void VZ_WriteNewCounterValue (int $InstanceID) 

Parameters

InstanceID

ID of the Instance

Returns

The function does not return any value.

Description

Checks whether the value in variable "New counter reading" is negative, the "New counter reading" is less than the "Current counter reading" or the "New counter reading" exceeds the "Current counter reading" with the "Limit value". If these do not apply, the new value is set in "Current counter reading".

Example

VZ_WriteNewCounterValue(12345);
Any questions?