Prefix_IviClose

IVI Library

Prefix_IviClose

ViStatus Prefix_IviClose (ViSession vi);

Purpose

Performs all the clean-up operations for closing an instrument driver session, except for destroying the IVI session. The Prefix_close functions in the specific driver calls Prefix_IviClose.

Implementation Requirements

Set the instrument to an idle state, if that is appropriate.

Close the I/O session and set IVI_ATTR_IO_SESSION to 0.

If you have any hidden ViAddr attributes that point to memory that you dynamically allocated, free the memory.