> I have a rather general question regarding the design on my VI. I need
> to update the front panel with many display attributes: circles,
> rectangle, rotating them coloring them and the updates are real-time.
> So what I want to know is what to use, I've been using picture conrols
> to this point in time but with many constant updates it gets kind of
> slow. Would it be better to just try to use the background of the
> screen itself without the picture control or would that be impossible.
> While I'm writing this i'm realizing that I think it is impossible
> because all the drawing functions require a picture input/output. Well
> if anyone has any ideas on this problem (approach) I'd be delighted to
> hear (i.e. something other than a big picture control
),
One thing to make sure of is that you aren't constantly adding to the
picture control data. If you never start with an empty picture, then it
just keeps getting larger and larger. Another technique if the graphics
don't change that much from update to update is to turn off the Erase
First option and do incremental erasing by drawing over the previous
symbols with the background color.
Another things that affect the performance is the Smooth Updates option.
On, it will draw everything to an offscreen bitmap first which will
make the graphics smoother, but it may slow down the screen updates.
Off, it may flicker more, but will draw more quickly.
Greg McKaskle