component compile problem
20 Apr 2018 23:42 #109361
by JR1050
Replied by JR1050 on topic component compile problem
When you get halcompile working, I'd be more then happy to help you with your component. I've done several lathe turrets and a couple tool changers. Single direction lathe turrets are easy There is an older book called " C Through design " , it is a very good easy to follow text. Check it out.
The following user(s) said Thank You: Skidloaders1
Please Log in or Create an account to join the conversation.
21 Apr 2018 16:08 #109399
by andypugh
Replied by andypugh on topic component compile problem
You don't need a custom component for the Wieler lathe.
I know this because I have helped make a Weiler lathe work using only the built-in "carousel" HAL component.
linuxcnc.org/docs/devel/html/man/man9/carousel.9.html
(You do need the newer version from the development branch, that has added parity pins specifically added for the Weiler)
I know this because I have helped make a Weiler lathe work using only the built-in "carousel" HAL component.
linuxcnc.org/docs/devel/html/man/man9/carousel.9.html
(You do need the newer version from the development branch, that has added parity pins specifically added for the Weiler)
The following user(s) said Thank You: Skidloaders1
Please Log in or Create an account to join the conversation.
- Skidloaders1
- Offline
- Senior Member
Less
More
- Posts: 43
- Thank you received: 2
22 Apr 2018 16:28 #109431
by Skidloaders1
Replied by Skidloaders1 on topic component compile problem
Thanks Andy
Unfortunatly
github.com/LinuxCNC/linuxcnc/blob/master...onents/carousel.comp
=> This webpage is not available
Even if i could have downloaded it, not sure where to insert it
but we want give up
Unfortunatly
github.com/LinuxCNC/linuxcnc/blob/master...onents/carousel.comp
=> This webpage is not available
Even if i could have downloaded it, not sure where to insert it
but we want give up
Please Log in or Create an account to join the conversation.
22 Apr 2018 18:47 #109442
by andypugh
Replied by andypugh on topic component compile problem
Odd, the link works for me.
But I have attached the file.Should install the new version on your system.
(But you will need to figure out your halcompile problems first)
But I have attached the file.
sudo halcpmpile --install carousel.comp
(But you will need to figure out your halcompile problems first)
Please Log in or Create an account to join the conversation.
- Skidloaders1
- Offline
- Senior Member
Less
More
- Posts: 43
- Thank you received: 2
23 Apr 2018 15:27 #109493
by Skidloaders1
Replied by Skidloaders1 on topic component compile problem
Tx Andy Link is working now. Halcompile is still not.
must the .comp file be compiled from a specific folder ?
rgds Wilfried
must the .comp file be compiled from a specific folder ?
rgds Wilfried
Please Log in or Create an account to join the conversation.
23 Apr 2018 18:44 #109500
by andypugh
Replied by andypugh on topic component compile problem
No, halcompile can be run from anywhere. But the comp file must be in the path from where the command is run.
Please Log in or Create an account to join the conversation.
23 Apr 2018 18:59 #109502
by andypugh
Seems to show that Halcompile is running, but is not able to split the .comp file into two parts at the ";;" token.
Is it possible that something in your toolchain is inserting DOS or Mac style line endings? it is looking for the character sequence "\n;;\n" which is 0A 3B 3B 0A and (for some reason) is not finding it.
docs.python.org/3/library/stdtypes.html#str.split
It could, possibly, be a localisation issue. Perhaps your system is using . as an item separator and , as a decimal separator? Though this would probably give a different error.
Replied by andypugh on topic component compile problem
a, b = f.split("\n;;\n", 1)
ValueError: need more than 1 value to unpack
Seems to show that Halcompile is running, but is not able to split the .comp file into two parts at the ";;" token.
Is it possible that something in your toolchain is inserting DOS or Mac style line endings? it is looking for the character sequence "\n;;\n" which is 0A 3B 3B 0A and (for some reason) is not finding it.
docs.python.org/3/library/stdtypes.html#str.split
It could, possibly, be a localisation issue. Perhaps your system is using . as an item separator and , as a decimal separator? Though this would probably give a different error.
Please Log in or Create an account to join the conversation.
- Skidloaders1
- Offline
- Senior Member
Less
More
- Posts: 43
- Thank you received: 2
29 Apr 2018 12:09 #109796
by Skidloaders1
Replied by Skidloaders1 on topic component compile problem
Thanks Andy for your great "carousel" script.
Only managed to compile some files so far.
HAL component generator examples working =
atanxy.comp - ddt - arraydemo - rand
also
oracchanger.comp from ArcEye
triacchanger.comp from ArcEye
HAL component generator examples NOT working with the usuall errors
out8.comp constant.comp
many others of various sources.
I took working files as an examples - copied and pasted all sort of lines to the ones not working.
rewrote portions etc.. on 3 different machines of mine
still have no clue what's going on
Only managed to compile some files so far.
HAL component generator examples working =
atanxy.comp - ddt - arraydemo - rand
also
oracchanger.comp from ArcEye
triacchanger.comp from ArcEye
HAL component generator examples NOT working with the usuall errors
out8.comp constant.comp
many others of various sources.
I took working files as an examples - copied and pasted all sort of lines to the ones not working.
rewrote portions etc.. on 3 different machines of mine
still have no clue what's going on
Please Log in or Create an account to join the conversation.
- Skidloaders1
- Offline
- Senior Member
Less
More
- Posts: 43
- Thank you received: 2
29 Apr 2018 14:21 #109803
by Skidloaders1
Replied by Skidloaders1 on topic component compile problem
Found the problem.
Visited a fellow South African CNC club member , Henk Du Preez.
He compiled carousel.comp from my USB stick - > did not compile
Downloaded file from the net, straight on his machine -> everything went OKI DOKI
Long story short -> I previously installed Google within Iceweasel search engine, because Google is familiar to me.
When I used the Iceweasel search bar instead and downloaded carousel.comp -> compiled ==>
regards
Wilfried
Visited a fellow South African CNC club member , Henk Du Preez.
He compiled carousel.comp from my USB stick - > did not compile
Downloaded file from the net, straight on his machine -> everything went OKI DOKI
Long story short -> I previously installed Google within Iceweasel search engine, because Google is familiar to me.
When I used the Iceweasel search bar instead and downloaded carousel.comp -> compiled ==>
regards
Wilfried
Please Log in or Create an account to join the conversation.
29 Apr 2018 18:19 #109813
by andypugh
Replied by andypugh on topic component compile problem
Well that's odd!
Please Log in or Create an account to join the conversation.
Time to create page: 0.139 seconds