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.


icon

Inputs/Outputs

  • cpath.png library path

    library path specifies the path to the LabVIEW project library (.lvlib) file that contains configuration information for the shared variables and I/O servers you want to remove from the SVE. Enter the full path to the .lvlib file, such as C:\data\data1.lvlib. If you enter only the filename of the .lvlib file, LabVIEW loads the file from the directory in which the VI that calls the Undeploy Libraries VI resides.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • ierrcodeclst.png error out

    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