Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Creating Shared Variables (PDA Module, Touch Panel Module)

LabVIEW 8.5 PDA Module Help
August 2007

NI Part Number:
370642E-01

»View Product Info

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 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:

  • (PDA Module) labview\examples\PDA\shared variable
  • (Touch Panel Module) labview\examples\Touch Panel\shared variable
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.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit