Interactive Control Of Ni-Vxi/Ni-Visa; Example Programs; Programming Considerations; Multiple Applications Using The Ni-Vxi And Visa Libraries - National Instruments MXI Series Getting Started

Hide thumbs Also See for MXI Series:
Table of Contents

Advertisement

Chapter 7
Using the NI-VXI/NI-VISA Software

Interactive Control of NI-VXI/NI-VISA

Example Programs

Programming Considerations

Multiple Applications Using the NI-VXI and VISA Libraries

PCI-MXI-2 for Linux
The easiest way to learn how to communicate with your instruments is by
controlling them interactively. Use the VXI/VME interactive control utility
(
or its text mode counterpart,
vic
instruments. This utility displays the status of your VXI/VME transactions
and informs you of any errors that occur.
Refer to the online help for instructions on how to use
about the features of each.
The
NIVXI/examples
along with a makefile that show how to use various functions in the NI-VXI
software and how to develop application programs using these functions.
Make certain that the environment variable
described in Chapter 5,
to your software utilities reference manual for additional examples.
For NI-VISA programming examples, look in
.
NIvisa/Examples
The following sections contain information for you to consider when
developing Linux applications that use the NI-VXI/VISA bus interface
software.
Multiple-application support is another feature in the NI-VXI/NI-VISA
libraries. You can have several applications that use the NI-VXI and/or
NI-VISA libraries running simultaneously. In addition, you can have
multiple instances of the same application running simultaneously.
The NI-VXI/NI-VISA functions perform in the same manner whether you
have only one application or several applications (or several instances of a
single application) all using the NI-VXI/VISA libraries.
However, you do need to be careful in certain cases as described in the
Low-Level Access Functions
) to write to and read from your
victext
subdirectory contains various example programs
NIVXIPATH
NI-VXI/NI-VISA Software
section.
7-2
and to learn
victext
is set correctly as
Installation. Also refer
VXIpnp /linux/
ni.com

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pci-mxi-2Vxi-mxi-2Vme-mxi-2

Table of Contents