National Instruments 370551A-01 用户手册

下载
页码 139
Chapter 5
NI-VXI/NI-VISA Software Installation
5-2
ni.com
where 
1.6-1
 is the version you are installing. Note that this version 
number will be different if you are installing a newer version.
Note
If you use 
rpm
 rather than the 
INSTALL
 script, you must repeat this step for each 
package you want to install.
If you install the software to a location other than the default, set the 
appropriate environment variable: 
NIVXIPATH
 for NI-VXI or 
VXIPNPPATH
 for NI-VISA. See your manual for details.
Refer to the README file on the CD-ROM for additional important 
information and instructions.
Removing the NI-VXI Driver for Linux
To uninstall the driver, you must meet the following requirements:
You must have superuser privileges.
The driver must not be in use.
Typing 
rpm -e nivxi-pcimxi nivisa 
removes the NI-VXI/NI-VISA 
software.
Using the NI-VXI/NI-VISA Software
The NI-VXI software is configured to be loaded in the 
/usr/local/nivxi
 directory. If you have installed the software in 
another directory, set the
NIVXIPATH
 environment variable to your 
directory. For example, if you have installed NI-VXI in 
/usr2/nivxi
type the following command:
in 
csh
setenv NIVXIPATH /usr2/nivxi
in 
bash
 or 
ksh
export NIVXIPATH=/usr2/nivxi
The NI-VISA software is configured to be loaded in the 
/usr/local/vxipnp
 directory. If you have installed the software in 
another directory, set the
VXIPNPPATH
 environment variable to your 
directory. For example, if you have installed NI-VXI in 
/usr2/vpp
type the following command:
in 
csh
setenv VXIPNPPATH /usr2/vpp
in 
bash
 or 
ksh
export VXIPNPPATH=/usr2/vpp