clecio Posted March 13, 2012 Report Share Posted March 13, 2012 What is the best way to transfer data from a RT controller over ethernet to a host "vi"? Quote Link to comment
jgcode Posted March 13, 2012 Report Share Posted March 13, 2012 It may not be the 'best' but 'a' way is to use Network Streams: http://zone.ni.com/reference/en-XX/help/371361H-01/lvconcepts/networkstreams/ http://zone.ni.com/reference/en-XX/help/371361H-01/lvcomm/ns_networkstreamspalette/ ShaunR also has a library in the LAVA-CR that would be worth checking out - but I'll let him comment wrt your question. Cheers Quote Link to comment
Roderic Posted March 13, 2012 Report Share Posted March 13, 2012 What kind of data are you willing to transfer? You can also use STM, create your own TCP stream, or if you want to transfer files you can use the FTP protocol. Quote Link to comment
JamesMc86 Posted March 13, 2012 Report Share Posted March 13, 2012 Check out the cRIO developers guide at www.ni.com/compactriodevguide. It has a whole chapter on this, even if you are using a different RT target the same should apply. Cheers, James 2 Quote Link to comment
Nitin Singh Posted March 31, 2012 Report Share Posted March 31, 2012 the best way to transfer data over RT platform is RT FIFO or shared variable enabling rt fifo, from host to target. good luck, nitin Quote Link to comment
JamesMc86 Posted March 31, 2012 Report Share Posted March 31, 2012 Hey Nitin, Do check out the guide as well. Both of those are good techniques but it depends on the type of data you are transferring that will decide for the best on a case by case basis. For example if you need to stream continuous data the RT FIFO is the best inter-process but then over the network then network streams are much better than shared variables. There is rarely a catch all technique. Cheers, James Quote Link to comment
nitin_123 Posted May 7, 2013 Report Share Posted May 7, 2013 Hi all, Can any one tell me how to save data comming from CRIO to a text file??? Thanks & regards Nitin Quote Link to comment
Wire Warrior Posted May 7, 2013 Report Share Posted May 7, 2013 That depends on the mechanism being used to transfer the data. Is it serial? TCP/IP? FTP? Once you answer that use the Example Finder to look up the protocol type along with log to file and you should see some examples you can use as guides for building your own program. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.