Optimizing Large Vxibus Transfers - National Instruments VXI-MXI-Express Series User Manual

Hide thumbs Also See for VXI-MXI-Express Series:
Table of Contents

Advertisement

Coverage
Message-Based Access
High-Level Register Access
Low-Level Register Access
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 your VXI system. Refer to
the MAX online help for information regarding these options.

Optimizing Large VXIbus Transfers

Note viMemAlloc()
continuous buffers that work efficiently with the move operations.
© National Instruments Corporation
Download from Www.Somanuals.com. All Manuals Search And Download.
Table 3-1 summarizes the topics the example programs address. All
files are found through the Windows Start menu under Programs»
National Instruments»VISA»Examples, in the subdirectories listed
below.
Table 3-1. NI-VISA/NI-VXI Examples
NI-VISA Example
C\General\RdWrt.c
C\VXI-VME\HighReg.c
C\VXI-VME\LowReg.c
C\VXI-VME\AsyncIntr.c
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 can accept block transfers, and likewise use D64 access
privileges for devices that can accept the VME64 64-bit data transfer
protocol.
To optimize move performance on virtual memory systems such as the
Windows operating system, 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 such as
the Windows operating system, use a contiguous buffer so the move
operation does not need to build a scatter-gather list for the user buffer.
or
VXImemAlloc()
3-7
Chapter 3
and
WaitIntr.c
returns 32-bit aligned, page-locked,
VXI-MXI-Express Series User Manual
Developing Your Application
NI-VXI
Example
(Optional)
VXIws.c
VXIhigh.c
VXIlow.c
VXIint.c
VXItrig.c
viMove()

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VXI-MXI-Express Series and is the answer not in the manual?

Questions and answers

Table of Contents