Linuxcnc show linuxcnc-error window when close my gui app

More
1 year 11 months ago #315496 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

Please Log in to join the conversation.

More
1 year 11 months ago #315590 by bkt
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

Please Log in to join the conversation.

More
1 year 11 months ago #315656 by bkt
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:
Code:
# 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

 

Attachment not found

Please Log in to join the conversation.

Time to create page: 1.149 seconds
Powered by Kunena Forum