03-10-2014 03:00 AM - edited 03-10-2014 03:17 AM
Hello
I am trying to load a .NET dll in Labview 2010 (Windows 7)
The version of the .NET framework I have is 4.0.30319
I made the following config file, according to the online instructions:
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0.30319"/>
</startup>
</configuration>
But when I use Select .net constructor, an error occurs, and I don't know why.
Can someone help me?
Thanks.
sonwendi
The attatchment was a rar file , but I didn't have 7-zip, so I used winrar to compresse it as EZ_B.rar. Then I changed the filename to EZ_B.gz to upload it.
03-10-2014
03:26 AM
- last edited on
04-30-2025
04:49 PM
by
Content Cleaner
This is from LabVIEW 2011 Help.
Read
Unsupported .NET Features in LabVIEW
Section in the following link and check the KB
03-10-2014 03:51 AM
Thanks.But about one month ago, I could use the dll ,and labview can load it.
Yesterday I reinstall the system, and it cannot work. I am confused about it.
![]()
03-10-2014 04:09 AM
OK, I wasnt sure what features you were using. If it was working, one thing you could try is to rebuild the dll using the current .net version. This is just for isloating problems, if this works you can be sure that its something to do with your windows / .net version.
Also have you installed all the windows and LabVIEW patches you may have had in the previous installation?
03-11-2014 02:22 AM
Yes , I am sure.
Today I tried it on another two PCs reinstalled with win7, and labview could load the EZ_B.dll rightly.
But the first PC still could not load the dll file.
I just want to know what is the reason~![]()
Labview load the dll file rightly: