Skip to content Skip to navigation

OpenStax-CNX

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

Navigation

Recently Viewed

This feature requires Javascript to be enabled.
 

Network Published Shared Variables in LabVIEW

Module by: Felix Annan. E-mail the author

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.

Content actions

Download module as:

Add module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks