02-19-2013 02:35 PM
Hi,
Like several others, I am trying to use devcon to disable and re-enable a USB port from within LabVIEW. The USB port is connected to a USB camera listed in the device manager as "Thorlabs DCC cmos, 1280x1024, ers, 1/3 cameras". I reviewed the numerous posts related to devcon, but did not find anything that helps me with the issue I am having. I am using Win 7 64 bit.
I downloaded devcon as part of the Windows Driver Kit (WDK) 7.1.0 following the instructions on http://9b5.org/2011/10/getting-devcon-exe-onto-and-working-with-windows-7/.
I then followed the instructions in the thread http://digital.ni.com/public.nsf/allkb/1D120A90884C25AF862573A700602459. (Note that both USB Root Hubs listed in device manager have a Device Instance Path of ROOT_HUB20.)
Command prompt:
When I try running devcon remove *ROOT_HUB20*, I get a Remove failed message.
When scanning for new hardware, devcon fails.
LabVIEW vi: Same result
Your help is appreciated. Thanks.
02-20-2013 07:58 PM
First you need to be able to use this command in windows, then you can try in LabVIEW.
Check in this forum the first answer: devcon win7
You could try to follow those steps.
Regards
02-21-2013 12:12 PM
Hello fromm8,
I studied this thread already before I submitted this support request. In fact, I got the instructions for installing devcon from this thread. But there is nothing in there that helps me with my issue. I went through it again just now, but with the same result.
Peter
02-25-2013 06:43 AM
You should look some Microsoft forums. Aparently there are some issues with this command for windows 7 64 bits but there are different workarounds. For example this one: devcon problem
regards
02-25-2013 01:12 PM
Thank you for your efforts to help me. Unfortunately, we are going in the circle, since this post is just a copy of the earlier posts. I have already downloaded and installed devcon following these instructions, but now it does not work properly. There is nothing in that post that would guide me in the right direction from here.