ons 2026-07-22 klockan 14:18 +0200 skrev Bertho Stultiens:
> Hi all,
> 
> There is a an option 'constructable' in halcompile that should make it 
> possible to instantiate a component from an already loaded module. The 
> halcmd instruction 'newinst' would then call down to the module via 
> rtapi_app and call the constructor.

Instantiate a component from an already loaded module may have some advantages.

Have several different machines with difference among other things in the 
number of joints. As is now have to
instantiate all then module is loaded.

If possible to instantiate after loaded and stuff specific for example for a 
joint is kept within a limited range
of the file preferably enclosed in comments so easy to find. Then I could 
instantiate components and add them to
a thread within the range specific for this joint.
This may make .hal files easier to read and in particularly to copy and reuse.


Nicklas  Karlsson


_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to