viUnmapAddress

NI-VISA 15.0 Help

Edition Date: June 2015

Part Number: 370131S-01

»View Product Info

Purpose

Unmaps memory space previously mapped by viMapAddress().

C Syntax

ViStatus viUnmapAddress(ViSession vi)

Visual Basic Syntax

viUnmapAddress&(ByVal vi&)

Resource Classes

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

INSTR Resource

MEMACC Resource

viMapAddress/viMapAddressEx

WAS THIS ARTICLE HELPFUL?

Not Helpful