QtPyVCP Widget Rules

More
02 Jan 2020 01:22 - 25 Apr 2020 13:17 #153758 by BigJohnT
Widget Rules is a powerful feature of QtPyVCP but can be a bit overwhelming at first so I expanded the QtPyVCP documents with a step by step explanation of widget rules.

www.qtpyvcp.com/widgets/rules.html

If you see anything missing or wrong let me know. I just want users to be able to use the power of Widget Rules.

JT
Last edit: 25 Apr 2020 13:17 by KCJ. Reason: Use new web address in link
The following user(s) said Thank You: chimeno, TurBoss, KCJ, Leon82

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

More
02 Jan 2020 23:48 #153840 by Donb9261
Replied by Donb9261 on topic QtPyVCP Widget Rules
Awesome work. Thanks.

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

More
03 Jan 2020 17:58 #153914 by Donb9261
Replied by Donb9261 on topic QtPyVCP Widget Rules
In the status:gxxoffset channel tuple the R value is not available. Currently only 9(0-8) values are there. XYZABCUVW.

How hard is it to add the R value? It makes displaying the R value of the current WO index hard to display outside the table.

Thanks. Don

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

More
03 Jan 2020 23:47 #153932 by BigJohnT
Replied by BigJohnT on topic QtPyVCP Widget Rules
That is not provided by LinuxCNC on that status item. I have no clue where the python module is in LinuxCNC

linuxcnc.org/docs/2.8/html/config/python...xcnc_stat_attributes

JT

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

More
05 Jan 2020 12:04 #154092 by Donb9261
Replied by Donb9261 on topic QtPyVCP Widget Rules
Understood. Most likely in the linuxcnc binary files. That said, it would be nearly impossible to change without the source.

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

More
05 Jan 2020 13:31 #154097 by BigJohnT
Replied by BigJohnT on topic QtPyVCP Widget Rules
LinuxCNC is open source
github.com/linuxcnc

JT

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

More
03 Feb 2020 15:02 #156439 by hottabich
Replied by hottabich on topic QtPyVCP Widget Rules
Hello. When adding spindle speed with the slider, the speed in hal show changes, but not in the indicator. Can this be fixed with Widget Rules?
Attachments:

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

More
15 Feb 2020 17:11 #157467 by KCJ
Replied by KCJ on topic QtPyVCP Widget Rules
Don, I thing the data you are looking for is available from the `status:rotation_xy` data channel.

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

More
15 Feb 2020 17:20 #157468 by KCJ
Replied by KCJ on topic QtPyVCP Widget Rules
hottabich, yes, you can do almost anything with rules!

The `status:spindle.0.speed` value is the programmed spindle speed (always matches the value of the last S word in gcode). So to get the actual commanded spindle speed you need to multiply by the spindle override, which is available as `status:spindle.0.override`.

Attachments:
The following user(s) said Thank You: Leon82, hottabich

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

More
20 Feb 2020 17:02 - 01 Mar 2020 20:30 #158030 by hottabich
Replied by hottabich on topic QtPyVCP Widget Rules

hottabich, yes, you can do almost anything with rules!

The `status:spindle.0.speed` value is the programmed spindle speed (always matches the value of the last S word in gcode). So to get the actual commanded spindle speed you need to multiply by the spindle override, which is available as `status:spindle.0.override`.

Thanks, it works!

Last edit: 01 Mar 2020 20:30 by hottabich.

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

Moderators: KCJLcvette
Time to create page: 0.118 seconds
Powered by Kunena Forum