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

Using Shared Variables (Touch Panel Module)

LabVIEW 8.6 Touch Panel Module Help
June 2008

NI Part Number:
372507A-01

»View Product Info

Use shared variables to share data among VIs in the same Touch Panel application or to read data from and write data to other network-published shared variables. The Touch Panel 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 Touch Panel application. Using a single-process shared variable on a Touch Panel 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 Touch Panel 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 Touch Panel VI to read from and write to other shared variables on other types of targets.

Note   (Windows CE) The Touch Panel 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 Touch Panel 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 Touch Panel targets.

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

(XP Embedded) Using network-published shared variables with XP Embedded targets is similar to using shared variables in stand-alone applications for Windows targets.


Resources


 

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