You must define the switch and route in the pin map for the test program to access a switch route from the TSM Code Module API TSM Code Module API. Refer to the Switching.pinmap in the Switching Example for an example of a pin map that contains multiplexed connections.

The pin map specifies switches as <Instruments>/<Multiplexer>elements. Each connection between an instrument channel and a DUT pin that is routed through a switch must specify a <Connections>/<MultiplexedConnection> element, as shown in the following figure.



The <MultiplexedConnection> element defines a connection between a single instrument channel and the same DUT pin on multiple sites. The <MultiplexedConnection> element also contains a list of <MultiplexedDUTPinRoute> elements that each specify the route required to connect an instrument channel to a DUT pin on a specific site.