Unsolved Several instance QModbusTcpClient interfere with each other.
currently I'm using the class QModbusTcpClient (as Modbus master).
I want to connect to several Modbus devices (clients) with diff IP addresses. Its working fine if I connect with one Modbus device.
But as soon as I create the second instance of the class, both classes start to crash and interfere with each other. I tried to split them on different Thread and use them in one Thread , nothing helps. Several days of searching have yielded no results.
Please help me find the right solution, I am stuck.
Christian Ehrlicher Lifetime Qt Champion last edited by
You should post a minimal, compilable example so we can see what you're doing.