To create a shared variable that runs on a PDA or Touch Panel target, right-click the target in the Project Explorer window and select New»Variable from the shortcut menu to open the Shared Variable Properties dialog box. After you configure the shared variable and click the OK button, LabVIEW creates a project library that contains the shared variable under the PDA or Touch Panel target.
![]() |
Tip After you create the shared variable, you can right-click the variable and select Properties from the shortcut menu to open the Shared Variable Properties dialog box. |
After you create the shared variable, you can use it to read and write shared variable values on the block diagram.
![]() |
Note The PDA Module and the Touch Panel Module do not support binding front panel controls to shared variables, which means you cannot read and write shared variables on the front panel window. |
Refer to the shared variable examples, located in one of the following directories, for more information about reading and writing shared variables on a PDA or Touch Panel target:
![]() |
Note The PDA Module and the Touch Panel Module do not support the DataSocket Transport Protocol (DSTP) or hosting of network-published shared variables. You receive an invalid input error if you try to use a network-published shared variable that uses DSTP as the connection protocol. |