Connexions

You are here: Home » Content » Network Published Shared Variables in LabVIEW
Content Actions

Network Published Shared Variables in LabVIEW

Module by: Felix Annan

Summary: This module introduces the use of network published shared variables as a method of data transfer

This is National Instruments recommended method of data transfer. It utilizes the Shared Variable Engine which is supposed to be a much better method of data transfer. Setting up a Network Published Shared Variable is similar to that for the Single Process type except that the Network Published Variable type is selected. This allows the shared variable to be visible by other computers on the network. The model of operation is similar to that of the Datasockets.
The Advantage:
  1. Front Panel objects can be bound to the shared variable
  2. Recommended method for reliable data transfer
The Disadvantage:
  1. Only available in LabVIEW 8
  2. Requires the shared variable engine
  3. Stores one value at a time, no buffer for data streams
Implementation:
Same as for the Single Process Shared Variable. To bind to a shared variable location, the Databinding property of a front panel object can be used. Right-click on the object and click on Databinding.

Comments, questions, feedback, criticisms?

Send feedback