1
esim installation problem

when i click on the esim icon, it opens up till www.BatToExeConverter.com and the closses up. previously i was not having a problem like this.


eSim 13-12-17, 10:16 p.m. shekhar

Answers:

0

Hello Shekhar,

I think you are using Windows OS. Please run (open) the Application.py. This can be done by :
Go to src folder--> frontEnd--> right click on Application.py and click open

13-12-17, 10:23 p.m. Gloria

if i clickon application.py it again open and closes up


13-12-17, 10:31 p.m. shekhar

Once you do that, again click on eSim icon..

Run Application.py , then open eSim


13-12-17, 10:33 p.m. Gloria

licad is working properly but esim is not


13-12-17, 10:34 p.m. shekhar

no then to same problem


13-12-17, 10:35 p.m. shekhar

Did you try reinstalling eSim.


13-12-17, 10:35 p.m. Gloria

And also check, whether python is installed properly.


13-12-17, 10:36 p.m. Gloria

how to reinstall it?


13-12-17, 10:37 p.m. shekhar

yes u were right there is a problem in python, if i reinstall esim then there is a comment as "this installation package could not open.verify that the package exist and that you can access it, or contact the application vendor to verify that this a valid window installer package.


13-12-17, 10:53 p.m. shekhar

Delete the old folder. Again unzip the eSim folder and run the setup file  as  administrator.  

Or you can download the zip file from: http://esim.fossee.in/downloads and follow the instruction sheet.
It should install all its dependencies: ngspice,python, pyqt4,matplotlib, etc..
 If also problem exists, then deactivate antivirus and then install. Sometimes, due to antivirus also, the installation may not happen properly.


13-12-17, 10:53 p.m. Gloria

Thank you so much for your reply. We can help others also to rectify, when such issues arise.


Regards,
Gloria N


13-12-17, 10:58 p.m. Gloria

NO not yet done, during esim setup there is an error showing "could not write updated PATH to HKML"


14-12-17, 8:15 a.m. shekhar

Please send the screen shot of the error to : contact-esim [at] fossee [dot] in        and also let us know the Windows version.


14-12-17, 11:20 a.m. Gloria

Hello Shekhar,

Please remove every traces of eSim . Go to control panel and delete it. Deactivate the antivirus.
Download eSim. Run the setup file as administrator and also open the eSim icon as administrator. 


18-12-17, 12:11 p.m. Gloria

That problem has been overcomed but now I am unable to create project file because the workspace is saved in local disk c /user/sony viao . So there is space in "sony viao" now what to do?


20-12-17, 2:51 p.m. shekhar

Remove the space..



20-12-17, 3:41 p.m. Gloria

But how do i remove or rename it


20-12-17, 4:54 p.m. shekhar

Its okay you can change the directory.

The dialog box, conveys you a message by default your project will be saved in workspace. You can change the path. 


20-12-17, 5:11 p.m. Gloria

If you want, you can set the path and then use it for workspace.

You need to browse on how to set path for the Directory on windows.


20-12-17, 5:15 p.m. Gloria

thanks


24-12-17, 2:40 p.m. shekhar

Login to add comment


0

i am using UA741 OPAMP , where is the pin number 7 and 4 in it.

or can i use LM741 OPAMP instead of it , but also in LM741 what to do with the pin no 5 and 1 should i put cross over there(Place not-connected flag)

24-12-17, 2:43 p.m. shekhar

Hello,

If you use LM741 in your schematic , it will show as unknown model when you do kicad to ngspice conversion.
That is the reason eSim team has created subcircuit as UA741. if you want to see its specification, go to subcircuit model, select "edit subcircuit model".  


24-12-17, 3:22 p.m. Gloria

Can you add more examples in video of spoken tutorials, it will be a great help


26-12-17, 3 p.m. shekhar

Hello,


We are in process of adding tutorials about subcircuit.


26-12-17, 3:30 p.m. Gloria

What is the last date to submit the project


26-12-17, 3:33 p.m. shekhar

It was two weeks from the date of approval of the project.

But, due to semester exams, we postponed till Jan 2nd week.


26-12-17, 3:36 p.m. Gloria

If I design my analog multiplier circuit using component as opamp and diode instead of opamp and resistor will it be OK?


26-12-17, 3:47 p.m. shekhar

Sorry, the proposed circuit only has to be implemented.


26-12-17, 3:54 p.m. Gloria

IF i convert from kicad to ngspice by putting all the details them by clicking on convert there is an error message as " Conversion failed,Please add all subcircuits".


27-12-17, 12:08 p.m. shekhar

you need to add path of the subcircuit used. In this case, your subcircuit is ua741. While doing Kicad to ngspice conversion, there is a subcircuit tab also. Click on Add and choose ua741.


27-12-17, 12:13 p.m. Gloria

IT is again showing an error that "please select a subcircuit with correct number of ports"


27-12-17, 12:18 p.m. shekhar

and one more thing in esim we are having opamp ua741 input ports something different, there is no port for +VCC(port number 7) and -VCC(port number 4).


27-12-17, 12:22 p.m. shekhar

How you have connected VCC to pin number 7? In Ua741 subcircuit you can connect it to only  three ports, i.e. pin number 3,2,and 6..


27-12-17, 12:24 p.m. Gloria

but in my circuit diagram there is connection from pin 7 to +VCC with a resistor in between.


27-12-17, 12:26 p.m. shekhar

Ok. Go to edit subcircuit, select ua741,  add a port  to pin 3 of second +c block, save it . then do kicad to ngspice and you can use it to connect the R and Vcc.


27-12-17, 12:48 p.m. Gloria

but what will be the pin numbering of UA741

in esim the circuit is as pin-1 for noninverting terminal, pin-2 is for inverting terminal, pin-3 as output
but in the datasheet the pin configuration it is smoothing different.


27-12-17, 12:56 p.m. shekhar

The pin number given there, is as reference to connect input and output port. It is user defined. I will send schematic of subcircuit to your mail. Send me your mail id.

 


27-12-17, 1:01 p.m. Gloria

shekharnandanwar95@gmail.com



27-12-17, 1:04 p.m. shekhar

please give me complete step to edit the component UA741 OPAMP


27-12-17, 1:23 p.m. shekhar

i have successfully completed kicad to ngspice conversion but, when i click on simulation then there is an error as "Error while opening python plotting Editor. Please look at console for more details".


27-12-17, 1:53 p.m. shekhar

and in the console window it is showing " [Errno 2] no such file or directory


27-12-17, 1:56 p.m. shekhar

Again load the file in your eSim.. You can follow the eSim user manual for subcircuit creation and editing. You can find it here:http://esim.fossee.in/downloads


27-12-17, 2:52 p.m. Gloria

I had mail you the subcircuit of ua741 , please tell me what is the problem occurred


27-12-17, 9:30 p.m. shekhar

Login to add comment


0

https://imageshack.com/i/pnZgqElej or please check the "analog multiplier using opamp"

please check the image and let me known how should i connect the VCC to the opamp through resistor R

24-12-17, 3:11 p.m. shekhar


0

Hello,

You need to do:
1. Go to Subcircuit model in eSim, choose "create new subcircuit model", select "yes". Add the components and make proper connections (refer ua71.cir.out file of any example to know the components added). I added: CCCS, R, C from eSim_sources and port from miscellaneous.
***** Whichever pin you want to connect the inputs/outputs add port. The port and pin number should match.
** Now, annotate, create netlist and to kicad to ngspice conversion. In analysis, choose Ac, lin and 0 to start, stop and points and press convert.
___________________________________________________
2. Go to Kicad(Go to dash home/control panel and search Kicad). Go to Library editor(icon with a book mark) and choose create a new component.
Mark reference as "X". Keep other settings as default. Now draw a rectangle assign pin (same as you had assigned before in your schematic).
Then choose "current library " as "eSim_Subckt" and then choose "update component" and save it to the current library (First icon in the toolbar)
----------------------------------------------------------------------------------------
3. Finally, close kicad, go to eSIm schematic. update library by selecting "preferences", "component library" and press"Add".
Now you can use it..
the same steps can be found on eSim user manual.. Am attaching the images to your mail.

28-12-17, 3:55 p.m. Gloria

Mam there is an error message when i click on new subcircuit schematic as "Unable to create subcircuit. Please make sure you have write permission on C:\Users\eSim\src\SubcircuitLibrary\ua741"


28-12-17, 4:25 p.m. shekhar

i have created the new subcircuit of ua741 but how do i convert ngspice to kicad since no project file has been created


29-12-17, 12:08 p.m. shekhar

It should generate the netlist for the subcircuit created. So once doing the subcircuit, you do the kicad to ngspice conversion (3rd tab in subcircuit creation) .Then you do the 2nd step mentioned above.. Now you will be able to see the subckt when you choose Place component in eSim.


29-12-17, 12:40 p.m. Gloria

"""""1. Go to Subcircuit model in eSim, choose "create new subcircuit model", select "yes". Add the components and make proper connections (refer ua71.cir.out file of any example to know the components added). I added: CCCS, R, C from eSim_sources and port from miscellaneous.
***** Whichever pin you want to connect the inputs/outputs add port. The port and pin number should match.
** Now, annotate, create netlist and to kicad to ngspice conversion. In analysis, choose Ac, lin and 0 to start, stop and points and press convert.
___________________________________________________
2. Go to Kicad(Go to dash home/control panel and search Kicad). Go to Library editor(icon with a book mark) and choose create a new component.
Mark reference as "X". Keep other settings as default. Now draw a rectangle assign pin (same as you had assigned before in your schematic)""""""



I have reached till this but when i click on on current library then dialog box appears , it consists of 'filter' and 'items'
but in items there is no option of eSim_subcircuit.


29-12-17, 1:51 p.m. shekhar

yes i got it, no problem


29-12-17, 1:55 p.m. shekhar

Login to add comment


0

Hello Shekhar,

Choose this iconin eSim

28-12-17, 4:30 p.m. Gloria

yes that only i have done 

after clicking on subcircuit editor there came 3 options -----new subcircuit schematic,edit subcircuit schematic and convert kicad to ngspice.
then i clicked on new subcircuit schematic but then the error came.


28-12-17, 4:34 p.m. shekhar

Ok. Remove any projects if added in eSim.

dont select ua741. You create a new one with a different name.


28-12-17, 4:37 p.m. Gloria

how do i verify that our python plot is correct or not?


29-12-17, 3:01 p.m. shekhar

and thank you very much for helping me out.


29-12-17, 3:02 p.m. shekhar

So have you used the new subcircuit built by you in your project?

You need to provide  signal at X and Y and see whether the output is the multiplied result of two sihnal. You need to have a look into trigonometric functions. Also send the reference to contact-esim along with date of reference.


29-12-17, 3:21 p.m. Gloria

yes i have used the new subcircuit and got the output and also the python plot but not sure that the python plot is wright of wrong


29-12-17, 3:43 p.m. shekhar

AND WHAT DID YOU WANT IN PROJECT FILE?

WHICH FILE DO I UPLOAD(eg .proj)?


29-12-17, 3:50 p.m. shekhar

You should make sure the output is correct otherwise it will be disapproved.

You need to upload the entire folder, that was created when you selected "create new project". (The folder will have .sch,analysis,.cir,.cir.out, plot files........)
First compress the file to zip and then upload it.  But until you send proper reference, the project will not be evaluated.


29-12-17, 4:31 p.m. Gloria

Ok i got it


29-12-17, 5:19 p.m. shekhar

All the best..


29-12-17, 5:20 p.m. Gloria

Login to add comment


0

should i connect pwr_flag at +9V , when i do the electrical rule check then there is error

"ErrType(3): Pin connected to some other pins but no pin to drive it"

30-12-17, 10:20 a.m. shekhar

yes, you need to connect Pwr_Flag.


30-12-17, 7:53 p.m. Gloria

Login to add comment


0

Where are the options for textbook companion project on the website?

08-01-18, 12:48 p.m. shekhar


0

but how do i again upload the abstract and the project files.

11-01-18, 10:17 a.m. shekhar


Log-in to answer to this question.