12 volt circuit to produce 2 quick pulses

Thread Starter

David Davis 1

Joined Feb 1, 2019
7
Just figured out how to add the potentiometer symbols to the program. Only problem I am running into now is that when I try to run the simulation I get this error...
"Unknown subcircuit called in:
xpot n001 n004 n001 potentiometer rtot=100k wiper=.85"

Anyone know how to fix this? Is this because the pot symbol I imported was not configured to match the sim you guys provided?
here are the files I used..
 

Attachments

Alec_t

Joined Sep 17, 2013
15,132
The two asy files are identical, as are the two sub files, so it could be down to where you have installed them. If running LTspiceXV11 under Win10 then, unless you've told it where to look for additional folders, LTS looks for the sub files in the Users/User/Documents/LTspiceXV11/lib/sub folder, and the asy files in the .....Documents/LTspiceXV11/lib/sym/ path (which might have further folders in it).

Edit:
Just noticed the two asy files aren't quite identical. Open the pot.asy file in LTS, use Edit/Edit Attributes to add "pot.sub" (no quotes) in the ModelFile field and save the amended file. That will save having to add ".include pot.sub" to your schematics every time you use the pot model.
 
Last edited:

Thread Starter

David Davis 1

Joined Feb 1, 2019
7
The two asy files are identical, as are the two sub files, so it could be down to where you have installed them. If running LTspiceXV11 under Win10 then, unless you've told it where to look for additional folders, LTS looks for the sub files in the Users/User/Documents/LTspiceXV11/lib/sub folder, and the asy files in the .....Documents/LTspiceXV11/lib/sym/ path (which might have further folders in it).

Edit:
Just noticed the two asy files aren't quite identical. Open the pot.asy file in LTS, use Edit/Edit Attributes to add "pot.sub" (no quotes) in the ModelFile field and save the amended file. That will save having to add ".include pot.sub" to your schematics every time you use the pot model.
Thanks, That did it.
 
Top