Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
CoolProp.vi | 2014-02-14 | 12.4 kB | |
README.rst | 2014-02-14 | 1.4 kB | |
CoolProp.llb | 2014-02-14 | 213.0 kB | |
CoolProp.dll | 2014-02-14 | 2.2 MB | |
Totals: 4 Items | 2.5 MB | 0 |
Labview wrapper of CoolProp
by Ian Bell, Arnaud Legros, Jan Nolens and Sergei Gusev
University of Liege, Ghent University
October 2013
Available libraries
CoolProp.vi: Basic Library to get the properties from CoolProp.dll
CoolProp.llb More advanced library, allowing to compute thermodynamic diagrams, real-time calculation of properties, measurement processing, etc.
See the Diagrams_coolprop.vi in the LLB to get started. To use, you must update the path to the CoolProp.dll file in the VI.
To Install
- Copy the files CoolProp.vi, Coolprop.llb and CoolProp.dll from this folder to somewhere you want
- Add CoolProp module to your code
To Use
Call it using the same sorts of input parameters as Props function : http://coolprop.sourceforge.net/apidoc/CoolProp.html#CoolProp.CoolProp.Props
Notes
Wrapper currently in its infancy, absolutely no error checking is carried out, use at your own risk.
For Developers
- To regenerate DLL, run the build script (wrappers/Labview/BuildDLL.bat). You will need to have Visual Studio 2010 installed, or change the path to vcvarsall.bat in build script
- Uses __cdecl in combination with extern "C" to make Labview happy
- For realtime targets, instructions are here: http://www.ni.com/white-paper/5694/en