SetSwitchSession(string, string, object)
- Updated2026-06-25
- 1 minute(s) read
Associates an open switch session with the switchName for a multiplexer of type multiplexerTypeId .
Syntax
Namespace: NationalInstruments.TestStand.SemiconductorModule.CodeModuleAPI
public void SetSwitchSession(string multiplexerTypeId, string switchName, object sessionData)
Parameters
| Name | Type | Description |
|---|---|---|
| multiplexerTypeId | string | 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. |
| switchName | string | The instrument name in the pin map file for the corresponding sessionData . |
| sessionData | object | The instrument session for the corresponding switchName and multiplexerTypeId . |