Be careful using a file named "opamp.sub" and a .subckt named
"opamp". These names are already used in the default LTspice
installation - see "opamp" symbol in the the Component Chooser (F2).
--
Regards,
Tony
On 16/05/2025 18:59, Tim Hutcheson via
groups.io wrote:
toggle quoted message
Show quoted text
John does your OpAmp.sub look like this?
?
.SUBCKT OpAmp 0 N003 V+ V- OUT
X1 0 N003 V+ V- OUT level1 Avol=1Meg GBW=10Meg Vos=0 En=0 Enk=0
In=0 Ink=0 Rin=500Meg
.lib UniversalOpAmp1.lib
.ENDS
?
It runs fine here.