|Download Help (Windows Only)|
NOTE: This method is obsolete.
Allocates memory from the memory region of a device.
Assembly: NationalInstruments.VisaNS (in NationalInstruments.VisaNS.dll) Version: 18.104.22.168
|Visual Basic (Declaration)|
<ObsoleteAttribute("Use MemoryAllocate64BitBusAddress to achieve similar functionality for both 32-bit and 64-bit processes.")> _ Public Function MemoryAllocate ( _ size As Integer _ ) As Integer
[ObsoleteAttribute("Use MemoryAllocate64BitBusAddress to achieve similar functionality for both 32-bit and 64-bit processes.")] public int MemoryAllocate( int size )
Offset of the allocated device memory.
|VisaException||The NI-VISA driver returned an error as a result of calling this method.|
|ArgumentException||size is invalid.|
|DllNotFoundException||The NI-VISA driver library cannot be found.|
|EntryPointNotFoundException||A required operation in the NI-VISA driver library cannot be found.|
|ObjectDisposedException||This member is called after the Dispose method is called directly from code or indirectly through a finalizer.|