LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generating DLL with LabVIEW - A basic question

Thanks Chrisger,
So now it is clearly established that the problem is related to my configuration. Apart de+re-installing everything, I would really appreciate some other suggestion...

CC
Chilly Charly    (aka CC)
0 Kudos
Message 11 of 13
(645 Views)
I played with this today. I found that I could get the same results, the LabVIEW7.1 version works after rebuild. So I built another DLL, called it Xsquared.dll, and tried to repeat the behavior. My Xsquared.dll did not run. I compared the Xsquare.h and Xsquared.h files, found the Xsquared.h file lacking the proper prototype, Xsquare prototype was there, but it was void..(void). I found that in the process of building the DLL, in the LabVIEW application/DLL builder dialog, there is a place to define the prototype, once the prototype is defined properly my Xsquared.dll also worked.
0 Kudos
Message 12 of 13
(625 Views)

@BoxTrooper wrote:
...I found that in the process of building the DLL, in the LabVIEW application/DLL builder dialog, there is a place to define the prototype, once the prototype is defined properly my Xsquared.dll also worked.


What do you mean with "defined properly" ? Is there something else to do after assigning the input/output variables and verifying that the DLL format is correct (void Xsquare(double x, double *XX or double Xsquare(double x, double *xX)) ?

CC

Message Edited by chilly charly on 04-25-2005 05:46 PM

Chilly Charly    (aka CC)
0 Kudos
Message 13 of 13
(622 Views)