ed-chemnitz / qmodbus

GNU General Public License v2.0
279 stars 128 forks source link

Poll feature #18

Closed shiftee closed 6 years ago

shiftee commented 6 years ago

The PR adds a polling feature which is useful for testing and debugging modbus systems

Holding the Ctrl key changes the send-button text from "Send" to "Poll".

If you click "Poll" then the current modbus request will be sent, once per second, indefinitely. The send-button text will change to "Stop", allowing you to stop the polling

tobydox commented 6 years ago

Thanks a lot for the contribution! :+1: One minor issue: can you fix the coding style, i.e. rename "m_poll_timer" to "m_pollTimer" and "m_status_timer" to "m_statusTimer"? Afterwards I'll merge the changes.