From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Programmatically Enable/Disable RT Startup Application Using RealTime for LabVIEW

Productos y Entorno

Esta sección refleja los productos y el sistema operativo utilizados para crear el ejemplo.

Para descargar el software de NI, incluyendo los productos que se muestran a continuación, visite


  • CompactRIO|SingleBoardRIO


  • LabVIEW Real-Time Module
  • LabVIEW

Código y Documentos


Descargar todos


This VI is an example of how the ni-rt.ini file can be modified on a Real-Time controller programmatically from a host PC.



The VI should be run from a host PC; it uses WebDAV to copy the controller's ni-rt.ini file to a specified location on the host, edits the StartAppAtBoot token, and then uses WebDAV to replace the ni-rt.ini file on the controller with the new settings. This VI is designed to work with a Linux RT controller such as the myRIO or cRIO-9068, to use it with a VxWorks target, you will need to change the path to the ni-rt.ini file.




LabVIEW 2013 (or compatible)

LabVIEW System Configuration API

LabVIEW Real-time module



A Linux RT Target (other targets possible but changes will need to be made.)


Steps to Implement or Execute Code

  1. Ensure you have a connection to a Linux RT target.
  2. Choose your target using the "Session In" dropdown box. Depending on your controller settings, you may have to initialize your connection first with the appropriate login information.
  3. Change the boolean control on the front panel to either disable or enable the RT Startup App.
  4. Run the VI


Additional Information or Reference


DisableStartupApp 2013 NIVerified Block Diagram


1-388 True.png

After pressing "StartupApp?" ni-rt.ini file.


 1-388 False.png

If not press "StartupApp?" ni-rt.ini file.


**This document has been updated to meet the current required format for the NI Code Exchange.**


Rob B
FlexRIO Product Manager

El código de ejemplo del Intercambio de Código en la Comunidad de NI está autorizado con la licencia MIT. 

NI Employee (retired)

Looks really usefull. Good job!

Piotr Kruczkowski
Certified TestStand Architect
Certified LabVIEW Architect