rt_printk in user space
saljic at yahoo.com
Fri Nov 30 16:08:52 CET 2007
If I'm not wrong rt_printk is for kernel side or rtai. You could use fifo for the messaging, it suits me good.
rtai_put(fifo_no, yourmessagebuff, messagesize);
rtai_read_all_at_once(fd, msgbuff, messagesize);
----- Original Message ----
From: Andreas Thuy <wicht at mail.uni-paderborn.de>
To: rtai at rtai.org
Sent: Friday, November 30, 2007 2:48:39 PM
Subject: rt_printk in user space
I have a simple periodic RTAI task running in user space (made it hard
real time). For debugging purposes I would like to send debugging
information to the screen whenever the task is activated. I tried to
do this with the rt_printk function. But the output did not come to
the screen periodically *g* I already reduced the period to 10 seconds
to find out if the drift is caused by a busy system. But again, the 10
seconds couldn't be held.
Is rt_printk suited for sending debugging messages periodically to the
screen (in user space) and do you have any hint on where I could have
a look at to find some sort of misconfiguration if rt_printk is a good
RTAI mailing list
RTAI at rtai.org
Be a better pen pal.
Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rtai