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
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
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
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
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
Dear Robert,
Understand.
BTW, when is the next official release for ngspice-25.
We need this bug-fixed stable version.
Very thanks,
Simon
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