Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt Tcp Modbus?
WBest last edited by
Kind of new to the Qt World but I've been looking over the tool set and am wondering if there a synchronous modbus interface? Our program need to read Modbus, perform a process cycle on te data, write back to modbus on a specific timeslice.
hi @WBest and welcome
wondering if there a synchronous modbus interface
Not for tcp and I would strongly discourage using the synchronous api in RTU as well.
Do you really need to respond in a nanosecond time frame or would be < ms be sufficient ?
If that is sufficient, than use simply use the asynchronous api and if you notice inconstancies because you do other heavy calculations in your app, you can always move the TcpModbus into its own thread.