Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Streaming from cRIO to Matlab via network

Is there a well supported method of streaming sensor data from a cRIO, over the network, to Matlab in a similar manner to how the Data Aqusition Toolbox would work with something with a daqmx driver?

0 Kudos
Message 1 of 4
(5,943 Views)

There is currently not an NI supported way to directly transfer information from a cRIO to MATLAB.  cRIO IO channels can be read in by LabVIEW but does not natively support other non-NI programming languages.  

 

MATLAB® is a registered trademark of The MathWorks, Inc.

Regards,

Eric L.
Applications Engineering Specialist
National Instruments
0 Kudos
Message 2 of 4
(5,930 Views)

In that case, assuming one was to simply write a c executable for a pc to collect streaming data, with matching code on the cRIO to stream the sensors, what could be reasonably expected as a throughput?

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

Throughput would depend on a lot of factors, biggest of which is which communication protocol you are using.  Check out this document below to see which time to net work communication would be best for your application.  From what you've told me it sounds like Network Streams would be the most efficient method, however you would need to have a LabVIEW application on your host side rather than a c program to use Network Streams.  

 

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

Regards,

Eric L.
Applications Engineering Specialist
National Instruments
0 Kudos
Message 4 of 4
(5,887 Views)