CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2000
    Posts
    154

    Lightbulb How to communicate with a USB-232 converter?

    hi
    I've started R&D work on a USB-232 converter cable (comply with FCC standards).
    My application (C++ driver on Linux OS) tries to connect with a device & communicates via this cable.(the device is connected to the rs232 port & PC is connected to the USB port)
    I'd tested with the RS232 cable & now I want to use this USB-232 converter cable.
    Are there any libraries or sample source codes to do that.
    Thanks

  2. #2
    Join Date
    Mar 2002
    Location
    Holland
    Posts
    279

    Re: How to communicate with a USB-232 converter?

    Hi,

    I had the same kind of problems with windows.
    the solution is simple, just install the virtual driver so that it becomes a com-port. and use it like a comport.

    some hik ups I had:
    - add additional code for checking if the port is still there.
    under windows you get "can not open file" error 5.
    - if you send small data packets be aware..
    do not ask me why but the timing with rs232-usb is bad.
    so insert additional time out for responce.
    I even had different handling between 2 pc's.
    yes, its that bad.

    Hope it helps,

    Jewe
    A VB programmer trying to stay alive in a Real C World

    If the hardware is so great.. why use software to correct it..?? It will only slow it down..
    Al is de hardware nog zo snel de software achterhaalt het wel

  3. #3
    Join Date
    Nov 2000
    Posts
    154

    Re: How to communicate with a USB-232 converter?

    Jewe,
    Thanks..
    I've searched drivers but coudn't find any suitable one.
    If u have pl. send to me. If windows driver it's ok..I can check it in windows
    (Cable model is U232-P9)

  4. #4
    Join Date
    Mar 2002
    Location
    Holland
    Posts
    279

    Re: How to communicate with a USB-232 converter?

    A VB programmer trying to stay alive in a Real C World

    If the hardware is so great.. why use software to correct it..?? It will only slow it down..
    Al is de hardware nog zo snel de software achterhaalt het wel

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured