473,385 Members | 1,843 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Serial Comm Component

Hi Everybody,

I'm a newcomer from the Delphi world and I'm going to start developing my
new project (a robot control app) in C#. One of the requirements is to
communicate using RS232 (well, RS485, but the app doesn't care really).

I was googling a bit and I saw a couple of good articles using P/Invoke, and
I'll probably do that, unless I find something like Turbopower's Async (find
them on sourceforge.net). It is a very powerful communication package
designed for delphi that I've been using for many years. They don't have it
for .net (well, they have an activeX package, but I prefer something that is
native to the framework). Do you know of any package for .net that is
comparable? Async is free, so if I could find a free package here too,
that'd be a bliss.

Cheers

Padu
Mar 7 '06 #1
7 3675
A couple things:

- .net 2.0 (vs 2005) contains a built-in class to access serial ports

- Delphi 8 and above can compile .NET, so theoretically you could download
the source to AsyncPro and compile it for .net.

"Padu" <pa**@merlotti.com> wrote in message
news:sN******************************@iswest.net.. .
Hi Everybody,

I'm a newcomer from the Delphi world and I'm going to start developing my
new project (a robot control app) in C#. One of the requirements is to
communicate using RS232 (well, RS485, but the app doesn't care really).

I was googling a bit and I saw a couple of good articles using P/Invoke,
and I'll probably do that, unless I find something like Turbopower's Async
(find them on sourceforge.net). It is a very powerful communication
package designed for delphi that I've been using for many years. They
don't have it for .net (well, they have an activeX package, but I prefer
something that is native to the framework). Do you know of any package for
.net that is comparable? Async is free, so if I could find a free package
here too, that'd be a bliss.

Cheers

Padu

Mar 7 '06 #2
Bob
Hi Padu
Try
http://www.hardandsoftware.com/
Richard Grier has done a lot of work on serial comms and there is a
NetCom.ocx that he has available free.

..Net release 2 has System.IO.Ports.SerialPort class

HTH
Bob
"Padu" <pa**@merlotti.com> wrote in message
news:sN******************************@iswest.net.. .
Hi Everybody,

I'm a newcomer from the Delphi world and I'm going to start developing my
new project (a robot control app) in C#. One of the requirements is to
communicate using RS232 (well, RS485, but the app doesn't care really).

I was googling a bit and I saw a couple of good articles using P/Invoke, and I'll probably do that, unless I find something like Turbopower's Async (find them on sourceforge.net). It is a very powerful communication package
designed for delphi that I've been using for many years. They don't have it for .net (well, they have an activeX package, but I prefer something that is native to the framework). Do you know of any package for .net that is
comparable? Async is free, so if I could find a free package here too,
that'd be a bliss.

Cheers

Padu

Mar 7 '06 #3
"Gabriel Magaña" wrote
A couple things:

- .net 2.0 (vs 2005) contains a built-in class to access serial ports

- Delphi 8 and above can compile .NET, so theoretically you could download
the source to AsyncPro and compile it for .net.

Aha... just looked at the poster that came with VS2005, and here it is...
System.IO.Ports.SerialPort, and an orange "NEW!" besides it. Thanks

Regarding the delphi conversion, I doubt it will work, since Async is a VCL
package. I have Delphi 2005, I'll try it though.

Cheers

Padu
Mar 7 '06 #4
> Regarding the delphi conversion, I doubt it will work, since Async is a
VCL package. I have Delphi 2005, I'll try it though.


Well, delphi does VCL under .NET... At least if the Indy project could be
ported to .NET, then AsyncPro should be portable as well, it seems to be a
simpler project than Indy... Anyway, I would use the built-in class though,
nothing's better than the real thing...
Mar 7 '06 #5
Lee
Gabriel Magaqa enlightened me by writing:
Regarding the delphi conversion, I doubt it will work, since Async
is a VCL package. I have Delphi 2005, I'll try it though.


Well, delphi does VCL under .NET... At least if the Indy project
could be ported to .NET, then AsyncPro should be portable as well, it
seems to be a simpler project than Indy... Anyway, I would use the
built-in class though, nothing's better than the real thing...


Yeah, I've been using Indy with Delphi for a few years and I'm a big
fan. But in .net, I'm using System.Net. Although I may give
NSoftware's IPWorks .net package a try. I used their quickbooks VCL in
a Delphi app a couple years ago and was very happy with it.

--
Warm Regards,
Lee

"Upon further investigation it appears that your software is missing
just one thing. It definitely needs more cow bell..."
Mar 8 '06 #6
APRO won't build in Delphi.NET, there are too many pointers, assembly
blocks...heck, it hardly compiled in Delphi<g> Some of the TurboPower guys
formed a .NET component company, and their TransPort library is is pretty
good (I've been using it for about 2 years in everything from motor
controllers, scanners, card readers all the way down to modems). their site
is www.componentscience.net, they don't have a free version, but it's been
well worth my investment.

--
Floyd

"Padu" <pa**@merlotti.com> wrote in message
news:u9******************************@iswest.net.. .
"Gabriel Magaña" wrote
A couple things:

- .net 2.0 (vs 2005) contains a built-in class to access serial ports

- Delphi 8 and above can compile .NET, so theoretically you could
download the source to AsyncPro and compile it for .net.

Aha... just looked at the poster that came with VS2005, and here it is...
System.IO.Ports.SerialPort, and an orange "NEW!" besides it. Thanks

Regarding the delphi conversion, I doubt it will work, since Async is a
VCL package. I have Delphi 2005, I'll try it though.

Cheers

Padu

Mar 8 '06 #7
"Floyd Burger"
APRO won't build in Delphi.NET, there are too many pointers, assembly
blocks...heck, it hardly compiled in Delphi<g> Some of the TurboPower
guys formed a .NET component company, and their TransPort library is is
pretty good (I've been using it for about 2 years in everything from motor
controllers, scanners, card readers all the way down to modems). their
site is www.componentscience.net, they don't have a free version, but it's
been well worth my investment.

--
Floyd

That's very nice to know. I could recognize a few components from APRO
there. The nice thing about packages like this one is the ability to send
and receive packets. You don't have to worry about cumbersome state
machines.
The only thing is that I'm going to use it for my thesis project, and not
here at the office where I work, so $500 out of my pocket is seldom
justifiable in this case.

Thanks!

Padu
Mar 8 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mike C. | last post by:
I am trying to get Java v1.4.2 to use my PCI add-on serial port. So far, everything I try gives me javax.comm.NoSuchPortException at...
3
by: sebastianochoa | last post by:
Hello, how can i integrate a component in VB.Net for comunication with the serial port. In Vb 6.0 i used the MSComm. Thank you. Sebastián Ochoa.
2
by: bray_stenovations | last post by:
Hello, I am experiencing some strange problems while using a usb to serial adapter vs. a real comm port. The problems started with getting a blue screen at random times. Changing usb to serial...
6
by: Peter Krikelis | last post by:
Hi All, I am having a problem setting up input mode for serial communications. (Sorry about the long code post). The following code is what I use to set up my comm port.
7
by: Michael Chong | last post by:
I wrote a program that communicate with SerialComm. In every 300 milliseconds, my program continuously send & receive data via the serial port once the program starts. My program is once in a...
6
by: Ken Breit | last post by:
I am using the RS232.vb class to talk to the serial port. The problem I am having is when I try to read if anything is on the comm port. I call the read method, with the number of bytes I am...
5
by: Jack Black | last post by:
Hi, all! Using VS.Net '03 under Win2k3 Server; clients will be XP, Win2k... I'm just beginning to look into how I would go about building serial communication apps in VB.Net, and am not sure...
0
by: coolsilver.net | last post by:
I am not sure if I am in the right group. My problem is this: My VB.NET application prints to the Epson printer using Epson OPOS drivers. I have downloaded the Epson ADK for .NET from the...
2
by: Mark | last post by:
Hi all....i need to write a Scaled down component or app for Serial Communications , and x and z modem does anybody know of a net library Specifically that has xmodem and zmodem or just point...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.