- Configuring LinuxCNC
- Advanced Configuration
- Linuxcnc show linuxcnc-error window when close my gui app
Linuxcnc show linuxcnc-error window when close my gui app
- bkt
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1200
- Thank you received: 102
28 Nov 2024 23:20 - 30 Nov 2024 15:19 #315496
by bkt
Linuxcnc show linuxcnc-error window when close my gui app was created by bkt
I use a sim 1 axis only and classic ladder ... with ridicolous realtime of 8ms. My app works perfect ... but never understand how can stop linuxcnc-error windows show when close app ... sim causes usermot-error ... but simply is annoing see these error windows ... there are a way to eliminate it? ... when stop the gui ... after I call "hal_exit(comp_id);" .... and after I clean CMD , STAT channel previosly open .... So ask if there is a way to not show that error windows whitout eliminate the call from .tk or .py file of linuxcnc axis.
regards
regards
Last edit: 30 Nov 2024 15:19 by bkt.
Please Log in or Create an account to join the conversation.
- bkt
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1200
- Thank you received: 102
29 Nov 2024 21:52 #315590
by bkt
Replied by bkt on topic Linuxcnc show linuxcnc-error window when close my gui app
i read noe @pcw reply ..... USRMOT: ERROR: command 30 timeout
emcMotionInit: emcTrajInit failed ...... is a current bugs of 2.10 master ... someone know if actually is solved? think II use a 4 month ago version of 2.10.0 ....
regards
emcMotionInit: emcTrajInit failed ...... is a current bugs of 2.10 master ... someone know if actually is solved? think II use a 4 month ago version of 2.10.0 ....
regards
Please Log in or Create an account to join the conversation.
- bkt
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1200
- Thank you received: 102
30 Nov 2024 15:18 #315656
by bkt
Replied by bkt on topic Linuxcnc show linuxcnc-error window when close my gui app
not know .tlc file programming ... but seems if we filter that messages that seems a bug ... we can eliminate error Lcnc windows at the end.
We can create debug_file or report_file in any folder if we would .... personally for now i add these at end of file:
my modify file ... only as example and for sure all can do these in better way ... personally is first time in these things ... so undersatnd me ...
in attach my file located on : /lib/tcltk/linuxcnc/show_errors.tcl
We can create debug_file or report_file in any folder if we would .... personally for now i add these at end of file:
# Open the info file
%readfile("$info_file", "file_content")
# Check if the file contains the word USERMOT
if (contains(file_content, "USRMOT: ERROR: command 30 timeout"))
# Found USERMOT, destroy immediately
{destroy .}
else
# Wait for 40 seconds before destroying
wait 40s
{destroy .}
endif
my modify file ... only as example and for sure all can do these in better way ... personally is first time in these things ... so undersatnd me ...
in attach my file located on : /lib/tcltk/linuxcnc/show_errors.tcl
Attachments:
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- Linuxcnc show linuxcnc-error window when close my gui app
Time to create page: 0.046 seconds