PRC_UndeployLibraries VI
- Updated2024-11-20
- 2 minute(s) read
Removes the variables defined in a LabVIEW project library from the Shared Variable Engine (SVE) on the host computer. You must manually select the polymorphic instance to use.
Use the pull-down menu to select an instance of this VI.

Inputs/Outputs
![]() library paths specifies the paths to the LabVIEW project library (.lvlib) files that contain configuration information for the shared variables and I/O servers you want to remove from the Shared Variable Engine. Enter the full paths to the .lvlib file, such as C:\data\data1.lvlib. If you enter only the filenames of the .lvlib file, LabVIEW loads the files from the directory in which the VI that calls the Undeploy Libraries VI resides. ![]() error in describes error conditions that occur before this node runs. This input provides standard error in functionality. ![]() error out contains error information. This output provides standard error out functionality. |
Undeploy Libraries Details
If you want to use the Undeploy Libraries VI in a built application to undeploy a project library from a SVE on a target computer, do not build the project library into the application. Instead, the project library must reside outside the built application in a directory on the target computer.
Examples
Refer to the following VIs for examples of using the Undeploy Libraries VI:
- labview\examples\lvdsc\Data and Alarm Historical Logging\DSC Alarms Demo\DSC Alarms Demo.lvproj
- labview\examples\lvdsc\Data and Alarm Historical Logging\Dataset Marking Demo\Dataset Marking Demo.lvproj
- labview\examples\lvdsc\Data and Alarm Historical Logging\Alarm Web Service Client Demo\Alarm Web Service Client Demo.lvproj
- labview\examples\lvdsc\Distributed System Connectivity\Modbus Fundamentals\Modbus Fundamentals.lvproj
- labview\examples\lvdsc\Distributed System Connectivity\Modbus Simulator\Modbus Simulator.lvproj