On Tue, 17 Oct 2000, Christian Varnholt PRIVAT wrote:

> I have a question concerning the LINUX and RTL tasks. In my application
> a RTL task measure data over the NI-board. The samples are written into
> the shared memory. A LINUX task do some calculation with these data and
> add a time stamp. 

This is OK.

> Another RTL task write the results from shared memory
> to a RT-fifo. Again a LINUX task read the fifo and write the data to
> disk. The LINUX tasks are triggered (20 Hz) by a RTL task.
> Is this the right way to split the work between LINUX and RTL ?

Not quite. Do you write data to disk after the calculation, possibly saving
also results of the processing? If so, best would be to have normal Linux
process which would be woken up by calculation task, or periodically check
shared memory blocks for timestamps and then write the data to disk. Why do
you need RT-FIFO if you have already the data in shared memory?
So, RT Linux measurement, Linux1 calculations, Linux2 saving data, all
working on the same shared memory area.

Best regards,
--
Tomek

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to