Programming HID Compliant USB RAW Devices in Windows Vista using NI VISAPrimary Software: Driver Software>>NI-VISAPrimary Software Version: 4.4.1 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I have a USB-RAW device that I would like to communicate with it in LabVIEW, LabWindows/CVI, or Visual Studio. How do I use the NI-VISA driver to communicate with this device? Solution: General instructions for interfacing with USB RAW devices using the NI-VISA driver are given in the following article KnowledgeBase 325APJ2Y: How Can I Communicate With a Device Using NI-VISA USB RAW Mode?. The VISA Driver Development Wizard is used to create the INF file so that Windows can detect your USB RAW device and use the NI-VISA driver to communicate with it. However, HID Compliant devices are a special case. By default, Microsoft Windows installs a Microsoft signed driver for any HID Compliant device on your machine, which can not be overwritten by the VISA Driver Development Wizard generated INF file (on Windows Vista). The best way to access an HID Compliant device is by making calls directly to the hid.dll library provided in Windows Vista. In LabVIEW, this can be done using the Call Library Function Node located on the functions palette under Connectivity » Libraries and Executables » Call Library Function Node.
The hid.dll library is not supported directly by National Instruments, see the related links section below for more information on communicating with your HID Compliant USB device via this library.Related Links: External Site: Microsoft Developer Network (MSDN) HID Drivers External Site: Human Interface Device FAQ KnowledgeBase 325APJ2Y: How Can I Communicate With a Device Using NI-VISA USB RAW Mode? KnowledgeBase 321A2A2Y: What is USBTMC and How Can I Communicate with my USB Instrument? Attachments:
Report Date: 06/03/2007 Last Updated: 01/22/2009 Document ID: 4A2FRO0E |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
