You implicitly use instrument sessions in TestStand when you use IVI step types. IVI step types can share sessions with code modules written in any language that supports ActiveX.

You can also use the ActiveX/COM Adapter to access the complete functionality of the Session Manager server from ActiveX steps in a sequence. Complete the following steps to call Session Manager from an ActiveX step.

  1. Right-click the step and select Specify Module from the context menu.
  2. Select NI Session Manager from the Automation Server ring control.
Note   Instance handles that an instrument session creates are C-based API handles. Attempting to share C-based VISA, VXIplug&play, IVI C, or NI Switch Executive instance handles across processes results in an error. For example, you cannot use an IVI C-based handle that a step in the TestStand process creates in a VI code module that executes using the LabVIEW development system process.