Topology tab defines the physical connection configuration by selecting port for both Instruments and DUT ports sides.
The switch matrix definition file (.tsetx) allows you to define the connection with switches in an external test set .
When the switch matrix definition file is not specified:
The number of port for instruments is defined by number of port setting in Instruments tab.
The number of port for DUT ports is defined by number of logical setting in DUT tab.
Select the ports for Instruments and DUT ports according to your physical connection.
To define the switch matrix, create the switch matrix definition file (.tsetx) and import the file by clicking Set Switch Matrix...
<?xml version="1.0" encoding="utf-8"?>
<test_set label="Label" in_ports="{number of instruments input port}">
<switches>
<switch in_ports="{number of SW1 input port}" out_ports="{number of SW1 output port}"/>
<switch in_ports="{number of SW2 input port}" out_ports="{number of SW2 output port}"/>
.
<switch in_ports="{number of SWn input port}" out_ports="{number of SWn output port}"/>
</switches>
<connections>
! When the switch is connected to instrument port.
<connection switch_from="0 (0 means that the switch is connected from instrument port}" port_from="{Port number of instrument port} " switch_to="{Switch number}" port_to="{Input port No. of switch}"/>
! When the switch is connected to another switch.
<connection switch_from="{previous switch number wihch is connected to switch}" port_from="{Output port number of previous switch}" switch_to="{Switch No}" port_to="{Input port No. of switch}"/>
</connections>
</test_set>
<default> tag allows you to specify the default switch setting for the port which is not connected with other ports. This can be used when a DUT port is required to terminate.
In the following example, the output port No. 1 is connected to the input port No. 2 as the preset setting. If the input port No. 2 of switch 1 is connected with a 50 ohm termination, the DUT port 1 can be terminated while the port is not used for measurements.
<defaults>
<default switch="{Switch No.}" in_port="{Default Input Port No.}" out_port="{Default Output Port No.}"/>
</defaults>
<?xml version="1.0" encoding="utf-8"?>
<test_set label="Switch for Demo Kit" in_ports="2">
<switches>
<switch in_ports="2" out_ports="1"/>
</switches>
<connections>
<connection switch_from="0" port_from="1" switch_to="1" port_to="1"/>
</connections>
<defaults>
<default switch="1" in_port="2" out_port="1"/>
</defaults>
</test_set>
<out_lablels> tag allows you to put the specified label on the output ports on the switch.
In the following example, the ports for DUT on the switch 1 has labels. The instruments cannot have labels on the ports.
<switches>
<switch in_ports="{number of SW1 input port}" out_ports="{number of SW1 output port}"/>
<out_labels>
<label>{Label for port 1}</label><label>{Label for port 2}</label> ... <label>{Label for port n}</label>
</out_labels>
...
</switches>
<?xml version="1.0" encoding="utf-8"?>
<test_set label="Switch for Demo Kit" in_ports="2">
<switches>
<switch in_ports="1" out_ports="2">
<out_labels>
<label>Out1</label><label>Out2</label>
</out_labels>
</switch>
</switches>
<connections>
<connection switch_from="0" port_from="1" switch_to="1" port_to="1"/>
</connections>
</test_set>
More examples are shown below
<?xml version="1.0" encoding="utf-8"?>
<test_set label="Switch Matrix Example1" in_ports="3">
<switches>
<switch in_ports="1" out_ports="3"/>
<switch in_ports="1" out_ports="2"/>
</switches>
<connections>
<connection switch_from="0" port_from="1" switch_to="1" port_to="1"/>
<connection switch_from="0" port_from="3" switch_to="2" port_to="1"/>
</connections>
</test_set>
<?xml version="1.0" encoding="utf-8"?>
<test_set label="Switch Matrix Example3" in_ports="3">
<switches>
<switch in_ports="1" out_ports="3"/>
<switch in_ports="1" out_ports="2"/>
<switch in_ports="1" out_ports="2"/>
</switches>
<connections>
<connection switch_from="0" port_from="1" switch_to="1" port_to="1"/>
<connection switch_from="1" port_from="3" switch_to="3" port_to="1"/>
<connection switch_from="0" port_from="2" switch_to="2" port_to="1"/>
</connections>
</test_set>
<?xml version="1.0" encoding="utf-8"?>
<test_set label="Switch Matrix Example3" in_ports="3">
<switches>
<switch in_ports="1" out_ports="3"/>
<switch in_ports="1" out_ports="2"/>
<switch in_ports="2" out_ports="1"/>
</switches>
<connections>
<connection switch_from="0" port_from="1" switch_to="1" port_to="1"/>
<connection switch_from="1" port_from="3" switch_to="3" port_to="1"/>
<connection switch_from="0" port_from="2" switch_to="2" port_to="1"/>
</connections>
<defaults>
<default switch="3" in_port="2" out_port="1"/>
</defaults>
</test_set>
<?xml version="1.0" encoding="utf-8"?>
<test_set label="Switch for Demo Kit" in_ports="4">
<switches>
<switch in_ports="1" out_ports="3">
<out_labels>
<label>a</label><label>b</label>
</out_labels>
</switch>
<switch in_ports="1" out_ports="2">
<out_labels>
<label>c</label><label>d</label>
</out_labels>
</switch>
<switch in_ports="2" out_ports="1">
<out_labels>
<label>e</label>
</out_labels>
</switch>
</switches>
<connections>
<connection switch_from="0" port_from="1" switch_to="1" port_to="1"/>
<connection switch_from="1" port_from="3" switch_to="3" port_to="1"/>
<connection switch_from="0" port_from="2" switch_to="2" port_to="1"/>
</connections>
<defaults>
<default switch="3" in_port="2" out_port="1"/>
</defaults>
</test_set>