This definitely has something to do with the driver's Subscribe function since it doesn't work if I try to use it through the code, without any BasicLabel on the form.
This doesn't work:
Me.ModbusTCPCom1.Subscribe("40008", 2, 250, AddressOf PolledDataReturned)
This works:
Me.ModbusTCPCom1.Subscribe("40008", 1, 250, AddressOf PolledDataReturned)
This also works:
Me.ModbusTCPCom1.Subscribe("40008", 1, 250, AddressOf PolledDataReturned)
Me.ModbusTCPCom1.Subscribe("40009", 10, 250, AddressOf PolledDataReturned)
This also works:
Me.ModbusTCPCom1.Subscribe("40008", 5, 250, AddressOf PolledDataReturned)
Me.ModbusTCPCom1.Subscribe("40015", 10, 250, AddressOf PolledDataReturned)
Archie would have to check this.