Keysight VISA.NET Help
MapAddress Method (RegisterBasedSession)



Specifies the address space to map.
Offset (in bytes) of the memory space to be mapped.
Amount of memory to map (in bytes).
Maps the specified memory space into this process’s address space.
Syntax
'Declaration
 
Public Function MapAddress( _
   ByVal space As AddressSpace, _
   ByVal offset As Long, _
   ByVal size As Long _
) As IMemoryMap
'Usage
 
Dim instance As RegisterBasedSession
Dim space As AddressSpace
Dim offset As Long
Dim size As Long
Dim value As IMemoryMap
 
value = instance.MapAddress(space, offset, size)
public IMemoryMap MapAddress( 
   AddressSpace space,
   long offset,
   long size
)
public:
IMemoryMap^ MapAddress( 
   AddressSpace space,
   int64 offset,
   int64 size
) 

Parameters

space
Specifies the address space to map.
offset
Offset (in bytes) of the memory space to be mapped.
size
Amount of memory to map (in bytes).

Return Value

An IMemoryMapIMemoryMap interface reference to an instance of the MemoryMap class, which provides the ability to Peek and Poke mapped memory.
Remarks

You can only have one map at a time for a given session. If you need to have multiple maps to a device, you must open one session for each map needed.

For instrument (INSTR) sessions, the offset parameter is rthe offset address elative to the device's allocated address base for the corresponding address space specified.

For VXI memory access (MEMACC) sessions, the offset parameter is an absolute offset from the start of the VXI mapSpace.

Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025