Sounds likely, but your guess is as good as mine from this point
Heh - well I'm there now - by the looks of it I can do what I want with comp.
This link is to a previously posted basic realtime example using comp, written in C
www.linuxcnc.org/index.php/english/compo...=6&start=6#18975
This is a userspace socket-client component, which reads values to and from a redis database server.
I used it to read values from components without connecting to them directly.
...snip
Thanks for this - it looks like it makes things very much easier for me. I'll see what can be done with making my routine in plain c++ outside linuxcnc then move it into a comp when it's sensible to start testing it.
Looking at the structure of the comp you posted, I can code it to run in a tight(ish) loop and only perform anything intensive when required, is this permissible or will this have a bad impact on system load? Obviously I'd like to shoot for less possible jitter than 1second. I'm sure this is fine, just wanted to make sure...
Andy, please could you try to clarify the problems I might run into making gladeVCP controls for this if I code the hal module in C++?
Thanks!
Ed