LabVIEWAdapter.DeployProjectLibrary

Syntax

LabVIEWAdapter.DeployProjectLibrary( targetIPAddress, libraryPath, options = DeployProjectLibraryOption_Deploy)

Purpose

Deploys or undeploys the shared variables defined in a LabVIEW project library file to the specified remote computer.

Remarks

TestStand can deploy a shared variable bound to another shared variable only when you use an NI Publish-Subscribe Protocol (NI-PSP) URL to bind the shared variable to deploy to another shared variable. If you attempt to use a Deploy Library step to deploy a shared variable to a variable in a LabVIEW project, the deployment fails. Refer to the LabVIEW Help for more information about deploying shared variables and NI-PSP URLs.

Parameters

targetIPAddress As String

[In] Specifies the remote computer. Leave this option empty to use the local computer.

libraryPath As String

[In] Specifies the path to the project library file on the local computer to deploy or undeploy.

Note The library must only define shared variables and cannot contain any VI files.

options As DeployProjectLibraryOptions

[In] Specifies whether to deploy or undeploy the LabVIEW project library file.

This parameter has a default value of DeployProjectLibraryOption_Deploy .

See Also

Deploying Network-Published Shared Variables

DeployProjectLibraryOptions