LTSpice

Discussion in 'General Electronics Chat' started by mnada, Apr 6, 2012.

  1. mnada

    Thread Starter New Member

    Apr 5, 2012
    26
    0
    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: Apr 6, 2012
  2. ifixit

    Distinguished Member

    Nov 20, 2008
    638
    108
    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
     
    mnada likes this.
  3. mnada

    Thread Starter New Member

    Apr 5, 2012
    26
    0
    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:[​IMG][​IMG]
     
    Last edited: Apr 6, 2012
  4. Ron H

    AAC Fanatic!

    Apr 14, 2005
    7,050
    657
    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.
     
Loading...