584,841 active members*
4,608 visitors online*
Register for free
Login
Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2007
    Posts
    2

    Realtime implementation in EMC

    Hello,

    Going through the manuals, it is stated that HAL uses RTAPI for real time implementation. I am intrested to look into how HAL interfaces with real time implementation. What part of code does that and how is it achieved.

    Can anyone guide me with some tips, pointers to such things

    Kind Regards

  2. #2
    Join Date
    Jun 2003
    Posts
    866
    RTAPI is a wrapper that works with RTAI ( or some older version of rt-linux)

    Most people are using RTAI, because rtlinux went commercial and has virtually no support unless you buy the commercial version. If you want to develop your own real-time program, your best bet is to look up RTAI and learn from them. There are a lot of projects that use RTAI. The RTAPI part of emc is very nice, you can check out the emc code from cvs and work through the pieces. Halcmd would be a good place to start.

  3. #3
    Join Date
    Oct 2006
    Posts
    68
    I think there was a discussion regarding RTAI vs Xenomai vs rt patch to the kernel. Is EMC considering other two options?

  4. #4
    Join Date
    Jan 2006
    Posts
    58
    Jeff Epler tried the -rt kernel in Gutsy Gibbon here. The short of it is it works but latency is a bit worse than RTAI, he was getting about 32 us and concluded that it would probably work if stepgen and/or pwmgen were offloaded onto dedicated hardware (such as a Gecko or a Mesa card).

  5. #5
    Join Date
    Jun 2003
    Posts
    866
    Quote Originally Posted by david_geng View Post
    I think there was a discussion regarding RTAI vs Xenomai vs rt patch to the kernel. Is EMC considering other two options?
    My impression is that they have the same API, so they are compatible. Haven't heard of anyone that wants to change kernels though.

Similar Threads

  1. Optical interupt switch implementation.
    By owhite in forum CNC Machine Related Electronics
    Replies: 26
    Last Post: 07-26-2009, 10:27 PM
  2. Electrically Insulated QCT Implementation
    By chris59 in forum Mach Lathe
    Replies: 0
    Last Post: 01-16-2006, 08:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •