> One possible approach is to start with the "sim" configuration, in which
> position commands are looped back to position feedback.

Yes, I think this would probably be the best thing to do; I really
have no need for the realtime behaviour as such.

>  Add to this a
> sampler RT component which also copies the position commands and
> whatever other data you want to a fifo that is read by userspace, then
> have your userspace program read the output of halsampler and sends it
> to your device.

You lost me here, due to my very limited knowledge of the emc source
structure... :-) Would it be possible for you to point me to a few
source files?

I think I would also need to sync the time "sensed" by emc with the
time used on my machine; otherwise they would get out of sync quite
fast.

My current idea is to write a small layer (if at all possible) using
named pipes between a user-space program and emc; this way anyone can
add their own (non-realtime) machines to emc... It should be possible
to do this completely without using a realtime kernel (not that this
is a problem as such) but obviously I have to dig a little deeper into
the source... Currently I have just been able to compile the entire
system in simulation mode, which is really all I need.

Best regards Preben

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to