How Can I Use LabVIEW to FTP Files to and from My Real-Time Target?
Primary Software: LabVIEW Modules>>LabVIEW Real-Time Module
Primary Software Version: 8.6
Primary Software Fixed Version: N/A
Secondary Software: N/A
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. How can this be done programmatically in LabVIEW?
The best method is to use the FTP VIs that previous to LabVIEW 2012, come with the Internet Toolkit. Below is a simple example of how to move a file from a real-time target to a host computer. For real-time targets, the default user and password is anonymous and an empty sting respectively. The host is the IP address of the real-time target.
Another method would be to use the System Exec VI. The details of this method are discussed in Developer Zone Example: Using the Windows system FTP utility from LabVIEW with the System Exec VI.
Developer Zone Example: Using the Windows system FTP utility from LabVIEW with the System Exec VI
KnowledgeBase 4KLL41UQ: Why Do I See Old Data When I FTP to My File on a Real-Time Target?
KnowledgeBase 48M935MY: Why Does My Real-Time Executable Fail if it's Programmatically Transferred via the FTP VIs?
KnowledgeBase 5YR9ISDO: LabVIEW Internet Toolkit Deprecated
KnowledgeBase 3UJACBE9: FTP Transfer of Files between Host and Real-Time Targets in Measurement & Automation Explorer (MAX)
Report Date: 09/05/2008
Last Updated: 07/24/2013
Document ID: 4P4B654H