04-27-2018 02:17 PM
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.
04-30-2018 09:37 AM
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.
04-30-2018 12:17 PM
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
05-01-2018 09:43 AM
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!
05-01-2018 12:12 PM
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
05-02-2018 12:18 PM
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.
05-02-2018 04:08 PM
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.