Admin Production ni-theme
Current Publication

Specifying the .FP Auto-Load List

LabWindows/CVI

Edit».FP Auto-Load List

Use the .FP Auto-Load List command to specify other instrument drivers that the current instrument driver depends on. LabWindows/CVI loads these instrument drivers automatically when you load the current instrument driver.

The .FP Auto-Load List command opens a dialog box in which you can list simple .fp filenames. Do not include drive or directory names. When you load the current instrument driver, LabWindows/CVI also tries to load the instrument drivers identified by these .fp filenames.

LabWindows/CVI looks for these .fp files in the following sequence:

  1. If the .fp file is under the IVI Standard Root directory, LabWindows/CVI looks for the .fp file using the following pathname, where IVIStandRoot is the IVI Standard Root directory and prefix is the instrument prefix:
    IVIStandRoot\drivers\prefix\prefix.fp
  2. If the .fp file is under the VXIplug&play framework directory, LabWindows/CVI looks for the .fp file using the following pathnames, where vppfrmwk is the VXIplug&play framework directory and prefix is the instrument prefix:

    vppfrmwk\support\prefix\prefix.fp

    vppfrmwk\prefix\prefix.fp
  3. LabWindows/CVI looks in the directory of the referencing .fp file.
  4. LabWindows/CVI looks for the .fp files in the instrument directories list. Edit the instrument directories list by selecting Instrument»Search Directories.
  5. LabWindows/CVI looks for the files in 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)

If LabWindows/CVI cannot find the .fp file, you can look for the file using a file dialog box. If you find the .fp file, LabWindows/CVI prompts you to add the directory to the instrument directories list and prompts you to add the file to the project.

If an auto-loaded .fp file has no classes or function panels, it does not appear in the Instrument menu. This is useful for support modules that contain no user-callable functions.

When you select Instrument»Unload, all auto-loaded .fp files appear in the Unload Instrument dialog box. Auto-loaded instruments are not unloaded automatically when the dependent instrument is unloaded.