Data display question
-
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
-
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
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
-
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