Error BFFF003A When Enabling Interrupts in MAX with 3rd Party Device Primary Software: Driver Software>>NI-VISAPrimary Software Version: 3.5 Primary Software Fixed Version: N/A Secondary Software: N/A Hardware: PXI/CompactPCI
Problem: Why do I get an error when enabling interrupts in MAX with a 3rd Party Device? Solution: When a PXI/PCI device is “installed” by an operating system (Windows XP), the operating system uses its manufacturer ID and product ID to find the appropriate driver for the device. In fact, this is same the mechanism by which the operating system associates the DAQmx driver with an M-Series multifunction DAQ board. With third party PCI/PXI devices, it is possible to create a VISA driver so that the device is recognized by the operating system. This is done with the VISA Driver Development Wizard. With this program, the user is required to enter the following two fields: PXI Manufacturer ID—This 16-bit value is vendor specific and is unique among PCI-based device providers. The vendor ID number for National Instruments, for example, is 0x1093. If the product vendor uses a commercial PCI core, this value would be the vendor ID of the PCI core component.The above fields are necessary for the device to be recognized by the operating system. However, there are additional “non-required” fields that can be entered as well. These fields, the subsystem manufacturer ID and the subsystem model code, are used by the VISA driver to enable additional functionality such as interrupts. When creating the VISA driver, the user will have to check the boxes: "Device Uses Subsystem" and "Device Uses Interrupts” to enter information into these fields. A description of these items is listed below: Subsystem Manufacturer ID—This 16-bit value is vendor specific and is unique among PCI-based device providers. If this value exists, it specifies the vendor ID of the actual product. This value may be the same as the primary PXI Manufacturer ID.The resulting information is used by the VISA development wizard which creates an .inf file so the operating system can recognize the device. If the manufacturer ID and model ID are correct, the operating system will be able to recognize the device and associate it with the appropriate driver. In most cases, the board will operate correctly. However, if the subsystem manufacturer ID and subsystem model code are not specified correctly in the .inf file, interrupts cannot be configured with the VISA test panels or any other NI-VISA application. For more information, open the NI-VISA help and browse to: Interface Specific Information >> PXI >> Configuring NI-VISA to recognize a PCI device Also note that once the board is installed in a PCI/PXI slot, you can view the Subsystem Manufacturer ID and subsystem model code by creating an NI-PAL report. To do this, open MAX and got to HELP >> System Information. Click on "Report" at the bottom of the window and proceed to generate a full report. This report lists all of the device identification from all PCI/PXI devices that are associated with a National Instruments Driver including NI-VISA. It specifically lists the device subsystem information, which can be used when creating the .inf file with the VISA driver development wizard. Another way of obtaining this information is through the Windows Device Manager by locating the device in the try and then viewing the Device Instance ID under the Details tab. Related Links: Attachments:
Report Date: 03/08/2006 Last Updated: 05/12/2006 Document ID: 3V7FE62W |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
