encoder recalculate to main gui