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.