Skip to content Skip to navigation

OpenStax_CNX

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

Navigation

Recently Viewed

This feature requires Javascript to be enabled.
 

Single Process Shared Variables in LabVIEW

Module by: Felix Annan. E-mail the author

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.

Content actions

Download module as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

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