Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-03-2012, 03:17 PM   #1
chandu l
LQ Newbie
Registered: Oct 2012
Posts: 1

Rep: Reputation: Disabled
printing data to file in real time program RTAI using fprintf

I'am new to rtai. and i'm programming in linux fedora(C). I need to compare the input(reference value) and output the actual output which is being sensed at same instant of time..So i would like to store data in a file while running the application. I understand that I cannot use "fprintf " statement to write the data to a file, since it would only increase the latency or execution time, as the program is running at kernel level. hence I request to please guide me how to write data to a file while program is running..please also mention the header files if any to be included..
Thank you in advance...



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[RTAI] Can POSIX real time signals result in soft real time? TheIndependentAquarius Linux - Newbie 0 04-21-2012 05:14 AM
[RTAI] Real time thread priority in user space TheIndependentAquarius Linux - Kernel 4 04-20-2012 08:31 AM
Install error on FC6 real time kernel using linux- and rtai-3.4 akra Fedora 1 02-16-2007 03:09 PM
make fedoraCore5 to hard real time by RTAI stu_zamani Fedora 3 10-16-2006 02:27 AM
OBD-II real time data Oxagast Linux - Hardware 1 08-09-2006 09:10 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:11 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration