--- In LTspice@..., "mbuni78" <mbuniltd@...> wrote:
Seems there has been quite a bit written about the .meas command which makes it hard to find specific information in previous posts.
Several questions that may have been already answered in the past:
1) Is there an example .meas script posted in the "Files" section that I may have missed?
Files > Tut > MEASURE
2) If there is a syntax error in the .meas file, does the whole script fail or only that particular .meas command?
Only the commands which are wrong and of course the commands
needing results from wrong previous commands.
3) Can I parameterize within a .meas command? E.g. can
I parameterize the start and end times for an average function.
Yes.
.param mbegin=5us mend=20us
.meas Pout avg RLOAD6*I(R2)^2 from={mbegin} to={mend}
Also "from=" and "to=" does not seem to be documented in any ltspice help documentation. I had to grab it off hspice documentation.
Thanks.
Hello,
Please try the mentioned examples.
Best regards,
Helmut