Setup of LTspice with Electric

LTspice is a free software which performs SPICE simulations for electronic circuits. We use LTspice for spice simulation of the circuit designed in Electric.

Setting in Electric

Following are the steps to be followed to set up LTspice with Electric:

Ensure LTspice is installed on your computer.

Go to File –> Preferences –> Categories –> Tools –> Spice/CDL. You will find the following Spice/CDL USER Preferences window.

 

The Run Program path should be either:

C:\PROGRA~1\LTC\LTspiceIV\scad3.exe  or

C:\PROGRA~2\LTC\LTspiceIV\scad3.exe  or,

If using LTspice XVII,

C:\PROGRA~1\LTC\LTspiceXVII\XVIIx64.exe or

C:\PROGRA~2\LTC\LTspiceXVII\XVIIx64.exe

C:\PROGRA~1\ is same as C:\Program Files\ and C:\PROGRA~2\ is same as C:\Program Files (x86)\

Note that while the Run Program field is not case-sensitive the “with args:” field is case-sensitive (so use the uppercase names as seen)

For copying into the “with args:” field: -i ${FILENAME} -r ${FILENAME_NO_EXT}.raw -o ${FILENAME_NO_EXT}.out

If you get an “Exception Caught!” when Electric loads simulation data it likely means that you have run out of memory. If you come across such situation, then increase the JVM.

Setting in LTspice

Ensure that in LTspice, Tools -> Control Panel -> Operation -> Automatically delete .raw files should be unchecked. Otherwise, once LTspice is closed, you won’t be able to see the results on Electric.

Note: However currently Electric is not able to read the .raw file from LTspiceXVII whereas it is able to do so in case of LTspiceIV. So if you are using LTspiceXVII, then this setting does not matter much. Anyways, you can always view the simulation output on LTspice. So, there is no need to worry about cross-probing the simulation results to Electric again.

 

Previous                                                    Main Menu                                            Next

3 comments for “Setup of LTspice with Electric

Leave a Reply

Your email address will not be published. Required fields are marked *