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

Creating Shared Variables (PDA Module, Touch Panel Module)

LabVIEW 8.2 PDA Module Help
September 2006

NI Part Number:
370642D-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.

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:

  • PDA Module labview\examples\PDA\PocketPC\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