Problem

The Synchronize with Item property is not generated by the Transformer

Old Solution (deprecated) 

You can find the new solution in page Items with "Synchronize Value".

To implement it we need to make sure that every time one of the items changes its value the other reflects that change.
So, on the item’s block Adapter class change both item's set methods to be similar to the following code:

public NNumber ItemA {

	get { 
		return GetNumberValue("ItemA");
	}
	set {
		SetValue("ItemA", value);
		SetValue("ItemB", value);
	}
}
 
public NNumber ItemB {
	get { 
		return GetNumberValue("ItemB");
	}
	set {
		SetValue("ItemB", value);
		SetValue("ItemA", value);
	}
}

 

Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.