Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
4 ratings:
 4.5 out of 5   

Why does my Real-Time Executable Fail if it's Programmatically Transferred via the FTP VIs?



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

Problem:
I've built my Real-Time (RT) executable (startup.rtexe) and can deploy it from my project without errors. It runs correctly on my target. However, when I use the FTP VIs, which are a part of the Internet Toolkit, to transfer the RT executable, it won't work. Why?

Solution:
At least two items need to be taken into account when programmatically sending an RT startup executable to your RT controller over FTP.
  1. When using the FTP Put File.vi located in the Addons » Internet Toolkit palette, the nature of the RT executable requires that it be transmitted over FTP using the binary transmission mode.  See the binary (F) optional input in the image below. 

    Note: If the binary transmission mode is not used, no error is generated.  Your startup RT executable will simply not run.

  2. The RT executable needs to be placed in the correct location (c:\ni-rt\startup\ by default).  See the remote path input in the image below.


Related Links:
KnowledgeBase 4KLL41UQ: Why Do I See Old Data When I FTP to My File on a Real-Time Target?
KnowledgeBase 3UJACBE9: FTP Transfer of Files Between Host and Real-Time Targets in MAX
Developer Zone Example: Using the Windows system FTP utility from LabVIEW with the System Exec VI

Attachments:





Report Date: 04/23/2007
Last Updated: 06/15/2012
Document ID: 48M935MY

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