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:
The Disadvantage:
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.