Error with new HAL file.
06 Jul 2015 22:42 #60475
by PCW
Replied by PCW on topic Error with new HAL file.
You might take a look at twopass hal parsing
This allows merging of _compatible_ loadrt statements
This allows merging of _compatible_ loadrt statements
Please Log in or Create an account to join the conversation.
06 Jul 2015 23:40 #60477
by ArcEye
That is your best option at the present.
However still requires you to know all the instances you will require at the point Linuxcnc is started, even though they can be spread over several files.
Still rules out changing or adding configs 'on the fly', because even though you can unlink, unload etc to a point, if any component is still loaded, you cannot load another instance of it.
Machinekit hal files can now be written in python, with conditional tests etc to determine which components are loaded, depending upon the machine type specified in the ini or other config files
regards
Replied by ArcEye on topic Error with new HAL file.
You might take a look at twopass hal parsing
This allows merging of _compatible_ loadrt statements
That is your best option at the present.
However still requires you to know all the instances you will require at the point Linuxcnc is started, even though they can be spread over several files.
Still rules out changing or adding configs 'on the fly', because even though you can unlink, unload etc to a point, if any component is still loaded, you cannot load another instance of it.
Machinekit hal files can now be written in python, with conditional tests etc to determine which components are loaded, depending upon the machine type specified in the ini or other config files
regards
Please Log in or Create an account to join the conversation.
- LearningLinuxCNC
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 320
- Thank you received: 48
07 Jul 2015 00:45 #60480
by LearningLinuxCNC
Replied by LearningLinuxCNC on topic Error with new HAL file.
Where can I find documentation on twopass HAL parsing?
Sorry, it is like trying to find your way through a maze with your eyes closed.
Sorry, it is like trying to find your way through a maze with your eyes closed.
Please Log in or Create an account to join the conversation.
- LearningLinuxCNC
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 320
- Thank you received: 48
07 Jul 2015 02:37 #60484
by LearningLinuxCNC
Replied by LearningLinuxCNC on topic Error with new HAL file.
Nevermind, I found the documentation for TWOPASS.
I think it would also be useful to have a search function for searching through the documentation.
I think it would also be useful to have a search function for searching through the documentation.
Please Log in or Create an account to join the conversation.
07 Jul 2015 02:39 #60485
by BigJohnT
Replied by BigJohnT on topic Error with new HAL file.
Please Log in or Create an account to join the conversation.
07 Jul 2015 02:46 #60488
by BigJohnT
Replied by BigJohnT on topic Error with new HAL file.
Ctrl F works pretty well in the PDF documentation and will work better in 2.7 because everything is in one document except items pertaining to downloading and installing. If your looking at the html documents a google site search works well.
JT
JT
Please Log in or Create an account to join the conversation.
- LearningLinuxCNC
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 320
- Thank you received: 48
07 Jul 2015 05:01 #60494
by LearningLinuxCNC
Replied by LearningLinuxCNC on topic Error with new HAL file.
John,
I had tried searching the PDFs but I did not look in the correct one.
Looks like Google custom search is the way to go for the html files. Thanks for the heads up.
I had tried searching the PDFs but I did not look in the correct one.
Looks like Google custom search is the way to go for the html files. Thanks for the heads up.
Please Log in or Create an account to join the conversation.
Time to create page: 0.083 seconds