LabVIEW Framework for Creating Session-based APIs
The Extensible Session Framework (ESF) is designed to help create APIs that provides access to or control of a "session". That session could configure and control an instrument (like an IVI session), it could manage a communication link between two processes or devices on a network, it could open and manage a file in memory...we don't limit what a session is allowed to do, as long as it's characterized by the definition "a period of time devoted to a specific activity".
Description
The framework uses a single LabVIEW class -- your API is a child of that class -- to add several features to your API. It does this via two functions that are named "Obtain Session" and "Release Session" by default.
"Obtain Session" and "Release Session" are required in your API, but you can rename them and edit most of their behavior to act however you like. The attached slides provide a description and list of benefits. The demo projects are also attached as examples of using the framework.
Installation
VI packages for ESF are provided below and the latest version is available on the LabVIEW Tools Network VIPM repository.
The attached ZIP files contain additional examples showing APIs implemented using ESF.
Support
Please post questions, comments and feedback in the comments below.