Admin Production ni-theme
Current Publication

Searching Instrument Directories

LabWindows/CVI

Instrument»Search Directories

Use the Search Directories command to list the directories that LabWindows/CVI searches when loading instruments that reference other instruments. The .fp files of the dependent drivers store the names of the .fp files of the drivers on which they depend. When loading an instrument .fp file that references other instrument .fp files, LabWindows/CVI tries to find the referenced instrument .fp files and load them. LabWindows/CVI searches for each .fp file in the following directories and in the following order:

  1. The directory of the referencing .fp file
  2. The directories listed in the Instrument Directories dialog box
  3. The subdirectories under the \toolslib directory
  4. The \instr directory
Note Note  LabWindows/CVI searches the \instr and \toolslib directories in the following locations:

  • LabWindows/CVI installation directory
  • LabWindows/CVI public documents directory (Users\Public\Documents\National Instruments\CVI)
  • LabWindows/CVI shared installation directory (National Instruments\Shared\CVI)

LabWindows/CVI saves the Instrument Directories list from one session to another.

To find out more about referencing one instrument from another, refer to Function Tree Editor.

You also use the Instrument Directories list when you load a project file that you have moved since you last saved it. If a .fp file listed in the project cannot be found using either its original pathname in the project or its location relative to the project, LabWindows/CVI searches the Instrument Directories list for a .fp file with the same base name.