TestStand Semiconductor Module Code Module VIs Help

Set Switch Session (TSM)

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

Set Switch Session (TSM)

Requires: TSM

Associates an open switch session with the switch name of the type you specify in the Multiplexer Type Id parameter.

SetSwitchSession.vi
crn.gif Semiconductor Module Context is a valid ActiveX reference to a Semiconductor Module context object.
cstr.gif Switch Name is the switch name in the pin map file for the corresponding session.
cfxdt.gif Session Data is the switch session for the switch name. Use the variant data type to properly store different types of sessions.
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.
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.
irn.gif Semiconductor Module Context Out returns the Semiconductor Module Context parameter unchanged.
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