« Back to Product

Documentation

AC_ReAggregateVariable

Require: IP-Symcon >= 3.0

 boolean AC_ReAggregateVariable (int $InstanceID, int $VariableID) 

Parameters

InstanceID

ID for the archive

VariableID

ID of the variable to be re-aggregated

Returns

True if successful, otherwise False

Description

This function starts the re-aggregation of the variable with the ID VariableID.

Warning

Re-aggregation can take a long time. The current progress of the re-aggregation can be checked via regular entries in the message window.

Example

// This starts the re-aggregation of the variable "test variable"
AC_ReAggregateVariable(39147 /*[Archive]*/, 53716 /*[TestVariable]*/);

/* Sample output in the message window
07.10.2015 15:50:05 | Archive Control | Reaggregation for VariableID #53716 is in progress... 10/2015! (6 rows)
07.10.2015 15:50:05 | Archive Control | Reaggregation for VariableID #53716 is complete! (6 rows)
*/
Any questions?