Step 3. Change The Path For The Utility Files (Optional) - National Instruments VXI-AT2022 Getting Started

Ni-vxi software for sco unix
Table of Contents

Advertisement

Chapter 3

Step 3. Change the Path for the Utility Files (Optional)

All the NI-VXI utilities, including all applications created to use the NI-VXI software, need to
access the configuration files (*.cfg), table files (*.tbl), or the help files (*.hlp). The default
search path used by applications to find the files are ./tbl and ./hlp. You can direct your
application to look for these files in a specified directory by defining an environment variable
NIVXIPATH and setting it to the directory path where the NI-VXI software resides.
Note:
The manner for setting up the environment variable depends on the shell you are using.
Refer to the manual that came with the shell you are using for instructions on how to set
an environment variable.
For example, for the Bourne shell (the default shell on SCO UNIX), if your main directory for NI-
VXI software is /usr/nivxi, add the following statements in the .profile file in your home
directory:
NIVXIPATH=/usr/nivxi
export
NIVXIPATH
If you are using the C-Shell (csh), and your main directory for the NI-VXI software is
/usr/nivxi, add the following statement in your .cshrc file in your home directory:
set
NIVXIPATH=/usr/nivxi
If you set the NIVXIPATH environment variable in this manner, the NI-VXI utilities can access
table, configuration and help files from the /usr/nivxi/tbl and /usr/nivxi/hlp
directories. You can also add this directory to your default search path by modifying the PATH
environment variable.
© National Instruments Corporation
NI-VXI Software Installation and Configuration
3-5
VXI-AT2022/NI-VXI SCO UNIX Getting Started

Advertisement

Table of Contents
loading

Table of Contents