LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to merge NIST with LabView in cRIO

Hello all, I am trying to use NIST data base but this time in CompactRio, I have found great information on how to do this in Labview only using this link:

http://www.boulder.nist.gov/div838/theory/refprop/Frequently_asked_questions.htm#LabViewApplications

using the method above i have to put all the already made DLL and header files in Labview library and then call them using "Call Function Library Function Node". easy peasy

but now I want to use the same stuff in cRIO, from my understanding i will need to some how compile those files and install it on the cRIO, has any one done this before?

is there any easier way? can I some how do it through my project?

 

BTW i have red this link but it was of no value to me as i don't have a clue what it is talking about:

http://www.ni.com/white-paper/5694/en/

 

i do appreciate if some one call help me here.

 

 

0 Kudos
Message 1 of 5
(3,557 Views)

Hi amir,

 

is there any easier way?

Well, I use RefProp too on a Windows PC. But on cRIO (or similar) I just use pre-calced maps for all physical units I would calc with RefProp. Usually you don't change your media that often…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 5
(3,548 Views)

Hello GerdW

 

thank you for your reply, I might do what you proposed but as the last solution. I need to come up with a universal method to be used with any systems for any gases we have here, it makes it hard to just do the map for all gases and every condition. 

but still i will wait to see if anyone else has a solution.

 

thank you

0 Kudos
Message 3 of 5
(3,532 Views)

The OS system on my cRIO is VxWorks RTOS, I do not have the right compiler to complile the .DLL file to .Out library for VxWorks systems, i thought some one might had done this already.

 

i have attached the zip file with all the infromtation required, I want to be able to run the "Refprop_Example_main.vi" from folder "Refprop_Example"  on cRIO. (I can already run it on the Labview on my PC) 

0 Kudos
Message 4 of 5
(3,485 Views)

Considering that the article "Developing Shared Libraries for the cRIO-901x and Other VxWorks Targets" doesn't mean much to you I would recommend you strongly to go with the recommendation from Gerd.

 

From a quick web search you would first have to compile gfortran from sources (which might be more than just a recompile as there is a chance that the sources would need at least some configuration changes too) and then use that to compile the Fortran files into a VxWorks out file. Both steps are highly special and you will be hard pressured to find anyone who has already done it and if there is one, he most likely won't share his results freely.

 

Other thread is located here. I would estimate the effort to get this all working properly to at least several weeks, and that is assuming that you know Linux/VxWorks, GCC, C compiling etc. fairly well.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 5 of 5
(3,473 Views)