LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI controlling USB interface

I need to turn on and off the USB interface on a computer.  I can do this manually by opening the system->Device manager program under control panel and right clicking on USP host controller and selecting "disabled".   I wat to do this under program control.   I need to be able to do this using CVI.   It appears I can do this using the WMI inteface of windows but I cannot figure oput how to call the WMI interface of windows through CVI.    Is there any example or help and/or am I going down the correct path?
0 Kudos
Message 1 of 2
(3,078 Views)

To do this you will need to use ActiveX as the Microsoft WMI script editor has a control for what you want. To specifically use the control you will have to search the MSDN website for information on the control. We don't have any direct documentation here at NI. Hope that helps a bit and make sure that if you have any other questions about how to use an ActiveX control to let us know, Thanks.

Tyler H.

National Instruments

0 Kudos
Message 2 of 2
(3,023 Views)