myRIO I2C or SPI Express VI Crashes LabVIEW

Updated Dec 20, 2017

Reported In


  • myRIO-1900
  • myRIO-1950


LabVIEW myRIO Toolkit

Issue Details

I am working with a myRIO, and while I can place an I2C or SPI Express VI in my program, when I go to configure it, LabVIEW crashes. Why does this happen and how can I resolve it?


myRIO comes with its I2C and SPI functionality built into library files, which are called when you configure your Express VI. If user-created library files are saved in the same location with the same name as the system’s library files, this can cause LabVIEW to open the wrong library. This can lead to unexpected behavior, and in some cases cause LabVIEW to crash.

To ensure the best performance of your myRIO, please avoid the following names for your libraries:
  • I2C.lvlib
  • SPI.lvlib

Additional Information

The default file location of I2C.lvlib and SPI.lvlib is usually at:
<LabVIEW>\vi.lib\myRIO\Instrument Drivers\Onboard IO\

If these files were accidentally replaced, reinstalling the LabVIEW myRIO Toolkit should recover them.