niHSDIO_close
Specific Function
C Function Prototype
ViStatus niHSDIO_close (ViSession vi);
Purpose
Closes the session and frees resources that it has reserved. If the session is running, it is first aborted.
To prevent generating unwanted signal glitches between sessions, no front panel terminals or channels are tristated by calling niHSDIO_close—they are all left driving whatever voltage they would have been driving had you simply called niHSDIO_Abort. Call niHSDIO_reset before calling niHSDIO_close if you want to tristate your terminals and channels before closing your session.
Parameters
Name | Type | Description |
---|---|---|
vi | ViSession | This handle identifies your instrument session. vi was obtained from the niHSDIO_InitAcquisitionSession or niHSDIO_InitGenerationSession function. |