07-26-2013 10:40 AM
I have a bunch of DLL's created as part of a C# project. So far I have managed to use the DLL functions in Labview with the nodes in the .NET pallette.
My problem is this, I made a few minor changes to the behavior of a function in the DLL in Visual Studios, but when I try running that same function in Labview, it still has the old behavior, like I haven't updated it at all. (I even started a new VI just to implement the nodes anew, and the .DLL file shows the last modified date as a few minutes ago, still doesn't work though)
Does anyone know why this might be happening?
Solved! Go to Solution.
07-26-2013 10:50 AM
Just a guess: I have found that soemtimes LabVIEW reserves DLLs if or not the VI is running. Sometimes if or not the VI is even in memory. So it might not release the reference unless you exit out of LabVIEW completely and reopen it. I cannot say this what you are seeing but it does fit the description. You are probably rebuilding the DLL while LabVIEW is still open. This means LabVIEW might be using the DLL code which was already in memory...
07-26-2013 11:11 AM
Hi, I have re opened Labview and also restarted my computer. It doesn't seem to have any effect.
07-26-2013 03:56 PM
You are sure you are pointing to the right dll?
07-26-2013 04:02 PM
Go to View >> .NET Assemblies in Memory to check the DLL location.
07-29-2013 08:55 AM
Ah, that was the problem. Thanks jyang!