LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-20-2013, 11:16 AM   #1
infoinfo
LQ Newbie
 
Registered: Feb 2013
Posts: 1

Rep: Reputation: Disabled
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)
 
Old 02-20-2013, 11:31 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,245

Rep: Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431
Quote:
Originally Posted by infoinfo View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
minicom@rs232 kingraja84 Programming 7 03-10-2012 10:05 AM
using a shell script to close a minicom log file and open a new one. sd_read Linux - Software 2 08-16-2011 05:04 PM
how toconfigure rs232 - moxa device driver using minicom rci Linux - Networking 4 07-27-2009 07:17 AM
C++ - Store a text file in a Data Structure nilly16 Programming 3 05-26-2009 07:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration