Maker Pro
Maker Pro

LTspice fatal error: Could not open the WE-CMB.LIB

Prashant123

Oct 15, 2019
10
Joined
Oct 15, 2019
Messages
10
Hello,
I am using the LTspice. I am making the circuit of power supply. I have add the library of inductor (L2)(WE-CMB library) in LTspice but when i am click on run icon the i have get the fatal error.upload_2019-10-15_18-25-42.png
I need to solve that error as soon as possible but i don't know how can i solve it.
Please any one help me!
 

Attachments

  • upload_2019-10-15_18-22-50.png
    upload_2019-10-15_18-22-50.png
    83.7 KB · Views: 2

Alec_t

Jul 7, 2015
3,590
Joined
Jul 7, 2015
Messages
3,590
Welcome to EP!
If you are running LTS under Windows10, by default LTS expects to find your .lib model file in your Users/User/Documents/LTspiceXV11/lib/sub folder and the corresponding .asy symbol file in an appropriate section of your Users/User/Documents/LTspiceXV11/lib/sym folder.
Unless you edit the symbol attributes to reference its model you will also need to add an include directive on the schematic so that LTS can find the library.
 

Prashant123

Oct 15, 2019
10
Joined
Oct 15, 2019
Messages
10
Thank you give me a reply,
I was check that path as per the mention above path. That files are on correct folder. But still i have get the error. I am open the .lib file from LTspiceXV11 but there is no name of model to create the symbol. How to create the .lib file from .asy file or symbol?
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,722
Joined
Nov 17, 2011
Messages
13,722
Obviously you have been able to place a symbol from that lib, so it is there, but not operating as expected. I recommend you remove the existing WE-CMB.LIB, download the library again and install it freshlky. Then delete the component (Likely the transformer) from the sheet and place it again from the newly instaled library. Everything should work then.
 

Prashant123

Oct 15, 2019
10
Joined
Oct 15, 2019
Messages
10
Obviously you have been able to place a symbol from that lib, so it is there, but not operating as expected. I recommend you remove the existing WE-CMB.LIB, download the library again and install it freshlky. Then delete the component (Likely the transformer) from the sheet and place it again from the newly instaled library. Everything should work then.
Thank you for reply,
I have done this process twice but still get the same error(Download from given source and install it freshly).
I have extract that download file in .asy and .lib also and place the component every time but still get error.
Also, I have separate the file from downloaded folder and pest in .asy and .lib folder path.
Please check below images.
upload_2019-10-16_13-8-3.png
upload_2019-10-16_13-8-35.pngView attachment 46257upload_2019-10-16_13-11-10.png
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,722
Joined
Nov 17, 2011
Messages
13,722
In my installation I have:
The WE libraries in ...\Documents\LTspiceXVII\lib\sub
The symbols are in ...\Documents\LTspiceXVII\lib\sym\Wurth_Elektronik
The subcircuits are in ...\\Documents\LTspiceXVII\lib\sub

I experience the same issue as you do with a symbol from the WE-CMB library. The issue seems to be that there is a symbol in ...\Documents\LTspiceXVII\lib\sym\Wurth_Elektronik\WE-CMB.asy,
but no corresponding library in ...\Documents\LTspiceXVII\lib\sub

Try a component from another Würth library, e.g. WE-CMBH. Worked for me.
 

Prashant123

Oct 15, 2019
10
Joined
Oct 15, 2019
Messages
10
In my installation I have:
The WE libraries in ...\Documents\LTspiceXVII\lib\sub
The symbols are in ...\Documents\LTspiceXVII\lib\sym\Wurth_Elektronik
The subcircuits are in ...\\Documents\LTspiceXVII\lib\sub

I experience the same issue as you do with a symbol from the WE-CMB library. The issue seems to be that there is a symbol in ...\Documents\LTspiceXVII\lib\sym\Wurth_Elektronik\WE-CMB.asy,
but no corresponding library in ...\Documents\LTspiceXVII\lib\sub

Try a component from another Würth library, e.g. WE-CMBH. Worked for me.
Ok. Definitely, I will try with "WE-CMBH" library and i will let you know.
Thank you so much.
 

Alec_t

Jul 7, 2015
3,590
Joined
Jul 7, 2015
Messages
3,590
I've just downloaded and unzipped the WE-CMB zip, giving WE-CMB.lib and WE-CMB.asy, which I put in my sub and sym folders respectively (on the Documents path). Works perfectly.
I see from your screenshots that you have your .lib file in a WE-CMB_rev19a folder and not directly in the sub folder. That's probably why LTS can't find it.
 

Prashant123

Oct 15, 2019
10
Joined
Oct 15, 2019
Messages
10
Ok. Definitely, I will try with "WE-CMBH" library and i will let you know.
Thank you so much.

In my installation I have:
The WE libraries in ...\Documents\LTspiceXVII\lib\sub
The symbols are in ...\Documents\LTspiceXVII\lib\sym\Wurth_Elektronik
The subcircuits are in ...\\Documents\LTspiceXVII\lib\sub

I experience the same issue as you do with a symbol from the WE-CMB library. The issue seems to be that there is a symbol in ...\Documents\LTspiceXVII\lib\sym\Wurth_Elektronik\WE-CMB.asy,
but no corresponding library in ...\Documents\LTspiceXVII\lib\sub

Try a component from another Würth library, e.g. WE-CMBH. Worked for me.
Could you please share the procedure or steps with me?
 

Prashant123

Oct 15, 2019
10
Joined
Oct 15, 2019
Messages
10
I've just downloaded and unzipped the WE-CMB zip, giving WE-CMB.lib and WE-CMB.asy, which I put in my sub and sym folders respectively (on the Documents path). Works perfectly.
I see from your screenshots that you have your .lib file in a WE-CMB_rev19a folder and not directly in the sub folder. That's probably why LTS can't find it.
Yes, you are right. May be that create a problem and it is resolve when i cut paste it directly.
Thank you so much.
 

Prashant123

Oct 15, 2019
10
Joined
Oct 15, 2019
Messages
10
I have get one more error in LTspice.
Error: Fatal Error: Too few nodes: eee8c5c7a2bc4b01f045f303678664e7916da0bae22e8cb0bba041dd67c69ce448ea70148a9ac1670c8926c1ac5057c8ccfcd77bf87ca9dce74b9c9b94072f00

When we get this type of error?
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,722
Joined
Nov 17, 2011
Messages
13,722
The right side of your circuit misses ground:
upload_2019-10-16_14-21-1.png
 

Alec_t

Jul 7, 2015
3,590
Joined
Jul 7, 2015
Messages
3,590
Try temporarily removing the transformer or choke and see if you still get the error message.
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,722
Joined
Nov 17, 2011
Messages
13,722
Please have a look at our LTSPICE resources. You'll find a chapter on how to deal with errors. Try the methods I described therein.

You can also try to locate the error more precisely by simplifying the circuit. For example replace the top left power supply section (crossed below) by a single DC voltage source.
Replace parallel capacitors by a single capacitor with the equivalent value.
Replace serial diodes by a single diode-
Avoid components wit a "0" value (R7). Either use a direct connection or set it to some negligible vakue (e.g. 0R1).
upload_2019-10-16_18-28-16.png
 

Attachments

  • upload_2019-10-16_18-28-7.png
    upload_2019-10-16_18-28-7.png
    110 KB · Views: 1

Prashant123

Oct 15, 2019
10
Joined
Oct 15, 2019
Messages
10
Please have a look at our LTSPICE resources. You'll find a chapter on how to deal with errors. Try the methods I described therein.

You can also try to locate the error more precisely by simplifying the circuit. For example replace the top left power supply section (crossed below) by a single DC voltage source.
Replace parallel capacitors by a single capacitor with the equivalent value.
Replace serial diodes by a single diode-
Avoid components wit a "0" value (R7). Either use a direct connection or set it to some negligible vakue (e.g. 0R1).
View attachment 46264
Thank you for your suggestion.
I have done as per you told but i have the same error when i am simulate the IC circuit.
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,722
Joined
Nov 17, 2011
Messages
13,722
have done as per you told
What have you done? Tried all suggestions from the resource page? Tried all simplifications?
When hunting errors do not make more than one modification at a time, ten check the result. If you apply more than one modification then
1) in case of success youdo not know which of the modifications was the one that lead to success.
2) in case of failure you do not know if one modification would have done the job but another modification created a new error.
 

Prashant123

Oct 15, 2019
10
Joined
Oct 15, 2019
Messages
10
What have you done? Tried all suggestions from the resource page? Tried all simplifications?
When hunting errors do not make more than one modification at a time, ten check the result. If you apply more than one modification then
1) in case of success youdo not know which of the modifications was the one that lead to success.
2) in case of failure you do not know if one modification would have done the job but another modification created a new error.
I am just change the circuit as per you provide me the picture. I know if i am change in circuit the modification may be create a problem but i am just change as per the discuss and I am not change in any component library also.
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,722
Joined
Nov 17, 2011
Messages
13,722
I am just change the circuit as per you provide me the picture.
What about the other changes I mentioned in my reply?
Have you looked up and tried any of the possible solutions in the resource as I have suggested?
 
Top