05-31-2010 03:50 AM
Hi all
I want to develop a .NET assambly to use as client functions for a vi server project.
In the first stages I have seen the following problems.
If I create the .NET assambly in Labview and then use it within the labview developement system the whole delvelopment system feezes when calling the function.
If I build an application of the vi using the assembly it works, but when I close the front panel of the calling vi it also shows an error message.
Is there anybody out there who is using labview made .NET assemblys sucessfull and can give me a idea how to solve the problem within the developement system.
I am using LV 9.0.1
I attached the minimal version of the project showing all the problems.
"use hello.exe" makes problems after finish.
"use hello dll.vi" kills labview in the developement system.
"hello NET dll.vi" the source file of the showhello.dll
06-01-2010 07:22 AM
Hi notti,
I'm sorry to tell you that this is a known issue which is allready reported to RnD under the reference CAR #164604.
It says that a .NET Assembly generated by LabVIEW Application Builder cannot be called by LabVIEW.
If your purpose is to use it within another development environment you should not have any problems calling it there.
However, if you need to use it in LabVIEW, as a workarround I would suggest you to create a standard DLL instead.
Thanks,
Christian