diff --git a/Datasheet.cs b/Datasheet.cs index 43ba283..5422fb5 100644 --- a/Datasheet.cs +++ b/Datasheet.cs @@ -244,8 +244,9 @@ namespace Gidrolock_Modbus_Scanner async Task PollEntry(Entry entry) { bool res = false; - Modbus.ReadRegAsync(modbusID, (FunctionCode)entry.registerType, entry.address, entry.length); isAwaitingResponse = true; + Modbus.ReadRegAsync(modbusID, (FunctionCode)entry.registerType, entry.address, entry.length); + stopwatch.Restart();