Chapter 3
NI-VXI Software Installation and Configuration
© National Instruments Corporation
3-7
VXI-SB2020 and NI-VXI for Solaris
If you have chosen to remove the NI-VXI driver from the driver list (as described in the
following section), and you later wish to return the driver to the driver list, type the following
command:
nivxi.add
Unloading the NI-VXI Driver for Solaris 2.x
To unload the driver, you must meet the following requirements:
•
You must have super-user privilege.
•
The driver must not be in use.
If the driver is in use and you try to unload it, the following message appears.
Cannot unload the module: Device busy.
You can use the
nivxi.info
utility if you want to check the status of the loaded NI-VXI driver.
It displays the module ID of the driver, the name of the device, and additional information about
the module. Type the following command to use this utility:
nivxi.info
If you want to unload the driver, enter the following command:
nivxi.uld
To completely remove the NI-VXI driver from the driver list, type the following command:
nivxi.rem
Using the NI-VXI Software
The NI-VXI software expects to be loaded in the
/usr/nivxi
directory if you are using
the Solaris 1.x platform. If you are using Solaris 2.x, the driver expects to be loaded in the
/opt/NICsbmxi
directory. If you have installed the software in another directory, you need to
set the
NIVXIPATH
environment variable to your directory. For example, if you have installed
NI-VXI in
/usr2/nivxi
, type the following command:
setenv NIVXIPATH /usr2/nivxi
You must always set the
LD_LIBRARY_PATH
environment variable to your directory. For
example, if you have installed NI-VXI in
/usr/nivxi
, type the following command:
setenv LD_LIBRARY_PATH /usr/nivxi