Example Code

Using the Windows system FTP utility from LabVIEW with the System Exec VI.

Code and Documents

Attachment

Owners of RT PXI Controllers can programmatically perform FTP transfers using the System Exec VI to access their operating system's FTP utility. Using this example, users can programmatically retreive files created by LabVIEW Real-Time on RT PXI Controller hard drives. This example can also be used with any FTP server.

A sample command is used in this example. Save the attached llb on your hard drive. Run the FTP client with the Windows FTP Utility.vi in the attached llb on a Windows machine. Specify the IP address of the remote machine. The sample command will retrieve the ni-rt.ini file from the remote machine to your local hard drive.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors