Hi all,
I have a bit of a problem with real time/non real time data
communication, and I'm
hoping someone can help me. We have a real time process, which will be
running on
an embedded processor under RTLinux2.0 (Linux kernel 2.2.13).
This process is logging data from a set of sensors, and writing the data
to a file
or buffer, in real time. I'd like to be able to do online data
visualisation on
a host machine, connected to the embedded system via Ethernet. I figure
that
the real time process can write the data to a real time FIFO, and that a
non-real
time process (a normal Linux process running on the embedded processor)
can pull the data out of this buffer and send it over the Ethernet, as
time permits.
I would then have a data stream coming into the host, (running Linux or
Windows)
for which I ought to be able to find some tools to do pseudo-real time
plotting
(sort of like a 'scope on slow trace).
Has anyone done this sort of thing before, and if so, do you have any
example
code/hints/tricks? I'd appreciate any help.
Thanks,
Robert Sheridan