Owning Palette: Register Access Functions
Requires: Base Development System
Allocates device memory of a specified size and returns the offset that specifies where the memory is located.
Add to the block diagram | Find on the palette |
VISA resource name specifies the resource to be opened. The VISA resource name control also specifies the session and class. | |
size specifies the size of the allocation. | |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | |
VISA resource name out is a copy of the VISA resource name that VISA functions return. | |
offset is a 32-bit offset which specifies the location of the allocated memory. | |
error out contains error information. This output provides standard error out functionality. |
The memory can be allocated on either the device itself or on the computer's system memory. If the device to which the given VISA Session refers is located on the local interface card, the memory can be allocated either on the device itself or on the computer's system memory. The memory region referenced by offset that is returned from this function can be accessed with the high-level functions VISA Move In 8, VISA Move In 16, VISA Move In 32, VISA Move In 64, VISA Move Out 8, VISA Move Out 16, VISA Move Out 32, and VISA Move Out 64 or it can be mapped using the VISA Map Address function.