Can I Use C# to Access Shared Variables on my cRIO?

Updated Oct 16, 2018

Reported In

Software

  • LabVIEW
  • LabVIEW Real-Time Module
  • Measurement Studio

Issue Details

I have an application written in LabVIEW that I'm thinking about moving over to C#. Currently my code uses shared variables. Is it possible to use shared variables in C#?

Solution

Yes, that is very possible to do. You will need to make sure that you have Measurement Studio (a set of .NET tools to be used in Microsoft Visual Studio) to access the Shared Variable Engine , which will allow you to access shared variables. See the related links below for more information on how you can use Network Variables from Measurement Studio.