Frank Tkalcevic wrote:
> Is there any way to set when the TDMA Sync frame is output?
> 
> I'm using RTNet with EMC2, the enhanced machine controller.  It works in
> realtime by scheduling a "servo thread" to run at a predefined interval, 1ms
> in my case.  In the servo-thread, emc gathers data, processes the data, then
> generates outputs.  To get this to work with my slave device, I need to have
> the latest status data ready when the servo thread starts - that is, I need
> to be able to set the sync frame to begin about 100us before the EMC servo
> thread starts.
> 
> Is there anyway to "adjust" the sync frame?

Why this way around? Why not establishing the system period via TDMA and
synchronizing EMC2 on it? TDMA has an API for this (see
examples/xenomai/native/tdma-api.c).

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to