VXI and VME

cancel
Showing results for 
Search instead for 
Did you mean: 

Which local addresses to use with DMAmove CI for binary transfer ?

I am trying to transfer binary data from a VXI device (AD converter in slot 2) to the GPIB with the DMAmove Code Instrument of the GPIB-VXI/C. Which are the local addresses to specify for source and destination ?
0 Kudos
Message 1 of 2
(5,773 Views)
We highly recommend you not use the code instrument directly. Instead, new programs should be written using NI-VISA, which communicates with that DMA engine transparently. It's a slightly different protocol, but makes it much much easier to know when the transfer is done (because in VISA, you really want to do the transfer synchronously).

Assuming the device in slot 2 is LA 8, for example, you'd open it in VISA as "GPIB-VXI0::8::INSTR" and then call viMoveIn8 or viMoveIn16 to read 8/16 bit data, respectively.

This is documented extensively in the NI-VISA User Manual, Chapter 9, in the GPIB-VXI section.

Dan Mondrik
National Instruments
0 Kudos
Message 2 of 2
(5,773 Views)