QtPyVCP Widget Rules

More
6 years 9 months ago #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

Please Log in to join the conversation.

More
6 years 9 months ago #153840 by Donb9261
Replied by Donb9261 on topic QtPyVCP Widget Rules
Awesome work. Thanks.

Please Log in to join the conversation.

More
6 years 9 months ago #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 to join the conversation.

More
6 years 9 months ago #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 to join the conversation.

More
6 years 9 months ago #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 to join the conversation.

More
6 years 9 months ago #154097 by BigJohnT
Replied by BigJohnT on topic QtPyVCP Widget Rules
LinuxCNC is open source
github.com/linuxcnc

JT

Please Log in to join the conversation.

More
6 years 8 months ago #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?

Please Log in to join the conversation.

More
6 years 8 months ago #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 to join the conversation.

More
6 years 8 months ago #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`.

Attachment not found

Please Log in to join the conversation.

More
6 years 8 months ago #158030 by hottabich
Replied by hottabich on topic QtPyVCP Widget Rules

KCJ wrote: 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!

Please Log in to join the conversation.

Time to create page: 0.108 seconds
Powered by Kunena Forum