[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [rtl] how to acces files



Have your RT task read from a FIFO.  Now, use "cat" to
copy from your .xxrc file to the FIFO.  This would work
but it requires your RT Task to parse the file.  Write a
program to read the file, parse it, and stuff fixed format
commands into the RT FIFO.  In my application I have an
RT Task whose only job is to read commands from the FIFO
and set global memory as per the commands. 

Kay-Ulrich Scholl (Assistent) wrote:
> 
> Hi there
> 
> I want to read a .rc-file while initializing my rt-module.
> In this file I want to say what other files are to read and send to
> microcontrollers via Can-Bus where they have to be executed.

--Chris Albertson

  chris@topdog.logicon.com                Voice:  626-351-0089  X127
  Logicon RDA, Pasadena California          Fax:  626-351-0699
--- [rtl] ---
For more information on Real-Time Linux see:
http://rtlinux.cs.nmt.edu/