NI-VXI Software Installation and Configuration
Chapter 3
VME-SB2020/NI-VXI/Solaris Getting Started
3-8
© National Instruments Corporation
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
Place these lines in your
.cshrc
(C shell) or
.profile
(Bourne or Korn shells).
Note:
You must run
vxiinit
to configure the SB-MXI each time you start up or restart
the computer, or if you have changed the configuration with the
vxitedit
program,
as described in the configuration sections of this chapter.
Using LabVIEW or LabWindows/CVI
For information on developing application programs using LabVIEW, refer to the LabVIEW
VXI VI Reference Manual. To use LabVIEW to program your system, you must have a
LabVIEW for Sun VXI Development System. Refer to the Optional Software section in
Chapter 1, Introduction.
For information on developing application programs using LabWindows/CVI, refer to the
NI-VXI C Software Reference Manual for VME. You can use the functions and the syntax as
described in this software reference manual. To use LabWindows/CVI to program your system,
you must have a LabWindows/CVI for Sun VXI Development System. Refer to the Optional
Software section in Chapter 1, Introduction.