Use shared variables to share data among VIs in the same PDA or Touch Panel application or to read data from and write data to other network-published shared variables. The PDA Module and the Touch Panel Module support single-process shared variables and network-published shared variables.
Use single-process shared variables when you want to transfer data within the same PDA or Touch Panel application. Using a single-process shared variable on a PDA or Touch Panel target is the same as using a single-process shared variable in LabVIEW for Windows.
Use network-published shared variables in a PDA or Touch Panel application to read data from and write data to other network-published shared variables using the NI Publish-Subscribe Protocol (NI-PSP). You can use network-published shared variables in a PDA or Touch Panel VI to read from and write to other shared variables on other types of targets.
![]() |
Note The PDA Module and the Touch Panel Module do not support the DataSocket Transport Protocol (DSTP) or hosting of network-published shared variables, which means you only can read and write to targets other than PDA and Touch Panel targets. You receive an invalid input error error if you try to use a network-published shared variable that uses DSTP as the connection protocol. The Shared Variable Engine does not run on PDA or Touch Panel targets. |
You can create shared variables in PDA and Touch Panel VIs without installing support for shared variables on the PDA or Touch Panel target, but you receive an error if you try to run applications that use shared variables without installing the shared variable support on the PDA or Touch Panel target.