Keyboard Shortcuts
Likes
- LTspice
- Messages
Search
Re: Installing 24.1.9 Removed My 24.0.12
On Sun, Jun 1, 2025 at 04:42 AM, eewiz wrote:
There might be problems if it does that.? I don't know, but I'm suggesting that there may have been a good reason for adding that check. ?
Previously, it was not an issue and you could install multiple versions of LTspice on the same PC, even installing them in random order.? But users, and LTspice itself, need to be careful about things like preserving the libraries, and I suspect that was the reason for Analog Devices to add code to check that it is not updating a newer version with an older one.? Maybe they want to reduce the chances of really screwing up your libraries.? (I don't know - I'm only guessing here.)
?
Yup - which means that we are ideal candidates for really?screwing things up!? ;-)
?
Andy
? |
Re: Installing 24.1.9 Removed My 24.0.12
开云体育On 01/06/2025 04:17, eewiz via
groups.io wrote:
If you wanted to retain 24.0.12, did you change the installation folder to be a non-default location during the actual installation process? I have 17.1.15, 24.0.12 and 24.1.9 all installed alongside each other. All were installed to different folders, e.g.: C:\Program Files\ADI\<CustomFolderName>\ I have never had any conflict. I also have all three versions sharing libraries and the plots.def. 24.0.12 and 24.1.x also share the LTspice.ini file. I kept the 17.1.15 inifile separate, as quite a few settings are different. I have three separate desktop shortcuts that call three separate batch files that keep track any changes to the inifiles so that if things go wrong between any of the versions, I have three separate backup inifiles. I use LTspice running in Wine on Linux, but exactly the same can be done running directly in Windows. I don't rely on registry settings for opening files from Explorer by double-clicking, so that aspect doesn't affect me. I tend to drag'n'drop files into LTspice as the means of opening them, or from the Recent Files list. I have generally found that despite my whinging about changes (mainly about the stricter syntax checking that can break backward compatibility), that 24.1.x is somewhat faster for many things and converges better for some circuits, but YMMV. Bear in mind that you might need different SPICE settings. Indeed the defaults are different. --
Regards, Tony |
Re: Installing 24.1.9 Removed My 24.0.12
On Sun, Jun 1, 2025 at 04:42 AM, eewiz wrote:
Not true.? You misread what I wrote.
?
Once 24.1.x is no longer there, the code that was in 24.1.x can no longer be responsible for noticing that it (a newer version) was previously installed.? It is the Windows Registry settings that the previous version added to your registry.
?
Then when attempting to install a different version (24.0.12), that version checks those Registry entries to see what had been installed -- even if you went and deleted that version from your drive.? It is the Windows entries (its Registry) that tells it what was there, just like I wrote.? The program being installed does not check what actual version you still have left on your drive.? It looks in the Registry.? In other words, it checks with Windows.
?
I'm not denying that the installation code checks to see what might have been there.? What I am saying is that it checks what Windows thinks was there.? I think you misread that.? Windows thinks 24.1.x is still installed, even though you deleted or moved it.? Deleting or moving it does not (yet) change Windows's Registry.
?
Andy
?
? |
Re: Installing 24.1.9 Removed My 24.0.12
Hello Andy:
?
Below Andy wrote: I would expect that, because Windows thinks it is still installed.
?
It's not windows. It is due to the programmer who wrote the LTspice 24.1.x installer.
Windows cares not if one re-installs a program over top of itself, or for that matter, 47 times beside itself, if the programmer who wrote the installer permits it.
?
Take Firefox for example.
The Firefox installer will permit one to clobber an existing version with any other version, newer or older. The Firefox installer will also permit one to install any number of copies or different versions of Firefox each in a different folder.
Admittedly, multiple installations of Firefox may get confused when it comes to each program's data but, it lets you do it.
?
ADI could let the user install every existing version of LTspice on one machine if they chose to do so.
After all, it is a program used by electrical engineers.
?
All for now ?
Sent:?Saturday, May 31, 2025 at 11:05 PM
From:?"Andy I via groups.io" <AI.egrps+io@...> To:[email protected] Subject:?Re: [LTspice] Installing 24.1.9 Removed My 24.0.12 On Sat, May 31, 2025 at 10:54 PM, eewiz wrote:
I think that is a Microsoft Windows function.? When a link (shortcut) to a program fails, Windows instantly starts looking to find where it might have gone, and if it finds it, it uses it. ?
I have seen this with recent versions, since at least Win 7.
?
This has nothing to do with Analog Devices, nor a Registry thing.? It must be a Windows task waiting to run in the background.? It has happened to me with several kinds of programs.
?
I would expect that, because Windows thinks it is still installed, unless you specifically uninstalled it.? I assume it still has dozens of hooks to that version in the Windows Registry.? Renaming a file changes nothing, except for direct access to it. ?
Andy
?
|
Re: Installing 24.1.9 Removed My 24.0.12
On Sun, Jun 1, 2025 at 04:15 AM, eewiz wrote:
I am pretty sure they fixed that.? Those duplicates date back to LTspice XVII version 17.0.something.? For a long time, Analog Devices stopped updating the standard.bjt files and carried that bug into newer versions, but I thought LTspice 24 version 24.1.x finally got rid of that problem.? So if you still have it there, it is probably because your library files already have it, and the new installation preserved your models. ?
I need to check, but I did not think that LTspice 24 comes with a user.bjt file.
?
Doing that ought to clear up duplicates (if there are any) in the standard.??? files.? But not if you have something wrong in your own user.??? files. ... (VERY VERY LONG error listing attached)
?
Please do not paste such ridiculously long things into group messages here.? You lost me there.? If you had anything else to say after that garbage, I did not bother looking at it.
?
Andy
? |
Re: Problem with my trying to add a potentiometer in LTSpice
Oliver, FYI -
?
To use your potentiometer symbol with the separate model file potentiometer.sub, you should delete (or rename) the schematic potentiometer.asc.? Also, edit the symbol in LTspice so that the Prefix attribute is "X" (without the quotes).? Also I think the Value attribute should be "potentiometer" and the existing paramters moved to the Value2 line.
?
Andy
? |
Re: Installing 24.1.9 Removed My 24.0.12
Hello All:
?
I chose option 1. below.
I put a copy I made of the 24.1.9 program folder back in place and then uninstalled 24.1.9.
Then I was able to reinstall 24.0.12.
Then I copied the 24.1.9 program folder back in place.
I can now start 24.1.9 but, all the file extensions point to 24.0.12 as desired.
Dbl-clicking a .sub or .asy or especially a .asc, starts 24.0.12.
But I can still start 24.1.9 and drop a .asc file onto it if I want to take the chance of simulating with 24.1.9. ?
I wish ADI would stop thinking that they know what versions of LTspice I should have on my computer.
Also, please pull out and make usable the part of the installer that writes the registry so users can switch versions easily.
A utility that will re-write the registry so all of the file extensions will open IV or XVII or 17.1 or 24.0 or 24.1 at whim of the user. ?
I ask this because it will be a royal PITA to keep up with the 24.1.x changes in the future.
For example, to install 24.1.10 here in the neer future wil require:
1. Install 24.1.10 which will erase 24.0.12.
2. Copy the 24.1.10 program folder to a safe place.
3. Uninstall 24.1.10 so 24.0.12 can be re-installed.
4. Re-install 24.0.12 to return the registry to point to 24.0.12.
5. Move the copy of the 24.1.10 program folder from the safe place back to it's original place so 24.1.10 will run.
Whew! that's alot of work that should not have to be done.
?
Also, after installing 24.1.9, simulating with 24.0.12 or 24.1.9 both produced 4 duplicate BJT warnings.
I found all 4 duplicated BJT's in the user.bjt file that came from 24.1.9's .zip expanded libraries installation.
I did not do a component update from 24.1.9.
User.bjt contained all four duplicated BJT's, (2scr375p, bc857b, bc847b and bc847c).
After doing a component update from 24.0.12, the duplicate BJT's were gone.
?
My project is a moderately complex circuit as far as LTspice is concerned.
?? --- Expanded Deck Component Count ---
A's 42 B's 21 C's 105 D's 93 E's 23 F's 9 G's 16 H's 3 I's 23 L's 35 M's 7 Q's 153 R's 269 S's 21 V's 41 tot: 861 ?
LTspice 24.0.12 - SYSTEM IDLE = 50% avg across 16 cores
LTspice 24.0.12 for Windows
Start Time: Sun Jun? 1 00:04:56 2025
.tran 0 180m 80m
.options chgtol=1e-8 .options vntol=1e-3 .options abstol=1e-7 .options trtol=7 .options plotwinsize=0 .options gminsteps=0 .options nomarch .options noopiter .option temp=25 solver = Normal
Maximum thread count: 16 tnom = 27 temp = 25 method = modified trap abstol = 1e-07 chgtol = 1e-08 trtol = 7 volttol = 0.001 noOpIter = 1 Direct Newton iteration for .op point skipped. Gmin stepping method for .op point skipped. Starting source stepping with srcstepmethod=0 Source Step = 3.0303% Source Step = 33.3333% Source Step = 63.6364% Source Step = 93.9394% Source stepping succeeded in finding the operating point. 2137 DefCon's
Total elapsed time: 1556.499 seconds.
?
LTspice 24.0.12 for Windows
Start Time: Sun Jun? 1 00:51:38 2025
.tran 0 180m 80m
.options chgtol=1e-8 .options vntol=1e-3 .options abstol=1e-7 .options trtol=7 .options plotwinsize=0 .options gminsteps=0 .options nomarch .options noopiter .option temp=25 solver = Alternate
Maximum thread count: 16 tnom = 27 temp = 25 method = modified trap abstol = 1e-07 chgtol = 1e-08 trtol = 7 volttol = 0.001 noOpIter = 1 Direct Newton iteration for .op point skipped. Gmin stepping method for .op point skipped. Starting source stepping with srcstepmethod=0 Source Step = 3.0303% Source Step = 33.3333% Source Step = 63.6364% Source Step = 93.9394% Source stepping succeeded in finding the operating point. No DefCon's
Total elapsed time: 3046.351 seconds.
?
LTspice 24.1.9 - SYSTEM IDLE = 20% avg across 16 cores. (ADI caused 24.1.9 to use more processor cores)
24.1.9 No longer outputs an "Expanded Deck Component Count"
LTspice 24.1.9 for Windows
Start Time: Sun Jun? 1 01:54:33 2025
Options: noopiter? NoMarch? gminsteps=0? PlotWinSize=0? trtol=7? abstol=1e-7? vntol=1e-3? chgtol=1e-8
solver = Normal Maximum thread count: 16 tnom = 27 temp = 25 method = modified trap abstol = 1e-07 chgtol = 1e-08 trtol = 7 volttol = 0.001 noOpIter = true Direct Newton iteration for .op point skipped. Gmin stepping method for .op point skipped. Starting source stepping with srcstepmethod=0 Source Step = 3.0303% Source Step = 33.3333% Source Step = 63.6364% Source Step = 93.9394% Source Step = 96.5436% vernier = 0.00390625 Source Step = 96.6146% Source Step = 96.6412% Source Step = 96.6708% Source Step = 96.7004% Source Step = 96.73% Source Step = 96.7596% Source Step = 96.7892% Source Step = 96.8188% Source Step = 96.8484% Source Step = 96.878% Source Step = 96.9076% Source Step = 96.9371% Source Step = 96.9667% Source Step = 96.9963% Source Step = 97.0259% Source Step = 97.0555% Source Step = 97.0851% Source Step = 97.1147% Source Step = 97.1443% Source Step = 97.1739% Source Step = 97.2035% Source Step = 97.2331% Source Step = 97.2627% Source Step = 97.2923% Source Step = 97.3219% Source Step = 97.3514% Source Step = 97.381% Source Step = 97.4106% Source Step = 97.4402% Source Step = 97.4698% Source Step = 97.4994% Source Step = 97.529% Source Step = 97.5586% Source Step = 97.5882% Source Step = 97.6178% Source Step = 97.6474% Source Step = 97.677% Source Step = 97.7066% Source Step = 97.7362% Source Step = 97.7657% Source Step = 97.7953% Source Step = 97.8249% Source Step = 97.8545% Source Step = 97.8841% Source Step = 97.9137% Source Step = 97.9433% Source Step = 97.9729% Source Step = 98.0025% Source Step = 98.0321% Source Step = 98.0617% Source Step = 98.0913% Source Step = 98.1209% Source Step = 98.1504% Source Step = 98.18% Source Step = 98.2096% Source Step = 98.2392% Source Step = 98.2688% Source Step = 98.2984% Source Step = 98.328% Source Step = 98.3576% Source Step = 98.3872% Source Step = 98.4168% Source Step = 98.4464% Source Step = 98.476% Source Step = 98.5056% Source Step = 98.5352% Source Step = 98.5647% Source Step = 98.5943% Source Step = 98.6239% Source Step = 98.6535% Source Step = 98.6831% Source Step = 98.7127% Source Step = 98.7423% Source Step = 98.7719% Source Step = 98.8015% Source Step = 98.8311% Source Step = 98.8607% Source Step = 98.8903% Source Step = 98.9199% Source Step = 98.9495% Source Step = 98.979% Source Step = 99.0086% Source Step = 99.0382% Source Step = 99.0678% Source Step = 99.0974% Source Step = 99.127% Source Step = 99.1566% Source Step = 99.1862% Source Step = 99.2158% Source Step = 99.2454% Source Step = 99.275% Source Step = 99.3046% Source Step = 99.3342% Source Step = 99.3638% Source Step = 99.3933% Source Step = 99.4229% Source Step = 99.4525% Source Step = 99.4821% Source Step = 99.5117% Source Step = 99.5413% Source Step = 99.5709% Source Step = 99.6005% Source Step = 99.6301% Source Step = 99.6597% Source Step = 99.6893% Source Step = 99.7189% Source Step = 99.7485% Source Step = 99.7781% Source Step = 99.8076% Source Step = 99.8372% Source Step = 99.8668% Source Step = 99.8964% Source Step = 99.926% Source Step = 99.9556% Source Step = 99.9852% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source Step = 100% Source stepping succeeded in finding the operating point. Warning: Simulation tolerance relaxed to achieve convergence from 5.2763753634517503e-03
Convergence Failure:? Time step too small; time = 0.00527638, timestep = 1.25079e-18: trouble with instance "xucc:u3:A2" Simulation Failed: Iteration limit reached
Total elapsed time: 52.671 seconds.
?
LTspice 24.1.9 - SYSTEM IDLE = 20% avg across 16 cores
LTspice 24.1.9 for Windows
Start Time: Sun Jun? 1 01:54:33 2025
Options: noopiter? NoMarch? gminsteps=0? PlotWinSize=0? trtol=7? abstol=1e-7? vntol=1e-3? chgtol=1e-8
solver = Alternate Maximum thread count: 16 tnom = 27
temp = 25 method = modified trap abstol = 1e-07 chgtol = 1e-08 trtol = 7 volttol = 0.001 noOpIter = true Direct Newton iteration for .op point skipped.
Gmin stepping method for .op point skipped. Starting source stepping with srcstepmethod=0 Source Step = 3.0303% Source Step = 33.3333% Source Step = 63.6364% Source Step = 93.9394% Source stepping succeeded in finding the operating point. Simulation STUCK
115,007 Warning: Simulation tolerance relaxed to achieve convergence.
55 minutes later.
Simulation stopped by user.
Total elapsed time: 6025.053 seconds. ?
The results are:
24.0.12 Normal Solver - 2137 DefCon's to finish in Total elapsed time: 1556.499 seconds.
24.0.12 Alternate Solver - No DefCon's to finish in Total elapsed time: 3046.351 seconds.
24.1.9 Normal Solver - Many Source Step's to FAIL with "Time step too small" in Total elapsed time: 52.671 seconds.
24.1.9 Alternate Solver - 115,007 Simulation tolerance relaxed Warnings to FAIL stalled with Total elapsed time: 6025.053 seconds.
?
ADI has a very long row to hoe when it comes to perfecting LTspice 24.1.x.
I see no choice but to use 24.0.12 into the foreseeable future.
?
All for now
? Sent:?Saturday, May 31, 2025 at 10:54 PM
From:?"eewiz via groups.io" <eewiz@...> To:[email protected] Subject:?Re: [LTspice] Installing 24.1.9 Removed My 24.0.12 Hello All:
?
I decided to reinstall 24.0.12.
YOU CAN'T.
The 24.0.12 installer says that there is A NEWER version already installed, then the 24.0.12 installer aborts.
So I decided to rename the 24.1.9 program folder so it could no longer be found by the 24.0.12 installer.
I always test, and to my amazement, dbl-clicking the 24.1.9 shortcut on my desktop started 24.1.9. I have no idea how ADI's registry spaghetti could possibly cause their desktop icon to find the 24.1.9 program folder after it had been renamed to "Junk" but, IT DOES.
Even the "Open Location" button on the LTspice 24.1.9 shortcut's properties dialog opened the "Junk" folder.
So I erased the folder "Junk" and finally the 24.1.9 desktop shortcut failed to start 24.1.9.
?
Now reinstalling 24.0.12 still says that there is A NEWER version already installed and then aborts.
The only possibility remaining is a registry key.
?
Now I have several options available.
1. Put the copy I made of 24.1.9 back in place and then uninstall 24.1.9 to get rid of whatever is blocking the 24.0.12 installer.
2. Dust of my copy of Sysinternals Process Monitor to follow the 24.0.12 installer to find the registry key that is blocking the 24.0.12 installation, NO FUN.
?
More to come...
?
All for now
?
Sent:?Saturday, May 31, 2025 at 10:17 PM
From:?"eewiz via groups.io" <eewiz@...> To:[email protected] Subject:?[LTspice] Installing 24.1.9 Removed My 24.0.12 Hello All:
?
I just installed 24.1.9 and the 24.1.9 installer removed my installation of 24.0.12.
I was running a sim in 24.0.12 when the 24.1.9 installer said that it needed to close other programs because they were using files required by the 24.1.9 installer.
So I stopped my sim, closed 24.0.12 and continued the 24.1.9 installation.
On completion I saw that my 24.0.12 desktop shortcut is now blank and the 24.0.12 program folder is now empty, WTF!
?
17.1.15 sits in a folder right next to the now empty 24.0.12.
The 24.1.9 installer didn't deem to erase it, 17.1.15 still works.
?
Now I have to decide to restore 24.0.12 from a backup which would leave all of the registry's default file settings pointing to 24.1.9.
Or, reinstall 24.0.12 to restore the default file pointers to point to 24.0.12.
?
More to come...
?
All for now
?
|
Re: Problem with my trying to add a potentiometer in LTSpice
On Sun, Jun 1, 2025 at 01:45 AM, Oliver Barrett wrote:
Why do you think it is missing information?? Your simulation works correctly, even though it is messed up because you have both a model file (potentiometer.sub) and a model schematic (potentiometer.asc).? That's not right, but you got lucky.? More on that later.
Be careful here.? The subcircuit model file (potentiometer.sub) defines resistors Ra and Rb.? They are not the same as the parameters Ra and Rb that are used in potentiometer.asc, but never defined.
?
You have done things strangely, and wrongly, and by chance, it works.? Your potentiometer.asy symbol calls the lower-level schematic potentiometer.asc.? But then, it also loads the subcircuit file potentiometer.sub.? That file has another subcircuit with the same exact subcircuit name!? It overwrites the subcircuit from the schematic, effectively replacing it.? So now you have the subcircuit defined this way:
and it completely overwrites and overrides the schematic that would have created this:
and is missing the definitions for parameters Ra and Rb.? But that code was overwritten by the subcircuit file, so it's no longer part of the netlist, and the missing parameter definitions no longer matter.
?
This is a Very Bad Way of doing it!? You should never have loaded a subcircuit model file (potentiometer.sub) that has the same exact subcircuit name as the schematic (potentiometer.asc).? That is simply BAD, and wrong.
?
In fact loading the separate subcircuit model file makes no sense when combined with the symbol and schematic.? It should be one OR the other, not both.
?
Do you know what you are doing?? It looks like you do not.
Does this mean your working schematics are on the networked Dropbox drive?? That could be a bad idea.? Simulations should be run from the computer's local drive.? If you are running them from the computer's local copy of the networked drive, then maybe it is OK, although I suspect it could force your computer to have constant network activity while trying to keep the networked drive sync'ed with the local copy.? I do not know how that works with Dropbox. No.? Everything is local and together.? No paths are needed and none should be specified. ?
By the way, LTspice is spelled "LTspice".? It is not "LTSpice".
?
Andy
? |
Re: Problem with my trying to add a potentiometer in LTSpice
Thank you for the responses.? I tried a different approach, and found "Jacks potentiometer repaired" in the Files area and adapted that, but the simulation is still missing information.? I uploaded a new file, "Potentiometer circuit-1.zip".? The subckt model defines Ra and Rb, but I don't understand how that should connect with {Ra} and {Rb} in potentiometer.asc.? I keep all my LTSpice files in the LTSpice subfolder of the Dropbox main directory on my PC's SSD, that is what my LTSpice install works off of, the Dropbox server in the cloud is just for backup.
?
All 4 files that I uploaded are resident in this same LTSpice subfolder.? Do I need to specify the full file path somewhere?
?
Thanks again. |
Re: Flip Flop and NAND gate
On Thu, May 29, 2025 at 05:49 PM, eewiz wrote:
Thanks. ?
I clicked a bunch of other things, but gave up before trying that one.? I miss not having the results always there, all the time.
?
Andy
? |
Re: Flip Flop and NAND gate
On Thu, May 29, 2025 at 09:58 PM, Guilherme Souza wrote:
Andy,?Do you know where I can find an integrated circuit model that functions as a JK flip-flop, such as the CD4027?Don't know.? Haven't tried looking. ?
Can you do it with something other than a JK Flip-Flop?? Would? a D-type flip-flop work, or must it have all of the same exact functionality (e.g., truth table) of the JK type?
?
Because JK flip-flops are uncommon, I would expect that their SPICE models might be rare too.
?
Andy
?
? |
Re: Installing 24.1.9 Removed My 24.0.12
On Sat, May 31, 2025 at 10:54 PM, eewiz wrote:
I think that is a Microsoft Windows function.? When a link (shortcut) to a program fails, Windows instantly starts looking to find where it might have gone, and if it finds it, it uses it. ?
I have seen this with recent versions, since at least Win 7.
?
This has nothing to do with Analog Devices, nor a Registry thing.? It must be a Windows task waiting to run in the background.? It has happened to me with several kinds of programs.
?
I would expect that, because Windows thinks it is still installed, unless you specifically uninstalled it.? I assume it still has dozens of hooks to that version in the Windows Registry.? Renaming a file changes nothing, except for direct access to it. ?
Andy
? |
Re: Installing 24.1.9 Removed My 24.0.12
Hello All:
?
I decided to reinstall 24.0.12.
YOU CAN'T.
The 24.0.12 installer says that there is A NEWER version already installed, then the 24.0.12 installer aborts.
So I decided to rename the 24.1.9 program folder so it could no longer be found by the 24.0.12 installer.
I always test, and to my amazement, dbl-clicking the 24.1.9 shortcut on my desktop started 24.1.9. I have no idea how ADI's registry spaghetti could possibly cause their desktop icon to find the 24.1.9 program folder after it had been renamed to "Junk" but, IT DOES.
Even the "Open Location" button on the LTspice 24.1.9 shortcut's properties dialog opened the "Junk" folder.
So I erased the folder "Junk" and finally the 24.1.9 desktop shortcut failed to start 24.1.9.
?
Now reinstalling 24.0.12 still says that there is A NEWER version already installed and then aborts.
The only possibility remaining is a registry key.
?
Now I have several options available.
1. Put the copy I made of 24.1.9 back in place and then uninstall 24.1.9 to get rid of whatever is blocking the 24.0.12 installer.
2. Dust of my copy of Sysinternals Process Monitor to follow the 24.0.12 installer to find the registry key that is blocking the 24.0.12 installation, NO FUN.
?
More to come...
?
All for now ?
Sent:?Saturday, May 31, 2025 at 10:17 PM
From:?"eewiz via groups.io" <eewiz@...> To:[email protected] Subject:?[LTspice] Installing 24.1.9 Removed My 24.0.12 Hello All:
?
I just installed 24.1.9 and the 24.1.9 installer removed my installation of 24.0.12.
I was running a sim in 24.0.12 when the 24.1.9 installer said that it needed to close other programs because they were using files required by the 24.1.9 installer.
So I stopped my sim, closed 24.0.12 and continued the 24.1.9 installation.
On completion I saw that my 24.0.12 desktop shortcut is now blank and the 24.0.12 program folder is now empty, WTF!
?
17.1.15 sits in a folder right next to the now empty 24.0.12.
The 24.1.9 installer didn't deem to erase it, 17.1.15 still works.
?
Now I have to decide to restore 24.0.12 from a backup which would leave all of the registry's default file settings pointing to 24.1.9.
Or, reinstall 24.0.12 to restore the default file pointers to point to 24.0.12.
?
More to come...
?
All for now
?
|
Re: Problem with my trying to add a potentiometer in LTSpice
Oliver, going back to your original simulation (in the .JPG, not in the LTspice .ASC schematic) and the question you had about it:
It is somewhat hard to say from the screenshot alone.? But I think I can say that your parameter settings there were not right.? Sorry this is long, but everything is explainable.? Here is what I think happened: ?
The schematic in the .JPG image has not one but two potentiometer models.? There is X1 which is your potentiometer symbol; and then there are the two resistors R1 and R2, connected to nodes 1, 2, and 3, which are separate and NOT part of that potentiometer in X1.
?
The resistors that are inside the model for X1 have their parameters correctly set because "R=10k Val=50" was passed into X1's model.? That one is done correctly.
?
But then there are those other two resistors, and the two .PARAM statements in the main schematic.? Both of these things are NOT part of the schematic "Potentiometer test circuit.asc" you uploaded.? They are only in the .JPG.
?
First, note that you have two "levels" here.? There is the top-level, which is everything on the main schematic only.? And there is the subcircuit, represented by the potentiometer symbol in X1.? This lower level is everything in "Potentiometer.asc", only.? The levels have distinct (but overlapping) environments, which includes parameters.
?
On the main schematic, the first .PARAM statement tries to calculate "Ra=R*(Val/100)".? But there is no parameter named "R" in the main schematic.? Sure there is a parameter named "R" that is passed to X1, so it exists within X1 only, but not in the main schematic itself.? There needed to be a ".PARAM R=something" in the top-level schemaitc for your .JPG.??That is the cause of the first two error messages.? (The same thing also happens because "Val" is not defined in the main schematic.)? Both .PARAM statements on the main schematic fail.
?
Because they fail, parameters "Ra" and "Rb" are undefined at the main schematic level.? That is the cause of the third and fourth errors.? The different parameters also named Ra and Rb inside the subcircuit represented by X1 are OK, but their "scope" is limited to the subcircuit and they are undefined at the top level.
?
There you have it.
?
The schematic you uploaded in "Potemtiometer test circuit.asc" is OK and it works.? The one you simulated for your .JPG is not OK.
?
Two other things to note:
?
(1)? Resistors R1 and R2 in your top-level schematic (in the .JPG) connect to nodes 1, 2, and 3.? There are no other nodes named 1, 2, or 3, so those nodes are "floating" and you'd probably get errors.? X1 has pins named 1, 2, and 3, but they are not nodes.? Inside X1, the node named 1 changes to N001 and it connects to V1.? Node 2 becomes NC_01.? Node 3 inside X1 is actually Ground (= node 0).
?
(2)? Make sure never to set Val to either 0 or 1.? Either one leads to a 0 ohm resistor, which is not allowed.? You could add a MAX() to the .PARAM statements so that won't happen.
?
Andy
? |
Installing 24.1.9 Removed My 24.0.12
Hello All:
?
I just installed 24.1.9 and the 24.1.9 installer removed my installation of 24.0.12.
I was running a sim in 24.0.12 when the 24.1.9 installer said that it needed to close other programs because they were using files required by the 24.1.9 installer.
So I stopped my sim, closed 24.0.12 and continued the 24.1.9 installation.
On completion I saw that my 24.0.12 desktop shortcut is now blank and the 24.0.12 program folder is now empty, WTF!
?
17.1.15 sits in a folder right next to the now empty 24.0.12.
The 24.1.9 installer didn't deem to erase it, 17.1.15 still works.
?
Now I have to decide to restore 24.0.12 from a backup which would leave all of the registry's default file settings pointing to 24.1.9.
Or, reinstall 24.0.12 to restore the default file pointers to point to 24.0.12.
?
More to come...
?
All for now
? |
Re: Problem with my trying to add a potentiometer in LTSpice
开云体育Those steps are not guessable. I agree they
work, but you have to know that from ESP or something. On 2025-06-01 00:03, Andy I via
groups.io wrote:
--
Best wishes John Woodgate RAYLEIGH Essex 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 |
Re: Problem with my trying to add a potentiometer in LTSpice
On Sat, May 31, 2025 at 06:32 PM, John Woodgate wrote:
LTspice has never allowed that.
?
You can click on a wire as a short-cut way to plot its voltage.? Or you can click on a pin as the short-cut to plot its current (the current into the pin).? But clicking on a pin never works to plot a voltage, and I would argue that it should not.
?
Ah, but there is.? The plot window shows the names of the things being plotted, at the top of the pane.? There are other ways to get those names up there, besides only point-and-click with a mouse on your schematic.? Among them are:
Any way that you have to enter a node voltage, or a pin current, and make it appear at the top of a plot pane, works.? Most of the choices listed above come with a selection menu from which you can choose what signal you want to plot.? I told you which signal name you needed to plot in this case, which I discovered by hovering the mouse pointer over the pin.? That is always how it works in LTspice.? LTspice can't read your mind, so you need to use actions like clicking, or hovering over something.
?
We often talk about doing things like editing the name at the top of the waveform plots.? It might not be immediately obvious to the very first-time user, but neither is it obvious that clicking on a wire could plot its voltage.? Everything comes with experience, plus reading the Help for guidance.
?
?
? |
Re: Problem with my trying to add a potentiometer in LTSpice
开云体育I think it would be good and logical to allow
a click on the symbol terminal to plot the voltage there. There
isn't really any way to guess that the steps that you explain
will make it work. On 2025-05-31 23:19, Andy I via
groups.io wrote:
--
Best wishes John Woodgate RAYLEIGH Essex 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 |
Re: Problem with my trying to add a potentiometer in LTSpice
On Sat, May 31, 2025 at 06:11 PM, John Woodgate wrote:
That's right, if you try to point to a net to plot its voltage.? Because there is no net (node) to point to, you can't just click on the net to plot its voltage.
?
But that is not the end of the story.? The net (or node) exists, under the name "NC_01".? You can plot it if you go to the Add Traces menu and find that net.? Look for "V(nc_01)" and select it and click OK.
?
And, because it is just a pin but not a net, you can plot the current into the pin by clicking on it.? The current is, of course, 0.
?
You are right.? But the simulation works with or without the wire.? It's just that you can't click on the wire when there is no wire to click on.? That's all.
?
Andy
? |
Re: Problem with my trying to add a potentiometer in LTSpice
开云体育Well, when I try it, LTspice will not plot the
voltage on pin 2. That's what I meant.? It's the lack of a wire
that causes that. When I add a wire, it works. On 2025-05-31 22:58, Andy I via
groups.io wrote:
--
Best wishes John Woodgate RAYLEIGH Essex 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 |