Forgot the mechanism how uploads work here. Is the group notified automatically when an upload occurs?
Recall there's been something like this. Anyway, here's the link to my recent upload:
It's nothing peculiar, just added a voltage source that reads the pulse file.
I'm aware that I did a mistake when generating the pulses and I probably can take measures to avoid the conflict, but most important to me
is at the moment to know the format tha pulses are sent.
My generator (python notebook) does the following:
```
F=60.
step=1./(256.*F) # ?s
with open("/Users/kuku/Documents/LTspiceXVII/pwm_pulses.txt", "w") as f:
? ? for i in range(3*256):
? ? ? ? t=1E6*float(i)*step # us
? ? ? ? t1=1E6*float(i+1)*step #us
? ? ? ? u=1e6*step*a[i%256]
? ? ? ? if((t+u + trise + tfall)>t1):
? ? ? ? ? ? u=u-tfall-trise
? ? ? ? print(f'{t:0.3f}us 0 +{trise:0.3f}us 5 +{u:0.3f}us 5 +{tfall:0.3f}us 0 ',file=f)
```
--
Christoph
toggle quoted message
Show quoted text
Am 25.04.2025 um 11:52 schrieb Christoph Kukulies <
kuku@...>:
Sorry, I will upload the whole project in a minute.
--
Christoph
I'm really trying hard to make the error messages clear, but there is always room for improvement.
?
The message "time value pairs for V1 out of chronological order" means that there are at least two pairs (t1,y1) and (t2,y2) where t2<=t1.
?
Best Regards,
Mathias
?
?