How to Delete Files Deployed on Real-Time Controller

Updated Oct 25, 2020



  • Measurement & Automation Explorer (MAX)

Operating System

  • NI Linux Real-Time
  • PharLap
  • VxWorks

I’m having difficulty deploying my project to the target or I’m encountering errors when attempting to run my code. Is there a way that I can directly delete the deployed data on the target without reformatting or reinstalling the software?

You can delete the deployed data, reboot the target, and attempt to redeploy.

Please use the steps below access and deleted deployed data: 
  1. Access FTP or SSH into the target by right clicking the target and clicking File Transfer in MAX.
  2. Navigate to the deployed data folder.
The path is dependent on your cRIO’s operating system. Please check the first link in the references section if you’re not sure what OS your cRIO is running.   

    VXworks and Phar Lap ETS: ni-rt/config 
    NI Linux RT: /var/local/natinst/deployfwk/config  
  1. ​Delete all contents of the folder.
  2. Reboot controller.