GetSwitchNames(string)
- Updated2026-06-25
- 1 minute(s) read
Returns the names of all switches of the type specified by the multiplexerTypeId in the Semiconductor Module Context. You can use switch names to open driver sessions.
Syntax
Namespace: NationalInstruments.TestStand.SemiconductorModule.CodeModuleAPI
public string[] GetSwitchNames(string multiplexerTypeId=InstrumentTypeIdConstants.NIGenericMultiplexer)
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. Omit the argument for this parameter to use the default type ID. |