You can use the Variable Reference property with the Variable properties to configure shared variables programmatically.
![]() |
Note Shared variables can only be created, configured and hosted on Windows systems. You can use the DataSocket VIs and functions to read or write shared variables from other platforms. If you have a VI with a Shared Variable node that was configured on a Windows system, you can also move that VI to another platform. |
Complete the following steps to configure a shared variable programmatically.
![]() |
Note Changes you make using the Variable properties take effect after you save the project library. |