12-11-2008 04:41 PM
All
I am using Visual Studio 2005 and I write class libraries using C#. I call them in LabVIEW using .NET, straight forward.
I had to some mathematical processing on the C# code. So I installed Measurement studio and using some of the libraries such as
using NationalInstruments.Analysis.Math;
I used it, compiled my dll and it worked great in my LabVIEW code. This was all run on my PC which has full version of LabVIEW 8.6, Measurement Studio, .NET 2.0.
I created a stand-alone application and installed it on a different computer. It seems to be having problems loading the assemblies from Measurement studio that I use in my C# code. Do I have to do something before compiling my dll or do I have to have some kind of measurement studio run-time installer ? I am clueless since this is the first time I am using MEasurement studio. Can someone help me on this ?
Thanks
Sridhar
12-12-2008 04:39 PM
Hi Sridhar,
Did you create a distribution using the Application Builder in LabVIEW or a distribution using Measurement Studio? If you are going to deploy your DLL that uses Measurement Studio assemblies, then you need to create a distribution in Visual Studio. If you open up the NI Measurement Studio Help and navigate to NI Measurement Studio Help»Deploying Measurement Studio Applications»Deploying Measurement Studio Windows Applications, you will find some help on how to create a distribution. Also, if you look at the Measurement Studio .NET XCOPY Deployment Files in the help, you will find a list of file dependencies for different Measurement Studio assemblies.