Go Down

Topic: Capturing data from the serial monitor (Read 1 time) previous topic - next topic

ofransen

I've searched for these subjects in the help forums but can't find a reply.

How do I capture output from the serial monitor (on the PC) into a file which I can analyse later?

I could write my own program, but that is error prone and long winded if there is an already existing solution to my problem.

TIA!

Owen F. Ransen

bill2009

If you just. Eed a bit of data you can copy and paste of course.

When i need a bunch of data i use putty which will log all input to a file.

robtillaart

putty.exe download: - http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html -

There are other terminal programs too that can capture to file, note that terminal programs can interfere with the IDE and starting one can reset the sketch.

or one could write a script in python, or any other favorite programming language.
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

MikMo

GoBetwino can dump data directly into csv files or even Excel sheets.

ofransen

Thanks all for these suggestions, and Happy New Year!
Owen F. Ransen


pravas

In window
Hyperterminal-->Transfer---->capture text

gonepaddlin

Have downloaded gobetwino but can't run the .exe.config file. My pc seems to want to insist on attempting to use word to open the file. Is this a windows 7 bug?

dxw00d

No, it's not a Windows bug. Config files are usually just text. There should be a Gobetwino.exe file too.

MikMo

You should run the arduino.exe file, the one with the black/yellow icon.

gonepaddlin

Thanks guys, I now have serial data appearing in the upper gobetwino window, both your replies set me thinking in a different direction, (1) I had previously been running the Arduino serial window which uses the same USB port as gobetwino wants to. So gobetwino reports that it cannot open port 8 even though Arduino is no longer using it.
and (2) the program with the yellow and black icon is labelled gobetwino.exe not arduino.exe but running it has the necessary effect. Thanks again

MikMo

Arrgh i cant even remember the name of my own creation  :smiley-eek:

ofransen


putty.exe download: - http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html -

There are other terminal programs too that can capture to file, note that terminal programs can interfere with the IDE and starting one can reset the sketch.

or one could write a script in python, or any other favorite programming language.


This is just what I wanted. Once I have loaded the sketch onto the Arduino I run putty.exe in serial mode (no flow control) and capture the output to a text file of my choice. It DOES reset the Arduino, but that is not a problem because I want to capture all output from the start of the program.

Many thanks for pointing out puTTY to me! And to the author of course.

To those who may not have used it: Note that you download the actual program, not an installation, and the first screen is the configuration screen, then it runs the terminal program.
Owen F. Ransen

Go Up