--- In LTspice@..., "heifetz.7777" <heifetz.7777@...> wrote:
HowdyHo!
I downloaded this schematic and it's associated lm317.lib
and xreg3.asy into one directory as instructed in the post.
When the simulation is run the the following appears in
the error log:
Circuit: * C:\Program Files\LTC\LTspiceIV\examples\
Educational\LM317\Lm317_test.asc
Fatal Error: Unknown subcircuit called in:
xu1 n001 n002 out lm317mot
The .asc, .lib, & .asy look just fine to me.
LTspice IV "Help/About" says Version 4.04o Oct 30, 2009.
Why is this happening?
Hello,
I just checked the files and my simulation runs without any
problems.
There are only two reasons possible why LTspice doesn't find
the subcircuit on your PC.
1. Your downloaded file has been saved with the name
LM317.lib.txt instead of LM317.lib .
2. You have another file LM317.lib in the path
"C:\Program Files\LTC\LTspiceIV\lib\sub\".
This is the path where LTspice firstly look for included
files.
Best regards,
Helmut