Author Topic: Error: USB DEVICE OPEN IS FAILED  (Read 4118 times)

leosilvacosta

  • Newbie
  • *
  • Posts: 1
    • View Profile
Error: USB DEVICE OPEN IS FAILED
« on: March 16, 2010, 06:20:40 pm »
Hello guys,

I am using the components nrcommlib, more specifically the nrUSBPipePair and I am with the following problem:

The driver that I'm trying to communicate is usually recognized, but when I enable the monitoring of the USB port and it returns the error "usb device is open failed. Driver is unknown"  ???

Can anyone help me? :-\

Thanks
« Last Edit: March 16, 2010, 07:38:48 pm by leosilvacosta »

Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: Error: USB DEVICE OPEN IS FAILED
« Reply #1 on: March 30, 2010, 03:49:56 pm »
Hello

You need install WinUsb driver for success open usb device.

Roman Novgorodov
DeepSoftware.Com
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

sal691

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Error: USB DEVICE OPEN IS FAILED
« Reply #2 on: April 30, 2010, 01:18:27 pm »
how i can instal winusb driver?

Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: Error: USB DEVICE OPEN IS FAILED
« Reply #3 on: April 30, 2010, 02:12:51 pm »
Hello

You can see sample in \Demos\USBOsrKitDemo\usbosrkitdemo.dpr

Roman Novgorodov
DeepSoftware.Com
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

vanhungit

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Error: USB DEVICE OPEN IS FAILED
« Reply #4 on: January 26, 2011, 02:30:14 am »
Hello Roman,

I don't have code sample \Demos\USBOsrKitDemo\usbosrkitdemo.dpr. Can you send it for me? Thank

nath.cf

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Error: USB DEVICE OPEN IS FAILED
« Reply #5 on: May 09, 2011, 03:17:31 pm »
I've just had the same problem...

I tryed to use the code Roman said but it keeps giving me the exception message: 'Creating file error'. I don't now whats happening but the driver can't be installed...

vanhungit, you can download the trial of nrcomm_pro avaiable on nrcomm website, it contains the sample you need.



Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: Error: USB DEVICE OPEN IS FAILED
« Reply #6 on: May 13, 2011, 02:21:10 am »
Hello

Please show more details:

1) Windows version.
2) Delphi version
3) Possible Log file of Demo

Roman Novgorodov
DeepSoftware
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

nath.cf

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Error: USB DEVICE OPEN IS FAILED
« Reply #7 on: May 13, 2011, 08:06:08 pm »
I started a new topic about the same problem: http://forums.nrcommlib.com/index.php?topic=1279.0

Sorry the mistake :/