Error with new HAL file.

More
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

Please Log in or Create an account to join the conversation.

More
06 Jul 2015 23:40 #60477 by ArcEye
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.

More
07 Jul 2015 00:45 #60480 by LearningLinuxCNC
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. :pinch:

Please Log in or Create an account to join the conversation.

More
07 Jul 2015 02:37 #60484 by LearningLinuxCNC
Nevermind, I found the documentation for TWOPASS. :blink:

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.

More
More
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

Please Log in or Create an account to join the conversation.

More
07 Jul 2015 05:01 #60494 by LearningLinuxCNC
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.

Please Log in or Create an account to join the conversation.

Time to create page: 0.177 seconds
Powered by Kunena Forum