Chapter 3
Developing Your Application
VXI-1394 Interface for Windows NT/98
3-6
www.ni.com
Note
T&M Explorer includes special settings that you must use for memory sharing.
Consult the T&M Explorer online help for information on setting these up.
Additional Compiler Information
When building an application with NI-VISA, you must include
"visa.h"
in your source code. In addition, you should link in the appropriate import
library for your compiler.
Note
LabWindows/CVI automatically includes the VISA library if it is needed.
You do not need to explicitly link to the VISA import library when using
LabWindows/CVI.
For the Microsoft C/C++ environment, use the
visa32.lib
in the
VXIpnp\os\lib\msc
directory. For the Borland C/C++ environment, use
the
visa32.lib
in the
VXIpnp\os\lib\bc
directory. For example, if
you are using Microsoft C/C++ with Windows NT and have installed
NI-VISA into the default directory, you would normally specify
C:\VXIpnp\WinNT\lib\msc\visa32.lib
.
When building an application with NI-VXI, you must include
"nivxi.h"
in your source code. In addition, you should link in the appropriate import
library for your compiler.
Note
LabWindows/CVI automatically includes the VXI library if it is needed. You do not
need to explicitly link to the NI-VXI import library when using LabWindows/CVI.
For the Microsoft C/C++ environment, use the
nivxint.lib
in the
NIVXI\win32\msc
directory. For Borland C/C++, use the
nivxint.lib
in the
NIVXI\win32\borlandc
directory. For example, if you are using
Microsoft and have installed NI-VXI into the default directory, you would
normally specify
C:\NIVXI\msc\nivxint.lib
.
Interrupt Handling
VXIint.c
VISAint.c
AsyncHan.c
SyncInte.c
Trigger Handling
VXItrig.c
VISAtrig.c
SyncTrig.c
Table 3-1.
NI-VXI/VISA Examples (Continued)
Coverage
NI-VXI
Example
NI-VISA
Example