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.
•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
Function
Connect the pin to the module
Connect the pin to
another signal channel
Connect the pin to trigger pin
Disconnect the pin
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:
•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();
Examples of Changing the Present Routing Set
Lesson 1 – Test Method Structure
"Aout"
connect( TM:: SINGLE )
connect( TM:: DIFFERENTIAL )
fwd( STRING pin_name2, TM::SINGLE )
fwd( STRING pin_name2, TM::DIFFERENTIAL)
trigger( )
disconnect( )
;
417