¿ªÔÆÌåÓý

.savestate directive no longer works


 

The .savestate directive? was introduced in version 24.1.0. I have existing files that worked with this directive.
Now, when I try to run any transient simulation I get this error "argument not found"
?
However .loadstate still works if there was a file previously created with .savestate directive.
?
I am running LTspice V.24.1.7.
?
Example:?
.savestate file2 time= 10m? ? this directive has stopped working.??
.loadstate file2? ? ? this directive still works if file2 exists.


 

It's best to report that in Analog Devices's Engineer Zone, the official place to report bugs.
?
Andy
?


 

On Thu, May 1, 2025 at 02:52 PM, bwolfe58 wrote:
Now, when I try to run any transient simulation I get this error "argument not found"
This is a good catch. From the posting in EZ, I was able to reproduce the problem. It appears that if you have "Generate Expanded Listing" ON and you use .savestate, you will see this error message in the log, but there is no real error in simulation. In fact, the generate expanded listing from a standard netlist also produces a file simply containing just the text: "argument not found". That is the error¡ª the expanded listing doesn't produce anything; whereas, simulation and .savestate work properly.
?
This has been fixed and should appear in a future release (24.1.9). For now, if you do want an expanded listing, don't use savestate, and vice versa.
?
--
Michael Stokowski
LTspice Team
Analog Devices Inc.