How to use offered HAL component toassemble into composition ? by generator way

More
03 Dec 2022 03:27 #258394 by smandyscom
Hi all, I want to build a customized RT component way like to composite other present components into a bigger sub-network.

for example, to link MATCH8 and SELECT8 to be as like swither.
I can understand it can be done and .hal way - to call up hal commands as loadrt, net...etc.

But I also wonder if it possible be done by HAL component generator way? by written .comp and compile?
I tried bit study on online document but cannot understand if any way to #include and where the reference documents.
 

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

More
03 Dec 2022 06:57 #258399 by cmorley
Yes.
You could combine the code from each into a new component and compile it to use on your system. Just copy and paste the code and then modify it.

master's components:
github.com/LinuxCNC/linuxcnc/tree/master/src/hal/components
The following user(s) said Thank You: jpg, smandyscom

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

Time to create page: 0.057 seconds
Powered by Kunena Forum