I have created a pulse source from a PWL file. It‘s 32 samples of a signal.
Is it possible to make this pulse train periodic?
Or do I have to provide the pulse samples for every period by the PWL file?
— Christoph
|
On 08/07/2023 14:51, Christoph wrote:
I have created a pulse source from a PWL file.
It‘s 32 samples of a signal.
Is it possible to make this pulse train periodic?
Or do I have to provide the pulse samples for every period by the PWL file?
Yes you can. Here is an example:
PWL repeat forever (0 0 0.5 1 1.5 -1 2 0)
endrepeat
You can use the same syntax with a PWL file, too.
--
Regards,
Tony
|
There is an undocumented REPEAT
feature in the Wiki at: /g/LTspice/wiki/13810
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>) ENDREPEAT
PWL REPEAT FOREVER (|<file spec>) ENDREPEAT
======================================================================================
Best wishes
John Woodgate OOO-Own Opinions Only
Rayleigh, Essex UK
I hear, and I forget.
I see, and I remember.
I do, and I understand.
Xunzi (340 - 245 BC)
On 2023-07-08 13:51, Christoph wrote:
toggle quoted message
Show quoted text
I have created a pulse source from a PWL file.
It‘s 32 samples of a signal.
Is it possible to make this pulse train periodic?
Or do I have to provide the pulse samples for every period by the PWL file?
—
Christoph
|
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 empty left side of the ?|‘ shouldn’t be empty but contain a list of <time><value> pairs.
— Christoph
toggle quoted message
Show quoted text
Am 08.07.2023 um 15:11 schrieb John Woodgate < jmw@...>:
There is an undocumented REPEAT
feature in the Wiki at: /g/LTspice/wiki/13810 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>) ENDREPEAT
PWL REPEAT FOREVER (|<file spec>) ENDREPEAT
======================================================================================
Best wishes
John Woodgate OOO-Own Opinions Only
Rayleigh, Essex UK
I hear, and I forget.
I see, and I remember.
I do, and I understand.
Xunzi (340 - 245 BC)
On 2023-07-08 13:51, Christoph wrote:
I have created a pulse source from a PWL file.
It‘s 32 samples of a signal.
Is it possible to make this pulse train periodic?
Or do I have to provide the pulse samples for every period by the PWL file?
—
Christoph
|
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.
======================================================================================
Best wishes
John Woodgate OOO-Own Opinions Only
Rayleigh, Essex UK
I hear, and I forget.
I see, and I remember.
I do, and I understand.
Xunzi (340 - 245 BC)
On 2023-07-08 16:40, Christoph wrote:
toggle quoted message
Show quoted text
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 empty left
side of the ?|‘ shouldn’t be empty but contain a
list of <time><value> pairs.
—
Christoph
Am 08.07.2023 um 15:11 schrieb John Woodgate
< jmw@...>:
There is an undocumented REPEAT
feature in the Wiki at: /g/LTspice/wiki/13810
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>) ENDREPEAT
PWL REPEAT FOREVER (|<file
spec>) ENDREPEAT
======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only
Rayleigh, Essex UK
I hear, and I forget. I see, and I remember. I do, and
I understand. Xunzi (340 - 245 BC)
On 2023-07-08 13:51,
Christoph wrote:
I have created a pulse source from a PWL file.
It‘s 32 samples of a signal.
Is it possible to make this pulse train periodic?
Or do I have to provide the pulse samples for every period by the PWL file?
—
Christoph
|
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 (| file=Z:\Users\kuku\Documents\LTspiceXVII\pulses.txt) ENDREPEAT
doesn’t So what is the purpose of the ?|‘?
— Christoph
toggle quoted message
Show quoted text
Am 08.07.2023 um 17:52 schrieb John Woodgate < jmw@...>:
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.
======================================================================================
Best wishes
John Woodgate OOO-Own Opinions Only
Rayleigh, Essex UK
I hear, and I forget.
I see, and I remember.
I do, and I understand.
Xunzi (340 - 245 BC)
On 2023-07-08 16:40, Christoph wrote:
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 empty left
side of the ?|‘ shouldn’t be empty but contain a
list of <time><value> pairs.
—
Christoph
Am 08.07.2023 um 15:11 schrieb John Woodgate
< jmw@...>:
There is an undocumented REPEAT
feature in the Wiki at: /g/LTspice/wiki/13810 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>) ENDREPEAT
PWL REPEAT FOREVER (|<file
spec>) ENDREPEAT
======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only
Rayleigh, Essex UK
I hear, and I forget. I see, and I remember. I do, and
I understand. Xunzi (340 - 245 BC)
On 2023-07-08 13:51,
Christoph wrote:
I have created a pulse source from a PWL file.
It‘s 32 samples of a signal.
Is it possible to make this pulse train periodic?
Or do I have to provide the pulse samples for every period by the PWL file?
—
Christoph
_._,_._,_
|
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>)
ENDREPEAT??????? * 'file spec' has | character
PWL REPEAT FOREVER (|<file spec>) ENDREPEAT
E.g. to repeat a sequence of values for five times
PWL REPEAT FOR 5 ( 0 1 1 1 2 2 3 1 ) ENDREPEAT
PWL REPEAT FOR 5 ( file=<name of file> )
ENDREPEAT????? * 'file=<name
of file> does not have | character
======================================================================================
Best wishes
John Woodgate OOO-Own Opinions Only
Rayleigh, Essex UK
I hear, and I forget.
I see, and I remember.
I do, and I understand.
Xunzi (340 - 245 BC)
On 2023-07-08 16:56, Christoph wrote:
toggle quoted message
Show quoted text
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 (|
file=Z:\Users\kuku\Documents\LTspiceXVII\pulses.txt) ENDREPEAT
doesn’t So what is the purpose of the ?|‘?
—
Christoph
Am 08.07.2023 um 17:52 schrieb John Woodgate
< jmw@...>:
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.
======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only
Rayleigh, Essex UK
I hear, and I forget. I see, and I remember. I do, and
I understand. Xunzi (340 - 245 BC)
On 2023-07-08 16:40,
Christoph wrote:
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 empty left side of
the ?|‘ shouldn’t be empty but contain a
list of <time><value> pairs.
—
Christoph
Am 08.07.2023 um 15:11 schrieb
John Woodgate < jmw@...>:
There is an
undocumented REPEAT feature in the
Wiki at: /g/LTspice/wiki/13810
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>)
ENDREPEAT
PWL REPEAT FOREVER
(|<file spec>) ENDREPEAT
======================================================================================
Best wishes John Woodgate OOO-Own Opinions
Only
Rayleigh, Essex UK
I hear, and I forget. I see, and I
remember. I do, and I understand. Xunzi
(340 - 245 BC)
On 2023-07-08
13:51, Christoph wrote:
I have created a pulse source from a PWL file.
It‘s 32 samples of a signal.
Is it possible to make this pulse train periodic?
Or do I have to provide the pulse samples for every period by the PWL file?
—
Christoph
|
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 past.? That was the only occurrence of "|" that I saw in the .? Maybe it's a typo.
I did not yet successfully get it to work with the "|" character.
But it's easy to write "file=filename.dat" (and no "|" character), and that works.
Andy
|
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> <vn> | file=<file spec> ) ENDREPEAT ... PWL REPEAT FOREVER ( <t1> <v1> ... <tn> <vn> | file=<file spec> ) ENDREPEAT
In other words, you have a choice between either the time,value list, OR a filename.? I think that's why he used a "|" character there, to show that you have a choice between options -- and somehow the first one got edited out, as well as the "file=" in the second choice.? But the "|" character itself is NOT part of the syntax.
I don't know; but it works for me.
Andy
|
What do you understand 'file
spec' to mean? Is it another term for 'filename'? It would be
best to have uniform terminology.
======================================================================================
Best wishes
John Woodgate OOO-Own Opinions Only
Rayleigh, Essex UK
I hear, and I forget.
I see, and I remember.
I do, and I understand.
Xunzi (340 - 245 BC)
On 2023-07-08 17:42, Andy I wrote:
toggle quoted message
Show quoted text
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> <vn> | file=<file spec> ) ENDREPEAT
... PWL REPEAT FOREVER ( <t1> <v1> ... <tn>
<vn> | file=<file spec> ) ENDREPEAT
In other words, you have a choice between either the time,value
list, OR a filename.? I think that's why he used a "|" character
there, to show that you have a choice between options -- and
somehow the first one got edited out, as well as the "file=" in
the second choice.? But the "|" character itself is NOT part of
the syntax.
I don't know; but it works for me.
Andy
|
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 the path, so it can be the full location of a file on your drive, not just the filename which is everything after the path (after the last "\") in the filespec.
I thought everyone knew that already.? I guess not.? Sorry.
Andy
|
Thanks, Andy. I missed out on
the computer world from 1958 to the BBC Micro.
======================================================================================
Best wishes
John Woodgate OOO-Own Opinions Only
Rayleigh, Essex UK
I hear, and I forget.
I see, and I remember.
I do, and I understand.
Xunzi (340 - 245 BC)
On 2023-07-08 18:06, Andy I wrote:
toggle quoted message
Show quoted text
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 the path, so it can be
the full location of a file on your drive, not just the filename
which is everything after the path (after the last "\") in the
filespec.
I thought everyone knew that already.? I guess not.? Sorry.
Andy
|
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 so many times for so
long...).
If I manage to remember, I'll toss it your way.
Donald.
On 2023-07-08 11:56, Christoph wrote:
toggle quoted message
Show quoted text
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 (|
file=Z:\Users\kuku\Documents\LTspiceXVII\pulses.txt) ENDREPEAT
doesn’t So what is the purpose of the ?|‘?
—
Christoph
Am 08.07.2023 um 17:52 schrieb John Woodgate
< jmw@...>:
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.
======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only
Rayleigh, Essex UK
I hear, and I forget. I see, and I remember. I do, and
I understand. Xunzi (340 - 245 BC)
On 2023-07-08 16:40,
Christoph wrote:
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 empty left side of
the ?|‘ shouldn’t be empty but contain a
list of <time><value> pairs.
—
Christoph
Am 08.07.2023 um 15:11 schrieb
John Woodgate < jmw@...>:
There is an
undocumented REPEAT feature in the
Wiki at: /g/LTspice/wiki/13810
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>)
ENDREPEAT
PWL REPEAT FOREVER
(|<file spec>) ENDREPEAT
======================================================================================
Best wishes John Woodgate OOO-Own Opinions
Only
Rayleigh, Essex UK
I hear, and I forget. I see, and I
remember. I do, and I understand. Xunzi
(340 - 245 BC)
On 2023-07-08
13:51, Christoph wrote:
I have created a pulse source from a PWL file.
It‘s 32 samples of a signal.
Is it possible to make this pulse train periodic?
Or do I have to provide the pulse samples for every period by the PWL file?
—
Christoph
|
Regular expression?
======================================================================================
Best wishes
John Woodgate OOO-Own Opinions Only
Rayleigh, Essex UK
I hear, and I forget.
I see, and I remember.
I do, and I understand.
Xunzi (340 - 245 BC)
On 2023-07-08 19:43, Donald H Locker
via groups.io wrote:
toggle quoted message
Show quoted text
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 so many times for so
long...).
If I manage to remember, I'll toss it your way.
Donald.
On 2023-07-08 11:56, Christoph wrote:
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 (|
file=Z:\Users\kuku\Documents\LTspiceXVII\pulses.txt) ENDREPEAT
doesn’t So what is the purpose of the ?|‘?
—
Christoph
Am 08.07.2023 um 17:52 schrieb John Woodgate
< jmw@...>:
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.
======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only
Rayleigh, Essex UK
I hear, and I forget. I see, and I remember. I do,
and I understand. Xunzi (340 - 245 BC)
On 2023-07-08 16:40,
Christoph wrote:
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 empty left
side of the ?|‘ shouldn’t be empty but contain a
list of <time><value>
pairs.
—
Christoph
Am 08.07.2023 um 15:11 schrieb
John Woodgate < jmw@...>:
There is an
undocumented REPEAT feature in the
Wiki at: /g/LTspice/wiki/13810
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>)
ENDREPEAT
PWL REPEAT FOREVER
(|<file spec>) ENDREPEAT
======================================================================================
Best wishes John Woodgate OOO-Own
Opinions Only
Rayleigh, Essex UK
I hear, and I forget. I see, and I
remember. I do, and I understand. Xunzi
(340 - 245 BC)
On 2023-07-08
13:51, Christoph wrote:
I have created a pulse source from a PWL file.
It‘s 32 samples of a signal.
Is it possible to make this pulse train periodic?
Or do I have to provide the pulse samples for every period by the PWL file?
—
Christoph
|
Backus-Nauer Form! (commonly just "BNF")
Donald.
On 2023-07-08 14:45, John Woodgate
wrote:
toggle quoted message
Show quoted text
Regular expression?
======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only
Rayleigh, Essex UK
I hear, and I forget. I see, and I remember. I do, and I
understand. Xunzi (340 - 245 BC)
On 2023-07-08 19:43, Donald H Locker
via groups.io wrote:
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 so many times for so
long...).
If I manage to remember, I'll toss it your way.
Donald.
On 2023-07-08 11:56, Christoph
wrote:
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 (|
file=Z:\Users\kuku\Documents\LTspiceXVII\pulses.txt)
ENDREPEAT
doesn’t So what is the purpose of the ?|‘?
—
Christoph
Am 08.07.2023 um 17:52 schrieb John
Woodgate < jmw@...>:
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.
======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only
Rayleigh, Essex UK
I hear, and I forget. I see, and I remember. I do,
and I understand. Xunzi (340 - 245 BC)
On 2023-07-08 16:40,
Christoph wrote:
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 empty
left side of the ?|‘ shouldn’t be empty but
contain a
list of <time><value>
pairs.
—
Christoph
Am 08.07.2023 um 15:11 schrieb
John Woodgate < jmw@...>:
There is an
undocumented REPEAT feature in the
Wiki at: /g/LTspice/wiki/13810
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>)
ENDREPEAT
PWL REPEAT FOREVER
(|<file spec>) ENDREPEAT
======================================================================================
Best wishes John Woodgate OOO-Own
Opinions Only
Rayleigh, Essex UK
I hear, and I forget. I see, and I
remember. I do, and I understand.
Xunzi (340 - 245 BC)
On
2023-07-08 13:51, Christoph wrote:
I have created a pulse source from a PWL file.
It‘s 32 samples of a signal.
Is it possible to make this pulse train periodic?
Or do I have to provide the pulse samples for every period by the PWL file?
—
Christoph
|
Whoa. I haven't seen of seen BNF for several decades (I think the last I saw it was sgen learnjng Modula-2).
DaveD
toggle quoted message
Show quoted text
On Jul 8, 2023, at 14:48, Donald H Locker via groups.io <dhlocker@...> wrote:
?
Backus-Nauer Form! (commonly just "BNF")
Donald.
On 2023-07-08 14:45, John Woodgate
wrote:
Regular expression?
======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only
Rayleigh, Essex UK
I hear, and I forget. I see, and I remember. I do, and I
understand. Xunzi (340 - 245 BC)
On 2023-07-08 19:43, Donald H Locker
via groups.io wrote:
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 so many times for so
long...).
If I manage to remember, I'll toss it your way.
Donald.
On 2023-07-08 11:56, Christoph
wrote:
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 (|
file=Z:\Users\kuku\Documents\LTspiceXVII\pulses.txt)
ENDREPEAT
doesn’t So what is the purpose of the ?|‘?
—
Christoph
Am 08.07.2023 um 17:52 schrieb John
Woodgate < jmw@...>:
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.
======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only
Rayleigh, Essex UK
I hear, and I forget. I see, and I remember. I do,
and I understand. Xunzi (340 - 245 BC)
On 2023-07-08 16:40,
Christoph wrote:
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 empty
left side of the ?|‘ shouldn’t be empty but
contain a
list of <time><value>
pairs.
—
Christoph
Am 08.07.2023 um 15:11 schrieb
John Woodgate < jmw@...>:
There is an
undocumented REPEAT feature in the
Wiki at: /g/LTspice/wiki/13810
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>)
ENDREPEAT
PWL REPEAT FOREVER
(|<file spec>) ENDREPEAT
======================================================================================
Best wishes John Woodgate OOO-Own
Opinions Only
Rayleigh, Essex UK
I hear, and I forget. I see, and I
remember. I do, and I understand.
Xunzi (340 - 245 BC)
On
2023-07-08 13:51, Christoph wrote:
I have created a pulse source from a PWL file.
It‘s 32 samples of a signal.
Is it possible to make this pulse train periodic?
Or do I have to provide the pulse samples for every period by the PWL file?
—
Christoph
|
That’s what I was initially thinking of (and also posted it). What you are mentioning is BNF (Backus-Naur form of descripion of higler level programming language syntax).
Only I was missing the left part of the or-sign in the Wiki. Maybe there were meant to be time/value tuples in angle brackets and they were fallen victim to the HTML conversion?
— Christoph
toggle quoted message
Show quoted text
Am 08.07.2023 um 20:43 schrieb Donald H Locker via < dhlocker@...>:
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 so many times for so
long...). If I manage to remember, I'll toss it your way.
Donald.
On 2023-07-08 11:56, Christoph wrote:
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 (|
file=Z:\Users\kuku\Documents\LTspiceXVII\pulses.txt) ENDREPEAT
doesn’t So what is the purpose of the ?|‘?
—
Christoph
Am 08.07.2023 um 17:52 schrieb John Woodgate
< jmw@...>:
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.
======================================================================================
Best wishes John Woodgate OOO-Own Opinions Only
Rayleigh, Essex UK
I hear, and I forget. I see, and I remember. I do, and
I understand. Xunzi (340 - 245 BC)
On 2023-07-08 16:40,
Christoph wrote:
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 empty left side of
the ?|‘ shouldn’t be empty but contain a
list of <time><value> pairs.
—
Christoph
Am 08.07.2023 um 15:11 schrieb
John Woodgate < jmw@...>:
There is an
undocumented REPEAT feature in the
Wiki at: /g/LTspice/wiki/13810 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>)
ENDREPEAT
PWL REPEAT FOREVER
(|<file spec>) ENDREPEAT
======================================================================================
Best wishes John Woodgate OOO-Own Opinions
Only
Rayleigh, Essex UK
I hear, and I forget. I see, and I
remember. I do, and I understand. Xunzi
(340 - 245 BC)
On 2023-07-08
13:51, Christoph wrote:
I have created a pulse source from a PWL file.
It‘s 32 samples of a signal.
Is it possible to make this pulse train periodic?
Or do I have to provide the pulse samples for every period by the PWL file?
—
Christoph
|
Christoph wrote, "Maybe there were meant to be time/value tuples in angle brackets and they were fallen victim to the HTML conversion?"
I think they just got edited out or omitted by accident.
Andy
|