LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable/reenable driver programmatically

HI,
 
I am trying to find a way to programmatically disable then reenable a device driver. So far I haven't found a way to do this. I can do this through the windows device manager by simply right clicking on the item/device and then selecting disable or enable. Any ideas how to do this using CVI??
 
Thanks,
 
Ryan
0 Kudos
Message 1 of 3
(3,364 Views)
I have the same issue.
0 Kudos
Message 2 of 3
(3,361 Views)
Hello majo,

We do not have anything built into CVI for disabling/enabling drivers.  You will probably need to use a Windows SDK function.  I am not too familiar with this level of programming.  I think you would have better luck posting on the Microsoft forums or searching their Developer Network.

MSDN Forums:
http://forums.microsoft.com/MSDN/default.aspx?siteid=1

Microsoft Developer Network (MSDN):
http://msdn.microsoft.com/en-us/default.aspx
Kristen
National Instruments
0 Kudos
Message 3 of 3
(3,329 Views)