LTSpice

Thread Starter

mnada

Joined Apr 5, 2012
26
In my simple circuit which I use to explore LTspice I use the following .print

"
.print ac v(1,2) v(2,3) v(3,0) i(v1)
.print ac vp(1,2) vp(2,3) vp(3,0) ip(v1)
"

unfortunately the values returned is the node voltage with respect to node 0
ie V(1), V(2) V(3) . it seems that V(1,2) or V(2,3) is ignored. how can I get V(1,2) instead of V(1)
 
Last edited:

ifixit

Joined Nov 20, 2008
652
Hi,

I don't use the .PRINT command. Use the .WAVE or .MEASURE command. For node to node voltages use this form... V(N001,N002).

Where does your ".PRINT" output go?

Regards,
Ifixit
 

Thread Starter

mnada

Joined Apr 5, 2012
26
The output is going to a window as attached. I don't know how to save the output of a netlist simulation to external file too. I seems that a long way is waiting for me :confused:
 

Attachments

Last edited:

Ron H

Joined Apr 14, 2005
7,063
LTspice makes no mention of .PRINT in the help file. It does not cause an error message to be generated, but as you pointed out, it does not give you the expected results.
I had never tried .meas(ure), but I tried in on a simple DC example, and it worked. You have to study the Help file carefully. Be sure to scroll down to the bottom. You have to create a *.meas file, and execute that file from the waveform window after the simulation has run.
 
Top