diff --git a/src/RegisterDatapoint.py b/src/RegisterDatapoint.py index 5281fd0..daf3067 100644 --- a/src/RegisterDatapoint.py +++ b/src/RegisterDatapoint.py @@ -176,6 +176,7 @@ def checkRegisterList(registers): raise ValueError('Entry in register list {0!s} is not derived from class AbstractModbusDatapoint'.format(r)) else: r.errorCount = 0 + r.processCount = 0 print("Datapoint loaded: {0!s}".format(r))