Data logging?

I'm trying to build a system to map a number of temperatures and was wondering if there was a easy way to log the serial data into a .txt file using something like batch.

if anyone has any batch programs that work nicely, that be awesome, thanks.

You mean use console to run a batch file on a running PC?

Last time I tried, IIRC the PITA was getting it to "hang up" with ctrl-D or was it ctrl-Z?

You need to set up a COM port to the Duino using MODE and then use COPY COMx: file.ext.
I haven't done much DOS since 1998, I had to look up details. Linux is not far different.

OTOH a terminal program like PuTTY or Hyperterminal can also do the job.
Or a Processing program.

Another route is to add SD (you can build an adapter if you're up to soldering) and log to an SD card without needing a running computer then read the SD card with a PC to get the file, maybe have a sketch able to log/upload.

GoForSmoke:
You mean use console to run a batch file on a running PC?

Last time I tried, IIRC the PITA was getting it to "hang up" with ctrl-D or was it ctrl-Z?

You need to set up a COM port to the Duino using MODE and then use COPY COMx: file.ext.
I haven't done much DOS since 1998, I had to look up details. Linux is not far different.

OTOH a terminal program like PuTTY or Hyperterminal can also do the job.
Or a Processing program.

Another route is to add SD (you can build an adapter if you're up to soldering) and log to an SD card without needing a running computer then read the SD card with a PC to get the file, maybe have a sketch able to log/upload.

could you explain this in i was some who has never use batch could understand

If you want to log to a running PC it would be easier to use a terminal program that can save to file.

But if you are determined to use a batch file then what operating system are you using, Linux or Windoze version?

I am probably not your best guide here. I'd be poking and re-learning but did get it going in 2011 or 2012. Important point may be that I found other ways and gave that up.

It is better to put SD on the Arduino and log to that. Then you do not need a running computer to log data.