NI-VXI Software Installation and Configuration
Chapter 3
VME-AT2000/NI-VXI MS-DOS Getting Started
3-18
© National Instruments Corporation
Run the Resource Manager to automatically configure the system. Verify that the Resource
Manager display reflects all the changes you have made to accommodate the VME devices in
your system.
Exiting VXIEDIT and Reinitializing the Hardware
Select Exit or press the <Esc> key to quit the
VXIEDIT
program. If you changed any of the
software configuration information,
VXIEDIT
prompts you to save your changes before exiting
the configuration menu. Saving the configuration information updates the configuration files
VXILA.CFG
,
VXIBUS.CFG
,
VXIDEV.CFG
, and
DVXI.CFG
. Run
VXIINIT.EXE
to
reinitialize the hardware according to the new settings.
If you changed any of the software configuration settings from the default, record the new setting
on the VME-AT2000 Hardware and Software Configuration Form in Appendix C.
Developing Your Application Program
The easiest way to learn how to communicate with your instruments is by controlling them
interactively. Use the VXI interactive control program (
VIC
or
VICTEXT
) to write to and read
from your instruments. Both programs display the status of your VME transactions and inform
you of any errors that occur. Refer to the NI-VXI DOS Utilities Reference Manual on how to use
VIC
and to learn about its features, and to the
NI-VXI Text Utilities Reference Manual on how to
use
VICTEXT
and to learn about its features.
NIVXIDOS.LIB
is the NI-VXI Large Memory Model function library for the Microsoft C and
Borland C Language interfaces. To use the NI-VXI software in your application program, you
must compile your program for the large memory model, and include this library along with
other libraries at link time. Make certain that the environment variables
LIB
and
INCLUDE
are set correctly as described in the
Installing the Software
section earlier in this chapter. The
include files for the NI-VXI software are in the
INCLUDE
subdirectory.
Note:
It is essential to include "
NIVXI.H
" before any other include file in your application
program.
The
EXAMPLES
subdirectories contain various example programs along with makefiles that
show how to use various functions in the NI-VXI software and how to develop application
programs using these functions.
Note:
When compiling NI-VXI applications, you must define the macro
VXIDOS
in your
makefile/project. Refer to the example programs for details.
QBNIVXI.LIB
is the file that contains the NI-VXI function library for the Microsoft
QuickBASIC interface. This is used to generate
QBNIVXI.QLB
, the Microsoft QuickBASIC
library. The corresponding include files
*.INC
are in the
INCLUDE
subdirectory in the
distribution software.