![National Instruments VXI-1394 Скачать руководство пользователя страница 31](http://html1.mh-extra.com/html/national-instruments/vxi-1394/vxi-1394_getting-started_3574027031.webp)
Chapter 3
Developing Your Application
©
National Instruments Corporation
3-5
VXI-1394 Interface for Windows NT/98
The GPIB is a digital, 8-bit parallel communications interface with data
transfer rates of 1 Mbytes/s and above. The bus supports one System
Controller, usually a computer, and up to 14 additional instruments. The
ANSI/IEEE Standard 488.2-1992 extends IEEE-488.1 by defining a bus
communication protocol, a common set of data codes and formats, and a
generic set of common device commands.
The best way to learn how to program with NI-VXI and NI-VISA is by
reviewing the example programs included in your software. In the
Examples
directory you will find examples for many different types of
applications. 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-VXI examples are called
VXIhigh.c
and
VXIws.c
.
The NI-VISA examples of these tasks are called
VISAhigh.c
and
VISAws.c
. Use the other examples as you try more advanced techniques.
Consult the NI-VXI User Manual, the NI-VISA User Manual, or the GPIB
online help for additional information on these topics.
Note
The NI-VXI User Manual resides in the
NIVXI\manuals
directory, and the
NI-VISA User Manual is in the
VXIpnp\os\NIvisa\manuals
directory, where
os
would be either
WinNT
or
Win95
. Use the Acrobat Reader program to open and navigate
through the manuals. To access the GPIB online help, select Start»Programs»National
Instruments NI-488.2»Explore GPIB, then choose Help»Help Topics.
Table 3-1 summarizes the topics addressed by the NI-VXI and NI-VISA
example programs.
Table 3-1.
NI-VXI/VISA Examples
Coverage
NI-VXI
Example
NI-VISA
Example
Message-Based Access
VXIws.c
VISAws.c,
ReadWrite.c
High-Level Register Access
VXIhigh.c
VISAhigh.c
HighReg.c
Low-Level Register Access
VXIlow.c
VISAlow.c
LowReg.c
Sharing Memory
VXImem.c
VISAmem.c
ShareSys.c