> > 3. If the real time module controls the data aquisition
> > card entirely, how can I pass configuration information to
> > it from a user programm, like start conversion, set sampling
> > frequency etc.?
I use RTL to control an astronomical camera.
I use one task that is tied to an 8Khz interrupt to read out
pixels. The image is digitized at the 8K pixel/sec rate. This
task is very short. On each interrupt it just reads the 16
bit sample and stores it into a buffer
There is another task that hangs off the RT FIFO. It accepts
commands from the FIFO that come from a user level Linux program.
All it does is decode the commands and stuff values into some
global variables that the above and below tasks can see.
A third task waits for the buffer to become full (At the end
of each scan line) and transfers the buffer down a second RT FIFO
to the user level Linux program. This task is an RTL periodic
task and runs at 10Hz.
The Linux user level program acts like a classic UNIX server.
It accepts client connections over a socket. Image data and commands
get routed over the socket so the real user interface program
can be anywhere on the network and need not even run under
Linux.
All the above runs on a 486/66 with 8MB RAM. The system is still
usable for compiles and text editing while the real-time software
runs. With 8MB I don't run X11 on this system. I access it via
telnet
--Chris Albertson
[EMAIL PROTECTED] Voice: 626-351-0089 X127
Logicon RDA, Pasadena California Fax: 626-351-0699
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/