I've been using a script I found on the internet to measure the THD of amplifiers. It steps through specified frequencies or voltages. After the update to 24.1 all voltage stepped and all after the first or second frequency stepped measurements fail. I know very little about spice directives so I haven't been able to figure out what's wrong.
Link to the script/tool : https://www.audio-perfection.com/audio/audio-total-harmonic-distortion-analyzer-for-ltspice-making-thd-vs-amplitude-and-frequency-sweeps-in-ltspice/
To replicate:
Download and extract http://www.audio-perfection.com/wp-content/uploads/THD_Analyzer.zip
Open Example_BJT_THD_TEST.asc and run the simulation
After the simulation's done open the spice output log.
In the previous version (24.0.12 I think) I used to be able to right click and "Plot .step'ed .meas data". In this version I get "Incoherent .measure data".
Hi Unseen ,
You are correct, the .meas statements Fail in 24.1, and they don't in 24.0. This could be a result of the .meas statements having a syntax error that 24.1 refuses to ignore (quite possible), or a bug in 24.1. I'll find out. Thanks.
mike
Hi Unseen ,
This has been fixed in LTspice 24.1.1, available now or soon via Help > Check for Updates or in the next few days at Analog.com/ltspice.
mike