RTiC-Lab (http://rtic-lab.sourceforge.net) also comes with an oscilloscope emulator
(RTiC-Scope).  It allows you to plot any number of data sets in an
Oscilloscope-looking window.

Alternatively, RTiC-Lab also has an IPC-API that allows you to communicate with
RTiC-Lab to receive the data into any user-level program that you write.  So, in
effect you can write any graaphical display tool (or LabView interface, if you
wish!!), or data post-processing application.

RTiC-Scope has been successfully used to plot 15 variables at once while the real
time controller itself ran a full state space controller at 10kHz on an Active
Magnetic Bearing rotor system.

All data being outputted to RTiC-Scope is timestamped automagically in the RTiC-Lab
paradigm.  RTiC-Lab and RTiC-Scope use GTK+.

-Edgar

KEVIN ARCAS wrote:

> I want to use a graphic viewer in XWindows, so I can open two or
> three windows to plot the variables evolution in real time. The period
> time of the RTL module is about 10 ms  or 1 ms (I supose it will be
> 10 ms to have CPU time to run the application). The amount of
> data is two floatting points variables for each plotting window,  each
> period time (so 3 or 4 floatting variables, because x-var (time) is
> used for all the plots)
>
> On 24 Oct 00, at 15:04, David Olofson wrote:
> >
> > What kinds of targets did you have in mind (fullscreen, X...), and what kind of
> > user interaction do you need? How much data are we talking about?
> >
> > I have some more or less usable C code lying around (a few small applications,
> > actually), that does basically what you ask for, but it's built around a direct
> > buffer rendering toolkit that I hacked up for fun. (The basic idea was to have
> > something that would work with games and the like under svgalib, GGI, SDL and
> > similar drivers/APIs.)
> >
> > Currently, it can only use GGI (which means you can render on almost anything,
> > but without nicely resizable windows), but could easily be ported to any
> > graphics driver or API that provides something that looks like direct video
> > buffer access. SDL is probably where I'll go if I bother with it.
> >
> > There is also a kernel module with a simple RT debug message and graphing API,
> > that sends data to a user space application. It timestamps everything using the
> > TSC.
> >
> >
> > The problem? The applications could really use some tightening up, and the GUI
> > toolkit *looks* about as nice as it's useless in most other respects. (And it
> > looks pretty nice for a "few evenings, design as you go hack"... :-)
> >
> >
> > I'll wrap up a package with some usable/comprehensible stuff if you wan't to
> > play with it, but consider it all alpha stuff. (The tools have served me well
> > so far, though. The graph viewer even reminds of a real application! ;-)
> >
> >
> > David Olofson
> >  Programmer
> >  Reologica Instruments AB
> >  [EMAIL PROTECTED]
> >
> > ..- M u C o S --------------------------------. .- David Olofson ------.
> > |           A Free/Open Multimedia           | |     Audio Hacker     |
> > |      Plugin and Integration Standard       | |    Linux Advocate    |
> > `------------> http://www.linuxdj.com/mucos -' | Open Source Advocate |
> > ..- A u d i a l i t y ------------------------. |        Singer        |
> > |  Rock Solid Low Latency Signal Processing  | |      Songwriter      |
> > `---> http://www.angelfire.com/or/audiality -' `-> [EMAIL PROTECTED] -'
>
> -- [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/

-- [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/

Reply via email to