From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can other languages access the shared variables created by LabVIEW?

Solved!
Go to solution
Hello,ALL. Can other languages access the shared variables created by LabVIEW? IF YES,HOW? IF NOT,WHY?
0 Kudos
Message 1 of 2
(1,231 Views)
Solution
Accepted by topic author Yuanxj

You can use NI Measurement Studio (and therefore .NET languages such as C#, VB) to work with shared variables via NI's suite of assemblies.

 

Other than that, not directly via PSP. As to why, that's probably due to the proprietary nature and general lack of visibility of LabVIEW / G. 

 

Note that the NI Shared Variable Engine also exposes Network-Published Shared Variables over OPC DA. So any OPC DA client can access the variables. A number of programming languages have libraries that support connecting to OPC DA servers. 

Message 2 of 2
(1,170 Views)