Solved

how can i get data from com port ?

Posted on 2003-11-01
4
242 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 250 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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

717 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