¿ªÔÆÌåÓý

Re: Execute .meas file


 

¿ªÔÆÌåÓý

Andy, you¡¯re right, across the board.

I do have Automatically Delete raw Files set to avoid accumulating large (sometimes huge) data files that I rarely need to refer to. Most simulations I do are quick to run, or re-run if I do want to dive deeper into logged data.

?

These WCAs I¡¯m working on are unusual in taking minutes to execute and creating very large outputs. My questions about the process and the responses I¡¯ve received have been leading me to making Save exceptions for these runs, and learning just which files are required to revisit prior data for new queries.

?

Thanks for your help!

?

Dave

?

From: [email protected] <[email protected]> On Behalf Of Andy I via groups.io
Sent: Tuesday, May 20, 2025 6:59 AM
To: [email protected]
Subject: EXTERNAL: Re: [LTspice] Execute .meas file

?

On Mon, May 19, 2025 at 09:56 PM, Bell, Dave wrote:

So, answering my original question, after a complete Run, save (in Settings) the raw file(s), or make a copy, while the simulation is still in the app,

Reloading that .raw file gives access to the large data from a long and multipart simulation.

Dave, I think you are making this more complicated than it is, by doing it that way.

?

Unless you have your LTspice configured to "Automatically delete .RAW files", uou should never need to make a copy of a .RAW file.? But if you find the need to make a copy, then why delete the original?

?

The only reason to "Automatically delete .RAW files" is if you never ever want to revisit old simulations.? Otherwise, don't do that.? That setting is in Control Panel/Settings > Operation.

?

The .RAW file IS your output data!? It is not just a "temporary" file.? It contains all the waveforms and simulated data (except for what little bit goes into the Error Log file), so deleting it seems pointless.? Without that file, you've lost all your simulated data.

?

View > Visible Traces re-loads the .RAW file data.? If View > Visible Traces is greyed-out,? then there is no .RAW file to load.? That happens either because

  • You have not run the simulation yet,
  • You deleted the .RAW file,
  • You renamed the .RAW file so the original one essentially does not exist,
  • You moved the .RAW file somewhere else.

Clearly you first have to know what you are doing.? If there's no .RAW file, then there is nothing to load.

?

LTspice has a setting (in Control Panel/Settings > Waveforms) to save the output files including .RAW in a specific directory instead of the normal one with the schematic, and I am not sure if or how it affects its ability to find and re-open the .RAW file.? Obviously, if you re-use a schematic filename (e.g., "Draft1", it will overwrite the old .RAW file.? The schematics can be distinct because they were in different folders, but the .RAW files are not because they are all in one big barrel - with that setting.

?

Reloading that .raw file gives access to the large data from a long and multipart simulation.

It does.? Reloading it with its schematic is most ideal - for me, anyway - because it allows you to look at its schematic and pick what you want to plot.? But if your only objective is to re-run a .MEAS script and nothing else, then the only things needed are the .RAW file and the .MEAS scripts.? Yes, you can do that blindly.

?

Andy

?

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