Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Merge module MStudioDAQmx.2012.msm depends on which version of MStudioCommon.*?

Dear forum,

 

I am again somewhat perplexed by the NI-DAQmx merge module. I am currently developing with NI-DAQmx version 15.1.1f1 and I try to package my program with the necessary NI modules. It references two NI .NET modules: DAQmx, version 15.1.45.61, and Common, version 15.0.40.49154. So what merge modules do I need to use? 

 

The merge module MStudioDAQmx.2012.msm contains the correct version of the DAQmx DLL: 15.1.45.61, but what MStudioCommon... merge module is the correct one? The ModuleDependency table of the module MStudioDAQmx.2012.msm lists a module with the id "Module_Id_Common_2012_32", the language 1033 and the required version "15.0.40.49154".

 

I have two options:

.) MStudioCommon.2012.msm has the id "MStudioCommon.2012.1C9B2EB5_9E34_4944_BA92_B30CCA4E9205", language 0 and version "13.0.0.190", so this merge module does not seem to be the one I am looking for.  If I use this merge module I get the warning 

"Severity Code Description Project File Line Suppression State
Warning ICE25: Possible dependency failure as we do not find Module_Id_Common_2012_32@1033 v15.0.40.49154 in ModuleSignature table RadioactiveDecay.Setup light.exe 0" 

and the MSI file seems to contain the wrong version of the necessary files: 13.....

 

.) MStudioCommon.2010.msm has the id "MStudioCommon.2010.039160C5A7A24C49AD122694436A47BB", the language 1033 and the version 15.0.0.0. This might be the merge module I am looking for. If I try to use this merge module I get the error

"Severity Code Description Project File Line Suppression State
Error Unable to open merge module 'C:\Program Files (x86)\Common Files\Merge Modules\MStudioCommon.2010.msm'. Check to make sure the module language is correct. 'The language of this installation package is not supported by your system. (Exception from HRESULT: 0x80070657)' "

 

 

So which merge module actually contains version 15.0.40.49154 of the NationalInstruments.Common.Dll? Which is the correct one? A few years ago I used the 2012 version of both merge modules, but something seems to have changed.

 

Best regards & thanks in advance

 

Stephan

 

 

0 Kudos
Message 1 of 4
(4,200 Views)

Could it be that NI DAQmx 15.1 ships with the wrong  MStudioCommon.2012.msm merge module?This case looks somewhat similar to what Daniel Dorroh posted in this thread,

 

http://forums.ni.com/t5/Measurement-Studio-for-NET/Designer-mode-error-VS2013/td-p/3133063/page/2#

 

when Ni DAQmx 14.2 failed to ship with the corresponding merge module.

 

Back then the merge module contained DLLs with the version 13.5.40.173 and the 15.1 merge module contains DLL with the version 13.0.40.190 (and not as expected 15.0.40.49154).

 

Best regards

 

Stephan

 

0 Kudos
Message 2 of 4
(4,179 Views)

Hi,

 

The problem was solved in the thread Stephan pointed. But the NI.Common.dll caused a new problem some time ago.. That story is here:

http://forums.ni.com/t5/Measurement-Studio-for-NET/Could-not-load-NationalInstruments-common/td-p/32...

 

BR,
Ilkka

 

 

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

Hi,

 

thanks for replying, but as far as I can tell it was not resolved. The merge module MStudioCommon2012.msm in the folder C:\Program Files (x86)\Common Files\Merge Modules contains old DLLs (Version 13.0.40.190) although the installed NIDAQmx Version is 15.1.1f1. The MStudioDAQmx2012.msm merge module is correct and up to date. Where can I find the corresponding MStudioCommon merge module? I tried installing the test version of MeasurementStudio 2015, but no avail.

 

Best regards

 

Stephan

0 Kudos
Message 4 of 4
(4,120 Views)