Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. IT & Infrastructure
  4. Real-Time update of Display

Real-Time update of Display

Scheduled Pinned Locked Moved IT & Infrastructure
graphicsquestionannouncement
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LiamD
    wrote on last edited by
    #1

    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?

    D L 2 Replies Last reply
    0
    • L LiamD

      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?

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • L LiamD

        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?

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Look at games programming techniques and double buffering. Elaine :rose: The tigress is here :-D

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups