|
|
Easily Overlooked Features - Winter 2008
This section is designed to highlight one or two features per issue that may be overlooked because they
are not made visually obvious with a toolbar button.
Embedding Formulas in Grid or Analysis Text
Formulas may be embedded within a text string in either the schematic or the
analysis. This provides a powerful tool for documentation by automatically
computing and displaying new design values from formulas. The Grid Text dialog box
appears below. To have a formula evaluated within the text string, the Formula
checkbox within the Text tab needs to be enabled. The Delimiter text field specifies
the delimiters that are to be used to bracket the formula. The default delimiters are
the brackets, [ ]. Anything between the delimiters will be evaluated as an expression.
|
|
For example, if the following three pieces of grid text are entered in the schematic:
.define C1 6.8n
.define R1 1.3k
The time constant of the circuit is [R1*C1]s.
The last text string will actually appear on the schematic as follows:
The time constant of the circuit is 8.84us.
If either of the C1 and R1 values are modified, then the formula will also be updated to
display the new value.
Circuit variables such as V(Out), I(D1), or R(R2) may also be used within a formula.
Formulas using circuit variables will only be able to be evaluated when an analysis
has just been run.
|
|
|
|
|