Author Topic: serial port  (Read 4250 times)

amol

  • Member
  • ***
  • Posts: 2
serial port
« 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?

HDowns

  • Member
  • ***
  • Posts: 14
Re: serial port
« Reply #1 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.

amol

  • Member
  • ***
  • Posts: 2
Re: serial port
« Reply #2 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

HDowns

  • Member
  • ***
  • Posts: 14
Re: serial port
« Reply #3 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.