Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Local Variable

LabVIEW 2011 Help

Edition Date: June 2011

Part Number: 371361H-01

»View Product Info
Download Help (Windows Only)

Owning Palette: Structures

Requires: Base Package

Use local variables to read or write to one of the controls or indicators on the front panel of a VI.

When you create a local variable, a local variable icon for the object appears on the block diagram. Writing to a local variable is similar to passing data to any other terminal. However, you can write to a local variable even if it is a control or read from a local variable even if it is an indicator. In effect, with a local variable, you can access a front panel object as both an input and an output.


Refer to the labview\examples\general\locals.llb for examples of using the Local Variable.


Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit