LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to programmatically access the Device Manager to disable a device?

We have two Firewire cameras, (one monochrome and one colour), and a digital video recorder attached to a system.
The monochrome camera camera is rather badly behaved in that if it is acquiring images and either of the other two devices is switched off or disconnected the PC blue-screens. It's nothing to do with our cvi software, we see the same behaviour when running the acquisition programs which came with the camera.
We've discovered that if we disable the device in Device Manager before disconnection the PC doesn't crash. Does anyone have any C/cvi code to access the Device Manager and disable/enable devices?
0 Kudos
Message 1 of 2
(4,510 Views)
Check out the utility mentioned on this post. You can do these functions via command line with this utility once you have identified the device ID.

Hope this helps
Bilal Durrani
NI
Message 2 of 2
(4,505 Views)