Building Stand-Alone Applications with Source Control VIs

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

You can include Source Control VIs when you build stand-alone applications and shared libraries with the Application Builder tools.

Include the following steps when you build an application or shared library with Source Control VIs:

  • Add the LabVIEW project library and its folder dependencies for the source control provider you configured to the LabVIEW project from which you are building the application or shared library. If you use the Perforce command line interface with LabVIEW, add NI_SCC_P4CMD.lvlib located in the labview\vi.lib\SourceControl\Providers\P4CMD directory. If you use a Windows-based source control provider, add NI_SCC_WinCI.lvlib located in the labview\vi.lib\SourceControl\Providers\WinCI directory.
  • Add NI_SCC_ConnSrv.lvlib and its dependencies located in the labview\vi.lib\SourceControl\sccconnsrv directory to the LabVIEW project from which you are building the application or shared library. NI_SCC_ConnSrv.lvlib is the project library for the source control server.
  • If you are building a stand-alone application, add the folder under each source control project library to the Always Included listbox on the Source Files page of the Application Properties dialog box. For example, if you use NI_SCC_WinCI.lvlib, then add the WinCI folder to the Always Included listbox.
  • If you are building a shared library, add the folder under each source control project library to the Always Included listbox on the Source Files page of the Shared Library Properties dialog box. For example, if you use NI_SCC_WinCI.lvlib, then add the WinCI folder to the Always Included listbox.
Note  Refer to the NI KnowledgeBase at ni.com/kb for more information about copying source control configuration information from the labview\labview.ini file to the .ini file of the application you are building.

Related Information

Source Control VIs

Configuring LabVIEW to Use Source Control

Source Files Page (Application Properties Dialog Box)

Source Files Page (Shared Library Properties Dialog Box)

WAS THIS ARTICLE HELPFUL?

Not Helpful