I am trying to make a window with a "Run" botton. After click, it inports text from a file and, after manual manipulation of the text data in the textbox, it produces a graph using the text of the box. Then the graph will be displayed on the same window. It runs only on the first time I click "Run". When I click "Run" again after the first click, an error was returned basically saying the file reading pointer is at the end of the file, so no calculation is performed. Can anybody give me a hint on this?
Thanks a lot,