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 string 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

String

Values

The default value is 0H.

Examples

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

vv = visa('agilent','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

Properties

MappedMemorySize

Was this topic helpful?