Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i use/call R-Statistic builded function in Labview

Hi Everyone,

I want to start a function, which is created with r statistic, in labview. I have done similar things with a matlab script-function (.m-files) via the math script in labview. But i dont know how to do it with the .r files of r statistics.

Task would be to send  vectors or matrix data to the r statistic function wich calculates and sends back the results to labview interface. So i want to call the fucntion in labview and get back results...

 

Can someone help me ?

 

Thank you in advance

 

Arman

0 Kudos
Message 1 of 4
(4,128 Views)

Hi Arman,

 

unfortunatelly there is no support for calling *.r Files in LabVIEW.

 

You could write a DLL in C that calls your r File and call that DLL in LabVIEW.

But for this I do not know if you can call an *.r File with C nor of R Statistics support these calls.

 

Best wishes

--------------------------------------------------------------------------------------------------------
Work with NI Hard- and Software for about 15 years now.

Certified LabVIEW Developer & TestStand Developer/Architect

--------------------------------------------------------------------------------------------------------

There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Message 2 of 4
(4,111 Views)

Hi Dennis,

 

thanks for your fast response.

Does NI plan to develop a way to call .r files?

 

Best regards

 

Arman

0 Kudos
Message 3 of 4
(4,108 Views)

Hi Arman,

 

*.r Files are for statistic usage and not so much for measurement or control purpose.

I have no further information about if *.r Files will be able to call in future versions of LabVIEW.

 

We already include *.r Files as a Dataplugin, but this is for AWS Weather Data.

--------------------------------------------------------------------------------------------------------
Work with NI Hard- and Software for about 15 years now.

Certified LabVIEW Developer & TestStand Developer/Architect

--------------------------------------------------------------------------------------------------------

There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Message 4 of 4
(4,102 Views)