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.
After you create the shared variable, you can right-click the variable and select Properties from the shortcut menu to display the Shared Variable Properties dialog box. Use the Shared Variable Properties dialog box to configure the shared variable.
![]() |
Note The PDA Module and Touch Panel Module do not support reading from or writing to real-time FIFO. If you create a shared variable with real-time FIFO enabled, the shared variable behaves as a network-published shared variable instead. |
After you create the shared variable, you can use it to read and write shared variable values on the block diagram.
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. |