DVM - Design Verification Module

PromoteGraph()

The PromoteGraph() function places a copy of the specified graph on the overview report. You can add any number of graphs, define their order, and rename the graphs on the overview report.

In this Topic Hide

PromoteGraph() Syntax

To implement this functionality, the PromoteGraph() function has four versions with one required argument and three optional arguments that provide flexibility.

▲ back to top

Example

Assume that you have a graph named "Bode Plot" and you want a copy of this graph on the overview report with a weight of 100. The following call in the testplan promotes the graph to the overview report.
PromoteGraph(DVM Bode Plot, 100)

▲ back to top

Using PromoteGraph() as a Script Function

PromoteGraph() also exists as a SIMetrix script function and can be called from a post-process or final-process script. The arguments for this function when called from a script are slightly different than the testplan version. The function name and arguments are:

SimplisDVMAdvancedUtilMeasurementPromoteGraph(array, log_file)

The Bode plot example above could be generated in a post-process script with the following call:

Let return = SimplisDVMAdvancedUtilMeasurementPromoteGraph([ 'DVM Bode Plot', '100' ], log_file)
The script function return value may be safely ignored.

▲ back to top

 

© 2015 simplistechnologies.com | All Rights Reserved