Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Deployment of Web Application Reference Problem

I've published my vb.net application and when I try to set it up on another computer I get:

"Unable to install or run the application. ... requires assembly NationalInstruments.NiLmClientDLL version ......in Global Assembly Cache". 

Do I need to install something on the other computer?

Thanks.

 

0 Kudos
Message 1 of 7
(3,274 Views)

Does your application use DAQmx or MI Device drivers? If so, you will need to have the .NET support for those drivers installed on the target machine. You can install DAQmx .NET support by selecting certain options during the installation of the DAQmx drivers or by modifying the installation if it has already been installed. There are more instructions related to this in the link below.

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P7GlSAK

 

The .NET support for other hardware drivers, such as NI-FGEN, DMM, DCPower, etc. are provided as a separate driver download that can be found with a quick google search.

Applications Engineering
National Instruments
0 Kudos
Message 2 of 7
(3,239 Views)

Thanks, Daniel.

Does my application use DAQmx or MI Device drivers? I really have no idea. I think MI is for Android applications, and I'm not doing that. So that leaves me with DAQmx, and I have found the download page for it. 

However, the page states that I should have Microsoft Visual Studio installed and I don't want to install VS just to run an executable application. Do I need to install VS?

 

Thank you

0 Kudos
Message 3 of 7
(3,234 Views)

MI stands for modular instruments (e.g. if your application is using hardware like a DMM, function generator, oscilloscope, switches, etc) so it's not really related to android. DAQmx are the drivers for our data acquisition hardware like cDAQ or PXI. 

 

Which download page are you looking at specifically? The download page for the latest version of DAQmx can be found below.

"NI-DAQmx 17.0": http://www.ni.com/download/ni-daqmx-17.0/6624/en/

You shouldn't need VS to install this. You should just be able to run the executable and install DAQmx then configure the installation to add in the .NET support.

 

When that assembly NationalInstruments.NiLmClientDLL is missing, it usually means there is a hardware driver being referenced that has not been installed on the target machine. Hope that helps!

Applications Engineering
National Instruments
0 Kudos
Message 4 of 7
(3,228 Views)

Daniel. Thank you. 

Would the attached image help you to determine if I'm using MI or DAQmx drivers?

 

So you think I'm missing a driver other than what is suggested by the error:

   "....NiLmClientDLL is missing" ? 

Could it be an instrument driver, or Serial or USB driver?

Thank you,

Dave

 

 

0 Kudos
Message 5 of 7
(3,221 Views)

Do you know if you have Measurement Studio installed on either of these computers? It could also be related to a specific Measurement Studio library that has not been installed.

Applications Engineering
National Instruments
0 Kudos
Message 6 of 7
(3,211 Views)

No, I don't think I have Meas. Studio.

The references that I have in VB.net for my application are:

 Ivi.Driver.Interop.dll

Ivi.Visa.dll

NationalInstruments.Common.dll

NationalInstruments.Visa.dll

Ivi.Visa.Interop.dll

I don't think I can just copy and paste these into the same path on another computer and expect them to be recognized by my app. I think I have to "install" them, right? If so, could you tell me where I can find and install them?

Thanks.

0 Kudos
Message 7 of 7
(3,199 Views)