Replacing an Older DMM With a Newer One Results in "Device Not Recognized" Error in Text-Based Program Hardware: Modular Instruments>>Digital Multimeters (DMM)>>PXI-4060, Modular Instruments>>Digital Multimeters (DMM)>>PCI-4060, Modular Instruments>>Digital Multimeters (DMM)>>DAQPad-4060 for USB, Modular Instruments>>Digital Multimeters (DMM)>>PC-4060, Modular Instruments>>Digital Multimeters (DMM)>>PXI-4065, Modular Instruments>>Digital Multimeters (DMM)>>PCI-4065, Modular Instruments>>Digital Multimeters (DMM)>>PCIe-4065
Problem: I replaced my PXI-4060 with the newer PXI-4065 and ran my C, CVI, or Visual Basic code. I get the error message Device not recognized. Why is this error occuring and how can I fix it? Solution: Some DMMs (such as the PXI-4060) use the Traditional DAQ driver while other DMMs (PXI-4065) use DAQmx, and these drivers are incompatible with each other. To initialize the DMM in a text-based language, you need to call the function niDMM_init. The Resource_Name parameter used in niDMM_init is assigned by Measurement & Automation Explorer (MAX) depending on which underlying driver the DMM uses (DAQmx, Traditional DAQ, or IVI logical name). If the syntax for Resource_Name in the niDMM_init function is not consistent with MAX, you will get the Device not recognized error message. See the "niDMM_init" section of the NI Digital Multimeters Help (Start » All Programs » National Instruments » NI-DMM » Documentation) for the proper syntax for your device. Resource_Name Valid Syntax:
Since the NI 4065/4070/4071/4072 devices can only be programmed with NI-DMM, it is not advisable to simply swap out an older DMM that calls Traditional DAQ functions. See the "Known Issues" section in the NI-DMM 2.7.2 readme (August 2007) for more details. Related Links: NI-DMM 2.7.2 readme (August 2007) NI Digital Multimeters Help Attachments:
Report Date: 11/21/2007 Last Updated: 12/26/2007 Document ID: 4FKB4JD4 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
