Admin Production ni-theme
Current Publication

Directory Options

LabWindows/CVI

Directory Options

You can configure LabWindows/CVI directory options in the Registry. The directory options available in LabWindows/CVI are the cvidir option and the tmpdir option.

cvidir

The cvidir option specifies the directory that contains the following subdirectories. You should set the cvidir option only if the subdirectories that LabWindows/CVI requires, shown in the following table, are not in the directory that contains the LabWindows/CVI executable.

Name of Directory Contents
bin Resource files (cvi.rsc, cvimsgs.txt), NI function panels (.lfp files), NI libraries (.obj and .lib)

(Linux) The NI library files use the .o and .a extensions
fonts Font description files
include C header files for NI libraries

If you do not specify a directory, LabWindows/CVI assumes that the directory that contains the executable file, cvi.exe or cvi, also contains the directories in the preceding table.

tmpdir

tmpdir sets the location for temporary files.

If you do not specify a directory, LabWindows/CVI uses the value of the environment variable TMP. If the value of TMP is not defined or is invalid, LabWindows/CVI uses the value of the environment variable TEMP. If the value of TEMP is not defined or is invalid, LabWindows/CVI uses the directory that contains cvi.exe.

If you run LabWindows/CVI across a network, you must set tmpdir to one of your local directories.

(Linux) If you do not specify a directory, LabWindows/CVI uses the value of the environment variable TMPDIR. If LabWindows/CVI does not find TMPDIR or the environment variable is invalid, LabWindows/CVI uses /tmp as the location for temporary files.