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
.measure script
Seems there has been quite a bit written about the .meas command which makes it hard to find specific information in previous posts.
Several questions that may have been already answered in the past: 1) Is there an example .meas script posted in the "Files" section that I may have missed? 2) If there is a syntax error in the .meas file, does the whole script fail or only that particular .meas command? 3) Can I parameterize within a .meas command? E.g. can I parameterize the start and end times for an average function. .param mbegin=5us mend=20us .meas Pout avg RLOAD6*I(R2)^2 from={mbegin} to={mend} Also "from=" and "to=" does not seem to be documented in any ltspice help documentation. I had to grab it off hspice documentation. Thanks. |
Re: arbitrary solar cell model
John Woodgate
In message <krg4eh+9gdc@...>, dated Tue, 9 Jul 2013, sawreyrw <sawreyrw@...> writes:
No one is interested in a .cir file. If you want help, convert it to an .asc file and post that to the Files>Temp folder of this group.The file will run and 'Pick visible traces' allows output node voltages to be plotted. Both outputs have serious problems, output 2 is stuck at 0 V but output 1 'blows up' to quasi-infinite voltage. Some people can read netlists well, but I can't. -- 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: Possible to snap to lowest or highest point of plot?
--- In LTspice@..., "uoficowboy" <nleahcim@...> wrote:
Hello, You could use the MEASURE functions. The results will be in the log-file. View -> SPICE Error log .meas peak1 MAX V(..) .... There are many examples in the Files section. Files > Tut > MEASURE Best regards, Helmut |
Re: inductance with a permeability in dependency of frequency
--- In LTspice@..., "Herbert" <afu@...> wrote:
Herbert, I'd like to help you, but I don't understand your question. What do you want to know? Rick |
Re: arbitrary solar cell model
--- In LTspice@..., "hamed" <l0st_l0rd@...> wrote:
Hamed, No one is interested in a .cir file. If you want help, convert it to an .asc file and post that to the Files>Temp folder of this group. Rick |
Re: OT/Left Field...
Nick:
I did not mean to be meen, I just presumed there had been no search done. I did also notice NGspice, and it does sound like a good option, especially in conection with google drive. It would allow you to design, simulate, and store results on line hopefully with minimal processing requirements. Tim On Mon, Jul 8, 2013 at 4:51 PM, Nick <nick@...> wrote: ** [Non-text portions of this message have been removed] |
Possible to snap to lowest or highest point of plot?
Hi - I have been characterizing a couple circuits and have been manually trying to find the highest and lowest voltages and currents of a circuit I'm simulation. I'd love it if there was some sort of "snap" feature that would snap to the highest or lowest point. Or, similarly, if I could just get the highest/lowest points of waveforms to be displayed on the schematic itself.
Does anything like this exist? Thanks!! |
Re: OT/Left Field...
--- In LTspice@..., Tim Jameson <tim@...> wrote:
I have found that Google is my friend. Anytime I start looking forGosh! I never thought of using Google or Wikipedia. Brilliant idea :) Sorry for the irony - I write Android apps and am a regular Wiki editor, so of course, I had done my research. Its personal recommendations that interest me, from people who understand SPICE and the technology that surrounds it... |
Re: Feature Request: Option to preserve/reload plot settings after simulation run
And that is what I said I did. I did a cc to this thread to document that there is continuing interest in this thread and feature.
toggle quoted message
Show quoted text
--- In LTspice@..., "Helmut" <helmutsennewald@...> wrote:
|
Re: OT/Left Field...
Ipad fans may be interested in Spicy. See:
toggle quoted message
Show quoted text
<> Howard On 7/8/2013 11:55 AM, Nick wrote:
|
Re: OT/Left Field...
NGSpice Online looks like an interesting approach. See:
toggle quoted message
Show quoted text
<> The site provides the following sales pitch. This site allows you to run ngspice simulations from a web browser environment. Whether you are using a Windows, Linux, or Mac computer, a smart phone, or a tablet, you always should be able to run a SPICE simulation Howard On 7/8/2013 12:28 PM, Tim Jameson wrote:
Nick: |
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:
|
to navigate to use esc to dismiss