[SOLVED] [LTSpice] How to plot ID of a MOSFET which is located in a subcircuit

Status
Not open for further replies.

pifouille

Junior Member level 1
Joined
Apr 4, 2012
Messages
17
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,481
Hello all.

Hopefully, the title is sufficiently explicit...

Let's say I have a M1 mosfet transistor in an X1 instance of my LTSpice design.
I can't manage to plot the drain current of this mosfet..
I tried entering the following expressions in the waveform viewer:
Code:
-- Id(x1:m1)
-- Id(m:x1:1)  ** After a .OP simulation, this is how the transistor is called in the log file
-- Ix(x1:m1:d)
-- Ix(x1:m1:1)

none of those is working.
Any idea?

Thanks anyway!

Pif.
 


Thank you very much for your answer..
Yes, I obviously looked in the LTSpice doc, but it's quite brief and basic.
I also had a look at the Spice webpage at UC Berkeley, but didn't find anything related.

Anyway, I already tried what you suggested but it didn't work..
I'm gonna read the thread you thru the link you provided.

Thanks again
 

That worked!!

As explained in the thread you linked, I just had to check the "save subcircuit voltages/currents" boxes in the control panel.
Very sorry, I tried to run a search on "LTSpice" in the forum before posting, but apparently, i did that wrong...


Thank you so much
 
Last edited:

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…