[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom ["Jonas Persson" <jonas.persson@comsys.se>] (fwd)
- To: rtl@rtlinux.org
- Subject: BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom ["Jonas Persson" <jonas.persson@comsys.se>] (fwd)
- From: Der Herr Hofrat <der.herr@hofr.at>
- Date: Tue, 8 May 2001 16:59:19 +0200 (CEST)
>From owner-rtl Tue May 8 09:38:42 2001
Received: from ideon.se (iris.ideon.se [193.45.79.9])
by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f48FcfJ22140
for <rtl@fsmlabs.com>; Tue, 8 May 2001 09:38:41 -0600
Received: by ideon.se from localhost
(router,SLMail V2.6); Tue, 08 May 2001 17:34:05 +0200
Received: by ideon.se from zeta
(194.237.138.68::mail daemon; unverified,SLMail V2.6); Tue, 08 May 2001 17:34:05 +0200
From: "Jonas Persson" <jonas.persson@comsys.se>
To: "RTLinux Mailing list" <rtl@fsmlabs.com>
Subject: RTFifo questions
Date: Tue, 8 May 2001 17:32:24 +0200
Message-ID: <GBEBJEDLOFFHLCHJLHDLGEIACDAA.jonas.persson@comsys.se>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-15"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
In-Reply-To:
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by hq.fsmlabs.com id f48FcgJ22141
Hi all!
I am having problems getting my RTfifos to work the way I think they should, mind me, I may of course be incorrect in my assumptions.
The general scenario is the following: I am using a RTfifo mainly for testing if my realtime algorithms are correct, i.e., test data is "logged" to an RTFifo and then read by a user-space program that will interpret the data and save it to disk in a less raw and more usable form.
Problem: when debugging the realtime program, if i step over the rtf_put() call, data appear correctly in my user space test progeam. However, if i continue executing past the point of calling rtf_put(), data does not appear at all in the other end of the fifo! Calling rtf_flush() does not help in this matter.
Sometimes the results are even more confusing, since SOME data is lost on the way to user space, but not all! Even more: the first four-byte data sequence written using rtf_put(), i.e., from the first rtf_put() call, is NEVER missed!
I am completely out in the blue here. :-) Can someone help?
Yours sincerely,
Jonas Persson
______________________________________________________________________
Jonas Persson E-mail: jonas.persson@comsys.se
Project Manager, M.Sc C.Sc&E http://www.comsys.se/
Comsys AB Phone: +46-(0)46-286 3500
Forskningsbyn IDEON Fax: +46-(0)46-286 3505
S-223 70 Lund, Sweden