How Can I Use LabVIEW to FTP Files to and from My Real-Time TargetPrimary Software: LabVIEW Modules>>Real-Time ModulePrimary Software Version: 8.6 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I know how to use 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 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 the Developer Zone Example in the Related Links section. Related Links: Developer Zone Example: Using the Windows system FTP utility from LabVIEW with the System Exec VI KnowledgeBase 2AL9RTKN: Files Saved by My RT Application Don't Appear to Update on FTP Server KnowledgeBase 48M935MY: Why Doesn't My Real-Time (RT) Executable Transferred Via FTP Work On My RT Target? Attachments:
Report Date: 09/05/2008 Last Updated: 02/18/2009 Document ID: 4P4B654H |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
