¿ªÔÆÌåÓý

Re: How to debug 'unknown device' message?


Ralph R. Reinhold
 

Mike
It looks like you may have not included a ".lib" command line in the
schematic. For example,

.lib standard.opamp

.lib dly-line.sub

.lib potentiometer.sub

My guess is that you may need an include statement for this particular
case to call the library.

.include max931.fam

But, I haven't used that command yet.

Ralph



--- In LTspice@y..., "Mike Cowlishaw" <mfcowli@a...> wrote:
Hello,

I'm experimenting with adding a custom model to use in
SwitcherCADiii (I'm
adding a Max931, but with a 'DIP8' symbol and using the Spice model
from
Maxim -- almost the same as an LTC1540). I have the symbol part
working
(Ralph's guide was very useful, I have some experiences to add about
the
semantics of PINs and their ordering if anyone interesting).

I'm now as far as having the model start to run, but just get a
message box:

Spice error
Error: Unknown device type in: xu1 n003 n002 n001 0 n002 n002 out
0
max931.fam max931

(which just looks like the call to the subcircuit with the filename
and
Value added). There's no additional information in the .log file.

Anyone know how I can get more detailed information on the unknown
device
type, or do I just have to plough through the model 'by eye'?

--
Mike Cowlishaw
Coventry, UK

Join [email protected] to automatically receive all group messages.