Santosh Reddy
Re: Slow GUI Update with 80 plus spinboxes and leds

Refreshing / updating ~ 80 widgets (like spinbox / led) should be fairly quick.

Here are couple of things you can consider to check/explore.

1. Make sure you each widget is updated only once in a cycle.
2. It would be better to get the changed data map, rather than all data map from worker thread.
3. It would be better not to connect any slots to value changed signals of spinbox directly.
4. Measure the time spent inside UpdateGUI() and measure the time to get the data from back ground thread separately, this could give you some surprising numbers.
I did find that I had some widgets being updated twice. That slowed it up some for sure.

I timed the data grabs and they were very quick in vs, under a 1ms. I plan to make this faster in the future and have the work thread already populate a map and not do a data grab. I have reasons to do this other than speed.

I don't have any slots directly to the spinboxes.

But, now I added back in a lineseries->replace call and it has also caused a slow up. It is much better than when I was using the append function.

Is there a fast way to plot a lineseries or is there a better library to use. I do have a video card an nvidia card with opengl available too.

Thanks you so much for the help so far.