Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- LTspice
- Messages
Search
Re: Transferring opamps and other libraries
On Sun, Mar 2, 2025 at 05:09 PM, John Woodgate wrote:
What John is talking about, is moving your models into LTspice's own symbol and model directories.? Doing that is frowned upon and generally should not be used anymore.? Maybe that is what you did previously.? Newer versions of Windows and/or LTspice will try to stop you from doing that. ?
But it is easy to put your models where LTspice will find them but where they are not in LTspice's own directories.
?
Keep in mind that many devices in LTspice need two parts: a symbol, and a model.? The symbol is not the model, and vice-versa.? The symbol file MIGHT be one that comes with LTspice, or it might be one that you created.
?
? |
Re: Transferring opamps and other libraries
On Sun, Mar 2, 2025 at 04:46 PM, Carlos E. Mart¨ªnez wrote:
Yes, of course.
?
Copy them to a location visible to LTspice.? Preferably it should be either the working directory with your schematics, or one of your user-defined Sym. and Lib. Search Paths, if you defined any.
?
Now, if you did either of these:
then you might find the job challenging, as you might need to fix the direct references (full paths).? If you used LTspice's dreaded feature to auto-generate a symbol from a library file, and did not "fix" the symbol it created, then be prepared to do some extra work.
?
Transistor models defined by .MODEL statements can go into your user.bjt or user.mos (or whatever) file.
?
More sophisticated IC models such as op-amps, will use .SUBCKT blocks, which do not go in any particular file but could be in any file (.lib, .sub, .mod, .txt, etc.).? See the general instructions at the top of this message.
?
Beyond this, it could be a case-by-case thing.? Many LTspice users seem to have a way of creating complicated setups that need extra attention.
?
Andy
? |
Re: Transferring opamps and other libraries
¿ªÔÆÌåÓýProbably you can, but it would make your
version of LTspice unique and might compromise updates. Instead,
make your own 'MyLibraries' folder, under
C:\ or Documents, and put the
libraries you want into it. On 2025-03-02 21:46, Carlos E. Mart¨ªnez
via groups.io wrote:
--
OOO - Own Opinions only If something is true: * as far as we know - it's science *for certain - it's mathematics *unquestionably - it's religion |
Transferring opamps and other libraries
Is it possible to transfer previous LTspice libraries from previous versions and add to newer LTspice versions?
?
For instance, opamps and discrete active parts models, like transistors, that are available in version 4.23 is not available in version 24.0.12.
? |
Re: LTspice 24.1.4 - Directory for temp files
On Sun, Mar 2, 2025 at 01:30 PM, Andy I wrote:
Ok....you are correct....I was looking at the wrong tab.?? :-(
?
Mystery solved...
?
Thank you sir...
? |
Re: LTspice 24.1.4 - Directory for temp files
On Sun, Mar 2, 2025 at 04:17 PM, eetech00 wrote:
My recollection about "Reset to Default Values" is that might apply only to the tab that is currently selected when you click that button. ?
Thus, clicking "Reset to Default Values" when you are in the Operations tab, would not affect the settings in the Waveforms tab.
?
But my memory might be faulty.
?
Andy
? |
Re: LTspice 24.1.4 - Directory for temp files
On Sun, Mar 2, 2025 at 04:17 PM, eetech00 wrote:
But those are not Temporary Files.? Therefore, they are unaffected by that setting. ?
Check your settings > Waveforms tab.? Have you set a "Directory for .raw and .log data files"?? That is the setting that controls where those files go.
?
Most people leave that setting blank, and all older versions of LTspice would leave them saved in the schematic's directory.? Has that now changed in the newest version so that a blank (or un-checked) entry causes them to be saved to an alternate location anyway?? If so, then that's a bug and should be reported.
?
Yes, and that appears to be intentional.? ("Directory for .raw and .log data files") ?
I remember some of that discussion, and I think it involved .plt files too, but I might be remembering incorrectly.
They do, according to LTspice's Help.? Temporary files do not mean the regular output data files.? Those are not temporary. ?
I think you just remembered the wrong setting.? No problem about that.? Go to the Waveforms tab to find the one you want.
?
Andy
? |
Re: LTspice 24.1.4 - Directory for temp files
On Sun, Mar 2, 2025 at 12:44 PM, Andy I wrote:
Agreed. Agreed. But it not in 24.1.4 I've selected "Reset to default values'. The field shows "C:\Users\user01\AppData\Local\Temp".
I then shut down LTspice, re-started LTspice, ran the sim.
The .LOG and .RAW files are now saved to:
?
C:\Users\user01\AppData\Local\LTspice\temp
?
Which is not what is shown in the field.
?
If I remember correctly, a while back this same topic came up. The raw files wanted to be saved in a different directory for "speed" purposes. Changing the value of the temp file location relocated the raw files, but it also inconveniently relocated the log and net files. There were a few members that didn't like that, including me. So when you write "temp files" what are you referring to? I didn't think that ADI meant only down loaded update files.
?
But...right now I need to figure out how to reset the destination back to saving them into the current schematic directory.
? |
Re: LTspice 24.1.4 - Directory for temp files
On Sun, Mar 2, 2025 at 03:35 PM, eetech00 wrote:
How can you tell?? You would need to catch it right after starting a Sync Update, and then hope that the temporary files it creates are visible.? IIRC, Windows is apt to create temporary files that you normally can not see from Windows Explorer, even with the "Show hidden files" setting enabled.? There's "hidden", and then there is "really hidden". ?
Hmm.? Well, that is new behavior. ?
Also the .LOG file is not a "temporary" file, at least not by my definition.? So it would not be affected by that setting anyway.
?
Andy
? |
Re: LTspice 24.1.4 - Directory for temp files
On Sun, Mar 2, 2025 at 12:01 PM, eetech00 wrote:
I am a little confused why this matters to you.
?
According to LTspice's Help, the files that would be temporarily saved in the "Directory for Temporary Files", are files that are downloaded during a Sync Release update.? And only for that.? I can't see any good reason for wanting them saved in the current schematic's folder.
?
As far as I know, LTspice does not do temporary files while running a simulation.? It saves a .NET file before the simulation begins (which you might call temporary), and it saves the .LOG and .RAW and .FFT and .PLT files, but all these are always saved in the schematic's directory anyway - unless overridden by a different setting in the Waveforms tab.
?
Do you really need to change the "Directory for Temporary Files"?? I suggest probably not - and almost definitely not changing it to the current schematic's directory.
?
Andy
? |
Re: LTspice 24.1.4 - Directory for temp files
¿ªÔÆÌåÓýOn 02/03/2025 18:01, eetech00 via
groups.io wrote:
I simply typed in an alternate path, and it was accepted and saved. Close and re-start, setting remembered. --
Regards, Tony |
Re: LTspice 24.1.4 - Directory for temp files
¿ªÔÆÌåÓýThat's simply a slip in writing the Settings
text. Report it to ADI. On 2025-03-02 17:08, eetech00 via
groups.io wrote:
--
OOO - Own Opinions only If something is true: * as far as we know - it's science *for certain - it's mathematics *unquestionably - it's religion |
LTspice 24.1.4 - Limit function
If I run a schematic with limit function in 24.0.12:
?
b:u1:g_abmii22 u1:32b 0 i=v(u1:32)*(limit(((v(u1:31vdd1)-v(u1:vde))/(v(u1:31vdd1)-v(u1:31vdd2))), 0, 1))
?
If I run the same schematic with limit function in 24.1.4:
?
u1:BG_ABMII22 u1:32B 0 I=v(u1:32)*if(((v(u1:31vdd1)-v(u1:vde))/(v(u1:31vdd1)-v(u1:31vdd2)))<0,0,if(((v(u1:31vdd1)-v(u1:vde))/(v(u1:31vdd1)-v(u1:31vdd2)))>1,1,(v(u1:31vdd1)-v(u1:vde))/(v(u1:31vdd1)-v(u1:31vdd2))))
?
Both simulations were run with expanded netlist turned on.
?
I guess the expanded netlist format changed.
But did the "Limit" function change too?
? |
Re: LTspice 24.1.4 - Directory for temp files
On Sun, Mar 2, 2025 at 09:01 AM, eetech00 wrote:
Adding to this....
?
The path displayed in settings is:
?
C:\Users\(username)\AppData\Local\Temp
?
But the actual path used is:
C:\Users\(username)\AppData\Local\LTspice\Temp
?
??? :-|
? |
to navigate to use esc to dismiss