LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

enable/disable windows USB device

Hi,

 I was wondering how I could disable/enable a device plugged into USB through LabVIEW.  I have Windows XP and the device managers shows the USB device working properly and it also has the option of enabling/disabling a device at the same time.  Is there a way that LabVIEW can do this type of function as well?

 

 

Thanks for the help,

Gjoraas

0 Kudos
Message 1 of 3
(2,723 Views)
I believe you cannot do this directly from LabVIEW. What I would do is to use a search engine to search if there is a Windows DLL that has access to this and then call that DLL from LabVIEW using the Call Library Function Node.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 3
(2,715 Views)

It is a windows tool called devcon that can help you. http://support.microsoft.com/kb/311272

You can run it with the "System Exec VI" Owning Palette: Libraries & Executables VIs and Functions



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Message 3 of 3
(2,712 Views)