NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
robson
Posts: 20
0 Kudos
Accepted Solution

niDMM.cs exception: "Device was not recognized. The device is not supported with this driver or version."

[ Edited ]

Hello to everybody!

I've a question about using a DMM (PXI-4065) with VStudio 2008 and Measurement Studio 2009.

Because DMM are not still supported in .Net, I downloaded niDMM.cs wrapper 3.0 from NI web site.

I also downloaded C# Measure DC Volts example to compare it with my application.

 

Both, example and my application, fail trowing the exception [-1074118656] "Device was not recognized.  The device is not supported with this driver or version." when constructor class is called! 

 

dmm = new InstrumentDriverInterop.Ivi.nidmm("PXI3::12::INSTR", true, true);

 

I suppose it's depending on PXI device!

I also tried to use a VISA alias like "pippo" and then I tried to insert an unexistent device name. In any case the same exception has trown.

 

NI-DAQmx 8.9.5

NI-DMM 3.0.1

NI-VISA 4.6.1

NI-MAX 4.6.2f1

 

Roberto

 

Message Edited by robson on 04-29-2010 09:10 AM
Message Edited by robson on 04-29-2010 09:10 AM
Active Participant
Logan_081
Posts: 566

Re: niDMM.cs exception: "Device was not recognized. The device is not supported with this driver or version."

Hello Robson,

 

Maybe you areusing a wrong itrument descriptor, please try the instructions in the following document:

 

KB 33A96PCW: Receiving Error -1074118656 when Running NI-DMM VIs

 

Let me know if it could help.

Best regards.

Matteo C. - Test Engineer
Member
robson
Posts: 20
0 Kudos

Re: niDMM.cs exception: "Device was not recognized. The device is not supported with this driver or version."

Thank you Matteo

 

That was the solution!

 

Now I'm using the name in "NI-DAQmx Devices" MAX tree [PXI1Slot5] instead of the PXI MAX tree [PXI3::12::INSTR].

 

Best Regards

Roberto

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page