Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

How Do I Change The Default Executable Path and Name in LabWindows/CVI?

Primary Software: LabWindows/CVI Development Systems>>Full Development System
Primary Software Version: 8.5
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I would like to change the default file path, making it relative, as well as the default name for the built executable for my project in LabWindows/CVI. How do I do this?

Solution:
The default file path and file extension are saved as text field values in the  <your project name>.prj file. Editing these values will allow you to change the default path (also making it relative if you desire) as well as the default name for the built executables for your project.

The following steps outline changing the default path and name to make it relative:

  1. Open the <your project name>.prj file in a text editor
  2. Scroll down to the [Create Executable] header
  3. Set the Executable File_Debug Is Rel value to True
  4. Add the Executable File_Debug Rel To value, and set it as desired
    • "Project" - where the project file is located
    • "CVI" - the base CVI path
    • "VXIPlug&Play" - the base VXIpnp path
  5. Add the Executable File_Debug Rel Path value, and set it as desired
    • if tracing "up" in your file structure, the string must begin with "../" not "/../"
    • the end of you string should be "<your desired executable name>.exe"
  6. Save your .prj file
The same steps can be executed for the _Release values as well to modify the default values for release build targets.

__________


Related Links:

Attachments:





Report Date: 11/30/2007
Last Updated: 12/03/2007
Document ID: 4FTE97A0

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit