PORTS Forum

Ports and Interfaces => Serial Ports => Topic started by: amol on July 04, 2012, 10:50:30 pm

Title: serial port
Post by: amol on July 04, 2012, 10:50:30 pm
hi

 i am connecting pathology laboratory instruments to pc using vb6. Till now i was connecting using serial port. But now a days lab instruments are also coming with usb port,lan port for communication. if i want to connect them to my pc's usb or lan port , how to programme with it. How to use oncomm event? Will it work with normal  usb - usb cable?
Title: Re: serial port
Post by: HDowns on July 05, 2012, 12:45:32 am
The drivers for your lab instruments should create a virtual serial port for the USB connection. In this case you can use your vb6 app too.
Title: Re: serial port
Post by: amol on July 05, 2012, 09:34:13 pm
Thanks. But will it work with normal usb-usb cable or some specialised cable. What about lan port ? Do I need to switch to winsock
Title: Re: serial port
Post by: HDowns on July 06, 2012, 02:00:30 am
If you'll use the lan port, then you'll need a description of a data exchange protocol. It may be simple than a pure USB connection.