Main Content

MappedMemoryBase

Base memory address of mapped memory

Description

MappedMemoryBase is the base address of the mapped memory used for low level read and write operations.

The memory address is returned as a character vector representing a hexadecimal value. For example, if the mapped memory base is 200000, then MappedMemoryBase returns 200000H. If no memory is mapped, MappedMemoryBase is 0H.

Use the memmap function to map the specified amount of memory in the specified address space (A16, A24, or A32) with the specified offset. Use the memunmap function to unmap the memory space.

Characteristics

Usage

VISA-VXI, VISA-GPIB-VXI

Read only

Always

Data type

Character vector

Values

The default value is 0H.

Examples

Create the VISA-VXI object vv associated with a VXI chassis with index 0, and a Keysight® E1432A digitizer with logical address 130.

vv = visa('keysight','VXI0::130::INSTR');
fopen(vv)

Map 16 bytes in the A16 address space with no offset, and then return the base address of the mapped memory.

memmap(vv,'A16',0,16)
vv.MappedMemoryBase
ans =
     16737610H

See Also

Functions

memmap, memunmap