Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
10 ratings:
 3.5 out of 5     Rate this Document

How Can I Use LabVIEW to FTP Files to and from My Real-Time Target?



Primary Software:
Primary Software Version: 8.6
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
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?

Solution:
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.

Related Links:
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)



Attachments:





Report Date: 09/05/2008
Last Updated: 07/24/2013
Document ID: 4P4B654H

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit