Why Won't Windows Install The VISA Driver For My USB Device?Primary Software: Driver Software>>NI-VISAPrimary Software Version: 3.5 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I've created a VISA driver for my USB audio device using the VISA Driver Development Wizard, but when I plug in the device, Windows XP installs a HID Device driver instead of the VISA driver I created. Why doesn't Windows install the VISA driver I created for my device? Solution: The Human Interface Device (HID) class is used for devices such as mice, keyboards, and in this case USB audio devices. Even though you created a driver for this device using the VISA Driver Development Wizard, Windows XP will choose to load its own driver instead. For most custom USB devices, this doesn't happen because those devices aren't associated with a particular class. In those cases Windows XP will choose to associate the custom VISA driver with the device, but for HID-class devices Windows XP will always choose its own digitally-signed generic driver over a custom VISA driver. You can, however, force Windows XP to load your custom VISA driver for the device. You can do this by selecting "System" from the Control Panel in Windows XP, and clicking on "Device Manager" from the Hardware tab. If your device is a HID-class device, it will probably show up under the "Human Interface Devices" list. If not, try to find it elsewhere in the Device Manager list. Once you've found it, right-click on the device listing and select "Update Driver...". Then select "Install from a list or specific location (Advanced)". Next select "Don't Search. I will choose the driver to install." Your custom VISA driver should show up in the Model list. Now you can select it, and click "Next". Finish the Hardware Update Wizard, and your VISA driver will now be installed. If your custom VISA driver doesn't show up in the Model list, you can click on "Have Disk...", and browse to the location of your .inf file you created with the VISA Driver Development Wizard. Once you've selected your .inf file, click OK and finish the wizard to install your VISA driver. Windows XP will reload its generic HID driver for this device every time the computer is rebooted, so you will have to go through these steps again to get the VISA driver associated. If possible, you can try modifying the vendor ID and product ID of your device to see if you can prevent Windows XP from recognizing the device as HID-class. Keep in mind, however, that there is a separate register on the USB controller chip that identifies the class of the device, and in some cases this register can't be modified. Related Links: KnowledgeBase 3EREJORY: Why is NI-VISA Unable to Control my USB Device? Attachments:
Report Date: 03/29/2006 Last Updated: 08/04/2007 Document ID: 3VSH15IM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
