Re: Periodic signal from PWL file
Regular expression? ====================================================================================== Best wishes John Woodgate OOO-Own Opinions Only www.woodjohn.uk Rayleigh, Essex UK I hear,
By
John Woodgate
·
#147255
·
|
Re: Periodic signal from PWL file
That is a "logical OR" separating two optional forms of the command or of a command's parameters. There is a formal mechanism for language specification (whose name I can't remember despite using is
By
Donald H Locker
·
#147254
·
|
Re: PWL sources (was but not related to: "Discrete data points in plot view")
Further to Tony's point above: There is no "Dirac" function in LTSpice, that defines a value at one infinitesimal time. You need a slew-up time, a hold time, and a slew-down time - and three voltage
By
Bonkers
·
#147253
·
|
Re: Periodic signal from PWL file
Thanks, Andy. I missed out on the computer world from 1958 to the BBC Micro. ====================================================================================== Best wishes John Woodgate OOO-Own
By
John Woodgate
·
#147252
·
|
Re: Periodic signal from PWL file
John asked, " What do you understand 'file spec' to mean? Is it another term for 'filename'? " Almost yes.? That is commonly what "file spec" (or "filespec") means, except that a filespec may include
By
Andy I
·
#147251
·
|
PWL sources (was but not related to: "Discrete data points in plot view")
The clue is in the name: Piece-Wise-Linear. In the waveform viewer, all the points are connected by straight lines. If you want impulses, you will have to create them. But zero width impulses don't
By
Tony Casey
·
#147250
·
|
Re: Periodic signal from PWL file
What do you understand 'file spec' to mean? Is it another term for 'filename'? It would be best to have uniform terminology.
By
John Woodgate
·
#147249
·
|
Discrete data points in plot view
Christoph, For time-domain and frequency-domain plots, I think LTspice only connects the dots with lines or curves.? I think there is no other option. I have seen .STEPped simulations where LTspice's
By
Andy I
·
#147248
·
|
Re: Periodic signal from PWL file
Here is my best guess. I think "analog spiceman" authored that information about the REPEAT ... ENDREPEAT syntax.? Maybe he meant to write it like this: ... PWL REPEAT FOR <n> ( <t1> <v1> ... <tn>
By
Andy I
·
#147247
·
|
Re: PWL sources (was but not related to: "Discrete data points in plot view")
The PWL function can be repeated, http://www.simonbramble.co.uk/lt_spice/ltspice_lt_spice_tutorial_5.htm I'd advise that you read all the tutorials from Simon Bramble. If you're making custom PWL
By
Bonkers
·
#147246
·
|
PWL sources (was but not related to: "Discrete data points in plot view")
Hi Christoph, Firstly, you can easily repeat cycles of your 32 points, even just using Notepad, if you adopt the +xxx option for the timestamp (relative timing). Secondly, PWL means it is linearly
By
Bonkers
·
#147245
·
|
Re: Periodic signal from PWL file
Christoph, I do not remember ever seeing the "|" (pipe) character used in this way before with LTspice.? I don't know whether that was a typo, or if it actually worked at one point in LTspice's
By
Andy I
·
#147244
·
|
Re: Periodic signal from PWL file
There seems to be a subtle difference: /A list of data points or a file reference can be repeated a fixed amount of times <n>, or forever// // //PWL REPEAT FOR <n> (|<file spec>)
By
John Woodgate
·
#147243
·
|
Re: Periodic signal from PWL file
Fine so far, but using the | (vertical bar) gives an error. PWL REPEAT FOREVER (file=Z:\Users\kuku\Documents\LTspiceXVII\pulses.txt) ENDREPEAT works, while PWL REPEAT FOREVER (|
By
Christoph
·
#147242
·
|
Re: Discrete data points in plot view
I think you have to export the data to Excel or similar to plot in those ways. ====================================================================================== Best wishes John Woodgate OOO-Own
By
John Woodgate
·
#147241
·
|
Re: Warning: Multiple definitions of model ...
Hello Andy, Thanks for the detailed words. I know that the faulty libraries only cause warnings but no errors. But sometimes I do simulations, and the results are checked by other people. And that's
By
Bernhard Weiskopf
·
#147240
·
|
Re: Periodic signal from PWL file
If you look at the other examples on that page, you will see that the | character is only used with a file, not with a sequence of numbers.
By
John Woodgate
·
#147239
·
|
Discrete data points in plot view
My array of PWL data (time value pairs) appears points (that optionally can be made visible) and being connected by line pieces. Since these are discrete sample points I¡¯d rather see them as points
By
Christoph
·
#147238
·
|
Re: Periodic signal from PWL file
Thanks. This worked. Though the ?|¡® symbol (pipe) is confusing. If it designates that the data is supposed to be piped from the file, it doesn¡¯t work. OTOH, should it mean an ?or¡°, then the
By
Christoph
·
#147237
·
|
Re: Warning: Multiple definitions of model ...
Mike Fraser wrote, "I can only hope that someone at Analog Devices will spend time and clean up this mess." All of us wished that Analog Devices would do that. But they are too inept to do that. Andy
By
Andy I
·
#147236
·
|