09-25-2008 01:43 PM
09-26-2008 10:41 AM
Hello,
National Instruments does not recommend programmatically disabling the PCI bus. However, if this is something you need to do, it might be possible to code this in a text based language and create a .dll that can be called from LabVIEW.
Thank you
09-26-2008 10:46 AM
We are not disabling the bus, we are just wanting to do a scan for new hardware so that it will Re-initialize the bus so that we can talk to our board. We use the generic windows driver for communication and it does not recognize that it has new hardware until we tell windows to scan for new hardware. Does anyone know of a dll or windows API that will do this.
Thanks,
09-26-2008 11:14 AM
Hello,
I'm sorry for the confusion. I found a site with something similiar to what you are trying to do. It might be a good place to start. It is located at:
http://www.thecodecave.com/article312. It deals with automating the process of detecting new hardware.
Thank you,
09-26-2008 12:45 PM
Hi Ryan,
I'm working with Joe on this. I don't want to disable the PCI bus but before I can change the UUT, I do need to uninstall the UUT from the bus, then do a hardware scan to pick up the new UUT (same type of board, same slot, etc.), and then somehow get through the driver load process without invoking the Found New Hardware Wizard.
Using a dll would be fine.
Thanks for the Codecave link - we'll see were that leads.
In the meantime, any additional information will be appreciated.
Steve S.
05-09-2009 06:49 AM
Down load DEVCON.EXE from MicroSoft.
It allows you to do what you can do in Device Manager programmability
Omar