Deploy a Startup Application to Your MyRIO

Introduction: Deploy a Startup Application to Your MyRIO

About: Software Engineer at Digilent Inc.

This Instructable will describe the steps to make your own startup application for the myRIO using LabVIEW as well as how to use your web browser to disable the startup application. Using this process, I was able to create my heart rate monitor project using a photoresistor and an LCD screen to display your heart rate.

Make sure to download the required software for the myRIO to run on LabVIEW.

Photo Credit:

Step 1: Create a LabVIEW Program for the MyRIO

One important thing to know about your startup application is that it will only run once. Also, since the program will run without the front panel, you can't easily use an event structure for your myRIO.

In the block diagram above, I have a main while loop with a stop button control. Since there is no front panel, the stop button cannot be pushed and therefore the program will run continuously. If the on-board button on the myRIO is pushed, the heart rate is gathered for 10 seconds and then displayed on the LCD screen.

Create a LabVIEW program that you want to deploy to the myRIO so that it will run on startup.

Step 2: Building Your Build

First, open the project that contains the VI you want to deploy. In this case, I want to deploy

On the bottom, right click on "Build Specifications" and then select New --> Real-Time Application.

A new window will pop up where you can change some settings and select the VI you would like to use. Under the Information tab, change your Build specification name to what you want to name your startup vi. Make sure the target filename is startup.rtexe. The local destination directory is where the build will be saved on yoru computer. You can also add a description at the bottom.

Click the Source Files category. Under project files, select the VI you want to use as a startup vi and click on the highlighted arrow pictured above (the top most arrow on the window). This will move your VI over to the Startup VIs category on the right.

Now to check a few settings.

Step 3: Settings Check

Next, click on the Source File Settings category and select your VI. Click Customize VI Properties... this button is highlighted in the picture above. On the resulting pop-up window, make sure Run when opened is checked under the execution sub-heading.

Now, under advanced, make sure to uncheck Copy error code files. This will help keep your build lean. If you would like to leave the error code files though, it won't hurt anything to leave that setting checked.

Click the Preview category and click Generate Preview at the top of the window. Once the preview is generated, it should look something like the picture above. If you kept the copy error code files checked, there will be a couple of extra files.

Finally, click build and a loading screen will appear. When it is done loading, click done.

Step 4: Final Setup

Next, head back to the project and you will see your build under Build Specifications. Right click your build and select Set as startup. Then right click again and click Deploy. There will be a quick loading screen.

Once that is done, right click on the myRIO and select Utilities --> Restart to restart you myRIO and your application will run on startup. About 10-15 seconds after the status LED turns off, your application will start running.

Step 5: Disable Startup Application Using Your Web Browser

Don't want your myRIO to run your VI at startup anymore? You can use your browser to disable RT startups. I had issues with getting this to work on google chrome, so I would recommend using FireFox.

Open firefox and type with your myRIO connected via USB. If prompted for a user name and password, enter your information. If this is your first time using the myRIO and you haven't changed these settings, your user name is "admin" without quotes and there is no password.

Scroll down on the main page that comes up and find Startup Settings. Check Disable RT Startup App and click save. Then restart the myRIO using the button at the top of the page. Now when you power the myRIO, nothing will happen when you start it up. Next, open your myRIO project and under the Build Specifications right click your build and select Unset as startup.

Let me know if you have any questions and I will be happy to answer them!

Be the First to Share


    • CNC and 3D Printing Contest

      CNC and 3D Printing Contest
    • Lamps Challenge

      Lamps Challenge
    • Puzzles Challenge

      Puzzles Challenge



    4 years ago

    hye sir. do you know how to run a line follower using myrio?im using a g15 servo motor.need your help.


    6 years ago

    hi..thanks for the steps..I have a problem for the last step where i need to install silverlight but the thing is I already install the software..could you plese help me and one more, the ip is not same as yours..mine is different numbers at the end of it..thanks

    Jee Nasir
    Jee Nasir

    Reply 6 years ago

    Hi Sir,

    Thanks for your respond. I have one problem here, I cannot open the ip address uisng my web browser..which means that I cannot disable startup application using my web browser. T_T

    Another question is, how can I know that my RT application is working after I disconnect usb wire from my pc?

    Thanks Sir.


    Reply 6 years ago

    Hi Nasir.

    First, try using Internet Explorer, because I had had the same problem trying to open the ip adress in Google Chrome.

    Then in order to open the web browser interfase, you need to know what your IP adress is, follow these steps:

    1. Open NI MAX (Measurement & Automation Explorer) and in the left side tree, your NI myRIO should be under Remote Systems

    2. In the System Settings window (right part of your screen) in the first block it is your <<IP Address>>, the one can let you opend the same Configuration window on your browser

    3. In the second block <<Startup settings>>, you can disable RT Startup App

    4. If the IP adress is different in the <<Systems settings>> block and in the <<project tree in LabVIEW>>, go to your project tree and just right clic over the myRIO device, go to properties and ther in the General tab, you can change the IP of the myRIO you have in your project.

    I hope it is useful for you.

    Eng. Angel Jiménez