| Keysight.Visa Namespace > PxiMemorySession Class > MemoryAllocate Method : MemoryAllocate(Int64) Method |
'UsageDim instance As PxiMemorySession Dim size As Long Dim value As Long value = instance.MemoryAllocate(size)
The offset returned for a PXI memory session is an absolute physical address of a contiguous block of memory that has been allocated by the operating system. The memory block is locked, meaning it will not be swapped out. A common use for this memory is to do user-mode DMA to or from a PXI device.
Both the high-level memory access functions defined in RegisterBasedSession (InXX, OutXX, MoveInXX, MoveOutXX) and the low-level memory access functions defined in the MemoryMap class (PeekXX, PokeXX) can be used to access the allocated memory.
Current with Keysight IO Libraries Suite 18