Discussion:
Using DLL converted from VI in Visual Studio 2K5
(too old to reply)
James P.
2008-08-14 19:40:05 UTC
Permalink
Good Morning, I do hope this is the right place for this question. I am using LV8.6 (barely - it doesn't like me). The steps so far: 1)  Took 4 VI"s created in 8.5 and made sure they work in 8.6.2)  Took these 4 VI's and created a project with a .lvproj extension3)  Opened Visual Studio 2005 and created a blank solution4)  Included necessary .h files5)  Linked to the library created by Labview6)  Created a program that calls a function from the Labview DLL Question:  How do we determine what the values are for the parameters on the functions from the Labview DLL? Here is my main: #include "BG1Power.h"  int main() { TD1 in;TD1 out;double power; double psd; Channel9FullPower(&in, &power, &psd, &out); return 0;}
Jeremy_B
2008-08-15 18:40:05 UTC
Permalink
Hi James, The header file from the DLL should have all of the function prototypes declared in it.  I am afraid I might be misunderstanding your question, please let me know if that is the case. 
Loading...