LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling DLL problem

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

 

Message Edited by bnlgeese on 11-12-2009 11:46 PM
0 Kudos
Message 1 of 2
(2,689 Views)
I'm sorry, are you responding to a thread? Or did you start a thread somewhere, and are you posting some additional information? If so, please do it in the original thread. I honestly have no idea what you're referring to.
Message 2 of 2
(2,678 Views)