TestStand includes a LabWindows™/CVI™ instrument driver, SessionMgr.fp, that provides a complete LabWindows/CVI ActiveX wrapper for the Session Manager server. The functions in the Advanced class of the driver contain the following additional functions to further simplify obtaining instrument API handles in test code:

  • SM_GetSession
  • SM_GetHandle
  • SM_ReleaseSession

The instrument help for the SessionMgr.fp provides an example of how to use these functions in a code module.