266
8163A/B, 8164A/B & 8166A/B Mainframes Programming Guide
7
The Keysight 816x VXIplug&play Instrument Driver
Closing an Instrument Session
Sessions (instrumentHandle) opened with the hp816x_init() function are
closed with the function:
hp816x_close( ViSession instrumentHandle);
When no further communication with an instrument is required, the
session must be explicitly closed (hp816x_close() function).
VISA does not remove sessions unless they are explicitly closed. Closing
the instrument session frees all data structures and system resources
allocated to that session.