Instrument Control Toolbox | ![]() ![]() |
Unmap memory for low-level memory read and write operations
Syntax
Arguments
obj |
A VISA-VXI or VISA-GPIB-VXI object. |
Description
memunmap(obj)
unmaps memory space previously mapped by the memmap
function.
Remarks
When the memory space is unmapped, the MappedMemorySize
property is set to 0
and the MappedMemoryBase
property is set to 0H
.
Example
Create the VISA-VXI object vv
associated with a VXI chassis with index 0, and an Agilent E1432A digitizer with logical address 130.
Map 16 bytes in the A16 address space.
Read the first and second instrument registers.
Use memunmap
to unmap the memory, and disconnect vv from the instrument.
Functions
Properties
MappedMemoryBase
, MappedMemorySize
![]() | memread | memwrite | ![]() |