Jan,

On you last comment below about pre allocating buffers, I am trying to find
where in the RTAI examples it show that?

Glen


On 9/28/10 5:35 PM, "Jan Kiszka" <[email protected]> wrote:

> Am 28.09.2010 23:17, Glen Wernersbach wrote:
>> Jan,
>> 
>> My basic concern was to keep the data flowing from the NIC to my program as
>> close to hard real time as possible. I know doing Linux calls can break hard
>> real time especially when I want to receive a UDP packet every 1ms.
> 
> Is that UDP packet part of your control loop? Why do you need the whole
> opener stack then? Or is there more?
> 
>> 
>> The only thing Ethernet IP really gives you real time is optional support
>> for the Ethernet 1588 timing standard so you know what the jitter was in
>> receiving the packet over the Ethernet line. The 1588 support is not yet
>> implemented in opener. The rest is just a protocol for handling critical
>> data over TCP and UDP. Unfortunately, I have a device that needs to work on
>> Allen Bradley controllers which only support this real time protocol.
>> 
>> All I want to do is replace the Linux calls in networkhandler.c
>> (socket,bind,listen...) with RTAI real time calls.
> 
> Additionally, you will have to configure the socket resources, namely
> how many buffers each socket should pre-allocate for its real-time
> operation (that's the major difference to normal networking stack that
> do on-demand allocations). See the examples.
> 
> Jan
> 

-- 
Glen Wernersbach
President & CTO

Jetsoft Development Co.
629 Old St Rt. 74 ­ Suite 210
Cincinnati, Oh 45244
Custom Programming Web Site: www.jetsoftdev.com
Retail Products Web Site: www.scanhelp.com
Phone:   513-528-6660
Fax: 513-528-3470
----
"Support Dyslexia Research"




------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
RTnet-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rtnet-developers

Reply via email to