11-19-2007 12:21 AM
11-20-2007 09:40 AM
Hi Gopal,
I have looked into ways to use a LabVIEW function to call an uninstaller, but Windows functions such as this are not accessible directly from LabVIEW. Basically, if you are looking for a simple function in LabVIEW that can uninstall and reinstall the driver directly, it cannot be done. The only approach I can recommend is to create a script that does this and call it in LabVIEW using a Call Library Function Node.
Hopefully this helps you out a little, but do not hesitate to contact National Instruments or post with further questions and/or clarifications.
Regards,
Lauren L.
11-22-2007 04:43 AM
Hi,
Thank you for the information. I would also want to know whether the +5VDC from the USB port of PC be enabled and disabled?
Regards
Gopal
11-26-2007 01:42 PM
Hi Gopal,
Since applications do not specifically communicate with the port itself, rather the device connected to the port, it is hard to programmatically disable a USB port. Outside of LabVIEW, you can do this by disabling the port in the BIOS of your computer or by using the Registry Editor as explained at this link.
If you can disable the port outside of LabVIEW, you may be able to create a program that can call a script to perform the same function. Unfortunately, we do not currently have a way to do this easily.
Regards,
Lauren L.