Probe_basic issues

More
08 Jun 2021 09:57 #211492 by mightymike
Hi I'm Michael and new to LinuxCNC.

Formely I worked with MPCNC with Estlcam. Now I'm building up a Sorotec CompactLine0605, named Helena. (so pretty everybody wants her!)
For my Touchscreen I decided to run Probe Basic. But there are some questions:

1. Probe Basic comes up with the Conversational Tab but I want to start with the File Tab. How is that done?
2. The Touch off current tool button works with my file helena.var. The parameters #5181, #5182, #5183 represents the toolsensor position x,y,z. But which parameter represents the height of my toolsensor (40mm)? I couldn`t figure it out.

Thanx
mightymike

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

More
09 Jun 2021 23:01 #211653 by BigJohnT
Replied by BigJohnT on topic Probe_basic issues
As soon as you figure out the name of the qtabwidet you can set it in the main python file with

self.tabWidget.setCurrentIndex(index)

JT

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

More
10 Jun 2021 13:53 - 10 Jun 2021 13:54 #211700 by mightymike
Replied by mightymike on topic Probe_basic issues
Hi John,

thank you for your reply.
I have the Debian-RT-2.8 image from LinuxCNC.org installed. Probe_basic is preinstalled in that image.
Do you mean with the main python file /usr/bin/qtvcp?

But there is no variable tabWidget in that script. Where can I put your suggested line in? Where do I find the index for the special tab?

And do you have an idea for my other question - toolsensor height?

Greetz from Germany
Mike
Last edit: 10 Jun 2021 13:54 by mightymike.

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

More
10 Jun 2021 15:22 - 10 Jun 2021 15:24 #211708 by BigJohnT
Replied by BigJohnT on topic Probe_basic issues
Are you using qtvcp or qtpyvcp? They are different programs.

I don't know where probe basic is installed but in the mainwindow.py file is where you could set the current tab if they used the standard name. You would need to open the .ui file in designer to see what the tab widget name is.

Edit: looks like they called it probe_basic.py
github.com/kcjengr/probe_basic/blob/mast...basic/probe_basic.py

JT
Last edit: 10 Jun 2021 15:24 by BigJohnT.

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

More
10 Jun 2021 17:15 #211718 by mightymike
Replied by mightymike on topic Probe_basic issues
Y E S !!
Thank you John! You're great! So many hours...

I found it under ~/.local/lib/python2.7/site-packages/probe_basic/probe_basic.ui
In line 239:
<property name="currentIndex">
<number>7</number> *** where 7 is the conversational_tab. I changed it to 1 (main_tab)

Many thanks
Mike

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

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