Skip to content Skip to navigation

Connexions

You are here: Home » Content » Single Process Shared Variables in LabVIEW

Navigation

Content Actions

  • Download module PDF
  • Add to ...
    Add the module to:
    • My Favorites
    • A lens
    • An external social bookmarking service
    • My Favorites (What is 'My Favorites'?)
      'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.
    • A lens (What is a lens?)

      Definition of a lens

      Lenses

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

      What is in a lens?

      Lens makers point to Connexions 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 Connexions member, a community, or a respected organization.

    • External bookmarks
  • E-mail the author

Recently Viewed

Single Process Shared Variables in LabVIEW

Module by: Felix Annan

Summary: This module discusses the single process shared variables as a solution to data transfer issues

Shared Variables are a new feature in LabVIEW 8. Earlier versions of LabVIEW did not have this. The implementation of a shared variable requires a project workspace and these can only be implemented in LabVIEW 8. The functionality of a single process shared variable is similar to that of a global variable; it can be used only within a single application. The main difference being a global variable and a single process shared variable is that the single process shared variable can be converted into a network published shared variable which can be accessed by multiple computers over a network.

The Advantage:

  1. They can be converted to network published shared variables and used over a network

The Disadvantage:

  1. Only available in LabVIEW 8
  2. No buffer, stores only one value at a time

Implementation:

Once the project workspace has been created, go to the Project Explorer and right click on My Computer. Select New and then click on Variable, a panel pops up. Under Category select Variable and under Variable Type select Single Process. To connect a front panel object, go to the Data Binding properties of the object, select Shared Variable Engine, select the Mode and then click Browse to locate the just created Shared Variable.

Comments, questions, feedback, criticisms?

Send feedback