Hello all,
I hope I have the right place here.
I have a .NET utility I wrote in C# in Visual Studio 13 which I'd like to make freely available. It uses the NationalInstruments.Common and NationalInstruments.NI4882 dlls to directly read a GPIB instrument. I have LabView installed and it runs fine on my development system, but when I publish my app and try to install and run on another machine I get an unhandled exception error:
"System.TypeInitializationException: The type initializer for 'NationalInstruments.NI4882.Internal.GpibDll' threw an exception. ---> System.DllNotFoundException: The NI-488.2 Driver library cannot be found. Either Gpib is not installed, or Gpib is improperly installed. ---> System.DllNotFoundException: Unable to load DLL 'ni4882.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Am I publishing my app incorrectly, or is it not possible to include the NI dlls along with it? Are the dlls proprietary, so they'll only work if a person has LabView or equivalent installed?
Thanks for any help,
Gerrit