?
Solved

how can i get data from com port ?

Posted on 2003-11-01
4
Medium Priority
?
243 Views
Last Modified: 2010-04-05
How can i get data from comport .What component do i have to use to get?
0
Comment
Question by:petervn
[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
4 Comments
 
LVL 14

Accepted Solution

by:
DragonSlayer earned 500 total points
ID: 9662482
download async pro from http://sourceforge.net/projects/tpapro/
0
 
LVL 5

Expert Comment

by:DeerBear
ID: 9662546
Hi,

Another option is to use TComPort.

HTH,

Andrew
0
 
LVL 5

Expert Comment

by:DeerBear
ID: 9662550
Hi again :-)

I was forgetting! ^_^

You can try with Windows APIs using COM ports as files.
It should be possible for example to write something like
this:

uses SysUtils;

var T : TextFile;

begin
   AssignFile( T,'LPT1:' );
   Rewrite( T );
   write( T,'This is my printed text' );
   CloseFile( T );
end.

It should work with other ports too.

Please bear in mind that is UNTESTED.

HTH,

Andrew
0
 
LVL 14

Expert Comment

by:DragonSlayer
ID: 9666108
Why a C grade?
0

Featured Post

Industry Leaders: 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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

741 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