(To be removed) Map memory for low-level memory read and write operations
A VISA-VXI or VISA-GPIB-VXI object.
The memory address space.
Offset for the memory address space.
Number of bytes to map.
maps the amount of memory specified by
size in address space,
adrspace with an offset,
You can configure
A24 (A24 address space), or
A32 (A32 address space).
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)
memmap to map 16 bytes in the A16 address space.
Read the first and second instrument registers.
reg1 = mempeek(vv,0,'uint16'); reg2 = mempeek(vv,2,'uint16');
Unmap the memory and disconnect
vv from the instrument.
Before you can map memory,
obj must be connected to the
instrument with the
fopen function. A connected
interface object has a
Status property value of
open. An error is returned if you attempt to map memory while
obj is not connected to the instrument.
visaobject interface will be removed
Not recommended starting in R2021a