Take a look at rtp (real time plotter). It's on sourceforge and uses
Qt.
As Victor mentioned, also look at rtic - particularly rtic_scope which
is almost a seperate project.
Also look at gstripchart which comes with most distributions.
I'm currently modifying rtic_scope to make it independent of rtic, get
the menus working, add cursor support and have scrolling updates.
Take a look at the gui CANalyzer uses (www.vector-informatik.de). It's
a windows-only app and a demo is available for download. This is the
best "real-time" plotting software that I've seen. It might give you
some ideas for your gui.
cheers,
stuart w
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/