|LabVIEW 2016 Help|
|LabVIEW 2017 Help|
|LabVIEW 2018 Help|
|LabVIEW 2019 Help|
|LabVIEW 2020 Help|
You might need to use a local variable when writing to one front panel object from two block diagram locations or when reading from one front panel object to 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 that you can add to 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.|