01-23-2009 03:21 PM
01-26-2009
05:38 PM
- last edited on
06-02-2025
02:59 PM
by
Content Cleaner
Hi mvinca:
Could you elaborate on the differences between the simpler library and the one that you're actually trying to use? Are there some particular assemblies that you can narrow the problem down to?
It sounds like your assemblies are in the correct place but you can take a look at these resources and see if you catch something:
How LabVIEW Locates .NET Assemblies
Using .NET Assemblies with LabVIEW
01-29-2009 08:39 AM
01-30-2009 05:26 PM
Hi Joergh:
Are you also using C# and LabVIEW 8.5? Are all of the PC's running the same OS? Are there any other software differences between the computer that's not working and the others? Lastly, what is the exact error message you are receiving?
With some more information I can research the issue and hopefully find the cause of the problem.
01-31-2009 03:58 AM
I'm using LV8.6 and 8.5. The failing machine is 8.6. There are no perceived software differences between working and the failing machine. As the failing machine is currently not available for me, I cannt give you the exact error message, but it's just something like 'Error inserting ActiveX or .NET object', without any further explanation.
I'm using C# (.NET 3.5, VS 2008).
01-31-2009 04:01 AM
01-31-2009 07:11 AM
Alex,
I got around the issue by putting everything in the GAC. To try to do it the right way, I'll have to remove them from the GAC and try the directories you specified. I'll let you know, but it may be on the back burner for a little bit.
02-02-2009 10:51 PM
Mvinca:
Glad to hear you got your application running correctly for now. Let us know if you run into any issues in the future.
Joergh:
One thing you can check on the problem machine is the nicont.dll and nicontdt.dll libraries at C:\Program Files\National Instruments\Shared. Make sure the version of these libraries is at least as new as the libraries on the other computers. If nothing looks wrong with these files, I would recommend running a repair on LabVIEW.
06-15-2010 03:09 AM
Hi !
I have the same issue. I'm using visual studio .NET 2005 in C# and C++, and LabView 8.5.1. The C# dll used call others dlls and some of them are C++ dll.
On some PCs, I can see the constructors but on others, I cannot.
When I'm using LabView 8.6, I can see the constructors of my dll. The execution of the program seems to work but when I shut down the program, there is an error.
I'm wondering if I forgot to set up a framework or another thing that make this problem.
Any help would be appreciated.
06-16-2010
11:55 AM
- last edited on
06-02-2025
02:59 PM
by
Content Cleaner
Hi djcoolsteph,
Make sure that you've reviewed the following documents to ensure that you're correctly referencing the Assemblies:
KB: How LabVIEW Locates .NET Assemblies
LabVIEW Help: Using .NET Assemblies with LabVIEW
What is the error you are getting? Can you attach a screenshot of it?