Transfer data using VME64
NI-VISA supports VME64 by setting the appropriate attribute (VI_ATTR_SRC_ACCESS_PRIV or VI_ATTR_DEST_ACCESS_PRIV) using viSetAttribute(). Then you can call viMoveX() to transfer the data.
Note National Instruments recommends using NI-VISA, rather than the NI-VXI API, to develop your applications. |
You can do a VME64 block transfer using the NI-VXI API function VXImove(). By setting bits 2 to 4 to 110 (for a nonprivileged access; for a privileged access, use 111), VXImove() issues VME64 block cycles to the specified address. Only certain devices can accept VME64 transfers. You should check the specifications of a particular instrument to see if it supports VME64.
See also Move a large block of data in NI-VISA or the NI-VXI API.