Titan



connect


The operation is used to connect the ports of a test component to the ports of another components. 

Related keywords:


connect (component_referenceA:port_referenceA , component_referenceB:port_referenceB);  


Example:

var MyComponentType_CT vc_MyNewPTC := MyComponentType_CT.create;
connect(vc_MyNewPTC:Port1_PCO, mtc:Port3_PCO);

The component of type MyComponentType_CT is created in the first line.
In the second line, its reference (vc_MyNewPTC) is used to point out the port on the side A of the connection (vc_MyNewPTC:Port1_PCO).
On the side B of the connection is the port called Port3_PCO of the main test component.



BNF definition of connect