viUnmapAddress

This section contains information specific to the Windows product.

Syntax

viUnmapAddress(ViSession vi);

Description

This function unmaps memory space previously mapped by the viMapAddress function. 

Parameters

Name

Dir

Type

Description

vi

IN

ViSession

Unique logical identifier to a session.

Return Values 

Type ViStatus

This is the function return status. It returns either a completion code or an error code as follows.

Completion Code

Description

VI_SUCCESS

Operation completed successfully.

Error Code

Description

VI_ERROR_INV_SESSION
VI_ERROR_INV_OBJECT

The given session or object reference is invalid (both are the same value).

VI_ERROR_NSUP_OPER

The given vi does not support this function.

VI_ERROR_WINDOW_NMAPPED

The specified session is not currently mapped.

See Also

viMapAddress