serial to usb
serial to usb
serial to usb
serial to usb
serial to usb
serial to usb serial to usb serial to usb serial to usb serial to usb serial to usb serial to usb serial to usb
serial to usb serial to usb
serial to usb
Go Back  Xtreme Visual Basic Talk > > > serial to usb


Reply
 
Thread Tools Display Modes
  #1  
Old 05-07-2004, 06:19 AM
0byte 0byte is offline
Newcomer
 
Join Date: May 2002
Location: home
Posts: 22
Default serial to usb


hello, i have a question.
is it possible to write a software that will act as a "router", so to speak.
in short: i have a laptop without a serial port. i need it to program industrial machines.
the connection between the 2 (laptop-machine) must be made through seria cable.
i have an usb->serial adapter, but the application i use to program de machine sends
the data to the serial port...so it;s of no use.
my question again: is it possible to write a software so that te app from the laptop sends
the data to my program and this one sends it to the usb port through de usb-> serial
adapter and finally to the machine.
i hope i was clear enough
thanx
__________________
640k are enough :)
Reply With Quote
  #2  
Old 05-07-2004, 08:05 AM
XVB's Avatar
XVBserial to usb XVB is offline
Senior Contributor

* Expert *
 
Join Date: Oct 2003
Location: Middle of dust and sun.
Posts: 814
Default

Maybe a virtual port is what you need, actually, I use this to map a virtual serial port to my ethernet connection so I can actually remotely control devices ethernet-enabled...But Im guessing you could do something similar, there is software capable of doing this for you...
__________________
[Impossible is not a fact. It's an opinion. - nba]
Reply With Quote
  #3  
Old 05-11-2004, 02:33 PM
0byte 0byte is offline
Newcomer
 
Join Date: May 2002
Location: home
Posts: 22
Default

thaks , i'll look harder
so far i could only find programs that create a virtual pair so you can test it on the
same computer.
__________________
640k are enough :)
Reply With Quote
  #4  
Old 05-12-2004, 05:27 AM
sseller's Avatar
sseller sseller is offline
Contributor
 
Join Date: Nov 2003
Location: Leeds UK
Posts: 804
Default

You can use the MsComm control with a USB/Serial convertor. See this thread:

http://www.xtremevbtalk.com/show...ghlight=belkin
Reply With Quote
  #5  
Old 05-12-2004, 06:45 AM
0byte 0byte is offline
Newcomer
 
Join Date: May 2002
Location: home
Posts: 22
Default

thanks a lot. exactly what i needed
__________________
640k are enough :)
Reply With Quote
  #6  
Old 05-12-2004, 06:52 AM
Bolek's Avatar
Bolek Bolek is offline
Contributor
 
Join Date: Feb 2003
Location: Prague, Czech Republic
Posts: 596
Default

The question is HOW does your application send data to the serial port? If it is a Windows application, it will probably (in the end) use the CreateFile/WriteFile API functions to do it. I think you can catch with a virtual port - your USB->serial convertor should have come with such a driver and should have added some COM (COM4 for example) to the system.

If it is an old DOS app, you probably have bad luck. Although it was possible to write to the serial ports as files under also, most applications used to access the real hardware ports. It is possible to catch access to non-existing hardware ports but this will require a completely different sort of applications than catching writes to COMX file.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
new to visual basic, creating serial comm prog JDMmaster Communications 3 11-30-2003 04:35 PM
Serial Number with Installshield 6.2 Sathyaish Installation / Documentation 1 10-08-2003 11:03 AM
Coding Serial Number Logic WVGhostDog Database and Reporting 3 09-04-2003 10:49 AM
What's your HDD serial length and contents? BostjanK Tech Discussions 4 06-24-2003 12:29 AM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
serial to usb
serial to usb
serial to usb serial to usb
serial to usb
serial to usb
serial to usb serial to usb serial to usb serial to usb serial to usb serial to usb serial to usb
serial to usb
serial to usb
 
serial to usb
serial to usb
 
-->