Thanks for the advice Bill, but its not so much the size of the pipe that is
the problem. We can live with slightly slower updates. In fact we tried slowing
down our redraw frequency to put constraints on the bandwidth usage. That
actually made the visual effect worse though. As we slowed things down the
anomalies would simply tend to remain on screen longer.
The problem is that the widgets are being displayed in the middle of being
redrawn. For example, on a couple of screens we use the RtTrend object to
display data trends. These trends are only updated once every 15 seconds. The
problem is that it is not the final result of the redraw that is displayed.
Instead the view of the widget that we are presented with will alternate (in no
particular order) between not being there at all, showing the background fill
colour only, showing the background with the grid, or showing the final result
of the redraw with background, grid and trends. All the other widgets behave
similarly. They disappear, and then reappear, dependent upon which phase of
their redraw they are caught in.
Even over a 100 Mbps lan connection, we still see the effect of the lack of
double-buffering because the widgets on the screen will flash each time as they
are redrawn. In this case we do not have to put up with the effect of seeing
the widget in mid-redraw because the redraw is done so quickly. However, the
classical single-bit plane effect of widget flash remains.
Again, any advice on how to resolve this problem would be appreciated.
Blackbird Software Design Ltd.
phone: 1-403-678-3002, fax: 1-403-609-2718
Bill Caroselli wrote:
I seem to recall several employers ago that we had an audio production
application that they wanted to use over a modem. We had several VU meters
on the screen and there was no way that they could be constantly sent over a
We had to do something to detect that there was a slow modem link and
significanly slow down the updates on the VU meters.
I don’t think that double buffering is really going to help. It will just
delay the inevetable. You just can’t get 5 lbs of shrimp in a 3 lb bag.
(For those of you who don’t undersrtand, just substitute kg. for lb.)
Bill Caroselli – 1(530) 510-7292
“Michael Hambly” <> firstname.lastname@example.org> > wrote in message
news:> 3BE34982.15C4B09D@blackbirdsoftware.com> …
Does anybody know of a way to set up photon applications to use
double-buffering when running over a phrelay (phindows/phinx) link?
I have a remote monitoring application that must be accessed through a
modem link (~12kbps). Running the Photon-based GUI over this link works
reasonably well except that the widgets keep appearing and disappearing
dependent I assume on what phase of redraw they are in. The screen has a
fair bit of data that is being continuously updated, including labels, bar
graphs, and RtTrend objects. Even over a lan connection the lack of
double-buffering makes the GUI quite jittery.
Any recommendations on how to get rid of these widget jitters would be