¿ªÔÆÌåÓýeewiz, I think Bonkers was mixing absolute timing with relative timing notation. If you delete all of the + signs at the beginning of the lines, it makes pretty good sense, as absolute times. ? It took me a long time to get it through my head that relative time notation made the job a lot easier!
? From: [email protected] <[email protected]> On Behalf Of
eewiz
Sent: Saturday, July 08, 2023 6:34 PM To: [email protected] Subject: EXTERNAL: Re: [LTspice] Discrete data points in plot view ? Hello Christoph, ? Bonkers may be leading you down the primrose path. If you follow Bonkers' advice the length of bit[1] will be twice the length of bit[0] and the length of bit[2] will be three times the length of bit[0]. The slew rate will also progress to 2 times and then 3 times longer... ? This is all you need to make a PWL file with relative timing. 0??? 0?????????????? at 0 time its 0 volts. Rinse and Repeat... ? If you would prefer to work with parameters instead of numbers, be my guest. It took me just several minutes to copy and past what I needed in Excel to create a file that's 14,582 lines long. As I made it, I made some changes to add some discontinuities on a periodic basis and then paste, paste, paste some more. My file runs for about 583ms. If I had known of the REPEAT syntax at the time, I could have made use of it but, cut and paste is easy, LTspice syntax is not. ? Bonkers wrote:
All for now |