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: "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:
|
Re: A link to an IMD (Intermodulated Distortion) video Part 1
Dear John:
Thank you very much for your feedback, I will be revising the video this morning to make the necessary corrections. Sincerely, Julio Rodriguez _____ From: LTspice@... [mailto:LTspice@...] On Behalf Of John Woodgate Sent: Sunday, July 07, 2013 7:56 AM To: LTspice@... Subject: Re: [LTspice] Re: A link to an IMD (Intermodulated Distortion) video Part 1 In message <krbh5p+hur0@... <mailto:krbh5p%2Bhur0%40eGroups.com> >, dated Sun, 7 Jul 2013, Lawrence <lawrence_joy@... <mailto:lawrence_joy%40yahoo.com> > writes: My engineering information defines the order of IMD as "The order of aYes, according to the International Electrotechnical Vocabulary: 702-07-67 intermodulation product order a sum p + q + ... of the absolute values of integral coefficients p, q, ... of the formula: f = p*f1 + q*f2 + ... giving the combination frequency of an intermodulation product in terms of frequencies f1, f2 ... of the spectral components at the input of a non-linear device or transmission medium The last ten words are not sensible, but the rest is. -- 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: A link to an IMD (Intermodulated Distortion) video Part 1
John Woodgate
In message <krbh5p+hur0@...>, dated Sun, 7 Jul 2013, Lawrence <lawrence_joy@...> writes:
My engineering information defines the order of IMD as "The order of a given intermodulation product is the sum of the absolute values of the coefficients". Thus what you have labeled as "First Order Products" is called "2nd order" and what you have labeled as "Second Order Products" is called "3rd order".Yes, according to the International Electrotechnical Vocabulary: 702-07-67 intermodulation product order a sum p + q + ... of the absolute values of integral coefficients p, q, ... of the formula: f = p*f1 + q*f2 + ... giving the combination frequency of an intermodulation product in terms of frequencies f1, f2 ... of the spectral components at the input of a non-linear device or transmission medium The last ten words are not sensible, but the rest is. -- 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: A link to an IMD (Intermodulated Distortion) video Part 1
Dear Lawrence:
Thanks for your feedback, I have always been under the impression that first order products were "simple sum or difference" I will research this further, and make changes as necessary. Again, thank you very much for feedback. Sincerely, Julio Rodriguez _____ From: LTspice@... [mailto:LTspice@...] On Behalf Of Lawrence Sent: Sunday, July 07, 2013 6:51 AM To: LTspice@... Subject: [LTspice] Re: A link to an IMD (Intermodulated Distortion) video Part 1 My engineering information defines the order of IMD as "The order of a given intermodulation product is the sum of the absolute values of the coefficients". Thus what you have labeled as "First Order Products" is called "2nd order" and what you have labeled as "Second Order Products" is called "3rd order". Regards, (9V1MI, WN8P) Larry --- In LTspice@... <mailto:LTspice%40yahoogroups.com> , "Julio Rodriguez" <juliorz@...> wrote:
|
Re: A link to an IMD (Intermodulated Distortion) video Part 1
My engineering information defines the order of IMD as "The order of a given intermodulation product is the sum of the absolute values of the coefficients". Thus what you have labeled as "First Order Products" is called "2nd order" and what you have labeled as "Second Order Products" is called "3rd order".
toggle quoted message
Show quoted text
Regards, (9V1MI, WN8P) Larry --- In LTspice@..., "Julio Rodriguez" <juliorz@...> wrote:
|
Re: Averaging a waveform
--- In LTspice@..., "jtanalog" <ltlist@...> wrote:
Jim, Yes, it does. Over what time interval? How many samples? Does every sample have equal weight? etc? Rick |
Re: Averaging a waveform
--- In LTspice@..., "analogspiceman" <analogspiceman@...> wrote:
Simpson's Rule? Doesn't have corners or any of those other nasty analog limitations ;-) -Jim Thompson |
Re: Averaging a waveform
--- In LTspice@..., "Helmut" <helmutsennewald@...> wrote:
Thanks! |
A link to an IMD (Intermodulated Distortion) video Part 1
Dear All LTspice users:
Below you will find a link to a video that I created on the subject of IMD, LTspice is used in part 1 (Part 2 confirms the theory of part 1 using some lab experiments, is has not been released) to perform simulations that confirm classroom theory. Part 2 will have lab experiments using a spectrum analyzer, and the same circuits that were used in part 1. I expect to release part 2 next week. enjoy. Sincerely, Julio Rodriguez |
Re: My collection of models and examples for LTspice.
Gene Neau
Hello Helmut,
I did click on the box after 10 seconds, but only got 82 bytes as the download using IE 10. I copied the address and used Chrome. Then I did get the full 31.98 MB file download, must be something missing in my version of IE10. Thank you for letting me know that the box was supposed to work. Gene From: LTspice@... [mailto:LTspice@...] On Behalf Of Helmut Sent: Saturday, July 06, 2013 3:38 PM To: LTspice@... Subject: [LTspice] Re: My collection of models and examples for LTspice. Hello Gene, You have to click the "button" below the 31.98. It's enabled after 10 seconds. Best regards, Helmut --- In LTspice@... <mailto:LTspice%40yahoogroups.com> , "Gene Neau" <glneau@...> wrote: a box that may be a link, but the downloaded file is an index.html of 1 kB.[mailto:LTspice@... <mailto:LTspice%40yahoogroups.com> ] On Behalf Of bordodynovof models. It includes a collection of EXTRA. This collection EXTRA Iexpanded with new models and changed the characters of digital items. Now you donot need a reference to the library. The collection contains a lot oflot of good examples. |
to navigate to use esc to dismiss