You might need to use a local variable when reading from one front panel object to two block diagram locations or when writing to one front panel object from two block diagram locations.
Right-click an existing front panel object or block diagram terminal and select Create»Local Variable from the shortcut menu to create a local variable. A local variable icon for the object appears on the block diagram.
Complete the following steps to create a local variable and associate it with a front panel object.
![]() | Note LabVIEW uses owned labels to associate local variables with front panel objects, so label front panel controls and indicators with descriptive owned labels. |