You can bind shared variables to NI-PSP data items on the network or to existing shared variables by placing a checkmark in the Bind to Source checkbox on the Variable page of the Shared Variable Properties dialog box.
![]() |
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. |
![]() |
Note You can bind only network-published shared variables. |
Binding a shared variable to a shared variable in another project or to an NI-PSP data item allows you to incorporate values from other projects and the network into the active project. To register a computer that is not on the local subnet, select Tools»Shared Variable»Register Computer. You can specify the computer name or the IP address of the computer. You then can bind a shared variable to the computer.
Complete the following steps to bind a shared variable to a shared variable in another project or to an NI-PSP data item.
![]() |
Note You can bind shared variables only to shared variables in other projects and data items that are currently deployed. |
Binding a shared variable to an existing shared variable in the active project allows you to view the values separately. For example, you might bind a shared variable to a shared variable that exists in another folder or project library within the active project to create a simplified view of the data. Complete the following steps to bind a shared variable to an existing shared variable in the active project.