Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Measurement Studio 8.1.1 will not install DAQmx dll

hey

i am having problems with the latest Measurement Studio update. I had problems installing it initially, and so have uninstalled measurement studio from my computer, and done a fresh reinstall. this works fine, but it refuses to install the Nationalinstruments.DAQmx library, and i have no option in Visual Studio to create a DAQmx project.

what am i doing wrong? i have DAQmx 8.5 installed, works fine. any ideas?
0 Kudos
Message 1 of 15
(5,765 Views)

Hi Kreuters,

What edition do you have of Measurement Studio (Standard, Professional, or Enterprise)? The reason I ask is that you need the Professional or Enterprise Edition to have those DAQmx templates. This is because that template is part of the DAQ assistant package, which is not included with the Standard Edition of Measurement Studio.

Also, just to make sure, you did include .NET Framework support for the DAQ driver right?

Best Regards,

Jonathan N.
National Instruments
0 Kudos
Message 2 of 15
(5,763 Views)
hey

i have the professional edition, and everything was working ok when i initially installed measurement studio 8. something happened during the last installation that removed the DAQmx capabilities.

and yes, i reinstalled DAQmx to make sure, with NET support enabled.

any other ideas?
0 Kudos
Message 3 of 15
(5,760 Views)
Hi Kreuters,

I assume we are talking about Visual Studio 2005 right? Also, did you have the DAQ driver installed before you reinstalled Measurement Studio? If so, try doing a repair on Measurement Studio. 

Additionally, does this problem occur on multiple machines?

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 4 of 15
(5,758 Views)
ok, choosing to repair the Measurement Studio installation seems to have found the problem. the file system has become corrupt, with a labview folder no longer visible in windows explorer, even though you can browse if you type the full path, and files cannot be written to the folder. makes it tricky to delete (it is not hidden). this has happened before to a previous installation of labview 8.20. have to revert to safe mode to delete the folder, then repair the installation.

any ideas why labview causes these file system errors to occur? have not had the problem with other software. the computer is a mac mini running boot camp if that is of relevance.


0 Kudos
Message 5 of 15
(5,744 Views)
Hi Krueters,

Honestly I am not sure why the LabVIEW would cause any of those errors. You might want to create a new post in the LabVIEW forums with regards to this issue as they could probably provide some better insight into the LabVIEW issues.

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 6 of 15
(5,744 Views)

I am having a similar problem.

I am using the MStudioCommon.2005.msm merge module to try and install  NationalInstruments.DAQmx.dll (and required dependencies), however on the target PC, I see the behaviour as though that dll was not installed. IE, my program fails to load. I created a new project in VS2k5 to see if the assembly was registered on the system, but it wasn't in the list of avalible project references, nor did it show up on a system search.

Instead of requiring users to select the Measurement Studio for .NET assemblies option when installing the DAQmx drivers (8.6 - it is not installed by default), how do I get this dll deployed on a target pc? I would have though that adding the merge module to the ism (install shield 12) would have done it.

0 Kudos
Message 7 of 15
(5,340 Views)
Hi Tyzack,
 
Have you tried creating a Visual Studio installer to see if that correctly deploys the appropriate assemblies? The reason I mention the Visual Studio installer is because when you create a setup project inside a solution that contains your DAQ project, the setup project will determine what dependencies your DAQmx project has and include those merge modules dependencies. 
 
Now, even though Visual Studio picks up these dependencies, I always like to double-check and make sure that the setup project includes the correct merge modules by reviewing the Measurement Studio .NET Merge Modules help topic. This topics shows you which merge modules you will need depending upon what assembly you are using.
 
So in your case, if you are using the DAQmx assemblies, you will need to include the following merge modules:
- MStudioCommon.2005.msm
- MStudioDAQmx.2005.msm
 
These merge modules are found in the C:\Program Files\Common Files\Merge Modules directory.

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 8 of 15
(5,338 Views)
 
Actually, I am using Install Shield 12. It also picked up the dependencies and added the merge modules. I don't get any errors when I build the disk set, but I don't see any evidence of the files being installed on the target pc.
0 Kudos
Message 9 of 15
(5,334 Views)
I edited the merge module to deploy the two assemblies NationalInstruments.DAQmx.dll and NationalInstrumnets.DAQmx.ComponantModel.dll in the same folder as my application and this seemed to solve the problem.
 
However, this raises the question of what exactly does the merge module do? I guessed that it would act as part of the rest of the NI DAQmx package and deploy and register the assemblies in the same location and manor that the driver installer did.
 
Is this not the case? If not, I would be curious to the logic behind it.
 
If that is what it does (deploy and register the assemblies in the same way the driver installation does) what I am I doing wrong, or, what more do I have to do other than simply adding the merge module to the istallation?
0 Kudos
Message 10 of 15
(5,331 Views)