2 about wavescan

S

spectrallypure

Guest
Hello all! I would be grateful if given some clues on these two
enquiries regarding wavescan:

1. Is it possible to use the "Expressions" box in the "Label
Attributes" window that appears when double-clicking the title of a
wavescan plot, in order to print the values of variables, possibly
concatenated with some text? For example, let's say in my testbench I
have two variables "Amp" and "Freq". Is it possible to elaborate some
sort of expression for the title that evaluate these variables and
concatenates the output with some text to produce a title like this:

"Amplitude=[value_of_variable_A], Frequency=[value_of_variable_F]"

I tried using the calculator buffer and the "memories" as advised in
the documentation, but had no luck. In case this is impossible to
accomplish by just entering expressions in the "Label Attributes"
window, could I do it using skill? How?


2. Is it possible to set some environment variable to specify the
default number of strips that wavescan displays? I almost always need
to analyze >10 waveforms in strip mode and changing manually from the
default value (5) gets nonsense after some time. I looked in the
documentation but found no env variable regarding this setting.

Thanks in advance for any help/ideas!

Cheers,

Jorge.
 
spectrallypure wrote, on 02/19/09 12:31:
Hello all! I would be grateful if given some clues on these two
enquiries regarding wavescan:

1. Is it possible to use the "Expressions" box in the "Label
Attributes" window that appears when double-clicking the title of a
wavescan plot, in order to print the values of variables, possibly
concatenated with some text? For example, let's say in my testbench I
have two variables "Amp" and "Freq". Is it possible to elaborate some
sort of expression for the title that evaluate these variables and
concatenates the output with some text to produce a title like this:

"Amplitude=[value_of_variable_A], Frequency=[value_of_variable_F]"

I tried using the calculator buffer and the "memories" as advised in
the documentation, but had no luck. In case this is impossible to
accomplish by just entering expressions in the "Label Attributes"
window, could I do it using skill? How?
One possibility might be to use the Results->Printing/Plotting Options in ADE -
you can ask it to annotate the design variables.

procedure(abShowAllVars()
selectResult('variables)
buildString(
foreach(mapcar var
sort(outputs() 'alphalessp)
sprintf(nil "%s=%L" var pv(var "value"))
)
)
)

I thought you could use abShowAllVars() in the expression field, and then use %E
in the label text - but it's expecting a numerical result, so that doesn't work
(I'll file an enhancement for this).

You could however use:

addSubwindowTitle(abShowAllVars())


2. Is it possible to set some environment variable to specify the
default number of strips that wavescan displays? I almost always need
to analyze >10 waveforms in strip mode and changing manually from the
default value (5) gets nonsense after some time. I looked in the
documentation but found no env variable regarding this setting.
Put this in your ~/.cdsenv file:

wavescan.rectGraph visibleStripChartRows string "10"

You can also (in versions above 5.10.41.500.5.109) put:

wavescan.rectGraph visibleStripChartRows string "persist"

which will remember your last setting if you change it interactively.

Best Regards,

Andrew.
 

Welcome to EDABoard.com

Sponsor

Back
Top