07-29-2009 12:38 PM
I have the Labview examples REFPROP supplied with the installation CD and they work fine. I would like to find an easy way for making the REFPROP.DLL work in Labview with all of the available functions. What happens if I import the shared libraries? What .h (header) file should I use? There is a .h file in the Refprop examples folder for c++. I tried using the c++ .h file and recieved the following message:
"The shared library contains 99 function(s). But no function is found and recognized in the header file. The following function(s) cannot be wrapped. If you want to import these functions, please review the warning messages next to the functions below. You will need to fix the problems before you can continue with the wizard."
An example warning is a follows:
fp_ABFL1dllTYPE ABFL1dll;
Undefined symbols can prevent the wizard from recognizing functions and parameters. To correct this problem, check the header file to determine if you must add predefined symbols. Click the Back button to return to the previous page of the wizard to add a predefined symbol (for example, "NIAPI_stdcall = __stdcall" or "NIAPIDefined = 1").
I am not sure what I need to do from here, should I modify the .h file and if so what should it look like? Am I even headed in the right direction or has a little information made me dangerous?
07-30-2009 02:04 PM
Take a look at the following discussion forum as some example VIs are attached to call into this DLL.
http://forums.ni.com/ni/board/message?board.id=170&requireLogin=False&thread.id=144710
07-30-2009 05:19 PM
08-02-2009 09:30 PM
The other option you have for calling DLLs is to use the Call Library Function Node. You won't have to include the header file but will have to configure the function calls yourself. It's more time consuming but lets you use complex data types. There is a good amount of documentation on it if you search for it but here are some good places to start:
LabVIEW 8.6 Help: Call Library Function Node
LabVIEW 8.6 Help: Configuring the Call Library Function Node
KnowledgeBase article on calling DLLs
Developer Zone: Accessing DLLs from LabVIEW
08-03-2009 01:16 AM
A Person wrote:Take a look at the following discussion forum as some example VIs are attached to call into this DLL.
http://forums.ni.com/ni/board/message?board.id=170&requireLogin=False&thread.id=144710
I think that link is not so useful, since Refprop DLL does not have all functions exported for LV.
We tried it & now we are thinking of migrating to VB...
10-07-2016 01:42 AM
can anyone please help me on satgv dll .. i need to plot the graph using it
10-07-2016 03:49 AM
If it is a different DLL, then start a new thread.
10-13-2016 12:12 AM
satgv comes under refprop dll
10-13-2016 02:44 AM