TestStand Semiconductor Module Code Module VIs Help

Get All Switch Sessions (TSM)

  • Updated2024-02-02
  • 3 minute(s) read

Get All Switch Sessions (TSM)

Requires: TSM

Returns all sessions for switches of the type you specify in the Multiplexer Type Id parameter in the Semiconductor Module context.

GetSwitchSessions.vi
crn.gif Semiconductor Module Context is a valid ActiveX reference to a Semiconductor Module context object.
cstr.gif Multiplexer Type Id specifies the type ID for the multiplexer in the pin map file. When you add a multiplexer to the pin map file, you can define a type ID for the multiplexer, such as the driver name. Multiplexers in the pin map that do not specify a type ID have a default ID of NIGenericMultiplexer. Leave this parameter unwired to use the default value.
cerrcodeclst.gif error in (no error) describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out.
irn.gif Semiconductor Module Context Out returns the Semiconductor Module Context parameter unchanged.
i1dfxdt.gif Session Data returns sessions to all switches of the type you specify in the Multiplexer Type Id in the Semiconductor Module context for which you set session data.
ierrcodeclst.gif error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.

Log in to get a better experience