How to refresh the DRO

More
11 Feb 2022 07:41 #234555 by yi2580
I'm using pyqt5 to write interface code, but I don't think his dro refresh is very timely, so I want to ask you whether there is a function to refresh the dro data of linuxcnc, so that I can get his data more quickly

Please Log in or Create an account to join the conversation.

More
20 Feb 2022 19:33 #235416 by Grotius
Replied by Grotius on topic How to refresh the DRO
Hi,

I think in the python-gui thread wich is around 100-200ms i remember.
The refresh time can be set.

I suggest the easyest way is to edit the gui-update time. ~100ms is quite fast. ~50ms is ultra fast but can cause other problems.

Please Log in or Create an account to join the conversation.

More
20 Feb 2022 19:40 - 20 Feb 2022 19:40 #235417 by robertspark
Replied by robertspark on topic How to refresh the DRO
Is CYCLE_TIME the setting you are looking for?  (bottom of the list)

linuxcnc.org/docs/devel/html/config/ini-...tml#_display_section
Last edit: 20 Feb 2022 19:40 by robertspark.

Please Log in or Create an account to join the conversation.

More
07 Mar 2022 04:55 #236559 by yi2580
Replied by yi2580 on topic How to refresh the DRO
OK, thank you very much for your reply and found a solution

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.063 seconds
Powered by Kunena Forum