이 내용은 고객님의 설정 언어로 확인할 수 없습니다

이 내용은 다른 사용 가능한 언어로 표시됩니다. 고객님께서 사용하시는 브라우저에 텍스트 번역에 도움이되는 기능이 포함되어 있을 수 있습니다.

FTP Files to and from a Real-Time Target with LabVIEW

Updated Jan 15, 2019

Reported In

Hardware

  • CompactRIO Controller

Software

  • LabVIEW Real-Time Module

Issue Details

  • I know how to use Measurement & Automation Explorer (MAX), Internet Explorer, Microsoft Windows Explorer or another FTP utility to send and receive files with my real-time target.
  • Can this be done programmatically in LabVIEW?

Solution

There are two ways to programmatically FTP files using LabVIEW:
  1. The recommended way is to use the built in FTP VIs (this requires the Internet Toolkit for versions of LabVIEW prior to LabVIEW 2012).
  1. The alternative method is to use the System Exec VI.

Additional Information

  • When using the provided FTP VI example use the following values
    • For real-time targets the default user name is anonymous and password is an empty string. If you receive error¬†15530, you may have an incorrect user name and/or password.
    • The host is the IP address of the real-time target.
  • Make sure to designate a file name on both the remote path and the local path.
  • A more advanced example titled FTP Put and Get Files.vi¬†can be found via the LabVIEW Example Finder.