03-28-2011 02:17 AM
Installed labview 2010 sp1 no results still get the error.
The VI I now used just consist of 1 contructor which contains the DLL.
- saved it.
- close labview
- start labview
- open the VI with File->Recent.
result is the error2.jpg.
- close VI
- opened a new VI
- added constructor
- selected the DLL
result is the error2.jpg
- closed Labview
- open labview
- open the VI with File->Open
result is ok1.jpg
03-28-2011 03:07 AM
I just found out that the pathing of the dll the problem is.
What must I do to make the dll visible in the constructor list without the need for browsing?
03-28-2011 04:13 AM
Without going into the details you provided in your posts, i already thought it *could* be a path issue.
If you want the assembly to show up in the inital list of assemblies in your constructor, you have to add the assembly to the Global Assembly Cache.
hope this helps,
Norbert
03-28-2011 10:11 AM - edited 03-28-2011 10:13 AM
Hello Norbert,
I shall try it tommorow at work what you mentioned.
I still find it strange that when the VI is opened with recent files I cannot use the dll.
Even if I close the VI, open a new one add a constructor, the when adding the .dll it gives an error2.jpg.
I have to close labview and start labview again so I can use it again.
Something really messes up labview.
gr,
03-29-2011 01:17 AM
I got the error "failure adding assembly to the cache: The system cannot find the file specified.".
When I wanted to add the .dll with gacutil.exe.
gacutil /i HebCommunicationLibraryNET.dll
gr,