Link

report_link TPTReport.Link()

This function creates a link with a defined text to a certain signal.

The following cases can occur:

A signal graphic must fulfill the following conditions to be a valid link target:

Returns:

the new Link that can be added to the report.

Examples:

   # add a link to the graph of Signal "a" to the report
   mylnk = TPTReport.Link();
   mylnk.setText("This text links to the graphic of signal a");
   mylnk.setSignal(a);
   TPTReport.add(mylnk);