Hello,
I'm using a *.dll in my programming in order to communicate with a specific PCI card developed specifically for this project.
The communication is working nicely, without any problems.
There is another *.dll that I communicate to a external card developed for my project and again it is all working fine.
The problem is that when I use both *.dll in the same program I can use the functionalities without problems in one run, but after stopping the program (finishing the while loop) if I try to run it again it crashes and I have to restart the computer. Then, after every run, I have to close labView entirely in order to run again without problems. I don't know if there is something in the memory I have to delete or something like that. The thing is that I have the same problem using the same communication in Matlab.
Closing Labview after every run is not really a problem for me, so I've tried to use a "Quit Labview" function in the end of the program. It does quit Labview but do not solve my problem so, to run the program again, I have to restart the computer. If I quit Labview using the Windows quit button (X) then I can reopen and run it again without the need of restarting the computer.
Does anybody have experience on handle *.dll? I was guessing I have to unload the dll's from the memory, but I'm not sure if this is the problem and I don't know how to do it properly using Labview.
I hope I made it clear enough.
Regards
Eduardo