Chapter 3
Developing Your Application
©
National Instruments Corporation
3-7
VXI-1394 Interface for Windows NT/98
Refer to the documentation that came with your compiler package for
detailed instructions about using the compiler and the various tools (linker,
debugger, and so on). Your compiler documentation is an important and
useful source of information for writing, compiling, and debugging
C programs.
Shared Memory
The VXI-1394 supports sharing of onboard VXI-1394 RAM in VXI space.
However, it does not support sharing of the local PC memory. Refer to
T&M Explorer online help for more information.
Additional Software Notes
This section describes additional software options you may want to
consider.
Compatibility
NI-VXI applications that follow the guidelines documented in the NI-VXI
User Manual will work with NI-VXI for the VXI-1394.
System Configuration Functions
The
InitVXIlibrary()
function has a new return value of
INIT_RET_OK_RMERROR (2)
. If this value is returned, it means “The
NI-VXI library successfully initialized, but the Resource Manager has not
been run successfully.” Always run the Resource Manager before using the
NI-VXI library, even if you are using only VME.
Low-Level VXIbus Access Functions
Do not make any assumptions about the size and features of a window
returned from
MapVXIAddress()
. You should use
GetWindowRange()
to determine the size of a window. The 32-bit value returned from
GetContext()
and passed to
SetContext()
has a new format.
Applications that set the context bits directly for use in
SetContext()
may not be compatible with the new format for context. Because the MITE
allows more flexible window mapping, extra bits have been added to this
field to reflect these new features. Do not manipulate the context bits
directly.