• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 269
  • Last Modified:

The Ideal Method of Serial Communication

I'm using VB.NET 2003 and I have completed code to perform a complex conversion, now I simply need to get the serial communication working.  

I need a class to create an object to collect a data string, run it through my conversion code and then send it out through a different serial port.
(2400 baud Source, 8-N-1) >-|-<  (9600 baud Destination, 8-N-2)

If it is possible to use Virtual Serial Ports under Windows 95, I would like some information on how to do this also.

Please respond ASAP.
Thank You.

Andrew.



0
enlightec
Asked:
enlightec
  • 2
1 Solution
 
Bob LearnedCommented:
First, you need something to do RS-232 communications.  There are free .NET classes or you can pay for Sax.NET serial communications.  If you have multiple COM ports, this is a fairly trivial procedure.

Bob
0
 
enlightecAuthor Commented:
Hey Bob, thanks for the info on SAX.NET, could you point me to some links to some free .NET classes?
0
 
Bob LearnedCommented:
GotDotNet User Sample: Serial comunication (RS232) using VB.Net
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=7a677255-dd17-4105-9801-949243916763

Serial Communication with VB.Net
http://www.codeworks.it/net/VBNetRs232.htm

VB Sample Code: Using the COM port in VB.NET
http://downloads.builder.com/abstract.aspx?compid=2826&promo=600936&docid=82874

Sax.NET free community version
MSDN:  The Visual Basic .NET Resource Kit
http://msdn.microsoft.com/vbasic/vbrkit/default.aspx


Please take note that VB.NET 2005 should have this in the 2.0 framework.

Bob
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now