¿ªÔÆÌåÓý

Re: Syntax error on .MEAS in 24.1.x


 

This is an intentional change that removes an ambiguity.
Each measurement name can be used in other .meas expressions. Suppose you have two measurement names "A" and "A+A". What would be the meaning of the expression "A+A"?
In short, math operators are not allowed in parameter names.
?
Best Regards,
Mathias
?
On Tue, May 20, 2025 at 05:55 PM, Tony Casey wrote:

A new error seems to have crept into .MEAS directives on the 24.1 branch.

Measurement names are apparently not now allowed to have a sign character in them, e.g.:

.MEAS Tpd+ param T1-T0
.MEAS Tpd- param T11-T10


.. results in:

I:\tony\Documents\Simulations\LTspice\Comparator\UniversalComp\Dev\UniversalComp_Test.net(37): syntax error
.MEAS Tpd+ param T1-T0
???????? ^^^^^^^^^^^^^
I:\tony\Documents\Simulations\LTspice\Comparator\UniversalComp\Dev\UniversalComp_Test.net(38): syntax error
.MEAS Tpd- param T11-T10
???????? ^^^^^^^^^^^^^^^

This has worked in all previous versions. In the logfile, normally it would show, e.g.:

tpd+: t1-t0=1.08114e-08
tpd-: t11-t10=1.09962e-08


--
Regards,
Tony

Join [email protected] to automatically receive all group messages.