Re: Can't assign diode models in batch mode

Anthony Anconetani <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.general
Message-ID <[email protected]>
Hello all,

I think I found the problem. It looks like the first like of my
test_schematic2.sim files needs to be a comment. Sorry for the trouble.

Thanks

-Anthony

On Wed, Feb 18, 2009 at 12:20 PM, <[email protected]> wrote:

> Hello Anthony,
>
> Just tried your circuit with batch mode.
> gnucap -b test_schematic2.sim
>
> got .dat file:
>
> #           v(10)      v(20)      v(30)
>  0.         0.         0.         0.
>  0.5        0.0042244  3.549E-12  0.
>  1.         0.38735    63.702E-6  49.E-15
>  1.5        0.85995    0.25783    426.95E-9
>  2.         1.3427     0.71012    0.12644
>  2.5        1.83       1.1785     0.55651
>  3.         2.3212     1.6585     1.0208
>  3.5        2.8146     2.144      1.4964
>  4.         3.3093     2.6326     1.9778
>  4.5        3.8049     3.1232     2.4628
>  5.         4.3011     3.6153     2.9501
>
>  Seems everything worked fine.
>
>  gnucap 2008-12-23, CentOS linux.
>
>  Cheers
>  Gena.
>
> Tuesday, February 17, 2009, 11:02:09 PM, you wrote:
>
> AA> Hello everyone,
>
> AA> I hope you all are doing well. This is my first time posting. I've just
> AA> started using gnucap this past week.
>
> AA> Here is my question. I'm trying to read in a netlist and commands in
> batch
> AA> mode. I have a file that called test_schematic2.sim.
>
> AA> The file contains:
>
> AA> .model 1N414 D IS=2e-14
> AA> Vcc  1   0   5
> AA> Dx   1  10   1N414
> AA> Dy  10  20   1N414
> AA> Dz  20  30   1N414
> AA> Rd1 10   0   1k
> AA> Rd2 20   0   1k
> AA> Rd3 30   0   1k
>
> AA> .print dc v(10) v(20) v(30)
> .dc Vcc 0 5 0.5 >>eg6.dat
> AA> .end
>
> AA> I then run:
>
> >>gnucap -b test_schematic2.sim
>
> AA> I do not receive the output file eg6.dat.
>
> AA> If I go into gnucap and pull the file in as follows:
>
> gnucap>>  <test_schematic2.sim
>
> AA> I get the following message:
>
> AA> .model 1N414 D IS=2e-14
> AA> Dx: can't find model: 1N414
>
> AA> However, I can generate the model from inside of gnucap by using the
> build
> AA> command.
>
> AA> Can you tell why I cannot get gnucap to recognize the diode model
> through
> AA> the batch mode?
>
> AA> Thanks, and I hope I'm not wasting your time with something obvious.
>
> AA> -Anthony Anconetani
> AA> _______________________________________________
> AA> Help-gnucap mailing list
> AA> [email protected]
> AA> http://lists.gnu.org/mailman/listinfo/help-gnucap
>
>
>
> --
> Best regards,
>  gserdyuk                            mailto:[email protected]
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.