LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   i am not able to store the data into the log file from minicom through rs232 (https://www.linuxquestions.org/questions/linux-newbie-8/i-am-not-able-to-store-the-data-into-the-log-file-from-minicom-through-rs232-4175450970/)

infoinfo 02-20-2013 10:16 AM

i am not able to store the data into the log file from minicom through rs232
 
good evening to all,
i am using gps and linux os for my project.actually i successfully make gps data to displayed in the minicom. To store the data from minicom to one log file i installed the software (ttylog).then i put the command in minicom as

ttylog -d /dev/ttys0 -b 4800 | tee log.txt

then after this a log file was created in the ubuntu but nothing is stored or displayed in the text file.............. so plz help me anybody.....this is for my final year project....plz tell me how to store the data..(data is from the serial port)

TB0ne 02-20-2013 10:31 AM

Quote:

Originally Posted by infoinfo (Post 4896017)
good evening to all,
i am using gps and linux os for my project.actually i successfully make gps data to displayed in the minicom. To store the data from minicom to one log file i installed the software (ttylog).then i put the command in minicom as

ttylog -d /dev/ttys0 -b 4800 | tee log.txt

then after this a log file was created in the ubuntu but nothing is stored or displayed in the text file.............. so plz help me anybody.....this is for my final year project....plz tell me how to store the data..(data is from the serial port)

Spell out your words, please. Have you verified the baud rate? And I'm not sure where minicom comes into this, since you're logging the data outside of minicom.

And you don't say where you got the ttylog program, what version/distro of Linux you're using, or what you're trying to do. But if you just want to capture the data, why not just tell minicom to capture it? Hit "L" from the menu...tell it what file. Done.


All times are GMT -5. The time now is 08:02 AM.