Is there a way to repeat PWL data?
I just learned in LTSpice it works like this:
PWL repeat forever file=data endrepeat
but this does not work here
I’ve not implemented repeat…for(ever)… endrepeat. So far I haven’t thought it was worth the effort. It’s from PSpice and isn’t used in 3rd party models.
PWL REPEAT FOR(EVER) … ENDREPEAT is now implemented.
But nesting REPEAT FOR…ENDREPEAT isn’t supported merely as a strategic simplification.
Note that the last value of a repeated PWL will be ignored and forced to be equal to the first value.
–Mike
I was wondering if the TRIGGER expression works for PWL? I am trying to consider a voltage source as such:
PWL 0 0 1u 1u 2u 0 TRIGGER V(node)>1
I could not make it work.
Just aware today update in Qspice
07/26/2024 Implemented a TRIGGER function for voltage and current waveforms: SINE, PWL, PULSE, EXP or SFFM.
I conducted several tests to confirm its characteristics, and here are the results.
That is exactly what I was asking for. Thanks for the continuous support.