Preference File

More
02 May 2020 14:37 - 02 May 2020 14:38 #166411 by hottabich
Replied by hottabich on topic Preference File
I created a probe sim button in the interface, run the probe_screen tool
moves a little to the side and goes down to the probe-in signal does not respond. Motion probe-in in hal_show activen. You can add qtdragon.probesim_button to qtdragon_posthui.hal net btn_probesim motion.probe-input and check.
Yes, and push_button named probe sim. Thank you for the attention.
Attachments:
Last edit: 02 May 2020 14:38 by hottabich.

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

More
02 May 2020 22:40 #166439 by persei8
Replied by persei8 on topic Preference File
When you click a probing action button, does it return right away with :
[QtDesigner.QTVCP.QT_ACTION][ERROR] Oword RCS Error = # 1 (qt_action.py:182)

[ERROR] Probe routine returned with error

If so, make sure the tool in spindle is the same as specified in Probe Tool in the probing widget. I have to work on making this error more meaningful.
If the right tool is loaded, try setting the Step Off and Edge Widths to a large number (or probing velocities to a small number) so you have time to see the DRO move. This gives you time to click the probe sim button before it errors out.
If you're not seeing these errors, you will need to elaborate more on exactly what it is doing.
The following user(s) said Thank You: hottabich

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

More
03 May 2020 03:52 - 03 May 2020 04:29 #166466 by hottabich
Replied by hottabich on topic Preference File
There is no mistake. It just does not respond to motion probe-in. Tool is coming
You can press the button very slowly dozens of times. Everything stops at
Z value = -9.957.
Attachments:
Last edit: 03 May 2020 04:29 by hottabich.

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

More
03 May 2020 16:07 #166512 by persei8
Replied by persei8 on topic Preference File
The only clue I see is QtDesigner.QTVCP.QT_ACTION - ERROR - Oword timeout oast () Error = # 60 which means that the OWORD call timed out before completing. The OWORD call allows 60 seconds before timing out so so you have to set the probe velocities high enough to allow it to travel the required distances within 60 seconds. For safety, the move along Z occurs at probe speed rather than rapid speed. While it is travelling down to probe depth, the probe-input will have no effect. Try increasing probe rapid velocity to 200 and probe feed to 50.

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

More
03 May 2020 18:25 - 03 May 2020 18:26 #166520 by hottabich
Replied by hottabich on topic Preference File
Thank you so much! This is how it works. I have never used such
functions. I understand in which direction to go.
Last edit: 03 May 2020 18:26 by hottabich.

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

More
08 May 2020 12:54 #167040 by hottabich
Replied by hottabich on topic Preference File
Jim, please tell me how you implement this in mesa 7i96. If possible please share the file.
Attachments:

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

More
09 May 2020 00:36 #167094 by persei8
Replied by persei8 on topic Preference File
That is exactly how I have it in my qtdragon_postgui.hal file. It's not related to the 7i96. Make sure you have the right num_aio in your qtdragon.hal file.
# motion controller
loadrt motmod servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=4 num_aio=13
The following user(s) said Thank You: hottabich

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

More
09 May 2020 06:29 #167105 by hottabich
Replied by hottabich on topic Preference File
loadrt motmod servo_period_nsec = [EMCMOT] SERVO_PERIOD num_joints = 4 num_aio = 13. I added it to linux_mesa7i96.hal and the mesa7i96 card worked
with QtDragon interface. Thank you for your hard work.

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

More
21 May 2020 16:31 - 21 May 2020 16:32 #168499 by hottabich
Replied by hottabich on topic Preference File

Obviously I wasn't subscribed to this topic since I just now saw your reply. Anyway, I currently have 2 buttons for loading files, one for gcode and one for html. They instantiate a QDialog and all works well. However, I will try the method you suggest and report back.
Jim

Hello! Please tell me how to add a button to view the html file? Thank!
Last edit: 21 May 2020 16:32 by hottabich.

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

More
21 May 2020 16:50 #168500 by persei8
Replied by persei8 on topic Preference File
First, you have to install pyQtWebKit:

pip install pyQtWebKit

As for the rest, the qtdragon source code is now at github.com/persei802/QtDragon
The following user(s) said Thank You: tommylight, hottabich

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

Moderators: cmorley
Time to create page: 0.182 seconds
Powered by Kunena Forum