Menu

#218 measure fail when using "at=time TRAG"

closed-fixed
analyses (40)
5
2012-11-11
2012-10-25
No

Dear friends,

When I use .measure with trag and at expression, it tends to fail in many netlists.

I just attach the simplest netlist for you:

--------------------------------------------------------------------------------------

.option noacct mopage
vsource a gnd pwl( 0 0 2p 1)
res a b 0.1k
cap b gnd 10p
.tran 100p 10000p
.print tran v(b)

.meas tran tran0 trig at=0 targ v(a) val=0.229500 rise=last
.meas tran tran1 trig at=0 targ v(a) val=0.535500 rise=last

.end

--------------------------------------------------------------------------------------

error message:

measure 'tran0' failed
Error: measure tran0 (null)(TRIG) :
out of interval

measure 'tran1' failed
Error: measure tran1 (null)(TRIG) :
out of interval
the correct result is :
tran0= 459.0000f
tran1= 1.0710p

Thank you,
Simon

Discussion

  • Holger Vogt

    Holger Vogt - 2012-10-25

    error is with ngspice24

    has been fixewd in actual code in git

    (tested with your file using acttual code of today, MS Windows, Visual Studio 2008)

    Holger

     
  • Holger Vogt

    Holger Vogt - 2012-10-25
    • status: open --> open-fixed
     
  • Simon Y.H Chen

    Simon Y.H Chen - 2012-10-25

    Dear Holger,

    You mean that GIT source tree is the official code repository ?
    If that is the case, could you kindly provide "download GNU tar ball" function for us to download whole up-to-date source code.

    Very thanks,
    Simon

     
  • Holger Vogt

    Holger Vogt - 2012-10-25

    Simon,

    there is no GNU tarball available. Please use git instead:

    install git
    download code code with
    git clone git://ngspice.git.sourceforge.net/gitroot/ngspice/ngspice

    for updating later cd to ngspice and issue the command
    git pull git://ngspice.git.sourceforge.net/gitroot/ngspice/ngspice

    Holger

     
  • Robert Larice

    Robert Larice - 2012-10-25

    Hello Simon,

    the "tarball" capability of the ngspice gitweb interface
    is missing because it has been deliberately switched of
    by the "sourceforge" administrators.

    this is presumably due to the possible significant CPU usage
    which can be caused by this capability.

    apart from that it wouldn't help you much, because
    the "real" official tar balls are already autoconfigured,
    but the gitweb would only deliver the plain files.

    to further clarify, the git is our working space.
    it is meant for development and for test.
    everybody is welcome to work with it, to report
    bugs, to do tests, and to contribute patches.
    yet it is by no means a "stable" and or "official" release.

    Robert
    to help with

     
  • Simon Y.H Chen

    Simon Y.H Chen - 2012-10-25

    Dear Robert,

    Understand.

    BTW, when is the next official release for ngspice-25.
    We need this bug-fixed stable version.

    Very thanks,
    Simon

     
  • Robert Larice

    Robert Larice - 2012-10-26

    Hello Simon,

    As I've said, every body is invited to use the development code.
    So the thing gets more tests, and that is very important for
    every open source project.

    You will have to execute ./autogen.sh first.
    Then continue as usual with configure and make.
    for autogen.sh you will need to install additional development tools.
    In debian you will find them in the packages "autoconf" and "automake"

    Regards,
    Robert

     
  • Holger Vogt

    Holger Vogt - 2012-11-11
    • assigned_to: nobody --> h_vogt
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB