NI-VXI Software Installation and Configuration
Chapter 3
VXI-AT2000/NI-VXI MS-DOS Getting Started
3-6
© National Instruments Corporation
Modifying the AUTOEXEC.BAT File
If you choose to let
INSTALL
modify your
AUTOEXEC.BAT
file, it updates the setting of
environment variables
PATH
,
LIB
, and
INCLUDE
to specify the relevant subdirectories of the
NI-VXI directory. The previously specified directories in
PATH
,
LIB
, and
INCLUDE
remain
unchanged.
INSTALL
also adds a new environment variable
NIVXIPATH
, and appends a
command line to execute
VXIINIT.EXE
automatically.
If you choose not to let
INSTALL
modify your
AUTOEXEC.BAT
file, refer to the
AUTOEXEC.VXI
file in your NI-VXI directory for suggestions on how to change the following
lines manually.
•
The
PATH
variable should include the full path to the subdirectory where the NI-VXI utilities
are located, in addition to whatever other directories you have already specified in
PATH
.
Normally, these files reside in the root of the NI-VXI directory.
•
The
LIB
variable should include the full path to the subdirectories that contain the Microsoft
C libraries if you installed the Microsoft C language interface. Because the Borland C
compiler does not use the
LIB
variable, you must manually set the path to the NI-VXI
libraries for Borland in your makefiles or projects.
•
The
INCLUDE
variable should include the full path to the subdirectory that contains the
NI-VXI include files. By default, the include files reside in the
INCLUDE
subdirectory of
the NI-VXI directory.
•
The
NIVXIPATH
variable should contain the full path to the NI-VXI directory.
Notes:
After you execute
INSTALL
, you should reboot your machine (or at least run
AUTOEXEC.BAT
) to make your system aware of the NI-VXI directory.
Once the NI-VXI package is installed, run
VXIINIT.EXE
and then
RESMAN.EXE
.
Configuring the NI-VXI Software
Run
VXIINIT
to display the AT-MXI configuration settings. The AT-MXI is configured in
hardware as Resource Manager (Logical Address 0) and Message-Based device, and cannot be
changed. The default configuration is MXIbus System Controller, not MXIbus fair requester,
base I/O address of 340h, master window base of D000h, and no VXI Shared RAM. To change
the current settings, or to view the configuration options, run
VXIEDIT
and select the
Configuration Editor from the main menu.
You can use
VXIEDIT
to edit the description of the AT-MXI or any other device that is installed
in the system. In this program, you can easily modify the configuration tables required for
VXIbus and MXIbus operation. You can also use this program to configure interrupts, triggers,
and the utility bus for single- or multiple-mainframe system configurations. For more details on
how to use the
VXIEDIT
program, refer to the
NI-VXI DOS Utilities Reference Manual.