11-12-2009 11:39 PM - edited 11-12-2009 11:46 PM
I have done some tests. If I fill the array with some fixed value, the return array is always right. I have the feeling that the problem is with the input data function.
>Hi,
>I have a LabVIEW applicaiton that calls a DLL library. I wrote this DLL in Microsoft visual C++. Basically, the my LabVIEW application sends data arrays into the DLL, the DLL does calculation, and later the application calls a function in DLL to get the calculation results.
>The application runs well in LabVIEW environment. However, when I generate the binary file. The binary doesn't work well. What I get is always an double floating array that is filled with NAN.
>I checked my DLL source code. In the code, all the calculations just use addition, subtraction, multiplicaiton, and division.
>I have done some tests. If I fill the array with some fixed value, the return array is always right. I have the feeling that the problem is with the input data function.
>Could anybody help me with this problem?
>Thanks,
>Yonggang
11-12-2009 11:49 PM