Duet 3 asynchronous queries
-
Duet 3s have dual asynchronous movement queues in development. Would it be possible to allow through the usb serial port or telnet port, the querying of the object model in an asynchronous manner?
Essentially be able to use the first queue to have move commands and second queue for relaying core information about the duet while the move commandsare working.
-
@LindsayC it's already possible to query the RRF Object Model asynchronously with respect to the commands being executed. You just need to send the queries on a different input channel from the one that is executing the commands.
-
@dc42 OK thanks yes it does work, so I can send a home command through the usb serial device and query the object model through the telnet port. So the only small issue here is having to have 2 physical connections.
-
@LindsayC Just an update on what I've ended up doing. As we wanted to use the ethernet connection as our main comms, we've implemented the DuetHTTPclient and telnet connection together.
The DuetHTTPclient has the full object model updating in the background that can be queried regularly with less time-critical stuff like reporting in the UI things like temperatures of chambers etc.
The telnet allows more time-critical comms without the overhead of the DuetHTTPClient like needing to wait for update of the object model.
Single cable solution with a lot of flexibility.