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

Using Shared Variables (Mobile Module)

LabVIEW 8.6 Mobile Module Help
June 2008

NI Part Number:
372508A-01

»View Product Info

Use shared variables to share data among VIs in the same Mobile application or to read data from and write data to other network-published shared variables. The Mobile Module supports single-process shared variables and network-published shared variables.

Single-Process Shared Variables

Use single-process shared variables when you want to transfer data within the same Mobile application. Using a single-process shared variable on a Mobile target is the same as using a single-process shared variable in VIs you run on Windows.

Network-Published Shared Variables

Use network-published shared variables in a Mobile 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 Mobile VI to read from and write to other shared variables on other types of targets.

Note  The Mobile Module does 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 Mobile 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 Mobile targets.

You can create shared variables in Mobile VIs without installing support for shared variables on the Mobile target, but you receive an error if you try to run applications that use shared variables without installing the shared variable support on the Mobile target.


Resources


 

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