Real-Time update of Display
-
I intend to create an application that will update the graphics display with real-time data. The data will be received approximately every 5 millisecs. I obviously want the display to be updated in a smooth manner. Can anyone give advice as to the best way achieving this? Currently, I thinking of creating a buffer of data. I will have a thread that will read this data from the buffer and then display it. I am not sure how the main GUI thread interacts with other threads. How do you prioritise threads? Can I expect meet to update at the 5ms rate? Is this a good way of tackling it?
-
I intend to create an application that will update the graphics display with real-time data. The data will be received approximately every 5 millisecs. I obviously want the display to be updated in a smooth manner. Can anyone give advice as to the best way achieving this? Currently, I thinking of creating a buffer of data. I will have a thread that will read this data from the buffer and then display it. I am not sure how the main GUI thread interacts with other threads. How do you prioritise threads? Can I expect meet to update at the 5ms rate? Is this a good way of tackling it?
LiamD wrote: Can anyone give advice as to the best way achieving this? By using a Real Time Operating System (RTOS), which Windows is not.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
-
I intend to create an application that will update the graphics display with real-time data. The data will be received approximately every 5 millisecs. I obviously want the display to be updated in a smooth manner. Can anyone give advice as to the best way achieving this? Currently, I thinking of creating a buffer of data. I will have a thread that will read this data from the buffer and then display it. I am not sure how the main GUI thread interacts with other threads. How do you prioritise threads? Can I expect meet to update at the 5ms rate? Is this a good way of tackling it?
Look at games programming techniques and double buffering. Elaine :rose: The tigress is here :-D