[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Passing numbers from RT thread to Linux thread
- To: rtl@rtlinux.org
- Subject: Passing numbers from RT thread to Linux thread
- From: Olivier Forget <oforget@ntps.edu>
- Date: Wed, 15 Aug 2001 09:27:27 -0700
- Organization: National Test Pilot School
Hi,
I am writing a data acquisition and display program, so I need to "send"
several floats from the RTLinux thread (where the data is acquired) to the
linux/Qt program for display. There will probably be up to 16 floats being
sent at a rate of probably 200Hz, possibly up to 1000Hz.
rtf-put only accepts characters, so it desn't seem to be ideal.
mbuff looks interesting but I have found the doc to be sparse.
I am sure that many of you have had to do this, so I would like to hear your
opinions. Code snippets would be appreciated to help me along.
Thank-you!
Oliver
National Test Pilot School