viUnmapAddress
Purpose
Unmaps memory space previously mapped by viMapAddress().
C Syntax
ViStatus viUnmapAddress(ViSession vi)
Visual Basic Syntax
viUnmapAddress&(ByVal vi&)
Resource Classes
FireWire INSTR, GPIB-VXI INSTR, GPIB-VXI MEMACC, PXI INSTR, PXI MEMACC, VXI INSTR, VXI MEMACC
Parameters
| Name | Direction | Description |
|---|---|---|
|
vi |
IN |
Unique logical identifier to a session. |
Return Values
| Completion Codes | Description |
|---|---|
|
VI_SUCCESS |
Operation completed successfully. |
| Error Codes | Description |
|---|---|
|
VI_ERROR_INV_OBJECT |
The given session reference is invalid. |
|
VI_ERROR_NSUP_OPER |
The given vi does not support this operation. |
|
VI_ERROR_WINDOW_NMAPPED |
The specified session is not currently mapped. |
Description
The viUnmapAddress() operation unmaps the region previously mapped by the viMapAddress() or viMapAddressEx() operation for this session.
Related Topics