Editing XControls That Are in Use
- Updated2025-04-01
- 1 minute(s) read
When you add an XControl to the front panel of a VI, LabVIEW loads the XControl library. LabVIEW locks the XControl library while the XControl is in use by a VI. While the XControl library is locked, you cannot edit it. Complete the following steps to unlock and edit an XControl that is in use by a VI.
- Open the project file .lvproj for the XControl library in the Project Explorer window.
- Right-click the XControl library and select Unlock Library for Editing from the shortcut menu.
Note You must stop any VIs that use the XControl that are running before LabVIEW can unlock the XControl library for editing.
- When you use the Unlock Library for Editing item, LabVIEW unlocks the library; however, any VIs that use the XControl are now broken. Right-click the XControl library and select Apply Changes to Instances from the shortcut menu to apply changes to all of the VIs that use the XControl. The VIs should no longer be broken.