Schaublin 125-CNC retrofit.

More
6 months 3 weeks ago #345110 by RotarySMP
I tried running just the turret.comp under halrun, and have the same result as Andy. It works.
 

Attachment not found



But when I call it from my custompostgui.hal, it errors out. See attached error logs.
Cheers,
Mark
 

Please Log in to join the conversation.

More
6 months 3 weeks ago #345112 by tommylight
You still have the:
.turret.hal:1: Unknown command ''
error, there is something on the first line of that file causing the error.
Try running it through a dos/win to Linux script, might be some strange character there.

Please Log in to join the conversation.

More
6 months 3 weeks ago #345118 by andypugh

If I fall back on somehing like 2.8.4 buster ISO, do I loose your latest macros layout?
I think that it should work as long as you have GTK3

Please Log in to join the conversation.

More
6 months 3 weeks ago #345119 by RotarySMP

You still have the:
.turret.hal:1: Unknown command ''
error, there is something on the first line of that file causing the error.
Try running it through a dos/win to Linux script, might be some strange character there.

 
Yeah, I see that too.

I tried a few different ways to identify and remove strange characters, and even completely rewrote the code by hand into visual code studio. It compiles without error and runs without error in Halrun, but only fails as part of a full linuxcnc start.

Please Log in to join the conversation.

More
6 months 3 weeks ago #345120 by Aciera
Replied by Aciera on topic Schaublin 125-CNC retrofit.
Are looking at the right file? The error is in 'turret.hal' (ie the hal file) NOT 'turret.comp' (the component)

Please Log in to join the conversation.

More
6 months 3 weeks ago #345122 by tommylight

Are looking at the right file? The error is in 'turret.hal' (ie the hal file) NOT 'turret.comp' (the component)
Yes, this.

Please Log in to join the conversation.

More
6 months 3 weeks ago #345125 by RotarySMP
Oh. Doh!!!!!

Thanks a lot. I was so focused on the comp, I missed the obvious.

Please Log in to join the conversation.

More
6 months 3 weeks ago #345126 by tommylight
Blame this on me, despite me writing this a few posts back:

You still have the:
....
I was convinced the comp issue is separate from this one, and was wondering why are you testing the comp since it is not mentioned in the error report...
Should have raised a flag ... or a smoke signal, wold have probably been more useful.

Please Log in to join the conversation.

More
6 months 3 weeks ago #345127 by RotarySMP
I really needed a slap upside the head! :)

Please Log in to join the conversation.

More
6 months 3 weeks ago #345133 by tommylight
No you do/did not, i have plenty such stories where i missed things in front of me, that is normal and utterly human, especially when we deal with complicated stuff and put all our attention sometimes in the wrong place!
The thing i am consistently working on and having issues with, is get better at explaining things and get over the "typing" lazynes.

Please Log in to join the conversation.

Time to create page: 0.465 seconds
Powered by Kunena Forum