ERROR_SHARING_VIOLATION
Posted: Tue May 01, 2018 6:15 am
Hi.
we have a Phidgets problem on an installation with Windows 10.
We are using Phidgets driver 21. The Phidgets is set to automatic startup.
After PC start-up (with a. 3 minute delay), our software (written in Flash) connects to the Phidgets driver (we have error messages printed to screen). But it appears that the Phidgets s/w cannot connect to the Phidgets interface (which has an RFID device attached).
However, if we quit our software and open the Phidgets control panel, then the Phidgets starts operating normally. We restart our software and the signals from the RFID come through.
I can see an error on the logs:
What does 'probably the Phidget is opened elsewhere', mean? Does this mean that something is using the USB port, stopping the Phidgets driver from connecting the Phidgets interface?
Why does opening the Phidgets control panel fix the issue?
How can I find out what is blocking the driver connecting to the interface?
How can I make this work at startup?
Any help greatly appreciated, please. Thank-You
we have a Phidgets problem on an installation with Windows 10.
We are using Phidgets driver 21. The Phidgets is set to automatic startup.
After PC start-up (with a. 3 minute delay), our software (written in Flash) connects to the Phidgets driver (we have error messages printed to screen). But it appears that the Phidgets s/w cannot connect to the Phidgets interface (which has an RFID device attached).
However, if we quit our software and open the Phidgets control panel, then the Phidgets starts operating normally. We restart our software and the signals from the RFID come through.
I can see an error on the logs:
Code: Select all
04/17/18 21:25:33,5312,".\windows\cusbwindows.c(580)",INFO,"CreateFileW failed with ERROR_SHARING_VIOLATION - probably the Phidget is opened elsewhere."
04/17/18 21:25:33,5312,".\cphidget.c(1330)",WARN,"unable to open active device: 1"
Why does opening the Phidgets control panel fix the issue?
How can I find out what is blocking the driver connecting to the interface?
How can I make this work at startup?
Any help greatly appreciated, please. Thank-You