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. General Programming
  3. C / C++ / MFC
  4. Data display question

Data display question

Scheduled Pinned Locked Moved C / C++ / MFC
questiondata-structureshelp
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.
  • R Offline
    R Offline
    rmnowick
    wrote on last edited by
    #1

    Hello, I have inherited a GUI application that I am required to modify. One of the modifications that I have already implemented consists of capturing a serial data stream, doing some processing on it, and then writing it out to a file. The serial data is captured in a separate reader thread that signals the main dialog window when serial data is ready to be processed. This all works fine. The serial data stream consists of many voltage and temperature measurements collected from an attached A/D converter box. I parse the A/D data and keep track of the latest temperature and voltage measurements for all 22 channels that we are sampling. I would like to modify the main GUI display to also show the latest values of some if not all of the 22 channels that we are monitoring. In the simplest implementation, I could have a list down one side of a form that shows: Variable 1: 22.876 Volts Variable 2: 76.988 Degrees . . . Variable 22: 23.988 Volts To the right of each of these text labels I would like to have a small "window" where I could write the most recent value received for each of the data channels, be it tempearture or voltage. This way, the operator could see all the current data value on a single screen. The problem is that I have been looking through the Toolbox and there doesn't appear to be any sort of "box" structure that could be used for this purpose. Maybe I'm just missing it. Could someone please point me in the right direction. Perhaps there is a sample project that someone has done that would allow for a new tool like this? A second question revolves around going one step further. Since I am collecting this data over time, it would be nice to show the user say the last 10 minutes of data for any given variable in a "graph window", for lack of a better term. Does anyone have any links to a "graph tool" that I could use that might enable me to display my collected data in a graphical format in addition to the text display I mentioned earlier? Thanks, Robert

    L E 2 Replies Last reply
    0
    • R rmnowick

      Hello, I have inherited a GUI application that I am required to modify. One of the modifications that I have already implemented consists of capturing a serial data stream, doing some processing on it, and then writing it out to a file. The serial data is captured in a separate reader thread that signals the main dialog window when serial data is ready to be processed. This all works fine. The serial data stream consists of many voltage and temperature measurements collected from an attached A/D converter box. I parse the A/D data and keep track of the latest temperature and voltage measurements for all 22 channels that we are sampling. I would like to modify the main GUI display to also show the latest values of some if not all of the 22 channels that we are monitoring. In the simplest implementation, I could have a list down one side of a form that shows: Variable 1: 22.876 Volts Variable 2: 76.988 Degrees . . . Variable 22: 23.988 Volts To the right of each of these text labels I would like to have a small "window" where I could write the most recent value received for each of the data channels, be it tempearture or voltage. This way, the operator could see all the current data value on a single screen. The problem is that I have been looking through the Toolbox and there doesn't appear to be any sort of "box" structure that could be used for this purpose. Maybe I'm just missing it. Could someone please point me in the right direction. Perhaps there is a sample project that someone has done that would allow for a new tool like this? A second question revolves around going one step further. Since I am collecting this data over time, it would be nice to show the user say the last 10 minutes of data for any given variable in a "graph window", for lack of a better term. Does anyone have any links to a "graph tool" that I could use that might enable me to display my collected data in a graphical format in addition to the text display I mentioned earlier? Thanks, Robert

      L Offline
      L Offline
      l a u r e n
      wrote on last edited by
      #2

      ummmmm i assume ur talking about a c++ app... the "box" thingy u mention is either a static control or an edit control ... i would do the static myself the graphing thingy ... look here on cp ... there are lots of 2d graphing controls that would suit ur needs exactly i think


      "there is no spoon"
      biz stuff   about me

      1 Reply Last reply
      0
      • R rmnowick

        Hello, I have inherited a GUI application that I am required to modify. One of the modifications that I have already implemented consists of capturing a serial data stream, doing some processing on it, and then writing it out to a file. The serial data is captured in a separate reader thread that signals the main dialog window when serial data is ready to be processed. This all works fine. The serial data stream consists of many voltage and temperature measurements collected from an attached A/D converter box. I parse the A/D data and keep track of the latest temperature and voltage measurements for all 22 channels that we are sampling. I would like to modify the main GUI display to also show the latest values of some if not all of the 22 channels that we are monitoring. In the simplest implementation, I could have a list down one side of a form that shows: Variable 1: 22.876 Volts Variable 2: 76.988 Degrees . . . Variable 22: 23.988 Volts To the right of each of these text labels I would like to have a small "window" where I could write the most recent value received for each of the data channels, be it tempearture or voltage. This way, the operator could see all the current data value on a single screen. The problem is that I have been looking through the Toolbox and there doesn't appear to be any sort of "box" structure that could be used for this purpose. Maybe I'm just missing it. Could someone please point me in the right direction. Perhaps there is a sample project that someone has done that would allow for a new tool like this? A second question revolves around going one step further. Since I am collecting this data over time, it would be nice to show the user say the last 10 minutes of data for any given variable in a "graph window", for lack of a better term. Does anyone have any links to a "graph tool" that I could use that might enable me to display my collected data in a graphical format in addition to the text display I mentioned earlier? Thanks, Robert

        E Offline
        E Offline
        eggie5
        wrote on last edited by
        #3

        are you able to get the sys or cpu temperature? /\ |_ E X E GG

        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