ltspice problom -- I'm trying to run an electrical circuit that has the AD8310 component inside.

Thread Starter

yot759

Joined Feb 20, 2022
1
I'm new at the software ltspice,
And I got stuck in a bit of a weird problem I'm trying to run an electrical circuit that has the AD8310 component inside.
But a problem pops up and i need some help to solve it
1645366327341.png
 

Irving

Joined Jan 30, 2016
3,897
Check the default path to sym and lib files in Tools->Control Panel is blank or meaningful for your setup (usually is blank for LTSpice libraries as a subfolder of Documents).
Check your C:\users\%username%\Documents\LTSpiceXVII\lib\sub directory contains both AD8310.sub and UniversalOpamps2.sub
Also check the AD8310.sub library references UniversalOpamps2.sub as "lib UniversalOpamps2.sub" near the bottom with no path.
 

Irving

Joined Jan 30, 2016
3,897
Shouldn't you be looking for UniversalOpamp2.sub, not UniversalOpamps2.sub ?
On the face of it you'd seem to be right... yet mine works OK as shown below and my AD8310.sub has the supposedly incorrect line at the bottom.
1645392612089.png

But it still works! But if I comment it out it fails "undefined subckt level2" like so...

1645393026352.png

And thats because UniversalOpamps2.sub does exist in my 'sub' folder - but seemingly from an earlier release in June 2020 as they weren't updated in the recent upgrade.

So I attach them here in case you're missing them.
 

Attachments

Top