
Chapter 3
Developing Your Application
3-4
ni.com
If you are just getting started, you should first learn how to access registers
with high-level calls and send messages with word serial functions. The
NI-VISA examples of these tasks are called
VISAhigh.c
and
VISAws.c
.
The NI-VXI examples are called
VXIhigh.c
and
VXIws.c
. You should
use the other examples as you try more advanced techniques. Consult the
NI-VISA User Manual
or NI-VXI online help for additional information on
these topics.
Note
The NI-VXI development utilities are not part of the basic NI-VXI installation.
However, if you want to use the NI-VXI development utilities, run the NI-VXI installer and
select a “custom” installation instead of “typical.” In the
Select Features
dialog box,
enable the
NI-VXI API Development
option and continue as prompted. After you reboot,
VIC will be ready for use.
Note
The
NI-VISA User Manual
is in the
VXIpnp\
os
\NIvisa\manuals
directory,
where
os
is your version of Windows. Use the Acrobat Reader program to open and
navigate this manual.
Table 3-1 summarizes the topics addressed by the example programs.
Note
MAX includes special settings that you must use for low-level functions and
memory sharing. Consult the MAX online help for information on setting these up.
Table 3-1.
NI-VISA/NI-VXI Examples
Coverage
NI-VISA Example
NI-VXI Example
Message-Based Access
VISAws.c
VXIws.c
High-Level Register Access
VISAhigh.c
VXIhigh.c
Low-Level Register Access
VISAlow.c
VXIlow.c
Sharing Memory
VISAmem.c
VXImem.c
Interrupt Handling
VISAint.c
VXIint.c
Trigger Handling
VISAtrig.c
VXItrig.c