Solved

Need to read from the serial port into a text file, simple .exe

Posted on 2004-08-17
5
255 Views
Last Modified: 2012-06-27
Right does anybody know of a simple app out there that will allow me to read from the serial port straight into a text file? or straight into the application then save the data as a text file?

This is a real ball-ache. I could write an app in java but the user at the other end would then have to install the commapi package or dlls etc and set up their classpaths etc.

All I need is an exe that I can send them to do the job with no installing of dlls or .jar etc.

Anyone know of one?
0
Comment
Question by:lorddef
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 1

Expert Comment

by:tkrabec
ID: 11824300
MODE COM1: baud=4800 parity=N data=8 stop=1
TYPE command > COM1
COPY COM1 text.txt

I've done the above type of thing before in win95.  just put it into a batchfile and you're set you do have to do a ctrl+c to kill it tho.  not sure if this will work for your client.

-- Tim
0
 
LVL 31

Expert Comment

by:rid
ID: 11828101
The "Terminal" from windows 3.11 could do this, if I get you right, and one would guess Hyperterminal can as well.
/RID
0
 
LVL 1

Author Comment

by:lorddef
ID: 11828998
did you get that from here tkrabec:

http://www.computing.net/dos/wwwboard/forum/14336.html

Anyway TYPE command > COM1

... doesnt work here
0
 
LVL 1

Accepted Solution

by:
tkrabec earned 30 total points
ID: 11829680
Yes I did, I could not remember the syntax I used in the past.  The type {command} is for sending like atdt 5551212 to the serial port, but may not be necessary in your case.

-- Tim
0
 
LVL 1

Author Comment

by:lorddef
ID: 11843167
Well I couldnt get the batch file method working, but I found the perfect app for the job myself in the end. ComCap is a simple little win32 app that logs all data from the serial port to a file. Magic.

Cheers for your attempts people.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
NTP Server in VMware 5 457
Nimble Storage 3 145
OS Selection Menu 1 81
Toshiba e456 color copier driver download 3 78
In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question