Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Shared Variable Acces with C#

Hi all

can i access Shared Variable  with C# from Labview? Have anybody examples for me or a pointer of direction?

Thanks
Achim
0 Kudos
Message 1 of 4
(3,511 Views)

This is not possible directly, but you can use the datasocket API to access shared variables already created and deployed by LabVIEW. The C# API for DataSocket is included in Measurement Studio.

0 Kudos
Message 2 of 4
(3,496 Views)
I'd also like to mention that we plan to release a new API, specifically for accessing Shared Variables from .NET Framework 2.0 applications, in an upcoming version of Measurement Studio. This should be available early next year, but as always, we can't guarantee a particular release time line.
0 Kudos
Message 3 of 4
(3,492 Views)
If you have Measurement Studio, here an example of how to use Datasocket to read from a LV shared variable using C#

Bilal Durrani
NI
0 Kudos
Message 4 of 4
(3,454 Views)