11-07-2005 04:37 PM
11-08-2005 10:44 AM
11-08-2005 12:41 PM
I tried calling the vi by reference, but either Matlab or LabVIEW must still be hanging onto some reference to the dll because I open the reference, call the vi by reference and then close the reference, just as your example shows, but I can only run the vi making these calls once. The second time I run it the vi hangs forever.
11-09-2005 12:32 PM
11-09-2005 03:32 PM
11-10-2005 11:12 AM
11-10-2005 11:20 AM
11-11-2005 04:25 PM
11-12-2005 10:03 AM
Hi
Have you considered doing the loading/unloading of the MathLab dll, in your wrapper DLL instead?
I have used this in C++ projects where the users can chose witch DLL to load.
You would have to use LoadLibrary, FreeLibrary, and also use GetProcAddress for all the used functions in the MathLab-dll.
If your interested I could look up som old example code.
11-14-2005 11:43 AM