09-28-2005 12:23 PM
Hello,
I was wondering if anyone has ever completed an application accessing REFPROP from NIST.
I have used other DLL’s with the CIN tool but can not seem to make this REFPROP DLL work.
If anyone has a code snippet showing the settings of the CIN tool that is using REFPROP, it would be greatly appreciated.
09-29-2005 03:08 PM
Hello Jackbenimble,
It sounds like you are able to call other DLLs properly, so I am assuming that
there is no problem from the LabVIEW end of things. I searched and found
a link to a patch for the software I believe you are trying to call here. If you have any
questions on exactly how to call third party DLLs please let us know -- I am
more than happy to provide some documentation and help on that.
Hope that link helps. Have a great afternoon!
Regards,
11-20-2005 10:12 AM
11-22-2005 04:29 PM
Hello,
I don’t know about the specific problems with this DLL, but LabVIEW is only
able to call with C or STDCALL (WINAPI) calling convention. The DLL seems
to have a known issue (linked above) with some installation issues. I do
not know if the customer above was able to get the software working, but please
let us know if you have any questions on how to use the Call Library Function
Node VI in LabVIEW with either calling convention.
Have a great day!
11-22-2005 04:39 PM
11-22-2005 04:39 PM
11-22-2005 04:41 PM
02-13-2007 10:37 AM
I was able to get Labview to call on Refprop for properties of a single pure fluid, but haven't been able to do this for a mixture. There seems to be a discrepency between the calls documented in the help file, and those in the Labview DLL call.
Has anyone been able to call on properties of a mixture from Labview?
02-14-2007 09:55 AM
02-20-2007 11:05 AM
Thank you for those VI's.
However, I still seem to have the same problem, namely how to get properties of a mixture back from the Refprop DLL. The "refrigerant file" input in your VI is a single string which can take a single refrigerant (pure fluid) name. When I try to enter a mixture name into this string control, nothing is returned.
In the DLL descriptions that come with Refprop (for theSETUP subroutine) it names one of the inputs as "hfiles" and refers to this as an "array of file names specifying fluid/mixture components for each of the nc components". However, the control is a string control, not an array, so I can't figure out how you enter in several fluid names, to make up a mixture. I also don't know where you specify which mixture (the name, eg. R404A) that you want.
If I could just get these calls right, I think everything else would be OK. Certainly I can get labview to call in properties for a single fluid very easily, but I can't work it for a mixture.
I really appreciate your help,
Will