Keysight VISA.NET Help
Move Method (VxiMemorySession)



The address space of the source.
The offset (in bytes) of the memory sourceSpace from which data is moved.
The data width of the source.
The address space of the destination.
The offset (in bytes) of the memory destinationSpace to which data is moved.
The data width of the destination.
The number of elements to move, where the data width of the elements to move is identical to the source data width.
Moves data from the specified source to the specified destination.
Syntax
'Declaration
 
Public Sub Move( _
   ByVal sourceSpace As AddressSpace, _
   ByVal sourceOffset As Long, _
   ByVal sourceWidth As DataWidth, _
   ByVal destinationSpace As AddressSpace, _
   ByVal destinationOffset As Long, _
   ByVal destinationWidth As DataWidth, _
   ByVal sourceCount As Long _
) 
'Usage
 
Dim instance As VxiMemorySession
Dim sourceSpace As AddressSpace
Dim sourceOffset As Long
Dim sourceWidth As DataWidth
Dim destinationSpace As AddressSpace
Dim destinationOffset As Long
Dim destinationWidth As DataWidth
Dim sourceCount As Long
 
instance.Move(sourceSpace, sourceOffset, sourceWidth, destinationSpace, destinationOffset, destinationWidth, sourceCount)

Parameters

sourceSpace
The address space of the source.
sourceOffset
The offset (in bytes) of the memory sourceSpace from which data is moved.
sourceWidth
The data width of the source.
destinationSpace
The address space of the destination.
destinationOffset
The offset (in bytes) of the memory destinationSpace to which data is moved.
destinationWidth
The data width of the destination.
sourceCount
The number of elements to move, where the data width of the elements to move is identical to the source data width.
Remarks

The offset parameters are absolute offsets from the start of memory in the specified VXI address space.

This method operates successfully independently from "low-level" memory operations defined in the MemoryMap class (PeekXX, PokeXX). The operations are independent regardless of the configured state of the hardware that is used to perform memory accesses.

The sourceCount parameter is the number of elements (of the size corresponding to the operation) to transfer, beginning at the specified offset. Therefore, offset + (count * size) cannot exceed the amount of memory exported by the device in the given space.

Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025