Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ viClose(3) — HP-UX Instrument Control Library G.03.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

viClose(3)

HP-UX

NAME

viClose − Closes the specified session

SYNOPSIS

viClose(ViSession/ViEvent/ViFindList vi);

 

Description

 
This function closes the specified resource manager session, device session, find list (returned from the viFindRsrc function), or event context (returned from the viWaitOnEvent function, or passed to an event handler).  In this process, all the data structures that had been allocated for the specified vi are freed.
 

Parameters

 

vi An input parameter.  Unique logical identifier to a session, event, or find list. 
 

Return Values

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

VI_SUCCESS Session closed successfully. 
 

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

VI_ERROR_CLOSING_FAILED Unable to deallocate the previously allocated data structures corresponding to this session or object reference. 
 

See Also

 
viOpen, viFindRsrc, ViWaitOnEvent, viEventHandler
 
 

AUTHOR

viClose was developed by HP
 
 

Hewlett-Packard Comapny  —  September 29, 1999

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026