VISA Move In 16 Function

Owning Palette: Register Access Functions

Requires: Base Development System

Moves one or more 16-bit units of data from device memory to local memory.

This function uses the specified address space and offset to read in count 16-bit units of data.

 Add to the block diagram  Find on the palette
address space specifies the address space to map. The following table lists the valid entries for specifying address space.
Value Description
VXI, VME, and GPIB-VXI VXI/VME A16 (1)

VXI/VME A24 (2)

VXI/VME A32 (3)

VXI/VME A64 (4)
PXI PXI Memory Allocations (9)

PXI Configuration (10)

PXI BAR0 (11) to PXI BAR5 (16)
VISA resource name specifies the resource to be opened. The VISA resource name control also specifies the session and class.
offset is the offset, in bytes, of the device to write to. offset accepts a 32- or 64-bit unsigned integer as input. The type of resource determines how offset specifies the offset.
  • INSTR Specific—The offset specified in the VISA Move In 8, VISA Move In 16, VISA Move In 32, and VISA Move In 64 operations for an INSTR Resource is the offset address relative to the device's allocated address base for the corresponding address space that was specified. For example, if address space specifies VXI/VME A16, offset specifies the offset from the logical address base address of the VXI device specified. If address space specifies VXI/VME A24, A32, or A64, offset specifies the offset from the base address of the VXI device's memory space allocated by the VXI Resource Manager within VXI/VME A24, A32, or A64.

    The count specified in the VISA Move In XX operations for an INSTR Resource is the number of data items (of the size corresponding to the operation) to move, beginning at the specified offset. Therefore, offset + count*size cannot exceed the amount of memory exported by the device in the given space.
  • MEMACC Specific—For a MEMACC Resource, offset specifies an absolute address.

    The count specified in the VISA Move In XX operations for a MEMACC Resource is the number of data items (of the size corresponding to the operation) to move, beginning at the specified offset. Therefore, offset + count*size cannot exceed the total amount of memory available in the given space.
count is the number of data items to move.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
VISA resource name out is a copy of the VISA resource name that VISA functions return.
data is the array of 16 bit data being moved.
error out contains error information. This output provides standard error out functionality.