RtTrend & flicker

Dear all,

I would like to use RtTrend with grid.
The problem is that RtTrend begins to
flicker when Rt_GRID_FORCE and Rt_GRID
are enabled in Rt_ARG_TREND_FLAGS.
Parameter Rt_ARG_TREND_INC is set to 1.
RtTrend is being updated with period
100ms for 1 sample.
Anyone comments welcome.

Milan Miseje

Milan Miseje <milanm@nod10.mstep> wrote:

Dear all,

I would like to use RtTrend with grid.
The problem is that RtTrend begins to
flicker when Rt_GRID_FORCE and Rt_GRID
are enabled in Rt_ARG_TREND_FLAGS.
Parameter Rt_ARG_TREND_INC is set to 1.
RtTrend is being updated with period
100ms for 1 sample.
Anyone comments welcome.

This is a problem inherent in the way the RtTrend draws itself.
Making it the child of a PtDBContainer widget would get around
this problem, at the expense of more CPU cycles being needed to
process the drawing.


Norbert Black
QSSL Training Services

Any good examples of RtTrend applications/demos out there?

I’m trying to get a feel for how QNX/Photon would be able to handle
displaying 30 channels of live EEG data scrolling on a screen.

If implemented well, RtTrend is a natural for this. I’d like to get a feel
for how smooth it can be.

Any experience or examples out there?

Regards,
Steve

“Norbert Black” <nblack@qnx.com> wrote in message
news:9gadjh$7m1$1@nntp.qnx.com

Milan Miseje <> milanm@nod10.mstep> > wrote:
Dear all,

I would like to use RtTrend with grid.
The problem is that RtTrend begins to
flicker when Rt_GRID_FORCE and Rt_GRID
are enabled in Rt_ARG_TREND_FLAGS.
Parameter Rt_ARG_TREND_INC is set to 1.
RtTrend is being updated with period
100ms for 1 sample.
Anyone comments welcome.

This is a problem inherent in the way the RtTrend draws itself.
Making it the child of a PtDBContainer widget would get around
this problem, at the expense of more CPU cycles being needed to
process the drawing.


Norbert Black
QSSL Training Services

Hi
I use 4 channels on a 500 pixel wide trend to display scrolling data
gathered from a 2mS scanning routine. I update the trend every 100mS with
the last 50 samples. I have used 400 & 800 MHz P3s with matrox and C&T
graphics displays at 24 bit colour depth.
There is no flicker of any significance. I did try putting a DB widget over
it but the updates became too slow.
It would have been really nice to have a grid and to be able to put labels
on the traces but neither work well and cause flickering.
Hope that helps.
Steve Terrell