Qtaxis and probing
20 Apr 2023 17:11 #269494
by Roguish
Qtaxis and probing was created by Roguish
So, transitioning an old BP mill from axis to qtaxis. Had to update linuxcnc from 2.7 to 2.9pre.....
I see panels available to include in qtaxis.
Could someone make a panel for versa_probe.ui ??? and the necessary handler file (if necessary)....
and include them in the distributed panels in /usr/share/ptvcp/panels ????
I've made a panel by copying the test_probe panel and deleting the button, adding the versa_probe widget, and renaming to versa_probe_panel.
Added it to the [DISPLAY] section. It starts up but fails. No clue what the handler file needs to be.....
attached here is the qtaxis.ini and the output from running it in a cmd terminal - shows the errors.
even if I could figure this out, I really don't want any custom panel of my own. Much better to just add a few lines in the .ini [DISPLAY] section and maybe a few more lines......... that way it always gets updated as required.....
thanks.
I see panels available to include in qtaxis.
Could someone make a panel for versa_probe.ui ??? and the necessary handler file (if necessary)....
and include them in the distributed panels in /usr/share/ptvcp/panels ????
I've made a panel by copying the test_probe panel and deleting the button, adding the versa_probe widget, and renaming to versa_probe_panel.
Added it to the [DISPLAY] section. It starts up but fails. No clue what the handler file needs to be.....
attached here is the qtaxis.ini and the output from running it in a cmd terminal - shows the errors.
even if I could figure this out, I really don't want any custom panel of my own. Much better to just add a few lines in the .ini [DISPLAY] section and maybe a few more lines......... that way it always gets updated as required.....
thanks.
Please Log in or Create an account to join the conversation.
20 Apr 2023 21:48 #269524
by cmorley
Replied by cmorley on topic Qtaxis and probing
I pushed a new panel versaprobe.
It was already on my computer - but I have not actually tested it integrated with qtaxis
i might point out versaprobe is already available in qtaxis as a popup panel - select it from drop down menu.
It was already on my computer - but I have not actually tested it integrated with qtaxis
i might point out versaprobe is already available in qtaxis as a popup panel - select it from drop down menu.
The following user(s) said Thank You: Roguish
Please Log in or Create an account to join the conversation.
20 Apr 2023 22:51 #269529
by Roguish
Replied by Roguish on topic Qtaxis and probing
I will look at them both. and let you know how they are....
thanks
thanks
Please Log in or Create an account to join the conversation.
21 Apr 2023 15:51 #269560
by Roguish
Replied by Roguish on topic Qtaxis and probing
OK, tried it, still get errors.
Did a new install from buildbot2 (seb's repository : buildbot2.highlab.com)
checked and the latest deb includes your addition...cool.
see the files attached. one is the cmd terminal output, other is the qtaxis.ini
Questions: what should the EMBED_TAB_COMMAND line actually be? exactly? document reference?
also, I see the 'view tooltable' and 'view Origintable' in the File tab, and they both come up with panel.
so, same request. How about making panel files for the tooltable and origintable??? would be very handy to make as embed tabs.
Did a new install from buildbot2 (seb's repository : buildbot2.highlab.com)
checked and the latest deb includes your addition...cool.
see the files attached. one is the cmd terminal output, other is the qtaxis.ini
Questions: what should the EMBED_TAB_COMMAND line actually be? exactly? document reference?
also, I see the 'view tooltable' and 'view Origintable' in the File tab, and they both come up with panel.
so, same request. How about making panel files for the tooltable and origintable??? would be very handy to make as embed tabs.
Please Log in or Create an account to join the conversation.
21 Apr 2023 22:48 #269585
by cmorley
Replied by cmorley on topic Qtaxis and probing
try the -c option to change the component name or the panel.
linuxcnc.org/docs/2.9/html/gui/qtvcp.html#_ini_settings
You could try your hand at making panels yourself.
It will be at least a couple weeks before I can put any real time on linuxcnc.
linuxcnc.org/docs/2.9/html/gui/qtvcp.html#_ini_settings
You could try your hand at making panels yourself.
It will be at least a couple weeks before I can put any real time on linuxcnc.
The following user(s) said Thank You: Roguish
Please Log in or Create an account to join the conversation.
21 Apr 2023 23:49 #269587
by phillc54
Replied by phillc54 on topic Qtaxis and probing
The error seems to be:Which is to be expected if you try to load versa probe in a config that already has versa probe loaded.
I edited the qtaxis.ui file and changed the following true to false:And after using the embedding commands from your ini file this is the result:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qtvcp/core.py", line 154, in newpin
p = QPin(_hal.component.newpin(self.comp, *a, **kw))
ValueError: Duplicate pin name 'enable'
I edited the qtaxis.ui file and changed the following true to false:
<property name="versaProbeDialog_option" stdset="0">
<bool>[b]true[/b]</bool>
</property>
Attachments:
The following user(s) said Thank You: Roguish
Please Log in or Create an account to join the conversation.
22 Apr 2023 00:32 #269588
by cmorley
Replied by cmorley on topic Qtaxis and probing
That's a better way for sure. Thanks Phill
The following user(s) said Thank You: Roguish
Please Log in or Create an account to join the conversation.
22 Apr 2023 14:58 #269605
by Roguish
Replied by Roguish on topic Qtaxis and probing
well, I can try an make the panel ui's, it's the handler files that I can't handle.... if they take simple generic handler files, like the one you included with the versaprobe.ui panel, then it's easy copy and rename...
A little more pressing issue is that on my new install on my mill, I had to run the qtvcp install script to get anything to run, as it was not installed via the linuxcnc deb I used. the deb file was from Seb's buildbot2, so maybe this is a Seb question/issue.
Probing....
in the qtdragon section of the docs, section 12. Probing, section 12.1 is Basic Probe, but there is no section on VersaProbe. In particular, what the heck are the 'Adj Offset' fields and what are they used for? I have used Probe_Screen by Vers and those factors aren't in it.....a little documentation would help.
And, how about a calibration routine for both Basic Probe and Versa Probe. Several other UI's have one...
A little more pressing issue is that on my new install on my mill, I had to run the qtvcp install script to get anything to run, as it was not installed via the linuxcnc deb I used. the deb file was from Seb's buildbot2, so maybe this is a Seb question/issue.
Probing....
in the qtdragon section of the docs, section 12. Probing, section 12.1 is Basic Probe, but there is no section on VersaProbe. In particular, what the heck are the 'Adj Offset' fields and what are they used for? I have used Probe_Screen by Vers and those factors aren't in it.....a little documentation would help.
And, how about a calibration routine for both Basic Probe and Versa Probe. Several other UI's have one...
Please Log in or Create an account to join the conversation.
22 Apr 2023 14:59 #269606
by Roguish
Replied by Roguish on topic Qtaxis and probing
Is Phill's change something you can push? would be helpful, and fairly easy.....
Please Log in or Create an account to join the conversation.
23 Apr 2023 08:04 - 23 Apr 2023 08:05 #269675
by cmorley
Replied by cmorley on topic Qtaxis and probing
Phill's change make the pop-up version not work.
Why was the pop-up version not to your liking?
Versa probe is based on vers probe version2. I believe that the adjustment just adds an direct offset. I am not sure if the purpose. Have you read the help dialog. It's pretty terse but that is all I found.
I didn't make either probe basic or versa probe. Jim made one and I adapted one. Jim worked on both to consolidate the code.
I don't know what calibration entails.
I'm sure that won't happen for 2.9
Why was the pop-up version not to your liking?
Versa probe is based on vers probe version2. I believe that the adjustment just adds an direct offset. I am not sure if the purpose. Have you read the help dialog. It's pretty terse but that is all I found.
I didn't make either probe basic or versa probe. Jim made one and I adapted one. Jim worked on both to consolidate the code.
I don't know what calibration entails.
I'm sure that won't happen for 2.9
Last edit: 23 Apr 2023 08:05 by cmorley.
The following user(s) said Thank You: Roguish
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.157 seconds