Thanks for the reply rproffitt. It worth knowing about such library. It seems the library allows plotting into external window but it does not allow to draw into the main window. I want to draw couple graphs in the same window in different locations of the window. Also I want make a look like window like a control panel where you observe different processes and you have controls to control such processes. There is a way of achieving by using cvi labview libraries but they are not free.
Why not use what you know? Since browsers can use local files with .html you could use what you know today. As to the clicker, I'm going to share I own a Satechi ST-BTRM1 which you could use or something else then your code does the usual on event to cut to your menu for the next html file.
However, many just forget the clicker idea and get a big touchscreen.
Without seeing all the code you are using ... we can only guess at the problem(s), according to our own experience.
Inspect the good (working ok) 1st file ... by loading it into a text editor, like notepad, and see if there is one and only one newline char at the end of the last line of data there ... or if instead, that last line ends with EOF ? (i.e. NO newline char there.)
Then, make sure, (using a text editor), that the 2nd file ends like the first.
This will resolve the problem if the issue is (only) related to how you program reads lines of data and in particular the last line.
Another possible issue is the possibility of unrecognized char's being embedded in the 2nd data file chunk ... and then, the program may be halting with an exception thrown there ... but check out first idea above .. firstly ... as that 'data file (corruption and/or ending) problem' is suggested by the original two data .txt files you presented.
I hope I could find help about plotting graphs. My problem is I have a device which alows me collect some data and transfer it throught USB. Then I will interpret that data using c or c++. I would like to plot such data on a window on windows enviroment or linux. The library would allow to pick a convient graph such as scatter plot or bar. Would you able to recommend any library which would be just for the problem?
Thanks. Nullptr, sorry for the silly question, how did you get to 'see' those bytes? And what can I do to fix the file? I basically have the data in a much larger excel file that spans 3 months. So if I only want to use a few days of it say, is copy/paste not the right method? Should I instead try deleting all unwanted data first in the excel file and then saving as a txt file?