Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- LTspice
- Messages
Search
Re: OT/Left Field...
Nick:
toggle quoted message
Show quoted text
I have found that Google is my friend. Anytime I start looking for something, I start at google.com So, with that in mind, I went to google.com, and found Droid Tesla[1], another great place to look is wikipedia[2], the page on spice lists several implementations with source code[3]. These links were discovered in under 2 minutes. Please find the links as a great place to start. Tim [1] [2] [3] On Mon, Jul 8, 2013 at 11:55 AM, Nick <nick@...> wrote:
** |
Re: OT/Left Field...
Hi Nick
On 07/08/2013 12:55 PM, Nick wrote: I am getting fed up with lugging a laptop around when I also use a Yes, meetoo!!! As for an android "spice", theres Everycircuit: It works very well, though its not a traditional compatible spice. The gui is pretty slick. Other trade offs are that it has limited ckt space and its 10$ for the enhanced version. Its quite usable for smaller things. I do like it. Al D. -- AC2CL I do not think there is any thrill that can go through the human heart like that felt by the inventor as he sees some creation of the brain unfolding to success... Such emotions make a man forget food, sleep, friends, love, everything. - Nikola Tesla |
Re: Feature Request: Option to preserve/reload plot settings after simulation run
Hello Al,
toggle quoted message
Show quoted text
You have to send your wish to the email address given in the Help-About of the LTspice program. Mike normally doesn't read the messages here. Best regards, Helmut --- In LTspice@..., "Al" <alhastings314@...> wrote:
|
arbitrary solar cell model
Dear friends
in the file below you can find an arbitrary solar cell. When I put two cells in parallel the answer is correct and when I put them in series I see a distortion. I think the problem is related to the diode behavioral model. I will be thankful if any of you could help me. sincerely, Hamed |
Re: Feature Request: Option to preserve/reload plot settings after simulation run
Per John's suggestion, the following email was sent to Mike.
toggle quoted message
Show quoted text
Dear Mr. Engelhard, LTspice is fantastic! I evaluated many alternatives before I selected it. While the price was definitely a factor, the ease of use was the major issue. The user interface is intuitive, simple yet powerful. Well done. A feature that would be extremely helpful is the "Option to preserve/reload plot settings after simulation run." The Yahoo! LTspice user group has a thread on this subject. They have explained it better than I can. A work around has been proposed in the thread (assigning reload plot to the space bar) helps but its no substitute for having the feature integrated. I have LTspice IV, Ver 4.19i, running on Windows 7 Home Premium. Keep up the good work. Al cc: Yahoo! Group LTspice via thread "Feature Request: Option to preserve/reload plot settings after simulation run." --- In LTspice@..., John Woodgate <jmw@...> wrote:
|
Re: "Edit Plot Defs File" not working.
--- In LTspice@..., "Al" <alhastings314@...> wrote:
I have been successfully using "Save Plot Settings" and "ReloadYou are forehead-slappingly confused. Read the Help topic about the Plot Defs file. It is quite different from a Plot Settings file (completely different formats and purposes). It also has nothing to do with the default settings for the Waveform Viewer. By the way, in Windows 7 there is no need to be an Admin to be able to edit and save the PlotDefs file. Just use your file and folder explorer (part of Windows) to locate the file and then right mouse button click on it and change its properties to allow access to all users. |
Re: "Edit Plot Defs File" not working.
John Woodgate
In message <krctfq+i7jg@...>, dated Sun, 7 Jul 2013, Al <alhastings314@...> writes:
but now LTspice is not using the plot.defs file I created.You have to re-load it, as you describe in the last line of your message. Plot settings menu => Open plot settings file. A good idea is to assign the spacebar as the shortcut key for this operation. Autoranging cannot be disabled for the first display of the plot window. -- OOO - Own Opinions Only. See www.jmwa.demon.co.uk Why is the stapler always empty just when you want it? John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK |
Re: "Edit Plot Defs File" not working.
Hello Al,
toggle quoted message
Show quoted text
Have you really edited the plot_defs file with LTspice? Is the plot-function correct? What is the error message? Best regards, Helmut --- In LTspice@..., "Al" <alhastings314@...> wrote:
|
Re: "Edit Plot Defs File" not working.
Helmut,
toggle quoted message
Show quoted text
Edit Plot Defs File works when I open LTspice as Administrator in Windows 7. Thanks... but now LTspice is not using the plot.defs file I created. I edit the file using the Edit Plot Defs File. After making changes to the file, I save, close and reopen the file. The changes are all there but LTspice is not using the file when I Run a simulation. It appears to be using the Autoranging EVERY TIME I Run a simulation, even though I have unchecked Plot Settings\Autorange. I have looked through the menus to see some master toggle for Autoranging feature but can't find anything. I verified that the code in the file actually works copying the file to another name. It runs fine when I use Plot Settings/Open Plot Settings File and the selecting the file. FYI, the code looks like this: [Transient Analysis] { Npanes: 1 { traces: 1 {268959746,0,"V(n001)"} X: ('n',1,0,5e-010,6e-009) Y[0]: (' ',1,-4,0.2,4) Y[1]: ('_',0,1e+308,0,-1e+308) Volts: (' ',0,0,1,-4,0.2,4) Log: 0 0 0 GridStyle: 1 } } Thank you for your expertise! Al --- In LTspice@..., "Helmut" <helmutsennewald@...> wrote:
|
Re: "Edit Plot Defs File" not working.
--- In LTspice@..., "Al" <alhastings314@...> wrote:
Hello Al, I think there is an acceptable workaround. Run LTspice as an administrator when you want edit plotdefs. Later you can run it normally when you only want execute a plot function. Best regards, Helmut |
Re: How through external program calls LTspice
Python is a very typical academia method and one that I used.
The past few years I have been using VBasic from within Excel for driving other programs. The primary reason is that Excel is (almost) always there. It is also very convenient having data and commands lined up in tables with named ranges often matching variable names. I have used Excel to write text files of SPICE net lists that are compatible with the SPICE du jour ... then kick off that SPICE engine to run using that file. I use various fields (rows) in Excel to compile the command lines. This is convenient in that the lines can be made manual initially before the real VBasic prose is written. This requires no direct interaction with the other program. Nothing like OLE that I suggest below. Excel's VBasic is just a language already installed if Excel is present of course. I used to extract multi-pin connector models. The Ansoft field solver created C & L files with 1000s of lines that the macro/VBasic scripts massaged & reduced in Excel. In that process the SPICE syntax was added. Eliminated were the extremely small coupling values that contributed nothing but SPICE convergence errors. There is a learning curve for either approach. But there are many books & online examples for either approach. Last, I wish that LTspice had the OLE engine. OLE is what gives many programs the built in capability of directly communicating with other programs and adds VBasic of some sort to the program with OLE. I had iSpice once upon a time and had done quite a bit of pre- & post- processing with this. But iSpice is/was too uncommon for any sort of customer support or public support of "this is how you do it". Just thought that I would get my 2� in. -Jeff On Sun, Jul 7, 2013 at 2:35 PM, Howard Hansen <hrhan@...> wrote: ** -- Jeffrey L Walden EMC/SI RF analysis and product development jwalden@... (866)547-5365 |
Re: "Edit Plot Defs File" not working.
John,
toggle quoted message
Show quoted text
Thanks for the good intel. I'm running Windows 7 Home Premium, Serv Pack 1. The LTspice executable program, scad3.exe, is located in C:\Program Files (x86)\LTC\LTspiceIV Is that the correct place to add a plot.defs file? Where can I get such a file? I looked through the this groups files and could not find one. Al --- In LTspice@..., John Woodgate <jmw@...> wrote:
|
Re: How through external program calls LTspice
Hello Yang,
toggle quoted message
Show quoted text
Here is a procedure you could use to run LTspice from within Python. This procedure is appropriate for Windows. If you are using Linux or Mac OS X you may need to modify this procedure. First set the "Path" Environment Variable to C:\Program Files\LTC\LTspceIV Next run Python and enter the following commands import os os.chdir("To your net list folder") cmd = "scad3.exe your net list" os.system(cmd) Setting the "Path" Environment Variable and changing Python's current working folder to your net list folder saves a lot typing and eliminates a lot of typing errors. If you use the -b command line option with LTspice, LTsice will not open a Window. Howard On 7/5/2013 2:44 AM, He wrote:
|
Re: "Edit Plot Defs File" not working.
John Woodgate
In message <krc9s0+h4ki@...>, dated Sun, 7 Jul 2013, Al <alhastings314@...> writes:
After I Run a simulation, I click on the .raw window to activate the window. Click "Plot Settings" and then "Edit Plot Defs File." Get error message, "Trouble creating file: C:\PROGRA~2\LTC\LTSPIC~1\plot.defs."Windows Vista, 7 and 8 do not allow programs to create files in Program Files folder. Without more knowledge of how your files are organized, I can't tell you how to overcome this. The Path above is written for DOS - maximum eight characters. -- OOO - Own Opinions Only. See www.jmwa.demon.co.uk Why is the stapler always empty just when you want it? John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK |
"Edit Plot Defs File" not working.
I'm using LTspice version 4.19i and can not get "Edit Plot Defs File" to work. I don't know if this feature existed or worked on earlier versions or not.
After I Run a simulation, I click on the .raw window to activate the window. Click "Plot Settings" and then "Edit Plot Defs File." Get error message, "Trouble creating file: C:\PROGRA~2\LTC\LTSPIC~1\plot.defs." I did a search on my harddrive for plot.defs. Not found. Everything on else on the LTspice seems to be working fine. I just hate the default settings for the plots (including FFT plots). Yes I have been successfully using "Save Plot Settings" and "Reload Plot Settings" on this version. But I'd really like to change the default settings if there is a means of getting the feature to work. Cheers! |
Re: Averaging a waveform
--- In LTspice@..., "sawreyrw" <sawreyrw@...> wrote:
The time interval would be a user-specified parameter, as in PSpice's AVGX function in Probe (same as LTspice's plot window). As for samples and "equal weight", you've never actually used Simpson's Rule have you ?:-) Back in the good old days it was used as an employments exam question... show the candidate a squiggly curve and ask him to compute the integral >:-} -Jim Thompson |
Re: LTSpice & Eagle
Try the Cadsoft offcie in Florida. They have always been extremely helpful. I was sorry when Newark bought them and was afraid those who usually helped me might get eliminated.
toggle quoted message
Show quoted text
--- In LTspice@..., "boB G" <bob@...> wrote:
|
to navigate to use esc to dismiss