Keysight VISA.NET Help
MoveIn32(AddressSpace,Int64,Int64) Method



The address space.
The offset (in bytes) of the address or register from which bytes are moved.
The number of elements to transfer.
Moves a 32-bit block of data from the specified memory space (assigned memory base + offset) to local memory.
Syntax
'Declaration
 
Public Overloads Function MoveIn32( _
   ByVal space As AddressSpace, _
   ByVal sourceOffset As Long, _
   ByVal count As Long _
) As Integer()
'Usage
 
Dim instance As RegisterBasedSession
Dim space As AddressSpace
Dim sourceOffset As Long
Dim count As Long
Dim value() As Integer
 
value = instance.MoveIn32(space, sourceOffset, count)

Parameters

space
The address space.
sourceOffset
The offset (in bytes) of the address or register from which bytes are moved.
count
The number of elements to transfer.

Return Value

The data read from the bus.
Remarks

If the session is an instrument (INSTR) session, the sourceOffset parameter specifies a relative offset from the start of the instrument’s address space. If the session is a memory access (MEMACC) session, the sourceOffset parameter is an absolute offset from the start of memory in the specified address space.

All operations on a PXI memory access session that accept a space parameter to indicate the address space for bus access will accept the value Ivi.Visa.AddressSpace.PxiAllocation .

The count parameter is the number of 32-bit elements to transfer, beginning at the specified offset. Therefore, (sourceOffset + count*4) 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