Keysight VISA.NET Help
MapAddress Method (VxiSession)



Specifies the address space to map.
Offset (in bytes) of the memory space to be mapped.
Amount of memory to map (in bytes).
[Register-Based] 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 VxiSession
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

A reference to the IMemoryMap interface, 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.

The mapBase parameter is the offset address relative to the device's allocated address base for the corresponding address space specified.

Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025