Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Conflict assemblies NationalInstruments.common (Vision Acquisition and MStudio 8.6)

Hi,

I have Visual Studio 2010, IMAQ Vision Development Module 2010, Vision Acquisition 2010 and Measurement Studio 8.6 installed on my machine. I confront a severe problem as both vision acquisition and measurement studio have a common assembly (NationalInstruments.common). Whenever I add reference to any of them, the other product have an undefined classes. I can not put both since reference checker keeps telling me that it is already added.

 

I tried make the reference local, also I made the property use specific version false. Nothing changed.

 

Hope that someone could help me in this regard.

 

 

Waleed El-Badry MSc.,MCPD, ISTQB Certified Tester
Assistant Lecturer
Mechatronics Department
Faculty of Engineering
Misr University for Science & Technology



View Waleed El-Badry's profile on LinkedIn

0 Kudos
Message 1 of 4
(3,774 Views)

Hi -

 

The NationalInstruments.Common is an assembly that is common to all of our assemblies, so you should only need to add the most recent version to your project. Please post a list of the assemblies and their versions from Vision and Measurement Studio that you are using, so that we can try to reproduce this issue here.

 

Thanks,

 

John M

National Instruments
Applications Engineer
0 Kudos
Message 2 of 4
(3,758 Views)

Dear John,

Thanks for your reply. Here is a list of NI assemblies I added to my project

 

Reference :National Instruments.Analysis.Enterprise

Runtime Version: 2.0.50727

 

Reference :National Instruments.Common

Runtime Version: 2.0.50727

 

Reference :National Instruments.Common.Native

Runtime Version: 2.0.50727

 

Reference :National Instruments.UI

Runtime Version: 2.0.50727

 

Reference :National Instruments.UI.WindowsForms

Runtime Version: 2.0.50727

 

Reference :National Instruments.Vision

Runtime Version: 2.0.50727

 

Reference :National Instruments.Analysis.Enterprise

Runtime Version: 2.0.50727

 

Reference :National Instruments.VisionAcquisition.IMAQdx

Runtime Version: 2.0.50727

 

Reference :National Instruments.Vision.Common

Runtime Version: 2.0.50727

 

It is worthy to mention that I found 2 versions (having the same runtime version written above). These are 8.9.35.302 and 8.9.20.302. I even found 2 IMAQ Viewer referred to each version. I chose the earlier version so I guess no porblems in that.

 

My problem is mainly now in Measurement Studio Graph and IMAQdx. Each reference made other classes in either IMAQdx or WaveformGraph undefined.

 

Hope this problem can be tackled

Waleed El-Badry MSc.,MCPD, ISTQB Certified Tester
Assistant Lecturer
Mechatronics Department
Faculty of Engineering
Misr University for Science & Technology



View Waleed El-Badry's profile on LinkedIn

0 Kudos
Message 3 of 4
(3,735 Views)

Hi Waleed,

 

When you include the references, you will want to use the newer version, rather than the older version. Also, please take a look at this KnowledgeBase article. It is not talking specifically about your situation, but could be applicable for you. Please take a look at the link, and make sure that you are using the newest version of the common assembly (not the older version).

 

Thanks,

John M

National Instruments
Applications Engineer
0 Kudos
Message 4 of 4
(3,671 Views)