Hi all,
i've some problems with my RT-Linux module. I try to explain my work a
little bit.
There are 3 Fifo's which are all created in the rt-module:
-Fifo nr. 0 the data fifo (data which is measured, is send trough them
into the user-space)
-Fifo nr. 7 steering fifo (messages from user-space to the rt-module)
-Fifo nr. 8 steering fifo (messages from rt-module to the user-space)
My user-space program sends (trough fifo nr.7) the start command for the
rt-module to create a
periodic thread which measures some data from an A/D card.
The thread writes the data trough Fifo nr.0 to the user-space prog.
A fifo-handler is initiated for fifo nr.0 and counts the data which is
sent trough
fifo nr.0. After, for example 10 counts the handler sends a command
trough fifo nr.8 to the user-space prog, which
will send an stop-message trough fifo. nr7 to the rt-module. Now the
tread gets stopped (pthread_delete_np) and
my measurement ends. For further notes, the data in fifo nr.0 is written
in an txt-file.
My problem is, that the value that i wrote at the
pthread_make_periodic_np-function (especially the period)
doesn't correspond with them in real life. I don't use very low values
here, about 0.5 or 1s (as specified
in the "hello world" example. But even them, didn't work.
I know that i "drive" an old version (pre 7) of RT-Linux, but i had not
enough time to upgrade to pre9 :-)
I hope that's not the problem...
Did i make a(some) Mistake(s) in constructing my application?
Sincerly
S.Boehringer
--
---------------------------------------------------------------------------
Sven Boehringer, Student at the University of Applied Siences FHT-Esslingen
Flanderstrasse 101 73732 Esslingen Germany
E-Mail: [EMAIL PROTECTED]
-- [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/