<br><div class="gmail_quote">On Tue, Sep 14, 2010 at 8:41 AM, Ashwith Rego <span dir="ltr"><<a href="mailto:ashwith@gmail.com">ashwith@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Tue, Sep 14, 2010 at 1:14 AM, <span dir="ltr"><<a href="mailto:electronic-lab-request@lists.fedoraproject.org" target="_blank">electronic-lab-request@lists.fedoraproject.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Date: Mon, 13 Sep 2010 21:43:50 +0200<br>
From: Chitlesh GOORAH <<a href="mailto:chitlesh@fedoraproject.org" target="_blank">chitlesh@fedoraproject.org</a>><br>
Subject: Re: [free-electronic-lab] ngspice .PRINT I(<component>) won't<br>
work<br>
To: <a href="mailto:electronic-lab@lists.fedoraproject.org" target="_blank">electronic-lab@lists.fedoraproject.org</a><br>
Message-ID:<br>
<<a href="mailto:AANLkTimF70RBB-mBMB390EfxUiik_xKcrYhL6iS%2BROGu@mail.gmail.com" target="_blank">AANLkTimF70RBB-mBMB390EfxUiik_xKcrYhL6iS+ROGu@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
On 13 September 2010 21:10, Ashwith Rego <<a href="mailto:ashwith@gmail.com" target="_blank">ashwith@gmail.com</a>> wrote:<br>
> Hi<br>
> I've just begun using ngspice and found that I cannot plot the current<br>
> output. Also, I cannot specify the name of a circuit component in a .PRINT<br>
> or .PLOT statement. Only the node numbers seem to work. Here is an example:<br>
> Ohm' Law<br>
> Vin 1 0 5<br>
> R1 0 1 10K<br>
> .DC Vin 1 5 1<br>
> .PRINT DC V(R1)<br>
> .END<br>
><br>
> ngspice doesn't seem to recognize R1 in the .PRINT statement. I get the<br>
> following error:<br>
<br>
Hello there,<br>
<br>
According to the ngspice manual,<br>
$ evince `rpm -ql ngspice | grep pdf`<br>
<br>
V(N1,N2) specifi es the voltage diff erence between nodes N1 and N2.<br>
<br>
Your netlist should rather entail :<br>
.PRINT DC V(1,0)<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
electronic-lab mailing list<br>
<a href="mailto:electronic-lab@lists.fedoraproject.org" target="_blank">electronic-lab@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/electronic-lab" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/electronic-lab</a><br>
<br>
End of electronic-lab Digest, Vol 26, Issue 2<br>
*********************************************<br>
</blockquote></div></div></div><div>Hi Chitlesh<br></div><div><br></div><div>Looking at in again I confused myself reading a few examples. I read the manual again. It makes sense now. Thanks for pointing it out :) </div>
<br clear="all">
Regards<br><font color="#888888">-- <br></font><div><div></div><div class="h5">Ashwith J. Rego<br>-----------------<br>My Webpage: <a href="http://ashwith.wordpress.com/" target="_blank">http://ashwith.wordpress.com/</a><br>
Find me on LinkedIn at: <a href="http://www.linkedin.com/in/ashwith" target="_blank">http://www.linkedin.com/in/ashwith</a><br>
Follow Me on Twitter at: <a href="http://twitter.com/Louisda16th" target="_blank">http://twitter.com/Louisda16th</a><br>
</div></div></blockquote></div><br>Forgot to change the subject line. Sorry about that.<br clear="all"><br>Regards<br>-- <br>Ashwith J. Rego<br>-----------------<br>My Webpage: <a href="http://ashwith.wordpress.com/">http://ashwith.wordpress.com/</a><br>
Find me on LinkedIn at: <a href="http://www.linkedin.com/in/ashwith">http://www.linkedin.com/in/ashwith</a><br>Follow Me on Twitter at: <a href="http://twitter.com/Louisda16th">http://twitter.com/Louisda16th</a><br>