From: sturnfie <stu...@gm...> - 2012-01-17 19:34:05
|
Harvey Chapman-2 wrote > > On Jan 17, 2012, at 12:03 PM, sturnfie wrote: >> We have an application that uses QT/Embedded for the GUI. The application >> displays/stores/analyzes continuous data from a serial connection to a >> photon counter. I'd suggest looking into it, particularly if you also >> want >> to avoid the bulk of X windows. >> > > Lucas, > > What do you use for plotting? I used to use WxWidgets, but having used Qt, > I'm not going back to Wx. > > > Our primary plotting window is a side-scroller data feed when actively recording, and a historical record viewer when not. A data matrix is maintained in the background (size mapped per current display zoom level) and is populated from a datastore accordingly. At our screen update interval, the data matrix is linearly transversed and lines are drawn to connect points. User features allowing for scaling and shifting of the data are handled as multipliers/offsets for the x/y coordinates of the points. I suppose the cleanest answer to your question is that I use qpainter.h for the graphics, qdatastream.h for retrieving data from a datastore (serial data pulled in separate process), and qwidget.h for the scaffolding & canvas. Various other support libraries are used for the rest of the interface (qlayout.h, qhbox,h, qvbox.h, etc). Lucas ----- -- Lucas Sturnfield stu...@gm... -- View this message in context: http://gumstix.8.n6.nabble.com/Realtime-plotting-on-LCD-tp3680476p3681332.html Sent from the Gumstix mailing list archive at Nabble.com. |