Optimizing Large Vxibus Transfers - National Instruments MXI-2 Series Getting Started

Pci-based interface for windows
Hide thumbs Also See for MXI-2 Series:
Table of Contents

Advertisement

Coverage
Message-Based Access
High-Level Register Access
Low-Level Register Access
Sharing Memory
Interrupt Handling
Trigger Handling
MAX includes configuration options that affect low-level functions and shared
Note
memory, as well as trigger mappings and other attributes of the VXI system. Refer to
the MAX help for information regarding these options.

Optimizing Large VXIbus Transfers

© National Instruments Corporation
Table 3-1 summarizes the topics the example programs address. All files
are in the
VXIpnp\WinNT\NIvisa\Examples
subdirectories listed below.
Table 3-1. NI-VISA/NI-VXI Examples
NI-VISAExample
General\RdWrt.c
VXI-VME\HighReg.c
VXI-VME\LowReg.c
VXI-VME\ShareSys.c
VXI-VME\AsyncIntr.c
WaitIntr.c
VXI-VME\WaitTrig.c
For best performance, keep the following in mind when using
or
:
VXImove()
Make sure your buffers are 32-bit aligned.
Transfer 32-bit data whenever possible.
Use VXI block access privileges to significantly improve performance
to devices that are capable of accepting block transfers.
To optimize move performance on virtual memory systems, lock the
user buffer in memory yourself so the move operation does not need to
lock the buffer.
To optimize move performance on paged memory systems, use a
contiguous buffer so the move operation does not need to build a
scatter-gather list for the user buffer.
Chapter 3
and
3-7
PCI-Based MXI-2 Interface for Windows
Developing Your Application
directory, in the
NI-VXI Example
(Optional)
VXIws.c
VXIhigh.c
VXIlow.c
VXImem.c
VXIint.c
VXItrig.c
viMove()

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents