09-18-2014 03:48 PM
Hi,
I am trying to use a .dll driver I created with LabVIEW in VB. However, when I try to debug a VB project using functions from the .dll, I get the error shown in the attached image. The text reads "Could not load file or assembly 'NationalInstruments.LabVIEW.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=daeb5dc76be4e32a' or one of its dependencies. The system cannot find the file specified."
I should note that this computer does not actually have LabVIEW on it. I am suspecting that may be related to the problem.
I am using Visual Studio 2008, version 9.0.30729.1 SP. I am also using .NET version 3.5 SP1. I am also using NI Measurement Studio 8.6.35.465
Let me know if there are any other important details I should provide related to this.
Thanks,
Billy
note: This is a cross-post from the Measurement Studio forum.
09-18-2014 06:29 PM
09-19-2014 10:32 AM
It is a .net Interop dll. I'm fairly certain LabVIEW runtime is not installed. Is there a way to verify this?
Thanks
09-19-2014 10:55 AM
09-19-2014 10:58 AM
The nature of this project requires that we can't install any new software on this machine. The idea to use a LabVIEW-generated driver was conceived by someone who didn't have an exact knowledge of the machine itself and what NI software it already has.
If there is no LabVIEW runtime on the machine, is it still possible to use this dll?
Thanks
09-19-2014 11:08 AM
09-19-2014 11:40 AM
Is there a way to wrap the driver such that it can be used? Is the NI FGEN .net wrapper usable without LabVIEW Runtime?
Thanks
09-19-2014 11:50 AM
09-19-2014 12:13 PM
Okay, so after running a search I have determined that the machine does in fact have LabVIEW runtime.
Given that, is there another possible cause for the error in my inital post?
Thanks
09-19-2014 12:17 PM