0
'plot_data_i.txt' and 'plot_data_v.txt' files cannot be created. why is this happening?


after following all the steps, the simulation is not running. the error message is displayed as "fatal error in NGSPICE" and "Error while opening python plotting Editor. Please look at console for more details".
the kicad to ngspice successful message is displayed but plot_data_i.txt and plot_data_v.txt files are not being created.
the ngspice window shows the error message " error inĀ bt1 net-_bt1-pad1_ net-_bt1-pad2_ 6k".
the contents of cir.out file is:-

* c:\\users\\sheena\\esim-workspace\\model1\\model1.cir

\n


\n

d1 net-_bt1-pad1_ in d

\n

d2 in net-_bt2-pad2_ d

\n

bt1 net-_bt1-pad1_ net-_bt1-pad2_ 6k

\n

bt2 net-_bt1-pad2_ net-_bt2-pad2_ 4k

\n

r1 in net-_bt1-pad2_ 1k

\n

* u1 in plot_v1

\n

* u2 in plot_v1

\n

v1 in net-_bt1-pad2_ sine(0 10000 50 0 0)

\n

.tran 10e-03 100e-03 0e-03

\n


\n

* Control Statements

\n

.control

\n

run

\n

print allv > plot_data_v.txt

\n

print alli > plot_data_i.txt

\n

plot v(in)

\n

plot v(in)

\n

.endc

\n

.end




eSim 04-11-17, 10:27 a.m. sheena
0
Thank you posting this query. We will check this issue and get back to you as quickly as possible.
08-11-17, 9:35 a.m. athulgeorge


0
Hi Sheena,
Try connecting the DC power source rather than battery.
08-11-17, 11:30 a.m. Gloria


0
problem is solved. thanks a lot..
09-11-17, 1:32 a.m. sheena
I also got the same problem.What is the solution for it?

24-02-19, 11:11 p.m. KatakamBhargav

Login to add comment


Log-in to answer to this question.