1

I want to use the INA138 as a current sensing amplifier but its symbol is not available in Ltspice so I downloaded the .lib File from https://www.ti.com/lit/zip/sbom140 here.

I then opened the file in Ltspice and clicked on the (.subckt INA138 + - Vs GND OUT) name of the component besides the subckt title and thus right clicked on it to create a symbol. I updated the model file for the symbol and saved it but when I use it I am getting an error stating

"Could not open the library file"

If anybody knows how to solve this please respond. Thank You

SAM1
  • 21
  • 1
  • 4
  • Creating custom symbols hard-codes the path into the symbol. Edit the `.asy` file with a text editor and delete the line `SYMATTR ModelFile ...`. Then make sure your library resides in a correct location before using `.lib /path/to/library.sub`. – a concerned citizen Jul 01 '20 at 23:22
  • @aconcernedcitizen tried. Doesn't work. – SAM1 Jul 02 '20 at 04:00
  • 1
    You already have a very similar question [here](https://electronics.stackexchange.com/q/508046/95619). Does the very detailed answer provide any clues to you? Answer which you haven't checked. – a concerned citizen Jul 02 '20 at 06:42

0 Answers0