Add Buttons in Probe Basic
- DerKlotz
- Offline
- Premium Member
-
Less
More
- Posts: 81
- Thank you received: 5
16 Feb 2026 14:10 #343049
by DerKlotz
Add Buttons in Probe Basic was created by DerKlotz
Hello,
i need some buttons in Probe basic which activates outputs from my Mesa 7i76e. The attached photo show what i need.
I found /user_buttons/template_user_buttons/template_user_buttons.ui (attached). Would that a nice place add the buttons. But so far i don´t know how to start the ui ind Probe Basic GUI.
Best regards
i need some buttons in Probe basic which activates outputs from my Mesa 7i76e. The attached photo show what i need.
I found /user_buttons/template_user_buttons/template_user_buttons.ui (attached). Would that a nice place add the buttons. But so far i don´t know how to start the ui ind Probe Basic GUI.
Best regards
Please Log in or Create an account to join the conversation.
- Lcvette
-
- Away
- Moderator
-
Less
More
- Posts: 1578
- Thank you received: 740
17 Feb 2026 00:47 - 17 Feb 2026 00:49 #343076
by Lcvette
Replied by Lcvette on topic Add Buttons in Probe Basic
You can add to the user tab and turn it on in the initial file, this is covered in the docs
kcjengr.github.io/probe_basic/update_notes.html
kcjengr.github.io/probe_basic/update_notes.html
Last edit: 17 Feb 2026 00:49 by Lcvette.
Please Log in or Create an account to join the conversation.
- DerKlotz
- Offline
- Premium Member
-
Less
More
- Posts: 81
- Thank you received: 5
17 Feb 2026 18:35 #343102
by DerKlotz
Replied by DerKlotz on topic Add Buttons in Probe Basic
Great, i´ll check tomorrow.
Please Log in or Create an account to join the conversation.
- DerKlotz
- Offline
- Premium Member
-
Less
More
- Posts: 81
- Thank you received: 5
20 Feb 2026 11:45 - 20 Feb 2026 14:41 #343219
by DerKlotz
Replied by DerKlotz on topic Add Buttons in Probe Basic
Hello,I've been working on this for the last few days and now understand how to add switches graphically under user_buttons/template_main/template_main.ui (see attached photo).However, I don't know how to link the light switch to the output of my Mesa 7i76e, for example. I tried to implement net light => hm2_7i76e.0.7i76e.0.0.output-02 <= qtpyvcp.light in my postgui_hal. Unfortunately, that didn't work. What am I overlooking as a newbie?
And in addition i´d like to have a nice looking Led right to the button. Red = off, green = on. I could not find one in QT Designer. Alternatively, the button itself could change from red to green.
Translated with DeepL.com (free version)
And in addition i´d like to have a nice looking Led right to the button. Red = off, green = on. I could not find one in QT Designer. Alternatively, the button itself could change from red to green.
Translated with DeepL.com (free version)
Last edit: 20 Feb 2026 14:41 by DerKlotz.
Please Log in or Create an account to join the conversation.
- Lcvette
-
- Away
- Moderator
-
Less
More
- Posts: 1578
- Thank you received: 740
21 Feb 2026 04:40 #343246
by Lcvette
Replied by Lcvette on topic Add Buttons in Probe Basic
On the probe page in qt designer, there is a button where the probe to is and the output from linuxcnc goes to the led on the probe graphic, use that as a template
Please Log in or Create an account to join the conversation.
- DerKlotz
- Offline
- Premium Member
-
Less
More
- Posts: 81
- Thank you received: 5
21 Feb 2026 12:09 - 21 Feb 2026 12:51 #343254
by DerKlotz
Replied by DerKlotz on topic Add Buttons in Probe Basic
You mean that led at the attached photo? I can´t find a probe section in QT Designer or do i need to be in Probe Basic Development modus instaed of stable?
And can you help me here ->
However, I don't know how to link the light switch to the output of my Mesa 7i76e. I tried to implement "net light => hm2_7i76e.0.7i76e.0.0.output-02 <= qtpyvcp.light" in my postgui_hal. Unfortunately, that didn't work.
And can you help me here ->
However, I don't know how to link the light switch to the output of my Mesa 7i76e. I tried to implement "net light => hm2_7i76e.0.7i76e.0.0.output-02 <= qtpyvcp.light" in my postgui_hal. Unfortunately, that didn't work.
Last edit: 21 Feb 2026 12:51 by DerKlotz.
Please Log in or Create an account to join the conversation.
- Lcvette
-
- Away
- Moderator
-
Less
More
- Posts: 1578
- Thank you received: 740
21 Feb 2026 22:29 - 21 Feb 2026 22:33 #343284
by Lcvette
Replied by Lcvette on topic Add Buttons in Probe Basic
open a terminal and type in:
editvcp probe_basic
it will open the editor so you can see the properties. here is an image of them for reference:
Follow the sim hal and postgui hal to see the connections. note the pinbasename properties for the in gui button and the led and how the connections flow in postgui hal:
# *** Probe graphic simulation trigger push probe tip ***
net probe-in => qtpyvcp.probe-in.out
net probe-in <= qtpyvcp.probe-led.on
editvcp probe_basic
it will open the editor so you can see the properties. here is an image of them for reference:
Follow the sim hal and postgui hal to see the connections. note the pinbasename properties for the in gui button and the led and how the connections flow in postgui hal:
# *** Probe graphic simulation trigger push probe tip ***
net probe-in => qtpyvcp.probe-in.out
net probe-in <= qtpyvcp.probe-led.on
Attachments:
Last edit: 21 Feb 2026 22:33 by Lcvette.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- DerKlotz
- Offline
- Premium Member
-
Less
More
- Posts: 81
- Thank you received: 5
22 Feb 2026 12:35 #343302
by DerKlotz
Replied by DerKlotz on topic Add Buttons in Probe Basic
I can open probe_basic now and QT Designer starts. The sidebar here shows many more options then on the sidebar when i open template_main-ui. I don´t have these QtPyVCP Widgets. So QtPyVCP it is probably not installed.
So i tried to install it like shown here www.qtpyvcp.com/install/pypi_install.html . I installed the Prerequisites and did "python3 -m pip install qtpyvcp"
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.11/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
Then i tried
sudo apt install python3-qtpyvcp
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-qtpyvcp is already the newest version (5.1.0).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
So i tried to install it like shown here www.qtpyvcp.com/install/pypi_install.html . I installed the Prerequisites and did "python3 -m pip install qtpyvcp"
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.11/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
Then i tried
sudo apt install python3-qtpyvcp
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-qtpyvcp is already the newest version (5.1.0).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Please Log in or Create an account to join the conversation.
- Lcvette
-
- Away
- Moderator
-
Less
More
- Posts: 1578
- Thank you received: 740
22 Feb 2026 15:13 #343312
by Lcvette
Replied by Lcvette on topic Add Buttons in Probe Basic
you have a mess going on there. if you were installing per the probe basic docs then it would have looked exactly as what i showed above, that is from a very simple apt installation. you seem to be making this much harder on yourself than it should be. i would remove everything and reinstall from scratch using apt only, be sure to purge all installations you may have installed per the docs on how to do that that you used to install. hat goes for both probe basic and qtpyvcp.
once done you ONLY edit while running:
editvcp probe_basic
this goes for when you edit anything including the user sidebar, the user tabs, user buttons etc. this opens probe basic in qtdesigner and qtpyvcp so all of the existing custom widgets are available.
DO NOT EDIT THE PROBE BASIC SCREEN or it will break you apt update ability.
only run it to startup qtpyvcp with full functionality.
once done you ONLY edit while running:
editvcp probe_basic
this goes for when you edit anything including the user sidebar, the user tabs, user buttons etc. this opens probe basic in qtdesigner and qtpyvcp so all of the existing custom widgets are available.
DO NOT EDIT THE PROBE BASIC SCREEN or it will break you apt update ability.
only run it to startup qtpyvcp with full functionality.
Please Log in or Create an account to join the conversation.
- DerKlotz
- Offline
- Premium Member
-
Less
More
- Posts: 81
- Thank you received: 5
25 Feb 2026 14:41 - 25 Feb 2026 14:58 #343467
by DerKlotz
Replied by DerKlotz on topic Add Buttons in Probe Basic
Hello and sorry for the late reply. I got a new PC yesterday and i finished to do the Debian 12 installation right now.
I followed the Probe Basic Stable docs...
I stuck on step 3 now
cd ~
cd Downloads
sudo dpkg -i linuxcnc-uspace_2.9.8_amd64.deb
These are my errors now... Python not installed? If yes how do i install it via Terminal?
Reading database ... 129701 files and directories currently installed.)
Preparing to unpack linuxcnc-uspace_2.9.8_amd64.deb ...
Unpacking linuxcnc-uspace (1:2.9.8) over (1:2.9.8) ...
dpkg: dependency problems prevent configuration of linuxcnc-uspace:
linuxcnc-uspace depends on libboost-python1.74.0 (>= 1.74.0+ds1); however:
Package libboost-python1.74.0 is not installed.
linuxcnc-uspace depends on libboost-python1.74.0-py311; however:
Package libboost-python1.74.0-py311 is not installed.
linuxcnc-uspace depends on libgpiod2 (>= 1.5.1); however:
Package libgpiod2 is not installed.
linuxcnc-uspace depends on libmodbus5 (>= 3.1.4); however:
Package libmodbus5 is not installed.
linuxcnc-uspace depends on libtk8.6 (>= 8.6.0); however:
Package libtk8.6 is not installed.
linuxcnc-uspace depends on libudev-dev; however:
Package libudev-dev is not installed.
linuxcnc-uspace depends on iptables; however:
Package iptables is not installed.
linuxcnc-uspace depends on blt; however:
Package blt is not installed.
linuxcnc-uspace depends on mesa-utils; however:
Package mesa-utils is not installed.
linuxcnc-uspace depends on python3-tk; however:
Package python3-tk is not installed.
linuxcnc-uspace depends on python3-numpy; however:
Package python3-numpy is not installed.
linuxcnc-uspace depends on python3-opengl; however:
Package python3-opengl is not installed.
linuxcnc-uspace depends on python3-configobj; however:
Package python3-configobj is not installed.
linuxcnc-uspace depends on python3-xlib; however:
Package python3-xlib is not installed.
linuxcnc-uspace depends on libgtksourceview-4-dev; however:
Package libgtksourceview-4-dev is not installed.
linuxcnc-uspace depends on tcl8.6; however:
Package tcl8.6 is not installed.
linuxcnc-uspace depends on tk8.6; however:
Package tk8.6 is not installed.
linuxcnc-uspace depends on bwidget (>= 1.7); however:
Package bwidget is not installed.
linuxcnc-uspace depends on tclreadline; however:
Package tclreadline is not installed.
linuxcnc-uspace depends on tclx; however:
Package tclx is not installed.
linuxcnc-uspace depends on python3-pyqt5; however:
Package python3-pyqt5 is not installed.
linuxcnc-uspace depends on python3-pyqt5.qsci; however:
Package python3-pyqt5.qsci is not installed.
linuxcnc-uspace depends on python3-pyqt5.qtsvg; however:
Package python3-pyqt5.qtsvg is not installed.
linuxcnc-uspace depends on python3-pyqt5.qtopengl; however:
Package python3-pyqt5.qtopengl is not installed.
linuxcnc-uspace depends on python3-opencv; however:
Package python3-opencv is not installed.
linuxcnc-uspace depends on python3-espeak; however:
Package python3-espeak is not installed.
linuxcnc-uspace depends on python3-dbus.mainloop.pyqt5; however:
Package python3-dbus.mainloop.pyqt5 is not installed.
linuxcnc-uspace depends on python3-pyqt5.qtwebengine | python3-pyqt5.qtwebkit; however:
Package python3-pyqt5.qtwebengine is not installed.
Package python3-pyqt5.qtwebkit is not installed.
linuxcnc-uspace depends on espeak-ng; however:
Package espeak-ng is not installed.
linuxcnc-uspace depends on pyqt5-dev-tools; however:
Package pyqt5-dev-tools is not installed.
linuxcnc-uspace depends on gstreamer1.0-tools; however:
Package gstreamer1.0-tools is not installed.
linuxcnc-uspace depends on espeak; however:
Package espeak is not installed.
linuxcnc-uspace depends on python3-poppler-qt5; however:
Package python3-poppler-qt5 is not installed.
linuxcnc-uspace depends on psmisc; however:
Package psmisc is not installed.
dpkg: error processing package linuxcnc-uspace (--install):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.36-9+deb12u13) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for shared-mime-info (2.2-1) ...
Errors were encountered while processing:
linuxcnc-uspace
I followed the Probe Basic Stable docs...
I stuck on step 3 now
cd ~
cd Downloads
sudo dpkg -i linuxcnc-uspace_2.9.8_amd64.deb
These are my errors now... Python not installed? If yes how do i install it via Terminal?
Reading database ... 129701 files and directories currently installed.)
Preparing to unpack linuxcnc-uspace_2.9.8_amd64.deb ...
Unpacking linuxcnc-uspace (1:2.9.8) over (1:2.9.8) ...
dpkg: dependency problems prevent configuration of linuxcnc-uspace:
linuxcnc-uspace depends on libboost-python1.74.0 (>= 1.74.0+ds1); however:
Package libboost-python1.74.0 is not installed.
linuxcnc-uspace depends on libboost-python1.74.0-py311; however:
Package libboost-python1.74.0-py311 is not installed.
linuxcnc-uspace depends on libgpiod2 (>= 1.5.1); however:
Package libgpiod2 is not installed.
linuxcnc-uspace depends on libmodbus5 (>= 3.1.4); however:
Package libmodbus5 is not installed.
linuxcnc-uspace depends on libtk8.6 (>= 8.6.0); however:
Package libtk8.6 is not installed.
linuxcnc-uspace depends on libudev-dev; however:
Package libudev-dev is not installed.
linuxcnc-uspace depends on iptables; however:
Package iptables is not installed.
linuxcnc-uspace depends on blt; however:
Package blt is not installed.
linuxcnc-uspace depends on mesa-utils; however:
Package mesa-utils is not installed.
linuxcnc-uspace depends on python3-tk; however:
Package python3-tk is not installed.
linuxcnc-uspace depends on python3-numpy; however:
Package python3-numpy is not installed.
linuxcnc-uspace depends on python3-opengl; however:
Package python3-opengl is not installed.
linuxcnc-uspace depends on python3-configobj; however:
Package python3-configobj is not installed.
linuxcnc-uspace depends on python3-xlib; however:
Package python3-xlib is not installed.
linuxcnc-uspace depends on libgtksourceview-4-dev; however:
Package libgtksourceview-4-dev is not installed.
linuxcnc-uspace depends on tcl8.6; however:
Package tcl8.6 is not installed.
linuxcnc-uspace depends on tk8.6; however:
Package tk8.6 is not installed.
linuxcnc-uspace depends on bwidget (>= 1.7); however:
Package bwidget is not installed.
linuxcnc-uspace depends on tclreadline; however:
Package tclreadline is not installed.
linuxcnc-uspace depends on tclx; however:
Package tclx is not installed.
linuxcnc-uspace depends on python3-pyqt5; however:
Package python3-pyqt5 is not installed.
linuxcnc-uspace depends on python3-pyqt5.qsci; however:
Package python3-pyqt5.qsci is not installed.
linuxcnc-uspace depends on python3-pyqt5.qtsvg; however:
Package python3-pyqt5.qtsvg is not installed.
linuxcnc-uspace depends on python3-pyqt5.qtopengl; however:
Package python3-pyqt5.qtopengl is not installed.
linuxcnc-uspace depends on python3-opencv; however:
Package python3-opencv is not installed.
linuxcnc-uspace depends on python3-espeak; however:
Package python3-espeak is not installed.
linuxcnc-uspace depends on python3-dbus.mainloop.pyqt5; however:
Package python3-dbus.mainloop.pyqt5 is not installed.
linuxcnc-uspace depends on python3-pyqt5.qtwebengine | python3-pyqt5.qtwebkit; however:
Package python3-pyqt5.qtwebengine is not installed.
Package python3-pyqt5.qtwebkit is not installed.
linuxcnc-uspace depends on espeak-ng; however:
Package espeak-ng is not installed.
linuxcnc-uspace depends on pyqt5-dev-tools; however:
Package pyqt5-dev-tools is not installed.
linuxcnc-uspace depends on gstreamer1.0-tools; however:
Package gstreamer1.0-tools is not installed.
linuxcnc-uspace depends on espeak; however:
Package espeak is not installed.
linuxcnc-uspace depends on python3-poppler-qt5; however:
Package python3-poppler-qt5 is not installed.
linuxcnc-uspace depends on psmisc; however:
Package psmisc is not installed.
dpkg: error processing package linuxcnc-uspace (--install):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.36-9+deb12u13) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for shared-mime-info (2.2-1) ...
Errors were encountered while processing:
linuxcnc-uspace
Last edit: 25 Feb 2026 14:58 by DerKlotz.
Please Log in or Create an account to join the conversation.
Moderators: KCJ, Lcvette
Time to create page: 0.211 seconds