02-08-2007 11:03 PM
02-12-2007 12:52 PM
02-24-2007 11:31 AM
02-26-2007 03:52 PM
Hi Kari,
Thank you for all of the error information. That error could be a memory issue, but it also very well could be a disagreement between LabVIEW and your DLL. Something that would be worth trying; I see that when you allocate your memory you are allocating a matrix, I would try creating a simple DLL in which you send a simple 1D array to your DLL and then get it back into LabVIEW. Then we can work up from there. Are you running on Win XP? Also, let me know if the code behaved any differently on the faster computer. Finally, if there are still issues, attach the simplest LabVIEW program and DLL that still recreate the issue and I'll look them over. Thank you!
-Allison S.
Applications Engineering
03-14-2007 02:17 PM
03-14-2007 02:26 PM
03-15-2007 03:36 PM
03-26-2007 10:02 PM
03-29-2007 12:27 PM
Kari,
Thank you for getting back to me. Have you had a chance to try and debug it at all? I would recommend slowly working your program up to the needed point. The sample programs work fine on my computer, so it looks like it may be a limitation of your computer, or perhaps software. I would try working from programs you have that already work. If, for instance, you have a program that can pass just a number to your DLL, then try to send an array with just one element, then try changing the element to be a larger number (I16 or I32). Then try making larger arrays, etc. The idea is to work up until some small change makes the error happen, either that or work backwards from the code that is getting the error until it stops erroring.
We don't usually take code -- we try to help you debug your code, but even so, I can't reproduce the error so the code has to be debugged on your computer. Try a few of the things I mentioned if you have time, or if you have any news on progress let me know and I'll do what I can to make suggestions. Thank you!
-Allison S.
Application Engineering