NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Cross compile CoolProp code for cRIO-9068 on LabView 2016

Hello,

 

CoolProp is equation of state software for mechanical engineers. They supply a .dll file and the required VIs to run their software on a Windows PC running LabView:

http://www.coolprop.org/coolprop/wrappers/Labview/index.html

This is working well and extremely useful for the refrigeration & heat pump simulations I'm running.

 

I would like to run CoolProp on my 9068 cRIO. I believe that one would have to cross-compile the CoopProp source code to NI Linux Real-Time in order to do so. I got as far as this tutorial:

http://www.ni.com/tutorial/52578/en/ and downloaded 

I do not have any background in coding and am curious if this is something other forum users can guide me through. Could be a fun learning experience.

 

Thanks in advance!

0 Kudos
Message 1 of 3
(2,923 Views)

Hi Felixir,

 

It seems that that library could, indeed, be compilied for Zynq targets. The challenge is going to be setting up cmake (since that seems to be what CoolProp uses as its build system) on Windows to use the cross-compile toolchains you linked to. There are some guides online for that, just search something like "cmake windows cross compile" and that should get you started.

Message 2 of 3
(2,881 Views)

Dears,

i'm back on this old thread because i've the same problem as Felixir

is very strange but there is no way to find an "equivalent library" to be imported into compact rio 😞

I'm trying to handle this, with very poor results (I don't know anything of crosscompilation etc)

has someone already done it? (Felixir or someone else?)

can you give me some tips? (with cmake for me is not easy also how to start)

thank you and kind regards

TR

0 Kudos
Message 3 of 3
(1,561 Views)