LCDNumber

More
5 years 1 month ago #221887 by partec
LCDNumber was created by partec
 

Attachment not found



does it miss correct configuration or may it be an issue, please? 


when using    generalhalinput    how could it in handler.py be coded, please? 

Attachment not found



every beginning is difficult, Chris, I've found a newer environment, now it's slowly but surely a lot of fun 
 

Attachment not found



 

Attachment not found



This also works flawlessly, now I'm working on converting a former pyvcp to your very sophisticated qtvcp applications, many thanks to all the brownies!
 

Please Log in to join the conversation.

More
5 years 4 weeks ago #221933 by cmorley
Replied by cmorley on topic LCDNumber
Sorry i didn't get to answer you sooner - but you found the answer - hopefully the docs helped a bit...

General input/output is used for connecting HAL events to widgets or vice versa in a general way using slot/signals in designer.
It's probably better if you can use a purpose built widget if it's available.

Chris

Please Log in to join the conversation.

More
5 years 4 weeks ago #221935 by cmorley
Replied by cmorley on topic LCDNumber
I didn't read carefully - I see you got the LCD widget to display floats - I'll add some more info in the docs!

Please Log in to join the conversation.

More
5 years 4 weeks ago #221938 by cmorley
Replied by cmorley on topic LCDNumber
In master I added some docs and new abilities to LCDNumber.

Chris

Please Log in to join the conversation.

More
5 years 4 weeks ago #221973 by partec
Replied by partec on topic LCDNumber
thank you Chris, everything works really well, at the moment i'm still pretty busy with the adaptation of the pyvcp-panel to the qtvcp-panel maybe i can then give a little experience report

Please Log in to join the conversation.

More
5 years 4 weeks ago #222029 by partec
Replied by partec on topic LCDNumber
After starting the panel, all slider values show zero even though the start setting is somewhere in the middle 
only after each individual slider has been touched and moved minimally are the appropriate values output immediately 

Attachment not found



Attachment not found

 

Attachment not found

Please Log in to join the conversation.

More
5 years 4 weeks ago #222046 by cmorley
Replied by cmorley on topic LCDNumber
i fixed it in master - I see dial did the same too.
thanks for bring this to my attention.

Please Log in to join the conversation.

More
5 years 4 weeks ago #222102 by partec
Replied by partec on topic LCDNumber
thank you Chris, how can i get this fixed files from master, please? 

then i tried today to install a new clean system for running designer -Qt5 but sadly without success

DEBIAN BUSTER LINUX 2.8.2 Xfce iso Jun 27 2021

$ uname -a
   Linux vre 4.19.0-17-rt-amd64 #1 SMP PREEMPT RT Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux

LinuxCNC 2.8.2-11-g6a3d0a434 

$ sudo apt-get install qttools5-dev-tools
$ sudo apt-get install qttools5.dev

(from here was Qtvcp panel already running)

$ /usr/lib/python2.7/dist-packages/qtvcp/designer/x86_64/qt5.9/libpyqt5_py2.so.tar.gz

 

Attachment not found



first i tried with   [ln -s /path/to/original /path/to/link]

ln -s /usr/lib/python2.7/dist-packages/qtvcp/plugins/qtvcp_plugin.py ~/.designer/qtvcp_plugin.py

ln -s /usr/lib/python2.7/dist-packages/PyQt5 ~/.designer/PyQt5

but result in designer no linuxcnc widgets visible

then i made this two links with "sudo thunar" as hard links to the files and moved to the places
but result in designer no linuxcnc widgets visible
 

Please Log in to join the conversation.

More
5 years 3 weeks ago #222124 by cmorley
Replied by cmorley on topic LCDNumber
I didn't realize you were using 2.8 - I backported the code to it.
should be available from the buildbot soon.

For designer qtvcp widgts to work in 2.8 the lib libpyqt5.so must be removed or renamed to make sure libyqt5_py2.so is found first

Please Log in to join the conversation.

More
5 years 3 weeks ago #222131 by partec
Replied by partec on topic LCDNumber
thank you Chris, well, I thought it would be okay to work with iso 2.8 installation, but may be as a pretty old man I should learn something again 

at the moment i have renamed the libpyqt5.so
and then also removed
but there must be another error, no linuxcnc widgets are loaded

Please Log in to join the conversation.

Time to create page: 0.135 seconds
Powered by Kunena Forum