How to create a Virtual Serial Port?

Go To Last Post
10 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Anybody familiar with this in a VB 2008 environment?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Just get the serial port component and drop it into your project. It will work with things like USB>RS232 adaptors too.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

but similar to how an ftdi 232 can show up as a comm port, I'd like a written program to do that as well. . .lantronix is a good example: for their matchport, they include a utility that links tcp with a VCP. . .I'm interested in accomplishing similar. . .

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If you can tolerate .NET, you can get a leg up by looking at
http://www.smileymicros.com/inde...
and
http://www.smileymicros.com/inde...

Smiley

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
but similar to how an ftdi 232 can show up as a comm por
FTDI gives you the windows drivers (download from their website) to make it look like a normal RS232 port. I have used many such devices.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

js wrote:
Quote:
but similar to how an ftdi 232 can show up as a comm por
FTDI gives you the windows drivers (download from their website) to make it look like a normal RS232 port. I have used many such devices.

And LANTRONIX, MOXA, and most of the good vendors of 802.3 and 802.11 serial port extension products. Much too hard to duplicate their efforts in Windows Virtual Serial Port Drivers, if that's what the OP refers to.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Sdviveros wrote:
but similar to how an ftdi 232 can show up as a comm port, I'd like a written program to do that as well.
So you want to write a device driver. Go to Microsoft's MSDN and look for the device driver development kit http://msdn.microsoft.com/en-us/... Reserve a few weeks for learning the basics.

Stealing Proteus doesn't make you an engineer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There is an example (using the DDK) here (bottom)
USBtiny500 compatibility bridge for AVR Studio

http://www.ladyada.net/make/usbt...

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Search in sourceforge.net for com0com and com2tcp - This is how I understand your post.

http://com0com.sourceforge.net/

http://sourceforge.net/project/s...

Weiterstadt, Germany

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I don't see any source code. . .