Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 70983

FTP from cRIO to host PC not working

$
0
0

Hello,

I have a VI that writes files to my cRIO 9074. I then need to get those files onto my PC. I want to do this running on cRIO (as opposed to from my computer) so that I can have a 'export file' button in the VI. I'm therefore using the 'Put File' FTP function, and have set up FileZilla as the FTP server on my PC, as delineated here: http://digital.ni.com/public.nsf/allkb/9A004CF5241F3CB68625779E004EE159

 

However, the file does not copy and I get an error message.

 

Details and annotated screen captures below.

 

Thank you for your help!

Elizabeth

 

  • I can do the reverse (running VI on computer, get or put files from/to the cRIO). However, I'd like to run this from the cRIO
  • If there's a way to call a VI on the computer from a VI running on the cRIO, that's also an acceptable solution
  • I can tell the cRIO is connected because I can access it via FTP from my computer
  • I've set up the FTP server with the default server (127.0.0.1), and user LABVIEW with the appropriate home directory etc., with read/write permissions
  • In the Put FIle VI, I have the host set as my computer's IP address, and the user again as LABVIEW
  • The error code I get is Error 1: TCP Write in NI_InternetTK_FTP_VIs.lvlib:FTP Command.vi:6->NI_InternetTK_FTP_VIs.lvlib:FTP [QUIT].vi->NI_InternetTK_FTP_VIs.lvlib:FTP Close Session.vi:3->NI_InternetTK_FTP_VIs.lvlib:FTP Put Multiple Files and Buffers.vi:2->NI_InternetTK_FTP_VIs.lvlib:FTP Put File.vi:1->RIO_FileExport.vi

Viewing all articles
Browse latest Browse all 70983

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>