Coolterm extracted data are all in one line

Hi All,

I want to extract data from two sensors using Coolterm and plot them in excel.
I can see the data line by line as below in the serial monitor and Coolterm:

43,136
44,136
44,135
45,136
44,135
43,136
44,137
44,136
43,134
44,135
43,136
44,135
43,136

However, in the txt file, all of them are in one line so that they are in one row when I import them in excel.

Any help is appreciated. :slight_smile:

BR,
Masoud

I'm not very familiar with coolterm, but have a look to see if there is a setting that may affect the handling of CR & LF. It may be that coolterm is translating them.

Thank you for the hint. But I am a bit beginner. Could you please send me a link to what CR and LF are?
I found this one in the app.

Thank you

Have you tried pushing that "Line Mode" button?

That's strange. I have "Version 1.9.0 (Build 984), 64-bit, x86" on my Win10 PC and that same dialog looks like this:


I would have suggested the "Handle CR as real Carriage Return" option but you don't seem to have that!

I'm guessing that from the way the dialog looks in your screenshot, that maybe you are on a Linux system? I wonder if that's the issue as I know Linux and Windows have different ideas about CR & LF.

I assume that you are sending out a CR & LF in your sketch?

Thank you. No, I have the software on Win 11. Could you please send me a screenshot of your software, the "File Capture" tab?

BR,
Masoud

Yes. No difference.

Might be time to change to RealTerm. I've never heard of anybody having a problem with it.

I've just downloaded the latest CoolTerm - v2.0.0 (Build 1090) and run a simple sketch on an UNO to generate 10 rows of 3 comma separated variables.

I captured the data using the Connection->Capture to Text/Binary File menu option and got the same results that you did. I did find a fix for you.

Go to Connection->Options and select File Capture on the left. You have 2 options to sort your problem:

  1. On the right there is an option about half way down for "Retain termination string". Check the box next to it.
    or
  2. On the right there is an option about half way down for "Wait for termination string". Uncheck that.

This is the dialog:

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.