Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx.2013.msm requires MStudioCommon.2013,msm which can't be found

Solved!
Go to solution

There have been previous posts regarding compatibility between and packaging of NationalInstrument.Common .20xx files and DAQmx. Those do not apply in this case. I am using MeasurementStudio 2015 for VS2013 and DAQmx 16.1.

 

Using the MStudio Installer Builder, I am trying to make a distribution package that includes the required msm files. When I include the MStudioDAQmx.2013.msm module, I get a dependency error saying it needs Module_Id_Common_2013 - which presumably would be satisfied by MStudioCommon.2013,msm. However, that file is not in Program FIles (x86)\CommonFiles\MergeModules. Only the 2012 and 2013 versions are there. The 2013 dll is installed because I can build my application and run it.

 

Further investigation shows that there are two Dev installer packages for Common - one is version 450 (for 2012?) and one is 451 (for 2013?). However, there is only one Runtime installer package - for 450 - that contains 2012 and 2010 msm files.

 

Is there a 451 (2013) Runtime package for the Common library available for download somewhere?

 

0 Kudos
Message 1 of 12
(4,547 Views)

Hi brandle,

 

We could try to install the Visual Studio 2013 Redistributable Runtime Engine and see if this installs the packages we are missing. I have included the link to do this below.

 

Visual C++ Redistributable Packages for Visual Studio 2013: https://www.microsoft.com/en-us/download/details.aspx?id=40784

 

Does this seem to be the runtime files we are looking for?

 

Thanks,

 

ShaneK

Applications Engineering

0 Kudos
Message 2 of 12
(4,501 Views)

Thanks, Shane, but those are Visual C++ runtime files. I'm using .NET, so they would not apply, and the missing file is actually one developed and supplied by National Instruments. I'm looking for the msm package that provides the 2013 version (15.1.40.49152) of NationalInstruments.Common.dll. I have the dll, but the msm package includes the dll, along with a mechanism to install it on a target computer.

 

    -Bill

0 Kudos
Message 3 of 12
(4,497 Views)

Hi Bill,

 

I did some digging on my computer and found an MStudioCommon.2013.msi file at this location: C:\National Instruments Downloads\NI-DAQmx\16.0\Products\MStudioCommon2013 

 

It looks like it is something that installed with NI DAQmx. Is this something you have on your computer as well?

 

Thanks,

 

ShaneK

Applications Engineering

0 Kudos
Message 4 of 12
(4,479 Views)

Hi Shane,

 

Yes, I have that msi file on my computer. What that msi does is install components from the .cab files in that folder. The cab files contain help files - not what I'm looking for.

 

I've attached a screenshot that should help clarify things. Note the MStudioCommonRuntimev400 folder that is highlighted. It contains an msi file and two cab files. I have the MSCRT400.cab file open in 7-zip so you can see the contents. Note that it contains four msm files - 2010, 2010_x64, 2012 and 2012_x64. Those were properly installed on the computer.

 

Now also note just above the MStudioCommonRuntimev400 folder in the directory list is MStudioCommonDevCorev400 and MStudioCommonDevCorev450. Those contain the .dll and .xml files used for building. Note also, down below, there are v400, v450 and v451 runtime packages for MStudioDAQmx. The v450 and v451 DAQmx libraries expect a matching v450/1 MStudioCommon library. However, because there is no MStudioCommonRuntimev450 or MStudioCommonRuntimev451 package, there is no msm file available to include with the build for client deployment.

 

I think this is probably just a packaging oversight - for both DAQmx and MStudio2015 itself - and you will need to track down a developer to find the answer and perhaps a copy of the v450 and/or v451 (aka 2013) common runtime package.

 

    -Bill 

Screen Shot 07-13-17 at 04.34 PM.PNG

 

 

0 Kudos
Message 5 of 12
(4,476 Views)

Hi Bill,

 

As a reference, would you also be able to provide a screenshot of the error you are encountering?

 

Thanks,

 

ShaneK

Applications Engineering

0 Kudos
Message 6 of 12
(4,464 Views)

Screen Shot 07-14-17 at 02.30 PM.PNG

0 Kudos
Message 7 of 12
(4,462 Views)

Hi Bill,

 

I was able to track down corrective action request (CAR) 578327, and I believe it's the same issue you're seeing. It was resolved in DAQmx 16.1, so you should be able to install any version 16.1 or later to fix it.

 

Cheers,

Ryan C.

0 Kudos
Message 8 of 12
(4,435 Views)

Hi Ryan,

 

Not to be too much of a skeptic, but I don't see that CAR ID listed as resolved in the Readme.html file for 16.1, and when I downloaded 16.1 and inspected the contents of the zip file, I do not see a MStudioCommonRuntime45[01] directory - just the 400 version (which has only 2011 and 2012 msm files). How was the CAR shown as fixed? Was it fixed by changing the linkage of the DAQmx 451 files to link against Common 2012? Was the 2013 Common msm buried under a different directory?

 

    -Bill

 

P.S. Even the 17.1 version of DAQmx does not contain a MStudioCommonRuntime45[01]  folder.

0 Kudos
Message 9 of 12
(4,432 Views)
Solution
Accepted by topic author brandle

Hi Bill,

 

The issue was resolved by changing linkages, so you won't find the common 2013 buried in there anywhere. Have you tried installing the new version?

 

Cheers,

Ryan C

0 Kudos
Message 10 of 12
(4,419 Views)