QtDragon_hd + Basic Probe - probing results not displayed
- AMLD
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
06 Apr 2025 11:50 - 06 Apr 2025 11:56 #325809
by AMLD
QtDragon_hd + Basic Probe - probing results not displayed was created by AMLD
Hi guys,
after performing probing (with Basic Probe routine), the results are not displayed in the GUI immediately. The results appear only after pressing the probing button again. Additionally, the values from the previous probing are still displayed each time a new probing is performed.It seems that the GUI is not being updated properly to reflect the new probing results.I am using the QtDragon_HD GUI with the Basic Probe routine. After performing several tests, the current situation is as follows:
Could this be caused by a synchronization issue between the Basic Probe widget and the measurement subroutine?
Thanks a lot!
after performing probing (with Basic Probe routine), the results are not displayed in the GUI immediately. The results appear only after pressing the probing button again. Additionally, the values from the previous probing are still displayed each time a new probing is performed.It seems that the GUI is not being updated properly to reflect the new probing results.I am using the QtDragon_HD GUI with the Basic Probe routine. After performing several tests, the current situation is as follows:
- If you press the button for Z-axis height probing (probe down routine), the probe starts moving. If you change the feedrate or rapid override potentiometer value during this movement, the program does not wait for the probing to finish, but instead immediately displays the previously measured value in the table (in the case of the first probing, it shows 0).
- If you press the button for Z-axis height probing (probe down routine), the probe starts moving. If you don’t change the feedrate or rapid override potentiometer value during this movement, the program waits for the probing to finish, and only after successful probing does the value in the table update — however, once again it shows the previously measured value (or 0 in the case of the first probing)
Could this be caused by a synchronization issue between the Basic Probe widget and the measurement subroutine?
Thanks a lot!
Last edit: 06 Apr 2025 11:56 by AMLD.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7883
- Thank you received: 2131
06 Apr 2025 23:43 #325844
by cmorley
Replied by cmorley on topic QtDragon_hd + Basic Probe - probing results not displayed
Can you post your config files?
Please Log in or Create an account to join the conversation.
- AMLD
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
09 Apr 2025 06:41 - 09 Apr 2025 07:13 #325962
by AMLD
Replied by AMLD on topic QtDragon_hd + Basic Probe - probing results not displayed
Okay, I will also make a video about what's happening and post it
Last edit: 09 Apr 2025 07:13 by AMLD.
Please Log in or Create an account to join the conversation.
- AMLD
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
17 Apr 2025 19:06 - 18 Apr 2025 07:18 #326540
by AMLD
Replied by AMLD on topic QtDragon_hd + Basic Probe - probing results not displayed
@cmorley
I’m attaching a video showing the Z-axis height measurement in the QtDragon GUI using the Basic Probe.
Note: For debugging and troubleshooting purposes, I made two modifications in my case:
Additional note: If the feedrate value does not change during the first measurement, it doesn’t affect the measurement itself. Even in that case, the first displayed Z-axis measurement value will be 0.
I hope I explained everything clearly
EDIT: added config files:
I’m attaching a video showing the Z-axis height measurement in the QtDragon GUI using the Basic Probe.
Note: For debugging and troubleshooting purposes, I made two modifications in my case:
- The probe_down function (in probe_routines.py) was adjusted to perform a single-touch measurement because of time.
- In the parse_input function (in basic_probe.py), a message was added in the "COMPLETE" section, which appears in the top right corner of the window. This message should appear after a successful measurement.
- In the first measurement, a debug message popped up immediately after starting the probing, caused by a change in the feedrate value via the potentiometer — I consider this behavior undesirable. At that moment, the Z-axis measurement value was immediately updated to 0, and nothing else happened afterward.
- In the second measurement, the feedrate value changed again during the measurement, and right after this change, the Z-axis value from the first measurement was updated.
- In the third measurement, I set the potentiometer so that its value would not change spontaneously during the measurement. The measurement went smoothly, and the Z-axis value was updated only after the Z-axis returned to its start position. However, this value was already delayed since the first measurement.
Additional note: If the feedrate value does not change during the first measurement, it doesn’t affect the measurement itself. Even in that case, the first displayed Z-axis measurement value will be 0.
I hope I explained everything clearly
EDIT: added config files:
Attachments:
Last edit: 18 Apr 2025 07:18 by AMLD.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7883
- Thank you received: 2131
20 Apr 2025 20:42 #326774
by cmorley
Replied by cmorley on topic QtDragon_hd + Basic Probe - probing results not displayed
I see you are missing the abort INI entry:
linuxcnc.org/docs/stable/html/gui/qtdrag...tml#_abort_detection
This is how the probing routines detect errors.
Please add it and the file it requires and try the probing again.
linuxcnc.org/docs/stable/html/gui/qtdrag...tml#_abort_detection
This is how the probing routines detect errors.
Please add it and the file it requires and try the probing again.
Please Log in or Create an account to join the conversation.
- AMLD
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
27 Apr 2025 08:41 - 27 Apr 2025 08:43 #327133
by AMLD
Replied by AMLD on topic QtDragon_hd + Basic Probe - probing results not displayed
I have added the missing part to the INI file and change basic_probe.py, probe_routines.py and probe_subprog.py to the original files from v2.9 from github.
After performing additional measurements, it appears that the issue of bad synchronization between the measurement process and data updating in the widget mainly occurs when the feedrate value changes during probing. If the value remains stable throughout the measurement, the probe measurement cycle completes correctly.
The video shows four consecutive measurements:
After performing additional measurements, it appears that the issue of bad synchronization between the measurement process and data updating in the widget mainly occurs when the feedrate value changes during probing. If the value remains stable throughout the measurement, the probe measurement cycle completes correctly.
The video shows four consecutive measurements:
- The first measurement was completed without issues.
- In the second measurement –> at 37 seconds in the video, the feedrate oscillate from 52% to 51% and back during the probe measurement, after which the value in the table for the Z axis changed. However, the measurement had not yet been completed.
- The third measurement –> similarly to the second, at 1:06 the feedrate oscillate from 40% to 41% (a very quick oscillation), after which the value on the axis Z changed.
- The fourth measurement was completed without issues (no feedrate oscillation).
Last edit: 27 Apr 2025 08:43 by AMLD.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7883
- Thank you received: 2131
28 Apr 2025 20:02 #327234
by cmorley
Replied by cmorley on topic QtDragon_hd + Basic Probe - probing results not displayed
I don't exactly know how it would, but there could be an explanation if the override is constantly dithering. Maybe as the python is updating the override it misses a message back from the probe routine. The probe routine and the screen sends messages back and forth at start and finish of probing.
If you run in debug mode (DISPLAY = qtvcp -d qtdragon) and run linuxcnc from a terminal, we maybe able to see the difference in commands
If you run in debug mode (DISPLAY = qtvcp -d qtdragon) and run linuxcnc from a terminal, we maybe able to see the difference in commands
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.065 seconds