LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

exporting parameter information to DLL

Hai,
I am trying to export parameter info to DLL,which is upposed to be used with Test Stand.
I have the DLL created already and I just want to add export one function parameter to DLL. SO I just created one function panel and then generated the source for function node. At the end just added .fp,.c,.h files to project and tried to create DLL.
But I am getting message that " Can't create type Library info: The function xxxxx() is in function panel file but not marked for export". Even though I changed Export What: in target settings, I couldn't create the DLL.
Any help plz..
 
 
0 Kudos
Message 1 of 2
(2,836 Views)
Hi,
  could you post your project, and let me know which version of LabWindows/CVI you're running please?
The .fp file is used for type library information only, and not for exporting the function.
How have you marked the function for export? (DLLEXPORT or are you using the include header file method?)
 
You could try this following link for help on using DLLEXPORT (just ignore the instructions on LabVIEW's side of calling things)
 
The following link talks about this in more detail :
 
and refers to the Marking Imported Symbols in an Include File Distributed with a DLL topic in the LabWindows/CVI Help.
 
Here's information on including the .fp file for use with TestStand
 
 
Thanks
Sacha Emery
National Instruments  (UK)
// it takes almost no time to rate an answer Smiley Wink
0 Kudos
Message 2 of 2
(2,818 Views)