Lesson 1 – Test Method Structure
417
For the routing set, you can set a routing set as the primary, 
change the routing set, or switch the connection of a specified pin 
directly.
Changing the Present Routing Set
In the above example, connect()and fwd()must have single-end 
mode “TM::SINGLE” or differential mode “TM::DIFFERENTIAL” 
specified for the module corresponding to the pin. 
The following examples show how to control the routing:
Examples of Changing the Present Routing Set
•To set a routing set as the primary or change the primary routing set to another:
 Routing.primary( INT no )
•To connect or disconnect a specified pin to the analog module core or other:
 Routing.pin( STRING pin_name ). Function
pin_name
DUT Pin, Aout “Aout”
   Function
Connect the pin to the module
connect( TM:: SINGLE )
Connect the pin to
another signal channel
fwd( STRING pin_name2, TM::SINGLE )
Connect the pin to trigger pin
trigger(  )
connect( TM:: DIFFERENTIAL )
fwd( STRING pin_name2, TM::DIFFERENTIAL)
Disconnect the pin
disconnect(  )
•Setting the routing set 2 as the primary:
 Routing.primary(2);
•Connecting the Ain pin to the analog module with the differential
  mode directly:
 Routing.pin(“Ain”).connect(TM::DIFFERENTIAL);
•Disconnecting only the Aout pin from the analog module:
 
Routing.pin(“Aout”).disconnect();