Example Code

Programmatically Upgrade your cRIO Firmware

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.


  • LabVIEW

Code and Documents


Download All



This example demonstrates how to programmatically install firmware on a Compact RIO target.



This code demonstrates programmatically upgrading the firmware on your cRIO using the System Configuration API. Checking and upgrading firmware versions can be very important on NI Linux RT targets, escpecially if you're also programmatically upgrading system images.

Find more detailed information about firmware upgrade and firmware file locations in this Knowledgebase:

Upgrading Firmware on my NI Linux Real-Time Device




  • LabVIEW Base Development System 2012 (or compatible)
  • NI System Configuration 5.3.3 (or compatible)


  • Real-Time target (e.g. cRIO 9068 or compatible)


Steps to Implement or Execute Code

  1. Download and open the attached file "Install Firmware on cRIO LV2012 NIVerified.vi"
  2. Open VI and follow the instructions in Front Panel and Block Diagram and run the program.


Additional Information or References

Install Firmware on cRIO LV2012 NIVerified.vi - Front Panel.png


Install Firmware on cRIO LV2012 NIVerified.vi - Block Diagram.png


**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text ‘NIVerified’. Read here for more information about the new Example Guidelines and Community Platform.**

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