Halcompile: stdio.h no such file or directory

More
8 years 10 months ago #103545 by andypugh

AndrewHsasku wrote: I do not care about real-timing. Latencies like 20ms are absolutely ok.


Not if it is a realtime component. The realtime components run one at a time in sequence. If your component blocks for 20mS then everything else stops too.

If it is a userspace component, (option userspace) then this is not a problem.

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

More
8 years 10 months ago #103547 by AndrewHsasku
How to create such, non python, component? Any example?

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

More
8 years 10 months ago #103554 by andypugh
Here is an example
github.com/LinuxCNC/linuxcnc/blob/af15a4...cs/src/hal/rand.comp

You need the user_mainloop and you can cycle though all the instances with the FOR_ALL_INSTS macro.

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

Time to create page: 0.229 seconds
Powered by Kunena Forum