Require: IP-Symcon >= 3.0
boolean AC_ChangeVariableID (int $InstanceID, int $OldVariableID, int $NewVariableID)
InstanceID | ID for the archive |
OldVariableID | ID of the variable to be migrated |
NewVariableID | ID of the new variable |
True if successful, otherwise False
This function migrates the data of the variable with the ID OldVariableID into the variable with the ID NewVariableID.
The variable with the ID NewVariableID must not be logged. This also means that no old data records may be available through logging.
// The data of the 34567 variable are migrated to the 56789 variable
AC_ChangeVariableID(12345, 34567, 56789);