Can I Use C#, VB.NET, or Measurement Studio to Program my CompactRIO?

Updated Jun 14, 2021

Reported In


  • Measurement Studio


  • NI CompactRIO

Operating System

  • Windows


Microsoft Visual Studio

Issue Details

Can I acquire data from a CompactRIO (cRIO) with C#, VB.NET, or Measurement Studio?


There isn't a way to directly program a cRIO with C#, VB.NET or Measurement Studio.

If you would like your UI to be created with Measurement Studio, you can use network published shared variables to communicate between your Measurement Studio application and a LabVIEW application. You would have to configure Network Variables in Measurement Studio.

C# and VB.NET Measurement Studio examples that use Network Variables can be found in C:\Users\Public\Documents\National Instruments\<MStudioVSXXXX>\DotNET\Examples\NetworkVariable\Basic

Additional Information

You can use LabVIEW  or C/C++ tools for Eclipse to program your cRIO.