Re: [Emc-developers] detecting the availability of RT patched kernal

2010-02-21 Thread Jeff Epler
On Sun, Feb 21, 2010 at 04:51:07AM +, Chris Morley wrote: > I don't see how I would need that feature, knowing that realtime is available > is enough, since having pncconf means you have EMC2. One common problem -- common enough that we added the test in the emc script itself -- is to boot the

Re: [Emc-developers] detecting the availability of RT patched kernal

2010-02-20 Thread Chris Morley
> I just added to 2.4 and master the two attributes hal.is_sim and > hal.is_rt. On any system, exactly one of them will be true, and that > will tell you whether the version of emc you're using is compiled for > simulation only or has realtime support. > I believe this is all I will need - Than

Re: [Emc-developers] detecting the availability of RT patched kernal

2010-02-20 Thread Jeff Epler
On Sat, Feb 20, 2010 at 11:31:28PM +, Chris Morley wrote: > What is the best / standard way to test for the real time kernal? That's a good question, and one that turns out didn't have a great answer. In parts of emc2 coded in c/c++ you check RTAPI_SIM. I just added to 2.4 and master the two

[Emc-developers] detecting the availability of RT patched kernal

2010-02-20 Thread Chris Morley
Gentlemen What is the best / standard way to test for the real time kernal? I want pncconf to pop a warning dialog when a user tries to use a tes,t if the realtime is not available, otherwise there is no way to know why the test fails. Thanks Chris M __