In my current project i have a CPU intensive 3D chart that needs to be updated in real time.
I have been using background workers for the project and using those, i do all the processing in the background. Receiving of Message, Interpretation of message, finally pass data set to gui.
The updating GUI step takes 20-50ms depending on the amount of data. The problem with this is that my propertygrid on the side, which is there to change settings doesnt stay responsive while the 3D chart is being updated. By inserting a delay between the update cycles i have managed to bypass the issue, but its not a permanent solution.
Is there anyway to have a separate thread that specifically updates and interacts with only one control rather than having the main thread clogged by the amount of data being passed to all the controls.
Or is there a way to set a priority for certain controls within the GUI so they are updated in that order, in other words the property grid is never blocked regardless of the data being sent to the other controls in the main thread.